RE: Jetspeed 2.3
Lalitha Bourishetty <[email protected]> Tue, 11 Aug 2015 23:57:44 -0700 (PDT)
| Newsgroups | gmane.comp.jakarta.jetspeed.user,gmane.comp.jakarta.jetspeed.devel |
|---|---|
| Message-ID | <4510cd2a-cc3e-46ff-8af2-308da2d085d5@default> |
Hi Team,
I downloaded Jetspeed 2.3 source code, built it, made required changes and=
deployed jetspeed-2.3.0.war in weblogic 12c server.
Changes I made are : 1)=09Deployment.xml : changed TomcatManager to Weblogi=
cManager
2)=09Weblogic.xml: added below code
<context-root>jetspeed</context-root>
<container-descriptor>
=09<prefer-web-inf-classes>true</prefer-web-inf-classes>
=09<show-archived-real-path-enabled>true</show-archived-real-path-enabled>
</container-descriptor>
3) added all jars to $Domain$\lib folder
4) configured Jetspeed DB datasource in server .
5)=09Commented below entry in Jetspeed-services.xml
<entry key=3D"ApplicationServerManager">
<ref bean=3D"org.apache.jetspeed.tools.pamanager.servletcontainer=
.ApplicationServerManager" /> </entry>
6)=09In deployment.xml commented all constructor arguments for bean id Appl=
icationServerManager
7) in OJB.properties file: commented JTATransactionManagerClass=3Dorg.apac=
he.ojb.broker.transaction.tm.JBossTransactionManagerFactory uncommented JTA=
TransactionManagerClass=3Dorg.apache.ojb.broker.transaction.tm.WeblogicTran=
sactionManagerFactory
War got deployed successfully.
But I have few doubts here. Request you to clarify.
Doubt 1: In console I got error as : <Error> <HTTP> <BEA-101005> <[ServletC=
ontext@12233532[app:jetspeed-2.3.0 module:jetspeed-2.3.0.war path:null spec=
-version:3.0]] ge
tRealPath() called with unsafe path: "/C:/MSS_Domains/JETSPEED23HOME/server=
s/AdminServer/tmp/_WL_user/jetspeed-2.3.0/j51h78/war//WEB-INF/templates/".
java.io.IOException: The filename, directory name, or volume label syntax i=
s incorrect
at java.io.WinNTFileSystem.canonicalize0(Native Method)
at java.io.WinNTFileSystem.canonicalize(WinNTFileSystem.java:428)
at java.io.File.getCanonicalPath(File.java:618)
at weblogic.servlet.internal.WebAppServletContext.getRealPath(WebAp=
pServletContext.java:723)
at org.springframework.web.util.WebUtils.getRealPath(WebUtils.java:=
235)
Truncated. see log file for complete stacktrace
>
Aug 11, 2015 3:22:10 AM org.springframework.ui.velocity.SpringResourceLoade=
r init
INFO: SpringResourceLoader for Velocity: using resource loader [Root WebApp=
licationContext: startup date [Tue Aug 11 03:22:03 PDT 2015]; parent: Root =
WebApplica tionContext] and resource loader paths [C:/MSS_Domains/JETSPEED2=
3HOME/servers/AdminServer/tmp/_WL_user/jetspeed-2.3.0/j51h78/war//WEB-INF/t=
emplates/]
Aug 11, 2015 3:22:10 AM org.apache.jetspeed.idgenerator.JetspeedIdGenerator=
start
In the beginning it showed error and in the followed line it pointed to cor=
rect path. Why this came so, is there any thing we have to add or ? Please =
give your inputs on this.=20
Doubt 2: after building source code we did not get lib folder in jetspeed-2=
.3.0.war. Could you please help us in understanding why it is creating war =
file without lib folder. Or I missed any in my process of approaching.
Doubt 3: once war got deployed successfully, tried to login by using url h=
ttp://localhost:7023/jetspeed/portal then I got below error in console:
<Aug 11, 2015 3:23:21 AM PDT> <Error> <netuix> <BEA-423223> <There was an e=
rror while running a lifecycle stage :: Lifecycle: UIControl.render :: for =
the contro
l :: null ::.>
Warning: org.apache.xerces.parsers.SAXParser: Feature 'http://javax.xml.XM=
LConstants/feature/secure-processing' is not recognized.
Warning: org.apache.xerces.parsers.SAXParser: Property 'http://javax.xml.X=
MLConstants/property/accessExternalDTD' is not recognized.
Warning: org.apache.xerces.parsers.SAXParser: Property 'http://www.oracle.=
com/xml/jaxp/properties/entityExpansionLimit' is not recognized.
[org.apache.ojb.broker.accesslayer.JdbcAccessImpl] ERROR: SQLException duri=
ng the execution of the query (for org.apache.jetspeed.capabilities.impl.Cl=
ientImpl):
ORA-00942: table or view does not exist
ORA-00942: table or view does not exist
java.sql.SQLSyntaxErrorException: ORA-00942: table or view does not exist
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:450)
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:399)
at oracle.jdbc.driver.T4C8Oall.processError(T4C8Oall.java:1059)
at oracle.jdbc.driver.T4CTTIfun.receive(T4CTTIfun.java:522)
at oracle.jdbc.driver.T4CTTIfun.doRPC(T4CTTIfun.java:257)
at oracle.jdbc.driver.T4C8Oall.doOALL(T4C8Oall.java:587)
at oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedState=
ment.java:225)
at oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedState=
ment.java:53)
at oracle.jdbc.driver.T4CPreparedStatement.executeForDescribe(T4CPr=
eparedStatement.java:774)
at oracle.jdbc.driver.OracleStatement.executeMaybeDescribe(OracleSt=
atement.java:925)
at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleSt=
atement.java:1111)
at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(Oracl=
ePreparedStatement.java:4798)
at oracle.jdbc.driver.OraclePreparedStatement.executeQuery(OraclePr=
eparedStatement.java:4845)
at oracle.jdbc.driver.OraclePreparedStatementWrapper.executeQuery(O=
raclePreparedStatementWrapper.java:1501)
at weblogic.jdbc.wrapper.PreparedStatement.executeQuery(PreparedSta=
tement.java:141)
at org.apache.ojb.broker.accesslayer.JdbcAccessImpl.executeQuery(Jd=
bcAccessImpl.java:312)
at org.apache.ojb.broker.accesslayer.RsQueryObject.performQuery(RsQ=
ueryObject.java:74)
at org.apache.ojb.broker.accesslayer.RsIterator.<init>(RsIterator.j=
ava:185)
at org.apache.ojb.broker.core.RsIteratorFactoryImpl.createRsIterato=
r(RsIteratorFactoryImpl.java:58)
at org.apache.ojb.broker.core.PersistenceBrokerImpl.getRsIteratorFr=
omQuery(PersistenceBrokerImpl.java:1918)
at org.apache.ojb.broker.core.PersistenceBrokerImpl.getIteratorFrom=
Query(PersistenceBrokerImpl.java:1493)
at org.apache.ojb.broker.core.QueryReferenceBroker.getCollectionByQ=
uery(QueryReferenceBroker.java:112)
at org.apache.ojb.broker.core.QueryReferenceBroker.getCollectionByQ=
uery(QueryReferenceBroker.java:251)
at org.apache.ojb.broker.core.QueryReferenceBroker.getCollectionByQ=
uery(QueryReferenceBroker.java:271)
at org.apache.ojb.broker.core.PersistenceBrokerImpl.getCollectionBy=
Query(PersistenceBrokerImpl.java:1367)
at org.apache.ojb.broker.core.DelegatingPersistenceBroker.getCollec=
tionByQuery(DelegatingPersistenceBroker.java:338)
at org.apache.ojb.broker.core.DelegatingPersistenceBroker.getCollec=
tionByQuery(DelegatingPersistenceBroker.java:338)
at org.springframework.orm.ojb.PersistenceBrokerTemplate$3.doInPers=
istenceBroker(PersistenceBrokerTemplate.java:192)
at org.springframework.orm.ojb.PersistenceBrokerTemplate.execute(Pe=
rsistenceBrokerTemplate.java:138)
at org.springframework.orm.ojb.PersistenceBrokerTemplate.executeFin=
d(PersistenceBrokerTemplate.java:159)
at org.springframework.orm.ojb.PersistenceBrokerTemplate.getCollect=
ionByQuery(PersistenceBrokerTemplate.java:190)
at org.apache.jetspeed.capabilities.impl.JetspeedCapabilities.getCl=
ients(JetspeedCapabilities.java:392)
at org.apache.jetspeed.capabilities.impl.JetspeedCapabilities.findC=
lient(JetspeedCapabilities.java:327)
at org.apache.jetspeed.capabilities.impl.JetspeedCapabilities.getCa=
pabilityMap(JetspeedCapabilities.java:196)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessor=
Impl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethod=
AccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
at org.springframework.aop.support.AopUtils.invokeJoinpointUsingRef=
lection(AopUtils.java:317)
at org.springframework.aop.framework.ReflectiveMethodInvocation.inv=
okeJoinpoint(ReflectiveMethodInvocation.java:183)
at org.springframework.aop.framework.ReflectiveMethodInvocation.pro=
ceed(ReflectiveMethodInvocation.java:150)
at org.springframework.transaction.interceptor.TransactionIntercept=
or$1.proceedWithInvocation(TransactionInterceptor.java:96)
at org.springframework.transaction.interceptor.TransactionAspectSup=
port.invokeWithinTransaction(TransactionAspectSupport.java:260)
at org.springframework.transaction.interceptor.TransactionIntercept=
or.invoke(TransactionInterceptor.java:94)
at org.springframework.aop.framework.ReflectiveMethodInvocation.pro=
ceed(ReflectiveMethodInvocation.java:172)
at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkD=
ynamicAopProxy.java:204)
at com.sun.proxy.$Proxy96.getCapabilityMap(Unknown Source)
at org.apache.jetspeed.capabilities.impl.CapabilityValveImpl.invoke=
(CapabilityValveImpl.java:65)
at org.apache.jetspeed.pipeline.JetspeedPipeline$Invocation.invokeN=
ext(JetspeedPipeline.java:242)
at org.apache.jetspeed.pipeline.JetspeedPipeline.invoke(JetspeedPip=
eline.java:163)
at org.apache.jetspeed.engine.JetspeedEngine.service(JetspeedEngine=
.java:219)
at org.apache.jetspeed.engine.JetspeedServlet.invoke(JetspeedServle=
t.java:301)
at org.apache.jetspeed.engine.JetspeedServlet.service(JetspeedServl=
et.java:319)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:844)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceActio=
n.run(StubSecurityHelper.java:280)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceActio=
n.run(StubSecurityHelper.java:254)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubS=
ecurityHelper.java:136)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImp=
l.java:346)
at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:25=
)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainIm=
pl.java:79)
at org.apache.jetspeed.container.session.PortalSessionValidationFil=
ter.doFilter(PortalSessionValidationFilter.java:92)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainIm=
pl.java:79)
at org.apache.jetspeed.engine.servlet.XXSUrlAttackFilter.doFilter(X=
XSUrlAttackFilter.java:82)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainIm=
pl.java:79)
at org.apache.jetspeed.util.ServletRequestCleanupService.doFilter(S=
ervletRequestCleanupService.java:146)
at org.apache.jetspeed.util.ServletRequestCleanupFilter.doFilter(Se=
rvletRequestCleanupFilter.java:52)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainIm=
pl.java:79)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocation=
Action.wrapRun(WebAppServletContext.java:3436)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocation=
Action.run(WebAppServletContext.java:3402)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(Authent=
icatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.=
java:120)
at weblogic.servlet.provider.WlsSubjectHandle.run(WlsSubjectHandle.=
java:57)
at weblogic.servlet.internal.WebAppServletContext.doSecuredExecute(=
WebAppServletContext.java:2285)
at weblogic.servlet.internal.WebAppServletContext.securedExecute(We=
bAppServletContext.java:2201)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppSer=
vletContext.java:2179)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestI=
mpl.java:1572)
at weblogic.servlet.provider.ContainerSupportProviderImpl$WlsReques=
tExecutor.run(ContainerSupportProviderImpl.java:255)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:311)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:263)
Could you let me know do we need run any db related sql script to resolve t=
his error ? I am using oracle db could you let me know what are the things =
to be done to resolve these sql related excceptions.
Regards,
Lalitha
-----Original Message-----
From: Lalitha Bourishetty
Sent: Friday, August 07, 2015 11:19 PM
To: Jetspeed Users List; Jetspeed Developers List
Cc: Ramesh Veera venkata gopi Sama ([email protected]); Leena Prabhu
Subject: RE: Jetspeed 2.3
Hi Team,
I had downloaded source code for Jetspeed-2.3. Made all required changes li=
ke adding proxy, org.apache.portals.jetspeed-2 pluginGroup in settings.xml=
file of maven-3.3.1 .
Tried building the source code then I got below error:
Downloading: https://repo.maven.apache.org/maven2/org/apache/portals/portal=
s-pom/1.4/portals-pom-1.4.pom
[ERROR] [ERROR] Some problems were encountered while processing the POMs:
[FATAL] Non-resolvable parent POM for org.apache.portals.jetspeed-2:jetspee=
d-2:2.3.0: Could not transfer artifact org.apache.portals:portals-pom:pom:1=
.4 from/to central (https://repo.maven.apache.org/maven2): Connect to repo.=
maven.apache.org:443 [repo.maven.apache.org/23.235.40.215] failed: Connecti=
on timed out: connec t and 'parent.relativePath' points at wrong local POM =
@ line 28, column 11 @ [ERROR] The build could not read 1 project -> [Help =
1]
org.apache.maven.project.ProjectBuildingException: Some problems were encou=
ntered while processing the POMs:
[FATAL] Non-resolvable parent POM for org.apache.portals.jetspeed-2:jetspee=
d-2:2.3.0: Could not transfer artifact org.apache.portals:portals-pom:pom:1=
.4 from/to central (https://repo.maven.apache.org/maven2): Connect to repo.=
maven.apache.org:443 [repo.maven.apache.org/23.235.40.215] failed: Connecti=
on timed out: connec t and 'parent.relativePath' points at wrong local POM =
@ line 28, column 11
When I tried with Nexus, I am facing below error:
org.apache.http.conn.ConnectTimeoutException: Connect to repo1.maven.org:44=
3 [repo1.maven.org/23.235.44.209] failed: connect timed out
jvm 1 | =09at org.apache.http.impl.conn.HttpClientConnectionOperator.con=
nect(HttpClientConnectionOperator.java:134) ~[httpclient-4.3.6.jar:4.3.6]
jvm 1 | =09at org.apache.http.impl.conn.PoolingHttpClientConnectionManag=
er.connect(PoolingHttpClientConnectionManager.java:319) ~[httpclient-4.3.6.=
jar:4.3.6]
jvm 1 | =09at org.apache.http.impl.execchain.MainClientExec.establishRou=
te(MainClientExec.java:363) ~[httpclient-4.3.6.jar:4.3.6]
jvm 1 | =09at org.apache.http.impl.execchain.MainClientExec.execute(Main=
ClientExec.java:219) ~[httpclient-4.3.6.jar:4.3.6]
jvm 1 | =09at org.apache.http.impl.execchain.ProtocolExec.execute(Protoc=
olExec.java:195) ~[httpclient-4.3.6.jar:4.3.6]
jvm 1 | =09at org.apache.http.impl.execchain.RetryExec.execute(RetryExec=
.java:86) ~[httpclient-4.3.6.jar:4.3.6]
jvm 1 | =09at org.apache.http.impl.execchain.RedirectExec.execute(Redire=
ctExec.java:108) ~[httpclient-4.3.6.jar:4.3.6]
jvm 1 | =09at org.apache.http.impl.client.InternalHttpClient.doExecute(I=
nternalHttpClient.java:184) ~[httpclient-4.3.6.jar:4.3.6]
jvm 1 | =09at org.apache.http.impl.client.CloseableHttpClient.execute(Cl=
oseableHttpClient.java:82) ~[httpclient-4.3.6.jar:4.3.6]
jvm 1 | =09at org.apache.http.impl.client.CloseableHttpClient.execute(Cl=
oseableHttpClient.java:57) ~[httpclient-4.3.6.jar:4.3.6]
jvm 1 | =09at org.sonatype.nexus.plugins.rrb.MavenRepositoryReader.getCo=
ntent(MavenRepositoryReader.java:231) [nexus-rrb-plugin-2.11.4-01/:na]
jvm 1 | =09at org.sonatype.nexus.plugins.rrb.MavenRepositoryReader.extra=
ct(MavenRepositoryReader.java:101) [nexus-rrb-plugin-2.11.4-01/:na]
jvm 1 | =09at org.sonatype.nexus.plugins.rrb.RemoteBrowserResource.get(R=
emoteBrowserResource.java:138) [nexus-rrb-plugin-2.11.4-01/:na]
jvm 1 | =09at org.sonatype.plexus.rest.resource.RestletResource.represen=
t(RestletResource.java:233) [nexus-restlet1x-plugin-2.11.4-01/:na]
jvm 1 | =09at org.sonatype.nexus.rest.NexusRestletResource.represent(Nex=
usRestletResource.java:39) [nexus-restlet1x-plugin-2.11.4-01/:na]
jvm 1 | =09at org.restlet.resource.Resource.getRepresentation(Resource.j=
ava:302) [nexus-restlet1x-plugin-2.11.4-01/:na]
jvm 1 | =09at org.restlet.resource.Resource.handleGet(Resource.java:464)=
[nexus-restlet1x-plugin-2.11.4-01/:na]
jvm 1 | =09at org.restlet.Finder.handle(Finder.java:353) [nexus-restlet1=
x-plugin-2.11.4-01/:na]
jvm 1 | =09at org.restlet.Filter.doHandle(Filter.java:150) [nexus-restle=
t1x-plugin-2.11.4-01/:na]
jvm 1 | =09at org.restlet.Filter.handle(Filter.java:195) [nexus-restlet1=
x-plugin-2.11.4-01/:na]
jvm 1 | =09at org.restlet.Router.handle(Router.java:504) [nexus-restlet1=
x-plugin-2.11.4-01/:na]
jvm 1 | =09at org.restlet.Filter.doHandle(Filter.java:150) [nexus-restle=
t1x-plugin-2.11.4-01/:na]
jvm 1 | =09at org.restlet.Filter.handle(Filter.java:195) [nexus-restlet1=
x-plugin-2.11.4-01/:na]
jvm 1 | =09at org.restlet.Filter.doHandle(Filter.java:150) [nexus-restle=
t1x-plugin-2.11.4-01/:na]
jvm 1 | =09at org.sonatype.plexus.rest.RetargetableRestlet.doHandle(Reta=
rgetableRestlet.java:36) [nexus-restlet1x-plugin-2.11.4-01/:na]
jvm 1 | =09at org.restlet.Filter.handle(Filter.java:195) [nexus-restlet1=
x-plugin-2.11.4-01/:na]
jvm 1 | =09at org.restlet.Filter.doHandle(Filter.java:150) [nexus-restle=
t1x-plugin-2.11.4-01/:na]
jvm 1 | =09at org.restlet.Filter.handle(Filter.java:195) [nexus-restlet1=
x-plugin-2.11.4-01/:na]
jvm 1 | =09at org.restlet.Filter.doHandle(Filter.java:150) [nexus-restle=
t1x-plugin-2.11.4-01/:na]
jvm 1 | =09at org.restlet.Filter.handle(Filter.java:195) [nexus-restlet1=
x-plugin-2.11.4-01/:na]
jvm 1 | =09at org.restlet.Filter.doHandle(Filter.java:150) [nexus-restle=
t1x-plugin-2.11.4-01/:na]
jvm 1 | =09at com.noelios.restlet.StatusFilter.doHandle(StatusFilter.jav=
a:130) [nexus-restlet1x-plugin-2.11.4-01/:na]
jvm 1 | =09at org.restlet.Filter.handle(Filter.java:195) [nexus-restlet1=
x-plugin-2.11.4-01/:na]
jvm 1 | =09at org.restlet.Filter.doHandle(Filter.java:150) [nexus-restle=
t1x-plugin-2.11.4-01/:na]
jvm 1 | =09at org.restlet.Filter.handle(Filter.java:195) [nexus-restlet1=
x-plugin-2.11.4-01/:na]
jvm 1 | =09at com.noelios.restlet.ChainHelper.handle(ChainHelper.java:12=
4) [nexus-restlet1x-plugin-2.11.4-01/:na]
jvm 1 | =09at com.noelios.restlet.application.ApplicationHelper.handle(A=
pplicationHelper.java:112) [nexus-
Then I made below changes in pom.xml.
1) in Jetspeed 2.3 source code's pom.xml file version value for portals-pom=
given as 1.4 as below
<modelVersion>4.0.0</modelVersion>
<prerequisites>
<maven>3.3.1</maven>
</prerequisites>
<parent>
<groupId>org.apache.portals</groupId>
<artifactId>portals-pom</artifactId>
<version>1.4</version>
</parent>
I changed this version number to 1.3 as below, ( In Jetspeed 2.2 source cod=
e version number was 1.3)
<modelVersion>4.0.0</modelVersion>
<prerequisites>
<maven>3.3.1</maven>
</prerequisites>
<parent>
<groupId>org.apache.portals</groupId>
<artifactId>portals-pom</artifactId>
<version>1.3</version>
</parent>
After changing version value to 1.3 source code got built successfully.
Please let me know why it is not working with portal-pom-1.4 even after mak=
ing all required settings.=20
Regards,
Lalitha
-----Original Message-----
From: Ron Wheeler [mailto:[email protected]]
Sent: Friday, August 07, 2015 6:02 PM
To: [email protected]
Subject: Re: Jetspeed 2.3
Through this test, you have shown that the problem is not a Jetspeed proble=
m but is a Maven/Nexus problem with a particular artifact on Maven Central
You will find that the Maven forum is very active and has lots of very stro=
ng people with some connection to Maven Central.
maven.apache.org has links to the forum.
Ron
On 07/08/2015 3:34 AM, Lalitha Bourishetty wrote:
> Hi Team,
>
> @ Ron, Thank you for your support and immediate response in helping to re=
solve errors.
>
> As you suggested I tried start with a proxy for Maven Central.
> But I am facing error. Please find my error stack trace as below:
> org.apache.http.conn.ConnectTimeoutException: Connect to repo1.maven.org:=
443 [repo1.maven.org/23.235.44.209] failed: connect timed out
> jvm 1 | =09at org.apache.http.impl.conn.HttpClientConnectionOperator.c=
onnect(HttpClientConnectionOperator.java:134) ~[httpclient-4.3.6.jar:4.3.6]
> jvm 1 | =09at org.apache.http.impl.conn.PoolingHttpClientConnectionMan=
ager.connect(PoolingHttpClientConnectionManager.java:319) ~[httpclient-4.3.=
6.jar:4.3.6]
> jvm 1 | =09at org.apache.http.impl.execchain.MainClientExec.establishR=
oute(MainClientExec.java:363) ~[httpclient-4.3.6.jar:4.3.6]
> jvm 1 | =09at org.apache.http.impl.execchain.MainClientExec.execute(Ma=
inClientExec.java:219) ~[httpclient-4.3.6.jar:4.3.6]
> jvm 1 | =09at org.apache.http.impl.execchain.ProtocolExec.execute(Prot=
ocolExec.java:195) ~[httpclient-4.3.6.jar:4.3.6]
> jvm 1 | =09at org.apache.http.impl.execchain.RetryExec.execute(RetryEx=
ec.java:86) ~[httpclient-4.3.6.jar:4.3.6]
> jvm 1 | =09at org.apache.http.impl.execchain.RedirectExec.execute(Redi=
rectExec.java:108) ~[httpclient-4.3.6.jar:4.3.6]
> jvm 1 | =09at org.apache.http.impl.client.InternalHttpClient.doExecute=
(InternalHttpClient.java:184) ~[httpclient-4.3.6.jar:4.3.6]
> jvm 1 | =09at org.apache.http.impl.client.CloseableHttpClient.execute(=
CloseableHttpClient.java:82) ~[httpclient-4.3.6.jar:4.3.6]
> jvm 1 | =09at org.apache.http.impl.client.CloseableHttpClient.execute(=
CloseableHttpClient.java:57) ~[httpclient-4.3.6.jar:4.3.6]
> jvm 1 | =09at org.sonatype.nexus.plugins.rrb.MavenRepositoryReader.get=
Content(MavenRepositoryReader.java:231) [nexus-rrb-plugin-2.11.4-01/:na]
> jvm 1 | =09at org.sonatype.nexus.plugins.rrb.MavenRepositoryReader.ext=
ract(MavenRepositoryReader.java:101) [nexus-rrb-plugin-2.11.4-01/:na]
> jvm 1 | =09at org.sonatype.nexus.plugins.rrb.RemoteBrowserResource.get=
(RemoteBrowserResource.java:138) [nexus-rrb-plugin-2.11.4-01/:na]
> jvm 1 | =09at org.sonatype.plexus.rest.resource.RestletResource.repres=
ent(RestletResource.java:233) [nexus-restlet1x-plugin-2.11.4-01/:na]
> jvm 1 | =09at org.sonatype.nexus.rest.NexusRestletResource.represent(N=
exusRestletResource.java:39) [nexus-restlet1x-plugin-2.11.4-01/:na]
> jvm 1 | =09at org.restlet.resource.Resource.getRepresentation(Resource=
.java:302) [nexus-restlet1x-plugin-2.11.4-01/:na]
> jvm 1 | =09at org.restlet.resource.Resource.handleGet(Resource.java:46=
4) [nexus-restlet1x-plugin-2.11.4-01/:na]
> jvm 1 | =09at org.restlet.Finder.handle(Finder.java:353) [nexus-restle=
t1x-plugin-2.11.4-01/:na]
> jvm 1 | =09at org.restlet.Filter.doHandle(Filter.java:150) [nexus-rest=
let1x-plugin-2.11.4-01/:na]
> jvm 1 | =09at org.restlet.Filter.handle(Filter.java:195) [nexus-restle=
t1x-plugin-2.11.4-01/:na]
> jvm 1 | =09at org.restlet.Router.handle(Router.java:504) [nexus-restle=
t1x-plugin-2.11.4-01/:na]
> jvm 1 | =09at org.restlet.Filter.doHandle(Filter.java:150) [nexus-rest=
let1x-plugin-2.11.4-01/:na]
> jvm 1 | =09at org.restlet.Filter.handle(Filter.java:195) [nexus-restle=
t1x-plugin-2.11.4-01/:na]
> jvm 1 | =09at org.restlet.Filter.doHandle(Filter.java:150) [nexus-rest=
let1x-plugin-2.11.4-01/:na]
> jvm 1 | =09at org.sonatype.plexus.rest.RetargetableRestlet.doHandle(Re=
targetableRestlet.java:36) [nexus-restlet1x-plugin-2.11.4-01/:na]
> jvm 1 | =09at org.restlet.Filter.handle(Filter.java:195) [nexus-restle=
t1x-plugin-2.11.4-01/:na]
> jvm 1 | =09at org.restlet.Filter.doHandle(Filter.java:150) [nexus-rest=
let1x-plugin-2.11.4-01/:na]
> jvm 1 | =09at org.restlet.Filter.handle(Filter.java:195) [nexus-restle=
t1x-plugin-2.11.4-01/:na]
> jvm 1 | =09at org.restlet.Filter.doHandle(Filter.java:150) [nexus-rest=
let1x-plugin-2.11.4-01/:na]
> jvm 1 | =09at org.restlet.Filter.handle(Filter.java:195) [nexus-restle=
t1x-plugin-2.11.4-01/:na]
> jvm 1 | =09at org.restlet.Filter.doHandle(Filter.java:150) [nexus-rest=
let1x-plugin-2.11.4-01/:na]
> jvm 1 | =09at com.noelios.restlet.StatusFilter.doHandle(StatusFilter.j=
ava:130) [nexus-restlet1x-plugin-2.11.4-01/:na]
> jvm 1 | =09at org.restlet.Filter.handle(Filter.java:195) [nexus-restle=
t1x-plugin-2.11.4-01/:na]
> jvm 1 | =09at org.restlet.Filter.doHandle(Filter.java:150) [nexus-rest=
let1x-plugin-2.11.4-01/:na]
> jvm 1 | =09at org.restlet.Filter.handle(Filter.java:195) [nexus-restle=
t1x-plugin-2.11.4-01/:na]
> jvm 1 | =09at com.noelios.restlet.ChainHelper.handle(ChainHelper.java:=
124) [nexus-restlet1x-plugin-2.11.4-01/:na]
> jvm 1 | =09at com.noelios.restlet.application.ApplicationHelper.handle=
(ApplicationHelper.java:112) [nexus-restlet1x-plugin-2.11.4-01/:na]
> jvm 1 | =09at org.restlet.Application.handle(Application.java:341) [ne=
xus-restlet1x-plugin-2.11.4-01/:na]
> jvm 1 | =09at org.restlet.Filter.doHandle(Filter.java:150) [nexus-rest=
let1x-plugin-2.11.4-01/:na]
> jvm 1 | =09at org.restlet.Filter.handle(Filter.java:195) [nexus-restle=
t1x-plugin-2.11.4-01/:na]
> jvm 1 | =09at org.restlet.Router.handle(Router.java:504) [nexus-restle=
t1x-plugin-2.11.4-01/:na]
> jvm 1 | =09at org.restlet.Filter.doHandle(Filter.java:150) [nexus-rest=
let1x-plugin-2.11.4-01/:na]
> jvm 1 | =09at org.restlet.Filter.handle(Filter.java:195) [nexus-restle=
t1x-plugin-2.11.4-01/:na]
> jvm 1 | =09at org.restlet.Router.handle(Router.java:504) [nexus-restle=
t1x-plugin-2.11.4-01/:na]
> jvm 1 | =09at com.noelios.restlet.ChainHelper.handle(ChainHelper.java:=
124) [nexus-restlet1x-plugin-2.11.4-01/:na]
> jvm 1 | =09at org.restlet.Component.handle(Component.java:676) [nexus-=
restlet1x-plugin-2.11.4-01/:na]
> jvm 1 | =09at org.restlet.Server.handle(Server.java:331) [nexus-restle=
t1x-plugin-2.11.4-01/:na]
> jvm 1 | =09at com.noelios.restlet.ServerHelper.handle(ServerHelper.jav=
a:68) [nexus-restlet1x-plugin-2.11.4-01/:na]
> jvm 1 | =09at com.noelios.restlet.http.HttpServerHelper.handle(HttpSer=
verHelper.java:147) [nexus-restlet1x-plugin-2.11.4-01/:na]
> jvm 1 | =09at com.noelios.restlet.ext.servlet.ServerServlet.service(Se=
rverServlet.java:881) [nexus-restlet1x-plugin-2.11.4-01/:na]
> jvm 1 | =09at org.sonatype.nexus.restlet1x.internal.RestletServlet.ser=
vice(RestletServlet.java:93) [nexus-restlet1x-plugin-2.11.4-01/:na]
> jvm 1 | =09at javax.servlet.http.HttpServlet.service(HttpServlet.java:=
848) [javax.servlet-3.0.0.v201112011016.jar:na]
> jvm 1 | =09at com.google.inject.servlet.ServletDefinition.doServiceImp=
l(ServletDefinition.java:288) [guice-servlet-3.1.10.jar:3.1.10]
> jvm 1 | =09at com.google.inject.servlet.ServletDefinition.doService(Se=
rvletDefinition.java:278) [guice-servlet-3.1.10.jar:3.1.10]
> jvm 1 | =09at com.google.inject.servlet.ServletDefinition.service(Serv=
letDefinition.java:182) [guice-servlet-3.1.10.jar:3.1.10]
> jvm 1 | =09at com.google.inject.servlet.ManagedServletPipeline.service=
(ManagedServletPipeline.java:93) [guice-servlet-3.1.10.jar:3.1.10]
> jvm 1 | =09at com.google.inject.servlet.FilterChainInvocation.doFilter=
(FilterChainInvocation.java:85) [guice-servlet-3.1.10.jar:3.1.10]
> jvm 1 | =09at org.apache.shiro.web.servlet.AdviceFilter.executeChain(A=
dviceFilter.java:108) [shiro-web-1.2.3.jar:1.2.3]
> jvm 1 | =09at org.apache.shiro.web.servlet.AdviceFilter.doFilterIntern=
al(AdviceFilter.java:137) [shiro-web-1.2.3.jar:1.2.3]
> jvm 1 | =09at org.apache.shiro.web.servlet.OncePerRequestFilter.doFilt=
er(OncePerRequestFilter.java:125) [shiro-web-1.2.3.jar:1.2.3]
> jvm 1 | =09at com.google.inject.servlet.FilterChainInvocation.doFilter=
(FilterChainInvocation.java:82) [guice-servlet-3.1.10.jar:3.1.10]
> jvm 1 | =09at org.apache.shiro.web.servlet.OncePerRequestFilter.doFilt=
er(OncePerRequestFilter.java:112) [shiro-web-1.2.3.jar:1.2.3]
>
> Due to this error I am unable to start with building 2.3 source code.
> R3equesst you to Help us in resolving this.
>
> Regards,
> Lalitha
>
> -----Original Message-----
> From: Ron Wheeler [mailto:[email protected]]
> Sent: Thursday, August 06, 2015 7:57 PM
> To: [email protected]
> Subject: Re: Jetspeed 2.3
>
> What do you mean by "Created a repository there"
> You should start with a proxy only until you get the build working and th=
en add a repo for your own creations.
>
> Ron
>
>
> On 06/08/2015 9:56 AM, Lalitha Bourishetty wrote:
>> Hi Ron,
>>
>> Installed Nexus in my machine. Followed http://books.sonatype.com/nexus-=
book/reference/confignx.html done below changes:
>> Created a repository there and made it public. Added profile, server, mi=
rror, activate profiles etc. and commented proxy entry which was made earli=
er.
>> Then I tried to build source code then also facing error as
>> below:(8082 is the port number I gave in nexus.properties)
>>
>> [INFO] Scanning for projects...
>> [ERROR] [ERROR] Some problems were encountered while processing the POMs=
:
>> [FATAL] Non-resolvable parent POM for
>> org.apache.portals.jetspeed-2:jetspeed-2:2.3.0: Failure to find
>> org.apache.portals:portals-pom:pom:1.4 in http://localhost :8082/nexus/c=
ontent/groups/public was cached in the local repository, resolution will no=
t be reattempted until the update interval of nexus has elapsed or updat es=
are forced and 'parent.relativePath' points at no local POM @ line 28, col=
umn 11
>> @
>> [ERROR] The build could not read 1 project -> [Help 1] [ERROR]
>> [ERROR] The project org.apache.portals.jetspeed-2:jetspeed-2:2.3.0 (C:=
\jetspeed-2-2.3.0\pom.xml) has 1 error
>> [ERROR] Non-resolvable parent POM for org.apache.portals.jetspeed-2:=
jetspeed-2:2.3.0: Failure to find org.apache.portals:portals-pom:pom:1.4 in=
http://local
>> host:8082/nexus/content/groups/public was cached in the local=20
>> repository, resolution will not be reattempted until the update=20
>> interval of nexus has elapsed or u pdates are forced and=20
>> 'parent.relativePath' points at no local POM @ line 28, column 11 -> [He=
lp 2] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Mav=
en with the -e switch.
>> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
>> [ERROR]
>> [ERROR] For more information about the errors and possible solutions, pl=
ease read the following articles:
>> [ERROR] [Help 1]
>> http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingExcep
>> t
>> ion [ERROR] [Help 2]
>> http://cwiki.apache.org/confluence/display/MAVEN/UnresolvableModelExc
>> e
>> ption
>>
>>
>> Let me know how this can be resolved. Let me know if I have to make any =
other changes.
>>
>> Eagerly waiting for reply.
>>
>> Regards,
>> Lalitha
>>
>> -----Original Message-----
>> From: Ron Wheeler [mailto:[email protected]]
>> Sent: Wednesday, August 05, 2015 6:38 PM
>> To: Jetspeed Users List
>> Cc: Ramesh Veera venkata gopi Sama ([email protected])
>> Subject: Re: Jetspeed 2.3
>>
>> You will have to read the docs for the full story but the short story is=
:
>> - get the Community version of Nexus and install it on a server or if=20
>> this is a one-man project on your PC
>> - use the web interface to
>> -- configure it with the maven repos that you want it to proxy
>> -- configure (or check) the local repos that Nexus will set up for=20
>> your SNAPSHOT and Release artifacts
>> - Fix your settings.xml to proxy all Maven repos through your Nexus
>> - Run your build to check out the Nexus repo and get it populated=20
>> with Maven Artifacts
>> - Use the web interface to check out your Nexus to see what it was=20
>> able to download and to investigate missing artifacts
>> - Continue to build and if new repos are required, add them to your Nexu=
s.
>>
>> This may not fix your current problem but it will make it easier to find=
the source of the problem.
>> - your settings.xml becomes stable
>> - you have a web-based system that lets you search and browse all of=20
>> the artifacts to which your build has access
>> - you have a repo where you can deploy your own libraries for=20
>> convenient access through Maven
>>
>> I hope that this helps.
>>
>> Ron
>> On 05/08/2015 2:22 AM, Lalitha Bourishetty wrote:
>>> Yes, 2.2 build downloaded portals-pom into local repo.
>>> It has 1.2 and 1.3 folders inside it with some contents.
>>> 1.4 folder has only portals-pom-1.4.pom.lastUpdated file.
>>>
>>> Could you explain how to use Nexus server in the current scenario.
>>>
>>> Regards,
>>> Lalitha
>>>
>>> -----Original Message-----
>>> From: Ron Wheeler [mailto:[email protected]]
>>> Sent: Tuesday, August 04, 2015 7:34 PM
>>> To: [email protected]
>>> Subject: Re: Jetspeed 2.3
>>>
>>> Did the 2.2 build download the portals-pom into your local repo?
>>>
>>> Adding a free Nexus server just makes it a lot easier to work with Mave=
n since you use it to proxy all your Maven remote repos and it saves downlo=
ading things multiple times over the internet and gives you a lot more visi=
bility into Maven.
>>> Saved us a lot of trouble compared to our original way of working which=
was similar to your current setup.
>>>
>>> You current setup should work but is more fragile.
>>>
>>> Ron
>>>
>>>
>>> On 04/08/2015 9:57 AM, Lalitha Bourishetty wrote:
>>>> No I don't have Nexus, Artifactorym in my local machine.
>>>> But without these it is working for Jetspeed 2.2 source code.
>>>> In requirements I found only maven 3.3.1 so using the same.
>>>>
>>>> Regards,
>>>> Lalitha
>>>>
>>>> -----Original Message-----
>>>> From: Ron Wheeler [mailto:[email protected]]
>>>> Sent: Tuesday, August 04, 2015 7:22 PM
>>>> To: Jetspeed Users List
>>>> Subject: Re: Jetspeed 2.3
>>>>
>>>> Do you have a Maven repository server (Nexus, Artifactorym etc.) insta=
lled?
>>>> Using Maven without a repo is a PITA.
>>>>
>>>> Just post to the user list. No need to double post.
>>>>
>>>> Ron
>>>>
>>>> On 04/08/2015 9:43 AM, Lalitha Bourishetty wrote:
>>>>> Hi Team,
>>>>>
>>>>> I am also able to see org.apache.portals:portals-pom:pom:1.4 at http=
s://repo.maven.apache.org/maven2.
>>>>> I configured proxy in .m2\settings.xml file and %M2_HOME%/conf/settin=
gs.xml. Then also I am getting same error.
>>>>>
>>>>> When I tried same with Jetspeed 2.2 source code I am able to build c=
ode.
>>>>> But with Jetspeed 2.3 I am facing error as mentioned in my last mail.
>>>>>
>>>>> Let me know if you have any clue how this can be resolved.
>>>>>
>>>>> Regards,
>>>>> Lalitha
>>>>>
>>>>> -----Original Message-----
>>>>> From: Ron Wheeler [mailto:[email protected]]
>>>>> Sent: Tuesday, August 04, 2015 7:06 PM
>>>>> To: Jetspeed Developers List
>>>>> Subject: Re: Jetspeed 2.3
>>>>>
>>>>> Looks like a problem with your internet connection.
>>>>> I just followed the link to https://repo.maven.apache.org/maven2
>>>>> and
>>>>> org.apache.portals:portals-pom:pom:1.4 seems to be there.
>>>>> You might want to use your browser to follow the link and see if you =
can read the file.
>>>>> If you can, try the build again.
>>>>>
>>>>>
>>>>> On 04/08/2015 9:00 AM, Lalitha Bourishetty wrote:
>>>>>
>>>>>> Hi Team,
>>>>>>
>>>>>> =20
>>>>>>
>>>>>> I have downloaded jetspeed-2-2.3.0-source-release.zip from https://p=
ortals.apache.org/jetspeed-2/download.html.
>>>>>>
>>>>>> I have installed maven 3.3.1,tomcat 7 and java1.8 in my machine.
>>>>>>
>>>>>> =20
>>>>>>
>>>>>> I followed instructions given at
>>>>>> https://portals.apache.org/jetspeed-2/buildguide/maven-2-build.ht
>>>>>> m
>>>>>> l
>>>>>>
>>>>>> When i ran mvn install command I am getting below error:
>>>>>>
>>>>>> =20
>>>>>>
>>>>>> =20
>>>>>>
>>>>>> C:\jetspeed-2-2.3.0>mvn -e install
>>>>>>
>>>>>> [INFO] Error stacktraces are turned on.
>>>>>>
>>>>>> [INFO] Scanning for projects...
>>>>>>
>>>>>> Downloading:
>>>>>> https://repo.maven.apache.org/maven2/org/apache/portals/portals-pom/=
1.
>>>>>> 4/portals-pom-1.4.pom
>>>>>>
>>>>>> [ERROR] [ERROR] Some problems were encountered while processing the =
POMs:
>>>>>>
>>>>>> [FATAL] Non-resolvable parent POM for
>>>>>> org.apache.portals.jetspeed-2:jetspeed-2:2.3.0: Could not=20
>>>>>> transfer artifact org.apache.portals:portals-pom:pom:1.4 from/to
>>>>>>
>>>>>> central (https://repo.maven.apache.org/maven2): Connect to
>>>>>> repo.maven.apache.org:443 [repo.maven.apache.org/23.235.40.215]
>>>>>> failed: Connection timed out: connec
>>>>>>
>>>>>> t and 'parent.relativePath' points at wrong local POM @ line 28,=20
>>>>>> column 11
>>>>>>
>>>>>>
>>>>>> =20
>>>>>>
>>>>>> Let me know how this error can be resolved. Looking forward for your=
reply.
>>>>>>
>>>>>> =20
>>>>>>
>>>>>> Thank you.
>>>>>>
>>>>>> =20
>>>>>>
>>>>>> =20
>>>>>>
>>>>>> =20
>>>>>>
>>>>>> =20
>>>>>>
>>>>>> Regards,
>>>>>>
>>>>>> Lalitha
>>>>>>
>>>>>> =20
>>>>>>
>>>>> --
>>>>> Ron Wheeler
>>>>> President
>>>>> Artifact Software Inc
>>>>> email: [email protected]
>>>>> skype: ronaldmwheeler
>>>>> phone: 866-970-2435, ext 102
>>>>>
>>>>>
>>>>> ------------------------------------------------------------------
>>>>> -
>>>>> -
>>>>> - To unsubscribe, e-mail:
>>>>> [email protected]
>>>>> For additional commands, e-mail:
>>>>> [email protected]
>>>>>
>>>>>
>>>>> ------------------------------------------------------------------
>>>>> -
>>>>> -
>>>>> - To unsubscribe, e-mail:
>>>>> [email protected]
>>>>> For additional commands, e-mail:
>>>>> [email protected]
>>>>>
>>>>>
>>>> --
>>>> Ron Wheeler
>>>> President
>>>> Artifact Software Inc
>>>> email: [email protected]
>>>> skype: ronaldmwheeler
>>>> phone: 866-970-2435, ext 102
>>>>
>>>>
>>>> -------------------------------------------------------------------
>>>> -
>>>> - To unsubscribe, e-mail:
>>>> [email protected]
>>>> For additional commands, e-mail:
>>>> [email protected]
>>>>
>>>>
>>>> -------------------------------------------------------------------
>>>> -
>>>> - To unsubscribe, e-mail:
>>>> [email protected]
>>>> For additional commands, e-mail:
>>>> [email protected]
>>>>
>>>>
>>> --
>>> Ron Wheeler
>>> President
>>> Artifact Software Inc
>>> email: [email protected]
>>> skype: ronaldmwheeler
>>> phone: 866-970-2435, ext 102
>>>
>>>
>>> --------------------------------------------------------------------
>>> - To unsubscribe, e-mail:=20
>>> [email protected]
>>> For additional commands, e-mail:
>>> [email protected]
>>>
>>>
>> --
>> Ron Wheeler
>> President
>> Artifact Software Inc
>> email: [email protected]
>> skype: ronaldmwheeler
>> phone: 866-970-2435, ext 102
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [email protected]
>> For additional commands, e-mail:=20
>> [email protected]
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [email protected]
>> For additional commands, e-mail:=20
>> [email protected]
>>
>>
>
> --
> Ron Wheeler
> President
> Artifact Software Inc
> email: [email protected]
> skype: ronaldmwheeler
> phone: 866-970-2435, ext 102
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>
--
Ron Wheeler
President
Artifact Software Inc
email: [email protected]
skype: ronaldmwheeler
phone: 866-970-2435, ext 102
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]