[jira] [Commented] (JS2-1357) CLONE - Failed to load portlet org.apache.jetspeed.portlets.layout.MultiColumnPortlet

"SK (JIRA)" <[email protected]> Wed, 14 Jun 2017 01:54:00 +0000 (UTC)
Newsgroups gmane.comp.jakarta.jetspeed.devel
Message-ID <[email protected]>
    [ https://issues.apache.org/jira/browse/JS2-1357?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16048590#comment-16048590 ] 

SK commented on JS2-1357:
-------------------------

Yes, this Tomcat works perfectly fine, I'm able to access jetspeed portal on it. I'll try a different Tomcat and shall update you with the result. Following is the path to my Tomcat folder.

Path to Tomcat installation: C:\Downloads\Jetspeed\Jetspeed-2.3.1

Checked server logs also, didn't find any exception there.

Jun 13, 2017 9:37:19 PM org.apache.catalina.core.ApplicationContext log
INFO: No Spring WebApplicationInitializer types detected on classpath
Jun 13, 2017 9:37:48 PM org.apache.catalina.core.ApplicationContext log
INFO: No Spring WebApplicationInitializer types detected on classpath
Jun 13, 2017 9:38:09 PM org.apache.catalina.core.ApplicationContext log
INFO: JetspeedContainerServlet: starting initialization of Portlet Application at: dbbrowser
Jun 13, 2017 9:38:09 PM org.apache.catalina.core.ApplicationContext log
INFO: JetspeedContainerServlet: Could not yet start portlet application at: dbbrowser. Starting back ground thread to start when the portal comes online.
Jun 13, 2017 9:38:09 PM org.apache.catalina.core.ApplicationContext log
INFO: JetspeedContainerServlet: initialization done for Portlet Application at: dbbrowser
Jun 13, 2017 9:38:09 PM org.apache.catalina.core.ApplicationContext log
INFO: JetspeedContainerServlet: attemping to start Portlet Application at: /dbbrowser
Jun 13, 2017 9:38:09 PM org.apache.catalina.core.ApplicationContext log
INFO: JetspeedContainerServlet: started Portlet Application at: /dbbrowser
Jun 13, 2017 9:38:17 PM org.apache.catalina.core.ApplicationContext log
INFO: No Spring WebApplicationInitializer types detected on classpath
Jun 13, 2017 9:38:17 PM org.apache.catalina.core.ApplicationContext log
INFO: JetspeedContainerServlet: starting initialization of Portlet Application at: demo
Jun 13, 2017 9:38:17 PM org.apache.catalina.core.ApplicationContext log
INFO: JetspeedContainerServlet: Could not yet start portlet application at: demo. Starting back ground thread to start when the portal comes online.
Jun 13, 2017 9:38:17 PM org.apache.catalina.core.ApplicationContext log
INFO: JetspeedContainerServlet: initialization done for Portlet Application at: demo
Jun 13, 2017 9:38:17 PM org.apache.catalina.core.ApplicationContext log
INFO: JetspeedContainerServlet: attemping to start Portlet Application at: /demo
Jun 13, 2017 9:38:17 PM org.apache.catalina.core.ApplicationContext log
INFO:  Velocity   [info] VelocityViewServlet: Using custom properties at '/WEB-INF/velocity/velocity.properties'
Jun 13, 2017 9:38:17 PM org.apache.catalina.core.ApplicationContext log
INFO:  Velocity  : *******************************************************************
Jun 13, 2017 9:38:17 PM org.apache.catalina.core.ApplicationContext log
INFO:  Velocity  [debug] Starting Apache Velocity v1.6.4 (compiled: 2010-04-27 15:31:23)
Jun 13, 2017 9:38:17 PM org.apache.catalina.core.ApplicationContext log
INFO:  Velocity  : RuntimeInstance initializing.
Jun 13, 2017 9:38:17 PM org.apache.catalina.core.ApplicationContext log
INFO:  Velocity  [debug] Default Properties File: org\apache\velocity\runtime\defaults\velocity.properties
Jun 13, 2017 9:38:17 PM org.apache.catalina.core.ApplicationContext log
INFO:  Velocity  [debug] Trying to use logger class org.apache.velocity.tools.view.servlet.ServletLogger
Jun 13, 2017 9:38:17 PM org.apache.catalina.core.ApplicationContext log
INFO:  Velocity  [debug] LogSystem has been deprecated. Please use a LogChute implementation.
Jun 13, 2017 9:38:17 PM org.apache.catalina.core.ApplicationContext log
INFO:  Velocity  : Default ResourceManager initializing. (class org.apache.velocity.runtime.resource.ResourceManagerImpl)
Jun 13, 2017 9:38:17 PM org.apache.catalina.core.ApplicationContext log
INFO:  Velocity  [debug] ResourceLoader instantiated: org.apache.velocity.tools.view.servlet.WebappLoader
Jun 13, 2017 9:38:17 PM org.apache.catalina.core.ApplicationContext log
INFO:  Velocity  [debug] WebappLoader : initialization starting.
Jun 13, 2017 9:38:17 PM org.apache.catalina.core.ApplicationContext log
INFO:  Velocity  [debug] WebappLoader : initialization complete.
Jun 13, 2017 9:38:17 PM org.apache.catalina.core.ApplicationContext log
INFO:  Velocity  [debug] ResourceCache: initialized (class org.apache.velocity.runtime.resource.ResourceCacheImpl) with class java.util.Collections$SynchronizedMap cache map.
Jun 13, 2017 9:38:17 PM org.apache.catalina.core.ApplicationContext log
INFO:  Velocity  : Default ResourceManager initialization complete.
Jun 13, 2017 9:38:17 PM org.apache.catalina.core.ApplicationContext log
INFO:  Velocity  [debug] Loaded System Directive: org.apache.velocity.runtime.directive.Define
Jun 13, 2017 9:38:17 PM org.apache.catalina.core.ApplicationContext log
INFO:  Velocity  [debug] Loaded System Directive: org.apache.velocity.runtime.directive.Break
Jun 13, 2017 9:38:17 PM org.apache.catalina.core.ApplicationContext log
INFO:  Velocity  [debug] Loaded System Directive: org.apache.velocity.runtime.directive.Evaluate
Jun 13, 2017 9:38:17 PM org.apache.catalina.core.ApplicationContext log
INFO:  Velocity  [debug] Loaded System Directive: org.apache.velocity.runtime.directive.Literal
Jun 13, 2017 9:38:17 PM org.apache.catalina.core.ApplicationContext log
INFO:  Velocity  [debug] Loaded System Directive: org.apache.velocity.runtime.directive.Macro
Jun 13, 2017 9:38:17 PM org.apache.catalina.core.ApplicationContext log
INFO:  Velocity  [debug] Loaded System Directive: org.apache.velocity.runtime.directive.Parse
Jun 13, 2017 9:38:17 PM org.apache.catalina.core.ApplicationContext log
INFO:  Velocity  [debug] Loaded System Directive: org.apache.velocity.runtime.directive.Include
Jun 13, 2017 9:38:17 PM org.apache.catalina.core.ApplicationContext log
INFO:  Velocity  [debug] Loaded System Directive: org.apache.velocity.runtime.directive.Foreach
Jun 13, 2017 9:38:17 PM org.apache.catalina.core.ApplicationContext log
INFO:  Velocity  [debug] Velocity was not initialized! Calling init()...
Jun 13, 2017 9:38:17 PM org.apache.catalina.core.ApplicationContext log
INFO:  Velocity  [debug] Velocity was not initialized! Calling init()...
Jun 13, 2017 9:38:17 PM org.apache.catalina.core.ApplicationContext log
INFO:  Velocity  [debug] Velocity was not initialized! Calling init()...
Jun 13, 2017 9:38:17 PM org.apache.catalina.core.ApplicationContext log
INFO:  Velocity  [debug] Velocity was not initialized! Calling init()...
Jun 13, 2017 9:38:17 PM org.apache.catalina.core.ApplicationContext log
INFO:  Velocity  [debug] Velocity was not initialized! Calling init()...
Jun 13, 2017 9:38:17 PM org.apache.catalina.core.ApplicationContext log
INFO:  Velocity  [debug] Velocity was not initialized! Calling init()...
Jun 13, 2017 9:38:17 PM org.apache.catalina.core.ApplicationContext log
INFO:  Velocity  [debug] Velocity was not initialized! Calling init()...
Jun 13, 2017 9:38:17 PM org.apache.catalina.core.ApplicationContext log
INFO:  Velocity  [debug] Velocity was not initialized! Calling init()...
Jun 13, 2017 9:38:17 PM org.apache.catalina.core.ApplicationContext log
INFO:  Velocity  [debug] Velocity was not initialized! Calling init()...
Jun 13, 2017 9:38:17 PM org.apache.catalina.core.ApplicationContext log
INFO:  Velocity  [debug] Velocity was not initialized! Calling init()...
Jun 13, 2017 9:38:17 PM org.apache.catalina.core.ApplicationContext log
INFO:  Velocity  [debug] Velocity was not initialized! Calling init()...
Jun 13, 2017 9:38:17 PM org.apache.catalina.core.ApplicationContext log
INFO:  Velocity  [debug] Velocity was not initialized! Calling init()...
Jun 13, 2017 9:38:17 PM org.apache.catalina.core.ApplicationContext log
INFO:  Velocity  [debug] Velocity was not initialized! Calling init()...
Jun 13, 2017 9:38:17 PM org.apache.catalina.core.ApplicationContext log
INFO:  Velocity  [debug] Velocity was not initialized! Calling init()...
Jun 13, 2017 9:38:17 PM org.apache.catalina.core.ApplicationContext log
INFO:  Velocity  [debug] Velocity was not initialized! Calling init()...
Jun 13, 2017 9:38:17 PM org.apache.catalina.core.ApplicationContext log
INFO:  Velocity  [debug] Velocity was not initialized! Calling init()...
Jun 13, 2017 9:38:17 PM org.apache.catalina.core.ApplicationContext log
INFO:  Velocity  [debug] Velocity was not initialized! Calling init()...
Jun 13, 2017 9:38:17 PM org.apache.catalina.core.ApplicationContext log
INFO:  Velocity  [debug] Velocity was not initialized! Calling init()...
Jun 13, 2017 9:38:17 PM org.apache.catalina.core.ApplicationContext log
INFO:  Velocity  [debug] Velocity was not initialized! Calling init()...
Jun 13, 2017 9:38:17 PM org.apache.catalina.core.ApplicationContext log
INFO:  Velocity  [debug] Velocity was not initialized! Calling init()...
Jun 13, 2017 9:38:17 PM org.apache.catalina.core.ApplicationContext log
INFO:  Velocity  [debug] Created '20' parsers.
Jun 13, 2017 9:38:17 PM org.apache.catalina.core.ApplicationContext log
INFO:  Velocity  : Velocimacro : initialization starting.
Jun 13, 2017 9:38:17 PM org.apache.catalina.core.ApplicationContext log
INFO:  Velocity  [debug] Velocimacro : adding VMs from VM library : /WEB-INF/velocity/velocity-macros.vm
Jun 13, 2017 9:38:17 PM org.apache.catalina.core.ApplicationContext log
INFO:  Velocity  [debug] Velocity was not initialized! Calling init()...
Jun 13, 2017 9:38:17 PM org.apache.catalina.core.ApplicationContext log
INFO:  Velocity  [debug] Velocity was not initialized! Calling init()...
Jun 13, 2017 9:38:17 PM org.apache.catalina.core.ApplicationContext log
INFO: JetspeedContainerServlet: started Portlet Application at: /demo
Jun 13, 2017 9:38:17 PM org.apache.catalina.core.ApplicationContext log
INFO:  Velocity  [debug] Velocity was not initialized! Calling init()...
Jun 13, 2017 9:38:17 PM org.apache.catalina.core.ApplicationContext log
INFO:  Velocity  [debug] Velocity was not initialized! Calling init()...
Jun 13, 2017 9:38:17 PM org.apache.catalina.core.ApplicationContext log
INFO:  Velocity  [debug] ResourceManager : found /WEB-INF/velocity/velocity-macros.vm with loader org.apache.velocity.tools.view.servlet.WebappLoader
Jun 13, 2017 9:38:17 PM org.apache.catalina.core.ApplicationContext log
INFO:  Velocity  : Velocimacro : VM library registration complete.
Jun 13, 2017 9:38:17 PM org.apache.catalina.core.ApplicationContext log
INFO:  Velocity  [debug] Velocimacro : allowInline = true : VMs can be defined inline in templates
Jun 13, 2017 9:38:17 PM org.apache.catalina.core.ApplicationContext log
INFO:  Velocity  [debug] Velocimacro : allowInlineToOverride = true : VMs defined inline may replace previous VM definitions
Jun 13, 2017 9:38:17 PM org.apache.catalina.core.ApplicationContext log
INFO:  Velocity  [debug] Velocimacro : allowInlineLocal = false : VMs defined inline will be global in scope if allowed.
Jun 13, 2017 9:38:17 PM org.apache.catalina.core.ApplicationContext log
INFO:  Velocity  [debug] Velocimacro : autoload on : VM system will automatically reload global library macros
Jun 13, 2017 9:38:17 PM org.apache.catalina.core.ApplicationContext log
INFO:  Velocity  : Velocimacro : Velocimacro : initialization complete.
Jun 13, 2017 9:38:17 PM org.apache.catalina.core.ApplicationContext log
INFO:  Velocity  : RuntimeInstance successfully initialized.
Jun 13, 2017 9:38:18 PM org.apache.catalina.core.ApplicationContext log
INFO:  Velocity   [info] VelocityViewServlet: Default content-type is: text/html
Jun 13, 2017 9:38:28 PM org.apache.catalina.core.ApplicationContext log
INFO: No Spring WebApplicationInitializer types detected on classpath
Jun 13, 2017 9:38:28 PM org.apache.catalina.core.ApplicationContext log
INFO: Initializing Spring root WebApplicationContext
Jun 13, 2017 9:38:30 PM org.apache.catalina.core.ApplicationContext log
INFO: JetspeedContainerServlet: starting initialization of Portlet Application at: j2-admin
Jun 13, 2017 9:38:30 PM org.apache.catalina.core.ApplicationContext log
INFO: JetspeedContainerServlet: Could not yet start portlet application at: j2-admin. Starting back ground thread to start when the portal comes online.
Jun 13, 2017 9:38:30 PM org.apache.catalina.core.ApplicationContext log
INFO: JetspeedContainerServlet: initialization done for Portlet Application at: j2-admin
Jun 13, 2017 9:38:30 PM org.apache.catalina.core.ApplicationContext log
INFO: JetspeedContainerServlet: attemping to start Portlet Application at: /j2-admin
Jun 13, 2017 9:38:31 PM org.apache.catalina.core.ApplicationContext log
INFO: JetspeedContainerServlet: started Portlet Application at: /j2-admin
Jun 13, 2017 9:38:33 PM org.apache.catalina.core.ApplicationContext log
INFO: JetspeedContainerServlet: starting initialization of Portlet Application at: rss
Jun 13, 2017 9:38:33 PM org.apache.catalina.core.ApplicationContext log
INFO: JetspeedContainerServlet: Could not yet start portlet application at: rss. Starting back ground thread to start when the portal comes online.
Jun 13, 2017 9:38:33 PM org.apache.catalina.core.ApplicationContext log
INFO: JetspeedContainerServlet: initialization done for Portlet Application at: rss
Jun 13, 2017 9:38:33 PM org.apache.catalina.core.ApplicationContext log
INFO: JetspeedContainerServlet: attemping to start Portlet Application at: /rss
Jun 13, 2017 9:38:33 PM org.apache.catalina.core.ApplicationContext log
INFO: JetspeedContainerServlet: started Portlet Application at: /rss
Jun 13, 2017 9:38:37 PM org.apache.catalina.core.ApplicationContext log
INFO: JetspeedContainerServlet: starting initialization of Portlet Application at: webcontent2
Jun 13, 2017 9:38:37 PM org.apache.catalina.core.ApplicationContext log
INFO: JetspeedContainerServlet: Could not yet start portlet application at: webcontent2. Starting back ground thread to start when the portal comes online.
Jun 13, 2017 9:38:37 PM org.apache.catalina.core.ApplicationContext log
INFO: JetspeedContainerServlet: initialization done for Portlet Application at: webcontent2
Jun 13, 2017 9:38:37 PM org.apache.catalina.core.ApplicationContext log
INFO: JetspeedContainerServlet: attemping to start Portlet Application at: /webcontent2
Jun 13, 2017 9:38:37 PM org.apache.catalina.core.ApplicationContext log
INFO: JetspeedContainerServlet: started Portlet Application at: /webcontent2
Jun 13, 2017 9:38:39 PM org.apache.catalina.core.ApplicationContext log
INFO: JetspeedContainerServlet: starting initialization of Portlet Application at: jetexpress-pa
Jun 13, 2017 9:38:39 PM org.apache.catalina.core.ApplicationContext log
INFO: JetspeedContainerServlet: Could not yet start portlet application at: jetexpress-pa. Starting back ground thread to start when the portal comes online.
Jun 13, 2017 9:38:39 PM org.apache.catalina.core.ApplicationContext log
INFO: JetspeedContainerServlet: initialization done for Portlet Application at: jetexpress-pa
Jun 13, 2017 9:38:39 PM org.apache.catalina.core.ApplicationContext log
INFO: JetspeedContainerServlet: attemping to start Portlet Application at: /jetexpress-pa
Jun 13, 2017 9:38:39 PM org.apache.catalina.core.ApplicationContext log
INFO: JetspeedContainerServlet: started Portlet Application at: /jetexpress-pa




> CLONE - Failed to load portlet org.apache.jetspeed.portlets.layout.MultiColumnPortlet
> -------------------------------------------------------------------------------------
>
>                 Key: JS2-1357
>                 URL: https://issues.apache.org/jira/browse/JS2-1357
>             Project: Jetspeed 2
>          Issue Type: Bug
>          Components: Application servers, Demo Portlets
>    Affects Versions: 2.3.0
>         Environment: WIN10 32bit 
> Jetspeed 2.3.1 
> Java(TM) SE Runtime Environment (build 1.8.0_131) 
> maven: 3.5.0 
>            Reporter: SK
>            Assignee: David Sean Taylor
>         Attachments: localhost.2017-06-13.log
>
>
> After Building and Deploying a Custom Jetspeed Portal step,  I tried to start up the portal but failed to load page. (https://portals.apache.org/jetspeed-2/tutorial/01/run-it.html)
> The page shows below:
> Failed to load portlet org.apache.jetspeed.portlets.layout.MultiColumnPortlet: java.lang.ClassCastException: org.apache.jetspeed.velocity.JetspeedPowerToolFactory cannot be cast to org.apache.jetspeed.velocity.JetspeedPowerToolFactory
> I believe this issue is being experienced only on Windows platform, as Jetspeed-2 is platform independent, so I hope resolution for this issue will be considered.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)