Search Mailing List Archives


Limit search to: Subject & Body Subject Author
Sort by: Reverse Sort
Limit to: All This Week Last Week This Month Last Month
Select Date Range     through    

[protege-discussion] WebProtege ontology loading failure

Tania Tudorache tudorache at stanford.edu
Fri May 8 14:59:55 PDT 2009


Hi Manolis,

If you answer the following questions, I might be able to help.

1. What Protege version you are using?

2. Did the Protege server start successfully?

3. Did you create a user "webprotege" with the password "webprotege" in 
the metaproject? This is how WebProtege connects to the Protege server. 
If you didn't, then this is the problem. Add the user "webprotege" to 
the group "World". Make sure that the group World has read access to the 
Pizza project. See: 
http://protegewiki.stanford.edu/index.php/Protege_Client_Server_Tutorial_Configuration

4. Try to connect with a Protege client to the server, using the 
user/pass: webprotege/webprotege and try to open project Pizza. Did you 
succeed?

5. If you succeeded with all previous steps, but still has problems, 
please send me the metaproject files and the a zip file with 
catalina.out from the tomcat/logs folder.

Tania


Manolis Platakis wrote:
> Hello,
>
> I have a problem concerning WebProtege. I am executing WebProtege from
> the Eclipse IDE (in both hosted and web mode) and everything works
> perfectly fine until I try to load an ontology where I get the error
> "Load project Pizza failed. Message: The call failed on the server;
> see server log for details". You can see the errors in the end of my
> e-mail. I have tried both absolute and relative (to Protege server)
> paths for the ontologies in the metaproject with no luck. I have also
> made sure that the metaproject files are identical in both places.
>
> I would really be grateful if you could help me out. Thanks you very
> much for your help and effort.
>
> Best regards,
> Manolis Platakis
>
> [WARN] StandardContext[]Exception while dispatching incoming RPC call
> com.google.gwt.user.server.rpc.UnexpectedException: Service method
> 'public abstract java.lang.Integer
> edu.stanford.bmir.protege.web.client.rpc.OntologyService.loadProject(java.lang.String)'
> threw an unexpected exception: java.lang.RuntimeException: Cannot open
> project Pizza
> 	at com.google.gwt.user.server.rpc.RPC.encodeResponseForFailure(RPC.java:360)
> 	at com.google.gwt.user.server.rpc.RPC.invokeAndEncodeResponse(RPC.java:546)
> 	at com.google.gwt.user.server.rpc.RemoteServiceServlet.processCall(RemoteServiceServlet.java:164)
> 	at com.google.gwt.user.server.rpc.RemoteServiceServlet.doPost(RemoteServiceServlet.java:86)
> 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
> 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
> 	at com.google.gwt.dev.shell.GWTShellServlet.service(GWTShellServlet.java:289)
> 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
> 	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237)
> 	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
> 	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214)
> 	at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
> 	at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
> 	at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:198)
> 	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:152)
> 	at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
> 	at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
> 	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137)
> 	at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
> 	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:118)
> 	at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
> 	at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
> 	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
> 	at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
> 	at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
> 	at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929)
> 	at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)
> 	at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799)
> 	at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:705)
> 	at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577)
> 	at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683)
> 	at java.lang.Thread.run(Unknown Source)
> Caused by: java.lang.RuntimeException: Cannot open project Pizza
> 	at edu.stanford.bmir.protege.web.server.ProjectManager.ensureProjectOpen(ProjectManager.java:110)
> 	at edu.stanford.bmir.protege.web.server.ProjectManager.getServerProject(ProjectManager.java:101)
> 	at edu.stanford.bmir.protege.web.server.OntologyServiceImpl.loadProject(OntologyServiceImpl.java:106)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
> 	at java.lang.reflect.Method.invoke(Unknown Source)
> 	at com.google.gwt.user.server.rpc.RPC.invokeAndEncodeResponse(RPC.java:527)
> 	at com.google.gwt.user.server.rpc.RemoteServiceServlet.processCall(RemoteServiceServlet.java:164)
> 	at com.google.gwt.user.server.rpc.RemoteServiceServlet.doPost(RemoteServiceServlet.java:86)
> 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
> 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
> 	at com.google.gwt.dev.shell.GWTShellServlet.service(GWTShellServlet.java:289)
> 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
> 	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237)
> 	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
> 	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214)
> 	at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
> 	at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
> 	at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:198)
> 	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:152)
> 	at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
> 	at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
> 	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137)
> 	at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
> 	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:118)
> 	at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
> 	at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
> 	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
> 	at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
> 	at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
> 	at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929)
> 	at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)
> 	at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799)
> 	at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:705)
> 	at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577)
> 	at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683)
> 	at java.lang.Thread.run(Unknown Source)
>
> [ERROR] There were errors at loading project Pizza
> com.google.gwt.user.client.rpc.StatusCodeException: The call failed on
> the server; see server log for details
> 	at com.google.gwt.user.client.rpc.impl.RequestCallbackAdapter.onResponseReceived(RequestCallbackAdapter.java:192)
> 	at com.google.gwt.http.client.Request.fireOnResponseReceivedImpl(Request.java:254)
> 	at com.google.gwt.http.client.Request.fireOnResponseReceivedAndCatch(Request.java:226)
> 	at com.google.gwt.http.client.Request.fireOnResponseReceived(Request.java:217)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
> 	at java.lang.reflect.Method.invoke(Unknown Source)
> 	at com.google.gwt.dev.shell.MethodAdaptor.invoke(MethodAdaptor.java:103)
> 	at com.google.gwt.dev.shell.ie.IDispatchImpl.callMethod(IDispatchImpl.java:126)
> 	at com.google.gwt.dev.shell.ie.IDispatchProxy.invoke(IDispatchProxy.java:155)
> 	at com.google.gwt.dev.shell.ie.IDispatchImpl.Invoke(IDispatchImpl.java:294)
> 	at com.google.gwt.dev.shell.ie.IDispatchImpl.method6(IDispatchImpl.java:194)
> 	at org.eclipse.swt.internal.ole.win32.COMObject.callback6(COMObject.java:117)
> 	at org.eclipse.swt.internal.win32.OS.DispatchMessageW(Native Method)
> 	at org.eclipse.swt.internal.win32.OS.DispatchMessage(OS.java:1925)
> 	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2966)
> 	at com.google.gwt.dev.GWTShell.pumpEventLoop(GWTShell.java:720)
> 	at com.google.gwt.dev.GWTShell.run(GWTShell.java:593)
> 	at com.google.gwt.dev.GWTShell.main(GWTShell.java:357)
>
>   




More information about the protege-discussion mailing list