Terry when you say "the server hangs if I try to access various options on the Server Admin page".

...can you be specific on which ones?  Keep in mind that we are not yet able to reproduce your problems, so the more detail you can give, the more likely we can provide some help.

And it is the case that TQ does not support any editing of the web.xml.  If there are errors after submitting the web.xml file that is created by the deployment descriptor configuration wizard, then we will work to reproduce and fix the problem.  Any editing of web.xml after that is your responsibility - we can provide a few suggestions if we happen to know some things (and do not hesitate to ask), but we can spend time researching various web.xml edits.

That said, do let us know the steps that lead you to trouble and we will do our best to reproduce and fix.

-- Scott

On 8/12/2013 3:59 AM, ChilliPeppers wrote:
Hi Scott,

Thanks for that suggestion, yes I did originally use the wizard but later edited the web.xml, trying to eliminate possibilities. I've now redeployed a few times from scratch (saving just my server.xml with the LDAP settings). Yes it does now have the code you pointed out and yes I did have a few more users, but it is still giving me the same issue, the server hangs if I try to access various options on the Server Admin page.

Interestingly I can access graphs deployed to the server 

Nilesh I am using Tomcat 6 and Java 

Terry

On Friday, August 9, 2013 1:47:04 PM UTC+10, Scott Henninger wrote:
Terry, did you use the TopBraid Deployment Descriptor Configuration wizard to create the web.xml - see http://www.topquadrant.com/docs/tbl/42install/installation.html#install this is required and modifications to the web.xml are not supported by TopQuadrant.

In particular I suspect some missing tags, such as the following may cause the Server Config page to hang:
    <security-constraint>
        <web-resource-collection>
            <web-resource-name>JSPs - localhost only</web-resource-name>
            <url-pattern>/tbl/user-jsps/*</url-pattern>
        </web-resource-collection>
    </security-constraint>

You will also want to specify a secure storage password and add some user ids into the Permitted Security Roles section.

Give that a try - re-running the
Deployment Descriptor Configuration wizard and I think you may find things working better.

-- Scott

On 8/8/2013 8:54 PM, ChilliPeppers wrote:
Hi Scott

I think you might be right. There are some strange errors in the TBL.log (see below).

Here is my web.xml:

<?xml version="1.0" encoding="UTF-8" standalone="no"?><!-- Copyright (c) 2011 TopQuadrant, Inc. All rights reserved. --><web-app xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="2.5" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd">

<display-name>TopBraid</display-name>

<servlet id="bridge">
<servlet-name>equinoxbridgeservlet</servlet-name>
<display-name>TopBraid: Equinox Bridge Servlet</display-name>
<description>TopBraid running via the Equinox Bridge Servlet</description>
<servlet-class>org.topbraidlive.servletbridge.webapplicationserver.BridgeServlet</servlet-class>

<init-param>
<param-name>commandline</param-name>
<param-value>-data C:/Users/TQ/Workspace</param-value>
</init-param>
<init-param>
<param-name>dropin</param-name>
<param-value>C:/Users/TQ/dropins</param-value>
</init-param>
<init-param>
<param-name>master-password</param-name>
<param-value/>
</init-param>
<init-param>
<param-name>enableFrameworkControls</param-name>
<param-value>true</param-value>
</init-param>
<init-param>
<param-name>superuser</param-name>
<param-value>tomcat</param-value>
</init-param>
<init-param>
<param-name>overrideAndReplaceExtensionBundle</param-name>
<param-value>true</param-value>
</init-param>
<init-param>
<param-name>extendedFrameworkExports</param-name>
<param-value>org.topbraidlive.servletbridge.webapplicationserver</param-value>
</init-param>
<init-param>
<param-name>frameworkLauncherClass</param-name>
<param-value>org.topbraidlive.servletbridge.webapplicationserver.FrameworkLauncher</param-value>
</init-param>
<load-on-startup>1</load-on-startup>
</servlet>

<servlet-mapping>
<servlet-name>equinoxbridgeservlet</servlet-name>
<url-pattern>/*</url-pattern>
</servlet-mapping>

<mime-mapping>
<extension>ico</extension>
<mime-type>image/x-icon</mime-type>
</mime-mapping>

<session-config>
<session-timeout>90</session-timeout>
</session-config>

<login-config>
<auth-method>FORM</auth-method>
<realm-name>TopBraid FORM</realm-name>
<form-login-config>
<form-login-page>/logon.html</form-login-page>
<form-error-page>/logonError.html</form-error-page>
</form-login-config>
</login-config>

<security-constraint>
<web-resource-collection>
<web-resource-name>TopBraid</web-resource-name>
<url-pattern>/*</url-pattern>
      <http-method>DELETE</http-method>
      <http-method>GET</http-method>
      <http-method>POST</http-method>
      <http-method>PUT</http-method>
</web-resource-collection>

<auth-constraint>
<role-name>TopBraidUsers</role-name>
</auth-constraint>
</security-constraint>

<security-role>
<role-name>TopBraidUsers</role-name>
</security-role>
</web-app>


Aug 09, 2013 11:35:46 AM org.apache.catalina.core.ApplicationContext log
INFO: equinoxbridgeservlet: invoking BridgeServlet.destroy
Aug 09, 2013 11:35:46 AM org.apache.catalina.core.ApplicationContext log
INFO: equinoxbridgeservlet: Platform directory: C:\Program Files\Apache Software Foundation\Tomcat 6.0\work\Catalina\localhost\tbl\eclipse
Aug 09, 2013 11:35:48 AM org.apache.catalina.core.ApplicationContext log
INFO: equinoxbridgeservlet: invoking TBL clean up
Aug 09, 2013 11:35:49 AM org.apache.catalina.core.ApplicationContext log
SEVERE: equinoxbridgeservlet: Problem unregistering JDBC drivers
org.topbraid.javax.shared.reflect.ReflectionException: No such field: readDrivers for java.sql.DriverManager
at org.topbraid.javax.shared.reflect.SlowReflectionHack.getField(SlowReflectionHack.java:85)
at org.topbraid.javax.shared.reflect.SlowReflectionHack.deepGet(SlowReflectionHack.java:58)
at org.topbraid.javax.shared.reflect.SlowReflectionHack.internalGet(SlowReflectionHack.java:24)
at org.topbraid.javax.shared.reflect.ReflectionHack.classGet(ReflectionHack.java:50)
at org.topbraidlive.servletbridge.webapplicationserver.CleanUp.unregisterJDBCDrivers(CleanUp.java:438)
at org.topbraidlive.servletbridge.webapplicationserver.CleanUp.shutdown(CleanUp.java:279)
at org.topbraidlive.servletbridge.webapplicationserver.BridgeServlet.destroy(BridgeServlet.java:185)
at org.apache.catalina.core.StandardWrapper.unload(StandardWrapper.java:1446)
at org.apache.catalina.core.StandardWrapper.stop(StandardWrapper.java:1797)
at org.apache.catalina.core.StandardContext.stop(StandardContext.java:4872)
at org.apache.catalina.core.ContainerBase.removeChild(ContainerBase.java:936)
at org.apache.catalina.startup.HostConfig.undeployApps(HostConfig.java:1359)
at org.apache.catalina.startup.HostConfig.stop(HostConfig.java:1330)
at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:326)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:142)
at org.apache.catalina.core.ContainerBase.stop(ContainerBase.java:1098)
at org.apache.catalina.core.ContainerBase.stop(ContainerBase.java:1110)
at org.apache.catalina.core.StandardEngine.stop(StandardEngine.java:468)
at org.apache.catalina.core.StandardService.stop(StandardService.java:604)
at org.apache.catalina.core.StandardServer.stop(StandardServer.java:788)
at org.apache.catalina.startup.Catalina.stopServer(Catalina.java:408)
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 org.apache.catalina.startup.Bootstrap.stopServer(Bootstrap.java:338)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:416)

Aug 09, 2013 11:35:49 AM org.apache.catalina.core.ApplicationContext log
SEVERE: equinoxbridgeservlet: java.lang.NullPointerException
org.topbraid.javax.shared.reflect.ReflectionException: java.lang.NullPointerException
at org.topbraid.javax.shared.reflect.SlowReflectionHack.deepGet(SlowReflectionHack.java:63)
at org.topbraid.javax.shared.reflect.SlowReflectionHack.internalGet(SlowReflectionHack.java:24)
at org.topbraid.javax.shared.reflect.ReflectionHack.classGet(ReflectionHack.java:50)
at org.topbraidlive.servletbridge.webapplicationserver.CleanUp.clearOutSystemWeakRefs(CleanUp.java:544)
at org.topbraidlive.servletbridge.webapplicationserver.CleanUp.shutdown(CleanUp.java:280)
at org.topbraidlive.servletbridge.webapplicationserver.BridgeServlet.destroy(BridgeServlet.java:185)
at org.apache.catalina.core.StandardWrapper.unload(StandardWrapper.java:1446)
at org.apache.catalina.core.StandardWrapper.stop(StandardWrapper.java:1797)
at org.apache.catalina.core.StandardContext.stop(StandardContext.java:4872)
at org.apache.catalina.core.ContainerBase.removeChild(ContainerBase.java:936)
at org.apache.catalina.startup.HostConfig.undeployApps(HostConfig.java:1359)
at org.apache.catalina.startup.HostConfig.stop(HostConfig.java:1330)
at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:326)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:142)
at org.apache.catalina.core.ContainerBase.stop(ContainerBase.java:1098)
at org.apache.catalina.core.ContainerBase.stop(ContainerBase.java:1110)
at org.apache.catalina.core.StandardEngine.stop(StandardEngine.java:468)
at org.apache.catalina.core.StandardService.stop(StandardService.java:604)
at org.apache.catalina.core.StandardServer.stop(StandardServer.java:788)
at org.apache.catalina.startup.Catalina.stopServer(Catalina.java:408)
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 org.apache.catalina.startup.Bootstrap.stopServer(Bootstrap.java:338)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:416)
Caused by: java.lang.NullPointerException
at sun.reflect.UnsafeFieldAccessorImpl.ensureObj(Unknown Source)
at sun.reflect.UnsafeQualifiedObjectFieldAccessorImpl.get(Unknown Source)
at java.lang.reflect.Field.get(Unknown Source)
at org.topbraid.javax.shared.reflect.SlowReflectionHack.deepGet(SlowReflectionHack.java:59)
... 25 more

Aug 09, 2013 11:35:49 AM org.apache.catalina.core.ApplicationContext log
INFO: equinoxbridgeservlet: Clearing timer: Throttle Timer
Aug 09, 2013 11:35:54 AM org.apache.catalina.core.ApplicationContext log
INFO: equinoxbridgeservlet: Failed to completely shutdown TopBraid during servlet.destroy()
Aug 09, 2013 11:35:54 AM org.apache.catalina.core.ApplicationContext log
INFO: equinoxbridgeservlet: BridgeServlet.destroy complete, success=true
Aug 09, 2013 11:36:15 AM org.apache.catalina.core.ApplicationContext log
INFO: TBL DEBUG: starting TBL.init()
Aug 09, 2013 11:36:15 AM org.apache.catalina.core.ApplicationContext log
INFO: Creating new dropin jar
Aug 09, 2013 11:36:29 AM org.apache.catalina.core.ApplicationContext log
INFO: TBL DEBUG: after BridgeServlet.init()
Aug 09, 2013 11:36:29 AM org.apache.catalina.core.ApplicationContext log
INFO: TBL DEBUG: finished TBL.init()




On Thursday, August 8, 2013 2:50:12 PM UTC, Scott Henninger wrote:
Terry; the only thing I can think of is that the web.xml has a problem.  Are there any indications of a problem in the error log?  If so, please pass as much of that along as you can.

Regardless, it may be a good idea to go through the deployment process again and use the Deployment Descriptor Configuration to create a web.xml, then install this in your web app (TBL).

-- Scott


On 8/7/2013 8:45 PM, ChilliPeppers wrote:
Hello,

Can anyone think of any reason why the Server Configuration Parameters link in particular on TBL Server Admin would be hanging?

The other links seem fine.

Thanks
--
-- You received this message because you are subscribed to the Google
Group "TopBraid Suite Users", the topics of which include Enterprise Vocabulary Network (EVN), TopBraid Composer, TopBraid Live,
TopBraid Ensemble, SPARQLMotion, SPARQL Web Pages and SPIN.
To post to this group, send email to
[email protected]
To unsubscribe from this group, send email to
topbraid-user...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/topbraid-users?hl=en
---
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 topbraid-user...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

--
-- You received this message because you are subscribed to the Google
Group "TopBraid Suite Users", the topics of which include Enterprise Vocabulary Network (EVN), TopBraid Composer, TopBraid Live,
TopBraid Ensemble, SPARQLMotion, SPARQL Web Pages and SPIN.
To post to this group, send email to
topbrai...@googlegroups.com
To unsubscribe from this group, send email to
topbraid-user...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/topbraid-users?hl=en
---
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 topbraid-user...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

--
-- You received this message because you are subscribed to the Google
Group "TopBraid Suite Users", the topics of which include Enterprise Vocabulary Network (EVN), TopBraid Composer, TopBraid Live,
TopBraid Ensemble, SPARQLMotion, SPARQL Web Pages and SPIN.
To post to this group, send email to
[email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/topbraid-users?hl=en
---
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].
For more options, visit https://groups.google.com/groups/opt_out.

--
-- You received this message because you are subscribed to the Google
Group "TopBraid Suite Users", the topics of which include Enterprise Vocabulary Network (EVN), TopBraid Composer, TopBraid Live,
TopBraid Ensemble, SPARQLMotion, SPARQL Web Pages and SPIN.
To post to this group, send email to
[email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/topbraid-users?hl=en
---
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].
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Reply via email to