Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [higgins-dev] Problems deploying RPPS on a Windows Environment

Please send me files from your C:\.higgins\.ontology folder.
 
Thanks,
Sergey Lyakhov
----- Original Message -----
Sent: Wednesday, July 02, 2008 3:14 PM
Subject: Re: [higgins-dev] Problems deploying RPPS on a Windows Environment

Tryed this solution using a local higgins.owl file and modifying the userProfile.owl but the error remains. Still tryes to access to that namespace to download something.

Also I have tested in a proxy and non proxy environment.

On Wed, Jul 2, 2008 at 1:50 PM, Sergey Lyakhov <slyakhov@xxxxxxxxxxxxxx> wrote:
Noymn,
 
> Seems that the jenna Api tryes to load a ontology from an URI path in a http location but its not able to load it. I dunno why its happening this honestly.
Most likely it occurs because of http proxy. You can perform the following to avoid loading of higgins.owl schema through HTTP:
1. Save http://www.eclipse.org/higgins/ontologies/2006/higgins as a local fille (C:\.higgins\.ontology\higgins.owl, for an example).
 
2. In your userProfile.owl make the following changes:
 
a) replace 14th line <owl:imports rdf:resource="http://www.eclipse.org/higgins/ontologies/2006/higgins"/> with <owl:imports rdf:resource="C:\.higgins\.ontology\higgins.owl"/>  (import of higgins.owl as a local file. Here you need to set the name of downloaded file, see above).
b) remove 10th line -  <owl:Ontology rdf:about="http://www.eclipse.org/higgins/ontologies/2006/higgins"/>
c) clean (recreate) the database schema of the user profile (it can be nessesary because jena imports schemas (higgins.owl and userProfile.owl in our case) to the database, so, old version of userProfile.owl will be used if to not clean the database).
 
Thanks,
Sergey Lyakhov
----- Original Message -----
Sent: Wednesday, July 02, 2008 2:02 PM
Subject: Re: [higgins-dev] Problems deploying RPPS on a Windows Environment

I tryed that solution that Jacob told, the one using Adobe Air selector (since its easier to modify things) and I found a new exception creating the profile.

Seems that the jenna Api tryes to load a ontology from an URI path in a http location but its not able to load it. I dunno why its happening this honestly.

Thanks in advance for any replyes :)

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"
10:02:01,754 ERROR [http-8443-Processor3] 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
 
10:02:01,754 ERROR [http-8443-Processor3] 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:585)
    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:595)
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
10:02:01,785 ERROR [http-8443-Processor3] 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:585)
    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:595)
10:02:01,785 DEBUG [http-8443-Processor3] TimeProductivity.endProcess (TimeProductivity.java:53) - TimeProductivity: Process was started in RPPSServiceImpl: addUserProfileFromHBX
TimeProductivity: Process was finished in RPPSServiceImpl: addUseaddUserProfileFromHBX after 514 ms

On Fri, Jun 27, 2008 at 3:54 PM, Alexander Yuhimenko <AYuhimenko@xxxxxxxxxxxxxx> wrote:
Hello,

HBX
1. start firefox;
2. type in address bar 'about:config';
3. type in filter field 'higgins';
4. click right button on property 'higgins.wizard.next.start';
5. select 'Reset' in popup menu;
6. set up 'higgins.icm.url' property according to your env;
7. set up 'higgins.agent.url' property (url for rpps host);
8. restart firefox;

--
thanks,
Alexander Yuhimenko <AYuhimenko@xxxxxxxxxxxxxx>

On Fri, 27 Jun 2008 15:32:14 +0200
"Noymn / Thindael" <noymn.the.archangel@xxxxxxxxx> wrote:

> Well, I have the Higgins HBXFF on Firefox 2.0 and the Adobe Air solution
> instaled but never saw the option to create profiles in another site than
> eclipse.org and Parity account. How its suposed to launch that wizard on my
> own ICM deployed solution?
>
> On Fri, Jun 27, 2008 at 3:21 PM, Alexander Yuhimenko <
> AYuhimenko@xxxxxxxxxxxxxx> wrote:
>
> > Hello,
> >
> > ICM can't create user profile. You have to use HBX or Adobe AIR Selector
> > startup wizard. More information about Higgins Browser Extension  is <a
> > href=""http://wiki.eclipse.org/index.php/Higgins_Browser_Extension" target=_blank>http://wiki.eclipse.org/index.php/Higgins_Browser_Extension ">here
> > </a>
> >
> > If you use HBX you have to setup  the following properties after
> > installation according to your environment and restart firefox :
> >  * higgins.wizard.next.start set  to 0 for starting wizard ;
> >  * higgins.icm.url  for example https://localhost:8443/icm;
> >  * higgins.agent.url for example https://localhost:8443/.
> >
> > --
> > thanks,
> > Alexander Yuhimenko <AYuhimenko@xxxxxxxxxxxxxx>
> >
> > On Fri, 27 Jun 2008 13:46:28 +0200
> > "Noymn / Thindael" <noymn.the.archangel@xxxxxxxxx> wrote:
> >
> > > Ok, seems that was true that it was a non critical error. I have managed
> > to
> > > go through the other path problems (I have not been able to know why it
> > only
> > > accept configuration files at C:\.higgins\.xxx and not at C:\Documents
> > and
> > > Settings\.... but its a minor issue) and to have the RPPS and ICM
> > deployed.
> > > RPPS populated the second scheme with some tables (using MySQL 6.0 gives
> > an
> > > error of database corruption but works fine with 5.0).
> > >
> > > Now I have another problem... user profile... how users manage to create
> > > profiles into ICM and RPPS? I could not find any information about it...
> > >
> > > ICM requires to authenticate though HBX and HBX requires a userprofile to
> > > load :S
> > >
> > > Could you give me a bit of light in this?
> > >
> > > Thanks :)
> > >
> > > David Campos
> > > Safelayer Secure Communications S.A.
> > >
> > > On Wed, Jun 25, 2008 at 4:19 PM, Alexander Yuhimenko <
> > > AYuhimenko@xxxxxxxxxxxxxx> wrote:
> > >
> > > > Hello,
> > > >
> > > > It's not critical exception. You shouldn't be worry about.
> > > >
> > > > Try to use ICM and RPPS together.
> > > >
> > > > just fyi, ICM depends on  properties
> > > > 'org.eclipse.higgins.ics.ws.RPPSEndpointAddress' properties, so you
> > have to
> > > > add it  to JAVA_OPTS.
> > (-Dorg.eclipse.higgins.ics.ws.RPPSEndpointAddress=
> > > > https://localhost/rpps-axis/services/RPPSService)
> > > >
> > > > --
> > > > Alexander Yuhimenko <AYuhimenko@xxxxxxxxxxxxxx>
> > > >
> > > > On Wed, 25 Jun 2008 15:30:57 +0200
> > > > "Noymn / Thindael" <noymn.the.archangel@xxxxxxxxx> wrote:
> > > >
> > > > > Hello all,
> > > > >
> > > > > After solve the problems with STS with the help of Michael, Ian and
> > > > > Cristopher (works with UN/PW and Software cert but not with Smartcard
> > > > cert)
> > > > > I started again to play with other components of the Higgins Trust
> > > > > Framework. This time I have been playing with the I-Card Manager
> > > > application
> > > > > and the RPPS for host i-Cards.
> > > > >
> > > > > The problem comes on the deployment of RPPS Web App that shows a
> > > > dependency
> > > > > that I can't track back. The environment its a Tomcat 5.5 runing with
> > a
> > > > Java
> > > > > 1.5 Virtual Machine and under a Windows XP OS. The Tomcat log shows
> > this
> > > > > line at the start of each failed deployment:
> > > > >
> > > > > java.lang.NoClassDefFoundError:
> > > > org/eclipse/core/runtime/IExtensionRegistry
> > > > > >     at java.lang.Class.forName0(Native Method)
> > > > > >     at java.lang.Class.forName(Class.java:164)
> > > > > >     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:585)
> > > > > >     at
> > org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:295)
> > > > > >     at
> > org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:433)
> > > > >
> > > > >
> > > > > I have been trying to track that Library
> > > > > (org.eclipse.core.runtime.IExtensionRegistry) but seems that those
> > class
> > > > was
> > > > > only there on Eclipse 3.1 implementation and on Eclipse 3.3
> > disapeared
> > > > from
> > > > > there. Do you know why that exception happens? Should appear or its
> > again
> > > > a
> > > > > "missing library" cloaked exception?
> > > > >
> > > > > Thanks for help :)
> > > > >
> > > > > David Campos
> > > > > Safelayer Secure Communications S.A.
> > > >
> > > >
> >
> >



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

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



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

Back to the top