Database-guest account
Posted: Mon Dec 12, 2011 7:18 am
Hey Guys,
So we changed the guest account password... which broke webclient. So we found this
http://lists.openmicroscopy.org.uk/pipe ... 02714.html
and attempted to change the password back. Which meant we could get to webadmin and thru that to webclient but not to webclient directly. We realised that the guest account was no longer given the role of 'guest' and we had to have a group assigned to it.
So then I went into the db and in the most hubris mood, altered the groupexperimentermap table, removing the line
703 -103 FALSE 0 1 "blank" 103 0
and deleted the password next to 1 in the password file (this is what was in my sandpit set)
Which broke webadmin thouroughly.
Below is my error. I tried to put in the exact same line, with no help. I am totally lost. Help? Would it be possible to organise a time to skype you or google chat or something to walk through this with you guys tonight as my deadline is thursday.
I can access
http://omero.rcs.griffith.edu.au/webadm ... er/edit/1/
if that helps
Thank you again
So we changed the guest account password... which broke webclient. So we found this
http://lists.openmicroscopy.org.uk/pipe ... 02714.html
and attempted to change the password back. Which meant we could get to webadmin and thru that to webclient but not to webclient directly. We realised that the guest account was no longer given the role of 'guest' and we had to have a group assigned to it.
So then I went into the db and in the most hubris mood, altered the groupexperimentermap table, removing the line
703 -103 FALSE 0 1 "blank" 103 0
and deleted the password next to 1 in the password file (this is what was in my sandpit set)
Which broke webadmin thouroughly.
Below is my error. I tried to put in the exact same line, with no help. I am totally lost. Help? Would it be possible to organise a time to skype you or google chat or something to walk through this with you guys tonight as my deadline is thursday.
I can access
http://omero.rcs.griffith.edu.au/webadm ... er/edit/1/
if that helps
Thank you again
- Code: Select all
Traceback (most recent call last):
File "/opt/OmeroServer/lib/python/django/core/handlers/base.py", line 92, in get_response
response = callback(request, *callback_args, **callback_kwargs)
File "/opt/OmeroServer/lib/python/omeroweb/webadmin/views.py", line 154, in wrapped
return f(request, *args, **kwargs)
File "/opt/OmeroServer/lib/python/omeroweb/webadmin/views.py", line 223, in wrapped
return f(request, *args, **kwargs)
File "/opt/OmeroServer/lib/python/omeroweb/webadmin/views.py", line 379, in experimenters
controller = BaseExperimenters(conn)
File "/opt/OmeroServer/lib/python/omeroweb/webadmin/controller/experimenter.py", line 38, in __init__
self.experimentersList = list(self.conn.listExperimenters())
File "/opt/OmeroServer/lib/python/omero/gateway/__init__.py", line 2080, in listExperimenters
for exp in admin_serv.lookupExperimenters():
File "/opt/OmeroServer/lib/python/omero/gateway/__init__.py", line 2980, in wrapped
return inner(*args, **kwargs)
File "/opt/OmeroServer/lib/python/omero/gateway/__init__.py", line 2885, in inner
return f(*args, **kwargs)
File "/opt/OmeroServer/lib/python/omero_api_IAdmin_ice.py", line 141, in lookupExperimenters
return _M_omero.api.IAdmin._op_lookupExperimenters.invoke(self, ((), _ctx))
InternalException: exception ::omero::InternalException
{
serverStackTrace = ome.conditions.InternalException: Wrapped Exception: (java.lang.ArrayIndexOutOfBoundsException):
-1
at java.util.ArrayList.set(ArrayList.java:339)
at org.hibernate.collection.PersistentList.readFrom(PersistentList.java:409)
at org.hibernate.loader.Loader.readCollectionElement(Loader.java:1072)
at org.hibernate.loader.Loader.readCollectionElements(Loader.java:690)
at org.hibernate.loader.Loader.getRowFromResultSet(Loader.java:630)
at org.hibernate.loader.Loader.doQuery(Loader.java:745)
at org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:270)
at org.hibernate.loader.Loader.doList(Loader.java:2449)
at org.hibernate.loader.Loader.listIgnoreQueryCache(Loader.java:2192)
at org.hibernate.loader.Loader.list(Loader.java:2187)
at org.hibernate.loader.hql.QueryLoader.list(QueryLoader.java:452)
at org.hibernate.hql.ast.QueryTranslatorImpl.list(QueryTranslatorImpl.java:363)
at org.hibernate.engine.query.HQLQueryPlan.performList(HQLQueryPlan.java:196)
at org.hibernate.impl.SessionImpl.list(SessionImpl.java:1260)
at org.hibernate.impl.QueryImpl.list(QueryImpl.java:102)
at ome.services.query.Query.doInHibernate(Query.java:244)
at org.springframework.orm.hibernate3.HibernateTemplate.doExecute(HibernateTemplate.java:406)
at org.springframework.orm.hibernate3.HibernateTemplate.execute(HibernateTemplate.java:339)
at ome.logic.QueryImpl.execute(QueryImpl.java:142)
at ome.logic.QueryImpl.findAllByQuery(QueryImpl.java:392)
at ome.logic.AdminImpl.lookupExperimenters(AdminImpl.java:311)
at sun.reflect.GeneratedMethodAccessor776.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307)
at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
at ome.security.basic.EventHandler.invoke(EventHandler.java:150)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
at org.springframework.orm.hibernate3.HibernateInterceptor.invoke(HibernateInterceptor.java:111)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:108)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
at ome.tools.hibernate.ProxyCleanupFilter$Interceptor.invoke(ProxyCleanupFilter.java:231)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
at ome.services.util.ServiceHandler.invoke(ServiceHandler.java:116)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)
at $Proxy75.lookupExperimenters(Unknown Source)
at sun.reflect.GeneratedMethodAccessor776.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307)
at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
at ome.security.basic.BasicSecurityWiring.invoke(BasicSecurityWiring.java:83)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
at ome.services.blitz.fire.AopContextInitializer.invoke(AopContextInitializer.java:43)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)
at $Proxy75.lookupExperimenters(Unknown Source)
at sun.reflect.GeneratedMethodAccessor777.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at ome.services.blitz.util.IceMethodInvoker.invoke(IceMethodInvoker.java:179)
at ome.services.throttling.Callback.run(Callback.java:56)
at ome.services.throttling.InThreadThrottlingStrategy.callInvokerOnRawArgs(InThreadThrottlingStrategy.java:56)
at ome.services.blitz.impl.AbstractAmdServant.callInvokerOnRawArgs(AbstractAmdServant.java:136)
at ome.services.blitz.impl.AdminI.lookupExperimenters_async(AdminI.java:242)
at omero.api._IAdminTie.lookupExperimenters_async(_IAdminTie.java:260)
at omero.api._IAdminDisp.___lookupExperimenters(_IAdminDisp.java:466)
at omero.api._IAdminDisp.__dispatch(_IAdminDisp.java:1603)
at IceInternal.Incoming.invoke(Incoming.java:159)
at Ice.ConnectionI.invokeAll(ConnectionI.java:2037)
at Ice.ConnectionI.message(ConnectionI.java:972)
at IceInternal.ThreadPool.run(ThreadPool.java:577)
at IceInternal.ThreadPool.access$100(ThreadPool.java:12)
at IceInternal.ThreadPool$EventHandlerThread.run(ThreadPool.java:971)
serverExceptionClass = ome.conditions.InternalException
message = Wrapped Exception: (java.lang.ArrayIndexOutOfBoundsException):
-1
}
<WSGIRequest
GET:<QueryDict: {}>,
POST:<QueryDict: {}>,
COOKIES:{'dActual': 'desktop',
'dVice': 'desktop',
'sessionid': '450795100aac8e1e450629ea365638be',
'setSSO': ''},
META:{'DOCUMENT_ROOT': '/var/www/html',
'GATEWAY_INTERFACE': 'CGI/1.1',
'HTTP_ACCEPT': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
'HTTP_ACCEPT_CHARSET': 'ISO-8859-1,utf-8;q=0.7,*;q=0.3',
'HTTP_ACCEPT_ENCODING': 'gzip,deflate,sdch',
'HTTP_ACCEPT_LANGUAGE': 'en-US,en;q=0.8',
'HTTP_CONNECTION': 'keep-alive',
'HTTP_COOKIE': 'dVice=desktop; dActual=desktop; setSSO=; sessionid=450795100aac8e1e450629ea365638be',
'HTTP_HOST': 'omero.rcs.griffith.edu.au',
'HTTP_REFERER': 'http://omero.rcs.griffith.edu.au/webadmin/experimenters/',
'HTTP_USER_AGENT': 'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/535.1 (KHTML, like Gecko) Ubuntu/11.04 Chromium/14.0.835.202 Chrome/14.0.835.202 Safari/535.1',
'PATH': '/sbin:/usr/sbin:/bin:/usr/bin',
'PATH_INFO': u'/webadmin/experimenters/',
'PATH_TRANSLATED': '/opt/OmeroServer/var/omero.fcgi/webadmin/experimenters/',
'QUERY_STRING': '',
'REMOTE_ADDR': '132.234.220.105',
'REMOTE_PORT': '48958',
'REQUEST_METHOD': 'GET',
'REQUEST_URI': '/webadmin/experimenters/',
'SCRIPT_FILENAME': '/opt/OmeroServer/var/omero.fcgi',
'SCRIPT_NAME': u'',
'SERVER_ADDR': '132.234.221.194',
'SERVER_ADMIN': 'root@localhost',
'SERVER_NAME': 'omero.rcs.griffith.edu.au',
'SERVER_PORT': '80',
'SERVER_PROTOCOL': 'HTTP/1.1',
'SERVER_SIGNATURE': '<address>Apache/2.2.3 (CentOS) Server at omero.rcs.griffith.edu.au Port 80</address>\n',
'SERVER_SOFTWARE': 'Apache/2.2.3 (CentOS)',
'wsgi.errors': <flup.server.fcgi_base.TeeOutputStream object at 0xd9efe50>,
'wsgi.input': <flup.server.fcgi_base.InputStream object at 0xda110d0>,
'wsgi.multiprocess': True,
'wsgi.multithread': False,
'wsgi.run_once': False,
'wsgi.url_scheme': 'http',
'wsgi.version': (1, 0)}>