Hi Marcus,

There are two separate issues here.

1. The "lvls put be non-negative" message: Deployment of EDG 6.3.2 as the 
ROOT.war web application is not supported. The only supported context path is 
"/edg". You already observed that deploying as ROOT.war *mostly* works, but 
there are a number of known issues the prevent this from fully working on EDG 
6.3.2, including internal forwards (causing the error message) and certain 
relative links (probably causing the CSS/image problems). These issues have 
been addressed with EDG 6.4.0, but this happened late in the release cycle, and 
deployment as ROOT.war has not yet been incorporated into our regular testing 
regime. Therefore we still recommend to deploy EDG 6.4.0 as edg.war for the 
moment.

2. The "Error loading graph sop:ui_core_import.ttl" message: It looks like one 
of the .ui.ttlx files in the workspace imports a file "sop:ui_core_import.ttl", 
presumably with the intention to use a declared prefix "sop:" to abbreviate the 
graph URI of the imported file. But imports need to be entered as full, 
unabbreviated URIs.

Hope that helps,
Richard



> On 29 Jun 2020, at 04:34, Marcus Jowsey <[email protected]> 
> wrote:
> 
> Thanks Holger,
> 
> Answers in-line below...
> 
> cheers,
> Marcus
> 
> On Monday, June 29, 2020 at 12:55:17 PM UTC+10 Holger Knublauch wrote:
> Hi Marcus,
> 
> I noticed this code has been completely refactored in 6.4 and we don't plan 
> to deliver a further 6.3 bug fix update now that 6.4 beta is already out. 
> Unless of course this is a serious show stopper.
> 
> Could you try the same process with 6.4 beta or are you reliant on 6.3?
> 
> 
> I'll give it a go locally, the version of server deployed is: 
> 6.3.2.v20200409-1733R 
> Also, do you think the logo images issue you describe is due to this 
> exception?
> 
> It appears to be but I'm not sure. Have tried various approaches including 
> physically copying files with no luck. The relative links to images and CSS 
> all seem correct and mirror that which works in the localhost. Unfortunately 
> the java exception trace doesn't tell me much. I note the "unknown protocol: 
> sop" which seems to indicate "sop" is being treated like a protocol where 
> "sop" is a part of an image path in the rendered HTML (e.g. <img alt="Logo" 
> src="lib/sop/images/sop_header.png">).
> 
> EDG is deployed as the ROOT application in Tomcat but if that were the issue 
> I wouldn't expect just the images and css for the header to fail. A bit 
> stumped because everything else just works.
>  
> Thanks,
> Holger
> 
> 
> 
> On 29/06/2020 12:24, Marcus Jowsey wrote:
>> 
>> 
>> Perhaps somebody can help...
>> 
>> I'm trying to export a project to a server from TCME. The project mostly 
>> successfully exports but I get the following error (below in blue).
>> 
>> Everything else works except some logo images. Below the system error is an 
>> expanded error message from tbl.log (in red).
>> 
>> https://<a dev environment>/tbl/unzipProject:                
>> 
>> TopBraid Enterprise Data Governance  
>> 
>>  
>> 
>> Error
>> 
>>  marcusjowsey (logout) 
>> 
>> 
>> × Project upload succeeded 
>> 
>>  
>> An internal error has been reported:
>> 
>> lvls must be non-negative: -1.
>> 
>>   
>> Stack trace
>> 
>> java.lang.IllegalArgumentException: lvls must be non-negative: -1
>>      at 
>> org.topbraidlive.admin.servlets.ServletUtil.dotDot(ServletUtil.java:101)
>>      at 
>> org.topbraidlive.admin.servlets.ServletUtil.getPath2tbl(ServletUtil.java:75)
>>      at 
>> org.topbraidlive.admin.servlets.ServletUtil.forward(ServletUtil.java:117)
>>      at 
>> org.topbraidlive.admin.servlets.sendprojects.UnzipProjectServlet.doPost(UnzipProjectServlet.java:111)
>>      at javax.servlet.http.HttpServlet.service(HttpServlet.java:660)
>>      at 
>> org.topbraid.auth.servlet.TBAuthEnabledServlet.serviceAuthenticated(TBAuthEnabledServlet.java:124)
>>      at 
>> org.topbraid.auth.servlet.TBAuthEnabledServlet.service(TBAuthEnabledServlet.java:57)
>>      at 
>> org.topbraid.eclipsex.servlet.TBHttpServlet.service(TBHttpServlet.java:219)
>>      at 
>> org.eclipse.equinox.http.registry.internal.ServletManager$ServletWrapper.service(ServletManager.java:180)
>>      at 
>> org.eclipse.equinox.http.servlet.internal.HttpServiceRuntimeImpl$LegacyServlet.service(HttpServiceRuntimeImpl.java:1221)
>>      at 
>> org.eclipse.equinox.http.servlet.internal.registration.EndpointRegistration.service(EndpointRegistration.java:153)
>>      at 
>> org.eclipse.equinox.http.servlet.internal.servlet.ResponseStateHandler.processRequest(ResponseStateHandler.java:62)
>>      at 
>> org.eclipse.equinox.http.servlet.internal.context.DispatchTargets.doDispatch(DispatchTargets.java:132)
>>      at 
>> org.eclipse.equinox.http.servlet.internal.servlet.ProxyServlet.service(ProxyServlet.java:100)
>>      at javax.servlet.http.HttpServlet.service(HttpServlet.java:741)
>>      at 
>> org.eclipse.equinox.servletbridge.BridgeServlet.service(BridgeServlet.java:152)
>>      at 
>> org.topbraidlive.servletbridge.webapplicationserver.BridgeServlet.maybeLockProtectedService(BridgeServlet.java:348)
>>      at 
>> org.topbraidlive.servletbridge.webapplicationserver.BridgeServlet.service(BridgeServlet.java:260)
>>      at javax.servlet.http.HttpServlet.service(HttpServlet.java:741)
>>      at 
>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231)
>>      at 
>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
>>      at 
>> org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
>>      at 
>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
>>      at 
>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
>>      at 
>> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:199)
>>      at 
>> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96)
>>      at 
>> org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:668)
>>      at 
>> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:139)
>>      at 
>> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:81)
>>      at 
>> org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:690)
>>      at 
>> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:87)
>>      at 
>> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343)
>>      at 
>> org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:615)
>>      at 
>> org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)
>>      at 
>> org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:818)
>>      at 
>> org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1627)
>>      at 
>> org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)
>>      at 
>> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
>>      at 
>> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
>>      at 
>> org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
>>      at java.lang.Thread.run(Thread.java:748)
>> 
>> 
>>  
>> © 2009-2019 TopQuadrant, Inc. All Rights Reserved Version: 
>> 6.3.2.v20200409-1733R Send Error Log to TQ  Support  
>> (500)
>> 
>> !ENTRY org.topbraidlive.swp 2 0 2020-06-25 06:10:10.168 !MESSAGE Failed to 
>> initialize SWP graph registry - please refresh files !STACK 0 
>> org.topbraid.spin.swp.engine.SWPException: java.io.IOException: Error 
>> loading graph sop:ui_core_import.ttl at 
>> org.topbraidlive.swp.SWPPluginActivator.lambda$1(SWPPluginActivator.java:185)
>>  at java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:183) 
>> at java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:175) 
>> at java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:175) 
>> at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:193) 
>> at 
>> org.topbraid.eclipsex.ContainerBase$IResourceSpliterator.tryAdvance(ContainerBase.java:128)
>>  at java.util.Spliterator.forEachRemaining(Spliterator.java:326) at 
>> java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:482) at 
>> java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:472) 
>> at 
>> java.util.stream.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:150)
>>  at 
>> java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(ForEachOps.java:173)
>>  at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at 
>> java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:485) at 
>> org.topbraidlive.swp.SWPPluginActivator.loadUIGraphs(SWPPluginActivator.java:181)
>>  at 
>> org.topbraidlive.swp.SWPRegistryRefresher.refreshAll(SWPRegistryRefresher.java:21)
>>  at 
>> org.topbraidlive.swp.SWPRegistryRefresher.refresh(SWPRegistryRefresher.java:15)
>>  at 
>> org.topbraid.core.registry.RegistryRefreshers.refreshAll(RegistryRefreshers.java:28)
>>  at org.topbraidlive.server.TBLProject.deleteProject(TBLProject.java:43) at 
>> org.topbraidlive.admin.servlets.ProjectUpdateUtilities.deleteProject(ProjectUpdateUtilities.java:32)
>>  at 
>> org.topbraidlive.admin.servlets.DeleteProjectServlet.doPost(DeleteProjectServlet.java:38)
>>  at javax.servlet.http.HttpServlet.service(HttpServlet.java:660) ... Rest 
>> omitted Caused by: java.io.IOException: Error loading graph 
>> sop:ui_core_import.ttl at 
>> org.topbraid.core.io.IO.loadAndRegister(IO.java:350) at 
>> org.topbraid.core.io.IO.load(IO.java:296) at 
>> org.topbraid.core.io.IO.loadImports(IO.java:687) at 
>> org.topbraid.core.io.IO.loadImports(IO.java:381) at 
>> org.topbraidlive.swp.SWPPluginActivator.loadUIGraphFile(SWPPluginActivator.java:204)
>>  at 
>> org.topbraidlive.swp.SWPPluginActivator.lambda$1(SWPPluginActivator.java:183)
>>  ... 56 more Caused by: java.net.MalformedURLException: unknown protocol: 
>> sop at java.net.URL.<init>(URL.java:618) at 
>> java.net.URL.<init>(URL.java:508) at java.net.URL.<init>(URL.java:457) at 
>> java.net.URI.toURL(URI.java:1089) at 
>> org.topbraid.javax.util.IOUtil.resolveURL(IOUtil.java:31) at 
>> org.topbraid.core.io.IO.createGraphSource(IO.java:759) at 
>> org.topbraid.core.io.IO.getGraphSource(IO.java:594) at 
>> org.topbraid.core.io.IO.loadAndRegister(IO.java:326) ... 61 more  
> 
>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "TopBraid Suite Users" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to [email protected] 
>> <applewebdata://BFD13749-53DE-4406-9215-7078E57A9562>.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/topbraid-users/b1345986-ccbd-4406-9c39-21346121d7d1n%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/topbraid-users/b1345986-ccbd-4406-9c39-21346121d7d1n%40googlegroups.com?utm_medium=email&utm_source=footer>.
> 
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "TopBraid Suite Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to [email protected] 
> <mailto:[email protected]>.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/topbraid-users/2f2ceb67-9613-48f5-b385-8516dfdf4556n%40googlegroups.com
>  
> <https://groups.google.com/d/msgid/topbraid-users/2f2ceb67-9613-48f5-b385-8516dfdf4556n%40googlegroups.com?utm_medium=email&utm_source=footer>.

-- 
You received this message because you are subscribed to the Google Groups 
"TopBraid Suite Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/topbraid-users/5853B451-C563-4E86-ADAC-5F050B7EC802%40topquadrant.com.

Reply via email to