rave-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Raminderjeet Singh (Updated) (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (RAVE-361) Deploy Rave on Jetty
Date Thu, 17 Nov 2011 02:25:51 GMT

     [ https://issues.apache.org/jira/browse/RAVE-361?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Raminderjeet Singh updated RAVE-361:
------------------------------------

    Attachment: pom.xml

Attached the pom with embedded Jetty. Login page comes fine but some error to invoke JPA

[WARNING] [talledLocalContainer] 2011-11-16 21:15:30.754:WARN::/portal/j_spring_security_check
[WARNING] [talledLocalContainer] <openjpa-2.1.1-r422266:1148538 fatal user error> org.apache.openjpa.persistence.ArgumentException:
Errors encountered while resolving metadata.  See nested exceptions for details.
[WARNING] [talledLocalContainer]        at org.apache.openjpa.meta.MetaDataRepository.resolve(MetaDataRepository.java:668)
[WARNING] [talledLocalContainer]        at org.apache.openjpa.meta.MetaDataRepository.getMetaDataInternal(MetaDataRepository.java:411)
[WARNING] [talledLocalContainer]        at org.apache.openjpa.meta.MetaDataRepository.getMetaData(MetaDataRepository.java:384)
[WARNING] [talledLocalContainer]        at org.apache.openjpa.meta.MetaDataRepository.resolveAll(MetaDataRepository.java:1954)
[WARNING] [talledLocalContainer]        at org.apache.openjpa.meta.MetaDataRepository.getQueryMetaDataInternal(MetaDataRepository.java:1932)
[WARNING] [talledLocalContainer]        at org.apache.openjpa.meta.MetaDataRepository.getQueryMetaData(MetaDataRepository.java:1919)
[WARNING] [talledLocalContainer]        at org.apache.openjpa.persistence.EntityManagerImpl.createNamedQuery(EntityManagerImpl.java:1023)
[WARNING] [talledLocalContainer]        at org.apache.openjpa.persistence.EntityManagerImpl.createNamedQuery(EntityManagerImpl.java:1016)
[WARNING] [talledLocalContainer]        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
Method)
[WARNING] [talledLocalContainer]        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
[WARNING] [talledLocalContainer]        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[WARNING] [talledLocalContainer]        at java.lang.reflect.Method.invoke(Method.java:597)
[WARNING] [talledLocalContainer]        at org.springframework.orm.jpa.ExtendedEntityManagerCreator$ExtendedEntityManagerInvocationHandler.invoke(ExtendedEntityManagerCreator.java:365)
[WARNING] [talledLocalContainer]        at $Proxy52.createNamedQuery(Unknown Source)
[WARNING] [talledLocalContainer]        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
Method)
[WARNING] [talledLocalContainer]        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
[WARNING] [talledLocalContainer]        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[WARNING] [talledLocalContainer]        at java.lang.reflect.Method.invoke(Method.java:597)
[WARNING] [talledLocalContainer]        at org.springframework.orm.jpa.SharedEntityManagerCreator$SharedEntityManagerInvocationHandler.invoke(SharedEntityManagerCreator.java:240)
[WARNING] [talledLocalContainer]        at $Proxy52.createNamedQuery(Unknown Source)
[WARNING] [talledLocalContainer]        at org.apache.rave.portal.repository.impl.JpaUserRepository.getByUsername(JpaUserRepository.java:48)
[WARNING] [talledLocalContainer]        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
Method)
[WARNING] [talledLocalContainer]        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
[WARNING] [talledLocalContainer]        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[WARNING] [talledLocalContainer]        at java.lang.reflect.Method.invoke(Method.java:597)
[WARNING] [talledLocalContainer]        at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:309)
[WARNING] [talledLocalContainer]        at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:196)
[WARNING] [talledLocalContainer]        at $Proxy56.getByUsername(Unknown Source)
[WARNING] [talledLocalContainer]        at org.apache.rave.portal.service.impl.DefaultUserService.loadUserByUsername(DefaultUserService.java:59)
[WARNING] [talledLocalContainer]        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
Method)
[WARNING] [talledLocalContainer]        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
[WARNING] [talledLocalContainer]        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[WARNING] [talledLocalContainer]        at java.lang.reflect.Method.invoke(Method.java:597)
[WARNING] [talledLocalContainer]        at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:309)
[WARNING] [talledLocalContainer]        at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:196)
[WARNING] [talledLocalContainer]        at $Proxy58.loadUserByUsername(Unknown Source)
[WARNING] [talledLocalContainer]        at org.springframework.security.authentication.dao.DaoAuthenticationProvider.retrieveUser(DaoAuthenticationProvider.java:86)
[WARNING] [talledLocalContainer]        at org.springframework.security.authentication.dao.AbstractUserDetailsAuthenticationProvider.authenticate(AbstractUserDetailsAuthenticationProvider.java:129)
[WARNING] [talledLocalContainer]        at org.springframework.security.authentication.ProviderManager.doAuthentication(ProviderManager.java:130)
[WARNING] [talledLocalContainer]        at org.springframework.security.authentication.AbstractAuthenticationManager.authenticate(AbstractAuthenticationManager.java:48)
[WARNING] [talledLocalContainer]        at org.springframework.security.authentication.ProviderManager.doAuthentication(ProviderManager.java:148)
[WARNING] [talledLocalContainer]        at org.springframework.security.authentication.AbstractAuthenticationManager.authenticate(AbstractAuthenticationManager.java:48)
[WARNING] [talledLocalContainer]        at org.springframework.security.web.authentication.UsernamePasswordAuthenticationFilter.attemptAuthentication(UsernamePasswordAuthenticationFilter.java:97)
[WARNING] [talledLocalContainer]        at org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter.doFilter(AbstractAuthenticationProcessingFilter.java:199)
[WARNING] [talledLocalContainer]        at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:380)
[WARNING] [talledLocalContainer]        at org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:105)
[WARNING] [talledLocalContainer]        at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:380)
[WARNING] [talledLocalContainer]        at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:79)
[WARNING] [talledLocalContainer]        at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:380)
[WARNING] [talledLocalContainer]        at org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:169)
[WARNING] [talledLocalContainer]        at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:237)
[WARNING] [talledLocalContainer]        at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:167)
[WARNING] [talledLocalContainer]        at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1212)
[WARNING] [talledLocalContainer]        at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:399)
[WARNING] [talledLocalContainer]        at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
[WARNING] [talledLocalContainer]        at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182)
[WARNING] [talledLocalContainer]        at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:766)
[WARNING] [talledLocalContainer]        at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:450)
[WARNING] [talledLocalContainer]        at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:230)
[WARNING] [talledLocalContainer]        at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114)
[WARNING] [talledLocalContainer]        at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
[WARNING] [talledLocalContainer]        at org.mortbay.jetty.Server.handle(Server.java:326)
[WARNING] [talledLocalContainer]        at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:542)
[WARNING] [talledLocalContainer]        at org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:945)
[WARNING] [talledLocalContainer]        at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:756)
[WARNING] [talledLocalContainer]        at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:218)
[WARNING] [talledLocalContainer]        at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404)
[WARNING] [talledLocalContainer]        at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:410)
[WARNING] [talledLocalContainer]        at org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:451)


                
> Deploy Rave on Jetty
> --------------------
>
>                 Key: RAVE-361
>                 URL: https://issues.apache.org/jira/browse/RAVE-361
>             Project: Rave
>          Issue Type: Improvement
>            Reporter: Raminderjeet Singh
>         Attachments: pom.xml
>
>
> Ioan Kiss reported about Rave not working on Jetty and here are the steps he followed
> Here are the steps followed in running Rave on Jetty server 7.5.4
> 1. Download Jetty 7.5.4
> 2.Download rave (apache-rave-0.5-incubating-bin.zip)
> 3. Copied portal.war, root.war and demogadgets.war in Jetty/webapps folder 
> 4. start jetty - did not noticed any errors during jetty startup
> 5. open browser and type http://localhost:8080/portal/
> 6. The login page was displayed
> 7. Enter canonical/canonical and hit login button
> 8. Directory view displayed (Directory: /portal/); 
> in the jetty console I found the following message (32646
> ravePersistenceUnit  WARN   [qtp31505416-12 -
> /portal/j_spring_security_check] openjpa.Runtime - Query "select u from User
> u where u.username = :username" is removed from cache  excluded permanently.
> Query "select u from User u where  u.username = :username" is not cached
> because it generates multiple SQL statements. A query can be cached only
> when it corresponds to a single SQL statement.)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message