portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Lalitha Bourishetty <lalitha.bourishe...@oracle.com>
Subject Re: Regarding Jetspeed migration
Date Fri, 19 Jun 2015 10:12:42 GMT
Hi Team,

we jar file from got new jar file from http://www.bluesunrise.com/downloads/jetspeed-rdbms-2.2.2.jar
path.
when i tried to compile the example portlet using java 8,it is still throwing the same error.
Error as below:

org.apache.jasper.servlet.TldScanner.scanJars At least one JAR was scanned for TLDs yet contained
no TLDs.
 Enable debug logging for this logger for a complete list of JARs that were scanned but no
TLDs were found in them. Skipping unneeded JARs during scanning can i
mprove startup time and JSP compilation time.
java.lang.ClassCastException: java.lang.String cannot be cast to java.lang.Class
        at org.apache.jetspeed.components.ApplicationEventMethodsInvoker.findMethodInvokersByEvent(ApplicationEventMethodsInvoker.java:132)
        at org.apache.jetspeed.components.ApplicationEventMethodsInvoker.onApplicationEvent(ApplicationEventMethodsInvoker.java:96)
        at org.springframework.context.event.SimpleApplicationEventMulticaster$1.run(SimpleApplicationEventMulticaster.java:78)
        at org.springframework.core.task.SyncTaskExecutor.execute(SyncTaskExecutor.java:49)
        at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:76)
        at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:274)
        at org.springframework.context.support.AbstractApplicationContext.finishRefresh(AbstractApplicationContext.java:736)
        at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:383)
        at org.apache.jetspeed.components.SpringComponentManager.start(SpringComponentManager.java:313)
        at org.apache.jetspeed.engine.JetspeedEngine.start(JetspeedEngine.java:119)
        at org.apache.jetspeed.engine.JetspeedServlet.init(JetspeedServlet.java:208)
        at org.apache.catalina.core.StandardWrapper.initServlet(StandardWrapper.java:1231)
        at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1144)
        at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:1031)
        at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4914)
        at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5201)
        at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
        at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:725)
        at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:701)
        at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:717)
        at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:586)
        at org.apache.catalina.startup.HostConfig$DeployDescriptor.run(HostConfig.java:1750)
        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
        at java.util.concurrent.FutureTask.run(FutureTask.java:266)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
        at java.lang.Thread.run(Thread.java:745)
19.06.2015 02:31:38 ERROR [org.apache.jetspeed.engine.JetspeedServlet.init():218] Jetspeed:
init() failed:
org.apache.jetspeed.exception.JetspeedException: Jetspeed Initialization exception!
        at org.apache.jetspeed.engine.JetspeedEngine.start(JetspeedEngine.java:142)
        at org.apache.jetspeed.engine.JetspeedServlet.init(JetspeedServlet.java:208)
        at org.apache.catalina.core.StandardWrapper.initServlet(StandardWrapper.java:1231)
        at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1144)
        at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:1031)
        at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4914)
        at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5201)
        at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
        at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:725)
        at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:701)
        at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:717)
        at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:586)
        at org.apache.catalina.startup.HostConfig$DeployDescriptor.run(HostConfig.java:1750)
        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
        at java.util.concurrent.FutureTask.run(FutureTask.java:266)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
        at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.ClassCastException: java.lang.String cannot be cast to java.lang.Class
        at org.apache.jetspeed.components.ApplicationEventMethodsInvoker.findMethodInvokersByEvent(ApplicationEventMethodsInvoker.java:132)
        at org.apache.jetspeed.components.ApplicationEventMethodsInvoker.onApplicationEvent(ApplicationEventMethodsInvoker.java:96)
        at org.springframework.context.event.SimpleApplicationEventMulticaster$1.run(SimpleApplicationEventMulticaster.java:78)
        at org.springframework.core.task.SyncTaskExecutor.execute(SyncTaskExecutor.java:49)
        at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:76)
        at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:274)
        at org.springframework.context.support.AbstractApplicationContext.finishRefresh(AbstractApplicationContext.java:736)
        at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:383)
        at org.apache.jetspeed.components.SpringComponentManager.start(SpringComponentManager.java:313)
        at org.apache.jetspeed.engine.JetspeedEngine.start(JetspeedEngine.java:119)
        ... 17 more

Regards,
Lalitha
----- Original Message -----
From: david@bluesunrise.com
To: jetspeed-dev@portals.apache.org
Sent: Thursday, June 18, 2015 7:45:02 AM GMT -08:00 US/Canada Pacific
Subject: Re: Regarding Jetspeed migration


> On Jun 18, 2015, at 12:20 AM, Lalitha Bourishetty <lalitha.bourishetty@oracle.com>
wrote:
> 
> Hi Team,
> 
> Request you to clarify below doubts:
> 1) Here in the below reply it was given like need to recompile with java 8, Does it mean
need to recompile complete Jetspeed 2 with java 8? 

yes. Or you can try dropping in the a jar file I built specially for you here:

http://www.bluesunrise.com/downloads/jetspeed-rdbms-2.2.2.jar <http://www.bluesunrise.com/downloads/jetspeed-rdbms-2.2.2.jar>

> 2) Below reply also says to apply patch to MinimalDataSource.java , What is the patch
that we have to apply? Is this java class present in Jetspeed2 ? if yes how can we apply patch
and build it?

There was one simple change required to get it to compile on Java 1.8.  Added the getParentLogger
method to the MinimalDataSource.java file in Jetspeed:

      public java.util.logging.Logger getParentLogger()
                throws SQLFeatureNotSupportedException
        {
            return null;
        }


---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-dev-help@portals.apache.org


Mime
View raw message