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 Wed, 17 Jun 2015 10:40:03 GMT
Hi Team,

Could you please help me in understanding how the flow is happening in portlets, i..e, how
request is sent, when a request is sent how it goes to get response and how the response will
be rendered. I would like to know how navigation is happening.  I tried to understand with
Jetspeed 2 tutorial example but I am very much confused with that.

Request you to help me in understanding work flow.

Regards,
Lalitha

-----Original Message-----
From: Dnyaneshwar Dabhade [mailto:dnyaneshwar.Dabhade@majesco.com] 
Sent: Wednesday, June 17, 2015 11:21 AM
To: Jetspeed Developers List
Subject: RE: Regarding Jetspeed migration

Hi Team,





Issue 1: While building with maven 3.3.* on window 7, what I found is maven build process
requires mvn.bat file for execution but somehow it has mvn.cmd file. So build was failing
at first step only.

So I had to copy and create mvn.bat file for execution.



C:\Apache\apache-maven-3.3.3\bin\mvn.bat

                at org.apache.maven.shared.invoker.DefaultInvoker.execute(DefaultInvoker.java:95)

                at org.apache.jetspeed.maven.plugins.MvnMojo.executeTarget(MvnMojo.java:502)

                at org.apache.jetspeed.maven.plugins.MvnMojo.execute(MvnMojo.java:339)

                at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:134)

                at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208)

                at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)

                at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)

                at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:116)

                at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80)

                at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51)

                at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:128)

                at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:307)

                at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:193)

                at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:106)

                at org.apache.maven.cli.MavenCli.execute(MavenCli.java:862)

                at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:286)

                at org.apache.maven.cli.MavenCli.main(MavenCli.java:197)

                at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

                at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)

                at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

                at java.lang.reflect.Method.invoke(Method.java:606)

                at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)

                at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)

                at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)

                at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)

Caused by: org.apache.maven.shared.invoker.CommandLineConfigurationException: Maven executable
not found at: C:\Apache\apache-maven-3.3.3\bin\mvn.bat

                at org.apache.maven.shared.invoker.MavenCommandLineBuilder.findMavenExecutable(MavenCommandLineBuilder.java:487)

                at org.apache.maven.shared.invoker.MavenCommandLineBuilder.build(MavenCommandLineBuilder.java:67)

                at org.apache.maven.shared.invoker.DefaultInvoker.execute(DefaultInvoker.java:91)

                ... 24 more





Issue 2 : After that I came across below compatibility  issue so I had to downgrade and try
with 2.2.1. I guess Maven 3.2.5 can be also ok but not tested.

==================================================================================================================

Apache Maven 3.3.3 (7994120775791599e205a5524ec3e0dfe41d4a06; 2015-04-22T07:57:37-04:00)

Maven home: C:\Apache\apache-maven-3.3.3\bin\..

Java version: 1.7.0_75, vendor: Oracle Corporation

Java home: C:\Program Files\Java\jdk1.7.0_75\jre

Default locale: en_US, platform encoding: Cp1252

OS name: "windows 7", version: "6.1", arch: "amd64", family: "windows"

[DEBUG] Created new class realm maven.api

[DEBUG] Importing foreign packages into class realm maven.api

.....

.....

.....



at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:166)

                ... 21 more

Caused by: java.lang.NoClassDefFoundError: org/slf4j/helpers/MarkerIgnoringBase

                at java.lang.ClassLoader.defineClass1(Native Method)

                at java.lang.ClassLoader.defineClass(ClassLoader.java:800)

                at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)

                at java.net.URLClassLoader.defineClass(URLClassLoader.java:449)

                at java.net.URLClassLoader.access$100(URLClassLoader.java:71)

                at java.net.URLClassLoader$1.run(URLClassLoader.java:361)

                at java.net.URLClassLoader$1.run(URLClassLoader.java:355)

                at java.security.AccessController.doPrivileged(Native Method)

                at java.net.URLClassLoader.findClass(URLClassLoader.java:354)

                at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClassFromSelf(ClassRealm.java:401)

                at org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy.loadClass(SelfFirstStrategy.java:42)

                at org.codehaus.plexus.classworlds.realm.ClassRealm.unsynchronizedLoadClass(ClassRealm.java:271)

                at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:247)

                at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:239)

                at org.apache.jetspeed.tools.db.serializer.JetspeedSerializerApplicationImpl.importFiles(JetspeedSerializerApplicationImpl.java:150)

                at org.apache.jetspeed.maven.utils.Serializer.execute(Serializer.java:105)

                at org.apache.jetspeed.maven.plugins.InitMojo.execute(InitMojo.java:118)

                at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:134)

                ... 21 more

Caused by: java.lang.ClassNotFoundException: org.slf4j.helpers.MarkerIgnoringBase

                at org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy.loadClass(SelfFirstStrategy.java:50)

                at org.codehaus.plexus.classworlds.realm.ClassRealm.unsynchronizedLoadClass(ClassRealm.java:271)

                at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:247)

                at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:239)

                ... 39 more

[ERROR]

[ERROR]

[ERROR] For more information about the errors and possible solutions, please read the following
articles:

[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/PluginContainerException



Hope this helps.



Regards,

Dnyaneshwar





-----Original Message-----
From: DavidSeanTaylor [mailto:david@bluesunrise.com]
Sent: Tuesday, June 16, 2015 10:20 PM
To: Jetspeed Developers List
Subject: Re: Regarding Jetspeed migration





> On Jun 16, 2015, at 1:56 AM, Lalitha Bourishetty <lalitha.bourishetty@oracle.com<mailto:lalitha.bourishetty@oracle.com>>
wrote:

>

> Hi,

>

> Could you please confirm, instead of maven 3.3.3 you went for maven 2.2.1 version.



Sounds like I need to do some testing of the Jetspeed archetype here. Im only testing on Linux
and Mac OS X + Maven 3.2.1. I will setup a Windows VM and test on the following configurations:



* Jetspeed 2.2.2

* Jetspeed 2.3.0

* Maven 3.3.3

* Windows ( I only have license for Windows 8)



i don’t want to continue support of Maven 2.2.1 when working with Jetspeed 2.2.x and 2.3.x,
so Im hoping we can get this working for you on Maven 3



I’ll start testing here and get back to you with results in next 24 hours







---------------------------------------------------------------------

To unsubscribe, e-mail: jetspeed-dev-unsubscribe@portals.apache.org<mailto:jetspeed-dev-unsubscribe@portals.apache.org>

For additional commands, e-mail: jetspeed-dev-help@portals.apache.org<mailto:jetspeed-dev-help@portals.apache.org>



---------------------------------------------------------------------
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