[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [higgins-dev]Problem deploying RPPS

As far as I remember, when I deployed the RPPS Service App I needed a special set of Ontologies since the ones from SVN where not compatible with 1.1 M1. I don't know what is happening now but maybe its that reason.

If you want I can send you the Ontologies that I have and you can try it. The first exception and Malformed URI errors are something normal.
---
David Campos


On Fri, Aug 29, 2008 at 14:36, FONTAINE Kevin <Kevin.FONTAINE@xxxxxxxxxxx> wrote:
Hello all,
 
I 'm trying the ICM and RPPS for host i-card but i have some problems during deployement.
 
When i start tomcat the log shows this.
 
java.lang.NoClassDefFoundError: org/eclipse/core/runtime/IExtensionRegistry
 at java.lang.Class.forName0(Native Method)
 at java.lang.Class.forName(Class.java:169)
 at org.eclipse.higgins.icard.registry.ICardRegistry.initialize(ICardRegistry.java:78)
 at org.eclipse.higgins.icard.registry.ICardRegistry.<init>(ICardRegistry.java:63)
 at org.eclipse.higgins.icard.registry.ICardRegistry.getInstance(ICardRegistry.java:508)
 at org.eclipse.higgins.rpps.core.impl.RppsService.userIdentifierExists(RppsService.java:2108)
 at org.eclipse.higgins.rpps.servlet.InitializeServlet.init(InitializeServlet.java:35)
 at javax.servlet.GenericServlet.init(GenericServlet.java:212)
 at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1139)
 at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:966)
 at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3956)
 at org.apache.catalina.core.StandardContext.start(StandardContext.java:4230)
 at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:760)
 at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:740)
 at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:544)
 at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:626)
 at org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:553)
 at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:488)
 at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1149)
 at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311)
 at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:120)
 at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1022)
 at org.apache.catalina.core.StandardHost.start(StandardHost.java:736)
 at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1014)
 at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
 at org.apache.catalina.core.StandardService.start(StandardService.java:448)
 at org.apache.catalina.core.StandardServer.start(StandardServer.java:700)
 at org.apache.catalina.startup.Catalina.start(Catalina.java:552)
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
 at java.lang.reflect.Method.invoke(Method.java:597)
 at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:295)
 at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:433)
12:27:46,986 ERROR [Thread-1] ProviderConfiguration.loadDefaults (ProviderConfiguration.java:148) - java.net.MalformedURLException
 
12:27:47,205 ERROR [Thread-1] ProviderConfiguration.loadDefaults (ProviderConfiguration.java:148) - java.net.MalformedURLException
 
12:27:47,236 ERROR [Thread-1] UserProfileRegistry.initialize (UserProfileRegistry.java:62) - java.lang.NoClassDefFoundError: org/eclipse/core/runtime/IExtensionRegistry
 
12:27:47,314 ERROR [Thread-1] ProviderConfiguration.loadDefaults (ProviderConfiguration.java:148) - java.net.MalformedURLException
 
Context URI: "
http://userProfileData/test", schema URI: public URI "http://www.eclipse.org/higgins/ontologies/2006/userProfile.owl", localFile "C:\.higgins\.ontology\userProfile.owl"
log4j:WARN No appenders could be found for logger (org.apache.commons.digester.Digester.sax).
log4j:WARN Please initialize the log4j system properly
.
 
 
You said in a previous mail that is a non critical error, so i tried to create an acount with the air selector and the log shows this.
 
Context URI: "http://userProfileData/test", schema URI: public URI "http://www.eclipse.org/higgins/ontologies/2006/userProfile.owl", localFile "C:\.higgins\.ontology\userProfile.owl"
12:28:36,610 DEBUG [http-8443-Processor24] TimeProductivity.endProcess (TimeProductivity.java:53) - TimeProductivity: Process was started in RPPSServiceImpl: checkUserIdentifier
TimeProductivity: Process was finished in RPPSServiceImpl: checkUserIdentifier after 921 ms

Context URI: "
http://userProfileData/test", schema URI: public URI "http://www.eclipse.org/higgins/ontologies/2006/userProfile.owl", localFile "C:\.higgins\.ontology\userProfile.owl"
Context URI: "
http://userProfileData/test", schema URI: public URI "http://www.eclipse.org/higgins/ontologies/2006/userProfile.owl", localFile "C:\.higgins\.ontology\userProfile.owl"
12:29:08,298 ERROR [http-8443-Processor23] IdasBasedUserProfileService.addUserProfile (IdasBasedUserProfileService.java:326) - org.eclipse.higgins.idas.api.IdASException: Couldn't find OntClass with URI :
http://www.eclipse.org/higgins/ontologies/2006/higgins#Entity
 
12:29:09,251 ERROR [http-8443-Processor23] RppsService.addUserProfile (RppsService.java:2061) - org.eclipse.higgins.icard.userprofile.UserProfileException: org.eclipse.higgins.idas.api.IdASException: Couldn't find OntClass with URI :
http://www.eclipse.org/higgins/ontologies/2006/higgins#Entity
 
org.eclipse.higgins.icard.userprofile.UserProfileException: org.eclipse.higgins.idas.api.IdASException: Couldn't find OntClass with URI :
http://www.eclipse.org/higgins/ontologies/2006/higgins#Entity
 at org.eclipse.higgins.icard.registry.userprofile.idas.IdasBasedUserProfileService.addUserProfile(IdasBasedUserProfileService.java:327)
 at org.eclipse.higgins.rpps.core.impl.RppsService.addUserProfile(RppsService.java:2058)
 at org.eclipse.higgins.rpps.core.impl.RppsService.addUserProfileFromHBX(RppsService.java:2042)
 at org.eclipse.higgins.rpps.webservices.RPPSServiceImpl.addUserProfileFromHBX(RPPSServiceImpl.java:765)
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
 at java.lang.reflect.Method.invoke(Method.java:597)
 at org.apache.axis.providers.java.RPCProvider.invokeMethod(RPCProvider.java:397)
 at org.apache.axis.providers.java.RPCProvider.processMessage(RPCProvider.java:186)
 at org.apache.axis.providers.java.JavaProvider.invoke(JavaProvider.java:323)
 at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:32)
 at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)
 at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)
 at org.apache.axis.handlers.soap.SOAPService.invoke(SOAPService.java:454)
 at org.apache.axis.server.AxisServer.invoke(AxisServer.java:281)
 at org.apache.axis.transport.http.AxisServlet.doPost(AxisServlet.java:699)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
 at org.apache.axis.transport.http.AxisServletBase.service(AxisServletBase.java:327)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
 at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
 at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
 at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
 at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:174)
 at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:525)
 at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
 at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
 at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
 at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:174)
 at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:874)
 at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
 at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
 at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
 at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689)
 at java.lang.Thread.run(Thread.java:619)
Caused by: org.eclipse.higgins.idas.api.IdASException: Couldn't find OntClass with URI :
http://www.eclipse.org/higgins/ontologies/2006/higgins#Entity
 at org.eclipse.higgins.idas.cp.jena2.impl.Context.getOntClass(Context.java:580)
 at org.eclipse.higgins.idas.cp.jena2.impl.Context.addEntity(Context.java:143)
 at org.eclipse.higgins.icard.registry.userprofile.idas.IdasBasedUserProfileService.addUserProfile(IdasBasedUserProfileService.java:307)
 ... 34 more
12:29:09,829 ERROR [http-8443-Processor23] RPPSServiceImpl.addUserProfileFromHBX (RPPSServiceImpl.java:767) - org.eclipse.higgins.rpps.core.RppsException: org.eclipse.higgins.idas.api.IdASException: Couldn't find OntClass with URI :
http://www.eclipse.org/higgins/ontologies/2006/higgins#Entity
 
org.eclipse.higgins.rpps.core.RppsException: org.eclipse.higgins.idas.api.IdASException: Couldn't find OntClass with URI :
http://www.eclipse.org/higgins/ontologies/2006/higgins#Entity
 at org.eclipse.higgins.rpps.core.impl.RppsService.addUserProfileFromHBX(RppsService.java:2044)
 at org.eclipse.higgins.rpps.webservices.RPPSServiceImpl.addUserProfileFromHBX(RPPSServiceImpl.java:765)
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
 at java.lang.reflect.Method.invoke(Method.java:597)
 at org.apache.axis.providers.java.RPCProvider.invokeMethod(RPCProvider.java:397)
 at org.apache.axis.providers.java.RPCProvider.processMessage(RPCProvider.java:186)
 at org.apache.axis.providers.java.JavaProvider.invoke(JavaProvider.java:323)
 at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:32)
 at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)
 at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)
 at org.apache.axis.handlers.soap.SOAPService.invoke(SOAPService.java:454)
 at org.apache.axis.server.AxisServer.invoke(AxisServer.java:281)
 at org.apache.axis.transport.http.AxisServlet.doPost(AxisServlet.java:699)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
 at org.apache.axis.transport.http.AxisServletBase.service(AxisServletBase.java:327)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
 at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
 at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
 at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
 at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:174)
 at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:525)
 at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
 at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
 at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
 at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:174)
 at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:874)
 at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
 at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
 at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
 at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689)
 at java.lang.Thread.run(Thread.java:619)
12:29:09,938 DEBUG [http-8443-Processor23] TimeProductivity.endProcess (TimeProductivity.java:53) - TimeProductivity: Process was started in RPPSServiceImpl: addUserProfileFromHBX
TimeProductivity: Process was finished in RPPSServiceImpl: addUseaddUserProfileFromHBX after 27156 ms

Seems the RPPS cannot find the ont class #Entity and this class does not appear in the file http://www.eclipse.org/higgins/ontologies/2006/higgins after a lot of search on the web, i ask you how to fix this error.
 
I also tried to put  http://www.eclipse.org/higgins/ontologies/2006/higgins as a localfile and modify userProfile.owl like you had said in a previous mail but the error remains.
 
 
Thanks for your help.
 
Kevin Fontaine.

_______________________________________________
higgins-dev mailing list
higgins-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/higgins-dev