Re: Error while deploying Jetspeed source code

Ron Wheeler <[email protected]>
Newsgroups gmane.comp.jakarta.jetspeed.devel
Organization Artifact Software
Message-ID <[email protected]>
Have you figured out why org.apache.velocity.util.SimplePool is not on the classpath?
What jar is it in?
Is that jar where it should be found?

It looks like a simple problem that a small bit of digging should resolve or at least lead to a more interesting question.

Ron


On 12/07/2015 11:27 AM, Lalitha Bourishetty wrote:
> Hi Team,
>
>   
>
> We took Jetspeed 2 source code jetspeed-2-2.2.2-source-release.zip from apache portal. Unzipped and rebuilt with java 1.8 when we tried to deploy in weblogic server
>
> We are facing below error:
>
> java.lang.NullPointerException
>
>          at org.apache.jetspeed.engine.JetspeedServlet.init(JetspeedServlet.java:166)
>
>          at weblogic.servlet.internal.StubSecurityHelper$ServletInitAction.run(StubSecurityHelper.java:337)
>
>          at weblogic.servlet.internal.StubSecurityHelper$ServletInitAction.run(StubSecurityHelper.java:288)
>
>          at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
>
>          at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
>
>          Truncated. see log file for complete stacktrace
>
> Jul 10, 2015 6:31:19 AM org.apache.jetspeed.engine.JetspeedServlet init
>
> INFO: Jetspeed Initialization complete, Ready to service requests.
>
> Jul 10, 2015 6:31:19 AM org.apache.jetspeed.engine.JetspeedServlet init
>
> INFO: Jetspeed Initialization complete, Ready to service requests.
>
> <Jul 10, 2015 6:31:19 AM PDT> <Error> <HTTP> <BEA-101216> <Servlet: "velocity" failed to preload on startup in Web application: "jetspeed-2.2.2.war".
>
> java.lang.NoClassDefFoundError: org/apache/velocity/util/SimplePool
>
>          at org.apache.velocity.tools.view.servlet.VelocityViewServlet.<clinit>(VelocityViewServlet.java:170)
>
>          at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
>
>          at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
>
>          at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
>
>          at java.lang.reflect.Constructor.newInstance(Constructor.java:422)
>
>          Truncated. see log file for complete stacktrace
>
> Caused By: java.lang.ClassNotFoundException: org.apache.velocity.util.SimplePool
>
>          at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
>
>          at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
>
>          at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331)
>
>          at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
>
>          at org.apache.velocity.tools.view.servlet.VelocityViewServlet.<clinit>(VelocityViewServlet.java:170)
>
>          Truncated. see log file for complete stacktrace
>
> Jul 10, 2015 6:31:19 AM org.apache.jetspeed.engine.JetspeedServlet destroy
>
> INFO: Done shutting down!
>
> <Jul 10, 2015 6:31:19 AM PDT> <Error> <Deployer> <BEA-149231> <Unable to set the activation state to true for the application "jetspeed-2.2.2".
>
> weblogic.application.ModuleException: java.lang.ClassNotFoundException: org.apache.velocity.util.SimplePool
>
>          at weblogic.application.internal.ExtensibleModuleWrapper.start(ExtensibleModuleWrapper.java:140)
>
>          at weblogic.application.internal.flow.ModuleListenerInvoker.start(ModuleListenerInvoker.java:124)
>
>          at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:216)
>
>          at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:211)
>
>          at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:42)
>
>          Truncated. see log file for complete stacktrace
>
> Caused By: java.lang.ClassNotFoundException: org.apache.velocity.util.SimplePool
>
>          at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
>
>          at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
>
>          at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331)
>
>          at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
>
>          at org.apache.velocity.tools.view.servlet.VelocityViewServlet.<clinit>(VelocityViewServlet.java:170)
>
>          Truncated. see log file for complete stacktrace
>
>   
>
> Request you to help me in resolving this.
>
>   
>
> Regards,
>
> Lalitha
>
>   
>
> From: Lalitha Bourishetty
> Sent: Thursday, July 09, 2015 12:17 PM
> To: [email protected]; [email protected]
> Cc: Ramesh Veera venkata gopi Sama ([email protected]); Leena Prabhu
> Subject: Jetspeed new release
>
>   
>
> Hi Team,
>
>   
>
> Let us know when Jetspeed new version will be released. In roadmap it shows upcoming release timeline for 2.3.0 is may 2015.
>
>   
>
> Thank you.
>
>   
>
> Regards,
>
> Lalitha
>
>   
>


-- 
Ron Wheeler
President
Artifact Software Inc
email: [email protected]
skype: ronaldmwheeler
phone: 866-970-2435, ext 102
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.