user status

Discuss problems installing or using TrackStudio.

user status

Postby kilburb » Thu Nov 13, 2003 11:57 pm

We are doing an evaluation of TrackStudio 2.8. So far everything has been great. We have run into a small problem though. We want to create a new users status , but when we do we receive a general TrackStudio error.

We are running on a WebSphere 5.0.2.1 of WebSphere with a DB2 7.1.0.77. I turned debug on and show_sql for hibernate, but the logs are not very interesting in regards to this error.

the SystemErr.log shows a Null pointer exception followed by the gran.exception.GranException: General TrackStudio error


Any help would be great.

thanks
Byron
kilburb
 
Posts: 18
Joined: Thu Nov 13, 2003 11:50 pm
Location: US

Postby kilburb » Fri Nov 14, 2003 7:15 am

We turned off the show sql for hibernate and left the tackstudio debug on. The system out show this in the log:
[11/13/03 20:10:00:867 PST] 7814664b SystemOut O INFO|11/13 20:10:00.867| [gran.app.adapter.kernel.prstatus.BasePrstatusAdapter]: getPrstatusCollection started
[11/13/03 20:10:00:869 PST] 7814664b SystemOut O INFO|11/13 20:10:00.869| [JSP]: Status.inc
[11/13/03 20:10:00:869 PST] 7814664b SystemOut O INFO|11/13 20:10:00.869| [JSP]: UserTabs.inc
[11/13/03 20:10:00:869 PST] 7814664b SystemOut O INFO|11/13 20:10:00.869| [gran.app.adapter.kernel.prstatus.BasePrstatusAdapter]: getPrstatusCollection started
[11/13/03 20:10:00:872 PST] 7814664b SystemOut O INFO|11/13 20:10:00.872| [JSP]: Footer.inc
[11/13/03 20:10:16:968 PST] 59c0e678 SystemOut O INFO|11/13 20:10:16.968| [JSP]: Action.jsp
[11/13/03 20:10:16:969 PST] 59c0e678 SystemOut O INFO|11/13 20:10:16.969| [gran.app.adapter.kernel.prstatus.BasePrstatusAdapter]: getPrstatusCollection started
[11/13/03 20:10:16:999 PST] 59c0e678 SystemOut O INFO|11/13 20:10:16.999| [gran.app.adapter.kernel.prstatus.BasePrstatusAdapter]: updatePrStat called
[11/13/03 20:10:17:000 PST] 59c0e678 SystemOut O CALL|11/13 20:10:17.000| [gran.cache.UserCacheManager]: invalidate


Also here is the stack trace from the SystemErr log:
[11/13/03 20:10:17:001 PST] 59c0e678 SystemErr R java.lang.NullPointerException
[11/13/03 20:10:17:001 PST] 59c0e678 SystemErr R at org.apache.jcs.engine.memory.lru.LRUMemoryCache.removeNode(LRUMemoryCache.java(Compiled Code))
[11/13/03 20:10:17:001 PST] 59c0e678 SystemErr R at org.apache.jcs.engine.memory.lru.LRUMemoryCache.remove(LRUMemoryCache.java(Compiled Code))
[11/13/03 20:10:17:001 PST] 59c0e678 SystemErr R at org.apache.jcs.engine.control.CompositeCache.remove(CompositeCache.java(Compiled Code))
[11/13/03 20:10:17:001 PST] 59c0e678 SystemErr R at org.apache.jcs.engine.control.CompositeCache.remove(CompositeCache.java(Inlined Compiled Code))
[11/13/03 20:10:17:001 PST] 59c0e678 SystemErr R at org.apache.jcs.access.GroupCacheAccess.invalidateGroup(GroupCacheAccess.java(Inlined Compiled Code))
[11/13/03 20:10:17:001 PST] 59c0e678 SystemErr R at gran.cache.UserCacheManager.invalidate(UserCacheManager.java(Inlined Compiled Code))
[11/13/03 20:10:17:002 PST] 59c0e678 SystemErr R at gran.app.adapter.kernel.prstatus.BasePrstatusAdapter.updatePrstatusImpl(BasePrstatusAdapter.java(Compiled Code))
[11/13/03 20:10:17:002 PST] 59c0e678 SystemErr R at gran.app.adapter.kernel.prstatus.PrstatusAdapterManager.updatePrstatus(PrstatusAdapterManager.java(Compiled Code))
[11/13/03 20:10:17:002 PST] 59c0e678 SystemErr R at org.apache.jsp._StatusAction._jspService(_StatusAction.java(Compiled Code))
[11/13/03 20:10:17:002 PST] 59c0e678 SystemErr R at com.ibm.ws.webcontainer.jsp.runtime.HttpJspBase.service(HttpJspBase.java:89)
[11/13/03 20:10:17:002 PST] 59c0e678 SystemErr R at javax.servlet.http.HttpServlet.service(HttpServlet.java(Compiled Code))
[11/13/03 20:10:17:002 PST] 59c0e678 SystemErr R at com.ibm.ws.webcontainer.jsp.servlet.JspServlet$JspServletWrapper.service(JspServlet.java:357)
[11/13/03 20:10:17:002 PST] 59c0e678 SystemErr R at com.ibm.ws.webcontainer.jsp.servlet.JspServlet.serviceJspFile(JspServlet.java:675)
[11/13/03 20:10:17:002 PST] 59c0e678 SystemErr R at com.ibm.ws.webcontainer.jsp.servlet.JspServlet.service(JspServlet.java:773)
[11/13/03 20:10:17:002 PST] 59c0e678 SystemErr R at javax.servlet.http.HttpServlet.service(HttpServlet.java(Compiled Code))
[11/13/03 20:10:17:003 PST] 59c0e678 SystemErr R at com.ibm.ws.webcontainer.servlet.StrictServletInstance.doService(StrictServletInstance.java(Compiled Code))
[11/13/03 20:10:17:003 PST] 59c0e678 SystemErr R at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet._service(StrictLifecycleServlet.java(Compiled Code))
[11/13/03 20:10:17:003 PST] 59c0e678 SystemErr R at com.ibm.ws.webcontainer.servlet.IdleServletState.service(StrictLifecycleServlet.java:313)
[11/13/03 20:10:17:003 PST] 59c0e678 SystemErr R at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet.service(StrictLifecycleServlet.java(Inlined Compiled Code))
[11/13/03 20:10:17:003 PST] 59c0e678 SystemErr R at com.ibm.ws.webcontainer.servlet.ServletInstance.service(ServletInstance.java(Compiled Code))
[11/13/03 20:10:17:003 PST] 59c0e678 SystemErr R at com.ibm.ws.webcontainer.servlet.ValidServletReferenceState.dispatch(ValidServletReferenceState.java(Compiled Code)
)
[11/13/03 20:10:17:003 PST] 59c0e678 SystemErr R at com.ibm.ws.webcontainer.servlet.ServletInstanceReference.dispatch(ServletInstanceReference.java(Inlined Compiled C
ode))
[11/13/03 20:10:17:003 PST] 59c0e678 SystemErr R at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.handleWebAppDispatch(WebAppRequestDispatcher.java(Compiled
Code))
[11/13/03 20:10:17:003 PST] 59c0e678 SystemErr R at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.dispatch(WebAppRequestDispatcher.java(Compiled Code))
[11/13/03 20:10:17:003 PST] 59c0e678 SystemErr R at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.forward(WebAppRequestDispatcher.java(Compiled Code))
[11/13/03 20:10:17:003 PST] 59c0e678 SystemErr R at com.ibm.ws.webcontainer.srt.WebAppInvoker.doForward(WebAppInvoker.java(Compiled Code))
[11/13/03 20:10:17:004 PST] 59c0e678 SystemErr R at com.ibm.ws.webcontainer.srt.WebAppInvoker.handleInvocationHook(WebAppInvoker.java(Compiled Code))
[11/13/03 20:10:17:004 PST] 59c0e678 SystemErr R at com.ibm.ws.webcontainer.cache.invocation.CachedInvocation.handleInvocation(CachedInvocation.java(Compiled Code))
[11/13/03 20:10:17:004 PST] 59c0e678 SystemErr R at com.ibm.ws.webcontainer.srp.ServletRequestProcessor.dispatchByURI(ServletRequestProcessor.java(Compiled Code))
[11/13/03 20:10:17:004 PST] 59c0e678 SystemErr R at com.ibm.ws.webcontainer.oselistener.OSEListenerDispatcher.service(OSEListener.java(Compiled Code))
[11/13/03 20:10:17:004 PST] 59c0e678 SystemErr R at com.ibm.ws.webcontainer.http.HttpConnection.handleRequest(HttpConnection.java(Compiled Code))
[11/13/03 20:10:17:004 PST] 59c0e678 SystemErr R at com.ibm.ws.http.HttpConnection.readAndHandleRequest(HttpConnection.java(Compiled Code))
[11/13/03 20:10:17:004 PST] 59c0e678 SystemErr R at com.ibm.ws.http.HttpConnection.run(HttpConnection.java(Compiled Code))
[11/13/03 20:10:17:004 PST] 59c0e678 SystemErr R at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:593)
[11/13/03 20:10:17:006 PST] 59c0e678 SystemErr R gran.exception.GranException: General TrackStudio error
[11/13/03 20:10:17:006 PST] 59c0e678 SystemErr R at gran.app.adapter.kernel.prstatus.BasePrstatusAdapter.updatePrstatusImpl(BasePrstatusAdapter.java(Compiled Code))
[11/13/03 20:10:17:006 PST] 59c0e678 SystemErr R at gran.app.adapter.kernel.prstatus.PrstatusAdapterManager.updatePrstatus(PrstatusAdapterManager.java(Compiled Code))
[11/13/03 20:10:17:006 PST] 59c0e678 SystemErr R at org.apache.jsp._StatusAction._jspService(_StatusAction.java(Compiled Code))
[11/13/03 20:10:17:007 PST] 59c0e678 SystemErr R at com.ibm.ws.webcontainer.jsp.runtime.HttpJspBase.service(HttpJspBase.java:89)
[11/13/03 20:10:17:007 PST] 59c0e678 SystemErr R at javax.servlet.http.HttpServlet.service(HttpServlet.java(Compiled Code))
[11/13/03 20:10:17:007 PST] 59c0e678 SystemErr R at com.ibm.ws.webcontainer.jsp.servlet.JspServlet$JspServletWrapper.service(JspServlet.java:357)
[11/13/03 20:10:17:007 PST] 59c0e678 SystemErr R at com.ibm.ws.webcontainer.jsp.servlet.JspServlet.serviceJspFile(JspServlet.java:675)
[11/13/03 20:10:17:007 PST] 59c0e678 SystemErr R at com.ibm.ws.webcontainer.jsp.servlet.JspServlet.service(JspServlet.java:773)
[11/13/03 20:10:17:007 PST] 59c0e678 SystemErr R at javax.servlet.http.HttpServlet.service(HttpServlet.java(Compiled Code))
[11/13/03 20:10:17:007 PST] 59c0e678 SystemErr R at com.ibm.ws.webcontainer.servlet.StrictServletInstance.doService(StrictServletInstance.java(Compiled Code))
[11/13/03 20:10:17:007 PST] 59c0e678 SystemErr R at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet._service(StrictLifecycleServlet.java(Compiled Code))
[11/13/03 20:10:17:007 PST] 59c0e678 SystemErr R at com.ibm.ws.webcontainer.servlet.IdleServletState.service(StrictLifecycleServlet.java:313)
[11/13/03 20:10:17:007 PST] 59c0e678 SystemErr R at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet.service(StrictLifecycleServlet.java(Inlined Compiled Code))
[11/13/03 20:10:17:008 PST] 59c0e678 SystemErr R at com.ibm.ws.webcontainer.servlet.ServletInstance.service(ServletInstance.java(Compiled Code))
[11/13/03 20:10:17:008 PST] 59c0e678 SystemErr R at com.ibm.ws.webcontainer.servlet.ValidServletReferenceState.dispatch(ValidServletReferenceState.java(Compiled Code)
)
[11/13/03 20:10:17:008 PST] 59c0e678 SystemErr R at com.ibm.ws.webcontainer.servlet.ServletInstanceReference.dispatch(ServletInstanceReference.java(Inlined Compiled C
ode))
[11/13/03 20:10:17:008 PST] 59c0e678 SystemErr R at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.handleWebAppDispatch(WebAppRequestDispatcher.java(Compiled
Code))
[11/13/03 20:10:17:008 PST] 59c0e678 SystemErr R at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.dispatch(WebAppRequestDispatcher.java(Compiled Code))
[11/13/03 20:10:17:008 PST] 59c0e678 SystemErr R at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.forward(WebAppRequestDispatcher.java(Compiled Code))
kilburb
 
Posts: 18
Joined: Thu Nov 13, 2003 11:50 pm
Location: US

Re: user status

Postby admin » Fri Nov 14, 2003 10:30 am

kilburb wrote:We are doing an evaluation of TrackStudio 2.8. So far everything has been great. We have run into a small problem though. We want to create a new users status , but when we do we receive a general TrackStudio error.

We are running on a WebSphere 5.0.2.1 of WebSphere with a DB2 7.1.0.77. I turned debug on and show_sql for hibernate, but the logs are not very interesting in regards to this error.

the SystemErr.log shows a Null pointer exception followed by the gran.exception.GranException: General TrackStudio error


Any help would be great.

thanks
Byron


Thank you for the bug report and stack trace. This seems like problem with JCS, I'll try to investigate this problem.

By the way, you can't create user statuses at all or just sometimes ?
Maxim Kramarenko (mailto: maximkr@trackstudio.com)
TrackStudio - Hierarchical Bug & Issue Tracking Software
http://www.trackstudio.com
admin
Site Admin
 
Posts: 7454
Joined: Thu Jan 01, 1970 3:00 am
Location: Smolensk, Russia

Re: user status

Postby admin » Fri Nov 14, 2003 3:33 pm

kilburb wrote:We are doing an evaluation of TrackStudio 2.8. So far everything has been great. We have run into a small problem though. We want to create a new users status , but when we do we receive a general TrackStudio error.

We are running on a WebSphere 5.0.2.1 of WebSphere with a DB2 7.1.0.77. I turned debug on and show_sql for hibernate, but the logs are not very interesting in regards to this error.

the SystemErr.log shows a Null pointer exception followed by the gran.exception.GranException: General TrackStudio error


Any help would be great.

thanks
Byron


Yes, this is problem with JCS. Please try replace jcs.jar with last version from http://www.trackstudio.com/tse-28/jcs.jar.

Some "workarond" - this exception occurs after we create/modify user status and delete all users from cache. So, after you receive this bug you actually have user status created and you can restart server to reinitialize cache.
Maxim Kramarenko (mailto: maximkr@trackstudio.com)
TrackStudio - Hierarchical Bug & Issue Tracking Software
http://www.trackstudio.com
admin
Site Admin
 
Posts: 7454
Joined: Thu Jan 01, 1970 3:00 am
Location: Smolensk, Russia

Postby kilburb » Fri Nov 14, 2003 6:13 pm

I'll give the new jar a try. Just some info we could not create any user status and even if we restarted they did not apear. I'll let you know if this fixes the issue.
kilburb
 
Posts: 18
Joined: Thu Nov 13, 2003 11:50 pm
Location: US

Postby admin » Fri Nov 14, 2003 6:30 pm

kilburb wrote:I'll give the new jar a try. Just some info we could not create any user status and even if we restarted they did not apear. I'll let you know if this fixes the issue.


Right URL:
http://www.trackstudio.com/tse-28/jcs.jar

If it does not help - please also try
http://www.trackstudio.com/tse-28/trackstudio.jar - I remove invalidateCache call from this version. If it does not help too - let me know, please.
Maxim Kramarenko (mailto: maximkr@trackstudio.com)
TrackStudio - Hierarchical Bug & Issue Tracking Software
http://www.trackstudio.com
admin
Site Admin
 
Posts: 7454
Joined: Thu Jan 01, 1970 3:00 am
Location: Smolensk, Russia

Postby kilburb » Sat Nov 15, 2003 3:41 am

ok the new jcs.jar did not help, but the new trackstudio.jar fixed the user status change issue. We did find another invalidate problem though. When we try to change the manager of a user it has the same problem, but in this case if we restart the app the change is picked up.

Just wanted to say thanks for helping us threw the eval. I know a lot of other companies would not offer any kind of support let alone a fix.


Here is the partial stack trace for the user change error:
[11/14/03 16:28:17:384 PST] 4a23a2f9 SystemErr R java.lang.NullPointerException
[11/14/03 16:28:17:384 PST] 4a23a2f9 SystemErr R at org.apache.jcs.engine.memory.lru.LRUMemoryCache.removeNode(LRUMemoryCache.java:488)
[11/14/03 16:28:17:384 PST] 4a23a2f9 SystemErr R at org.apache.jcs.engine.memory.lru.LRUMemoryCache.remove(LRUMemoryCache.java:360)
[11/14/03 16:28:17:384 PST] 4a23a2f9 SystemErr R at org.apache.jcs.engine.control.CompositeCache.remove(CompositeCache.java(Compiled Code))
[11/14/03 16:28:17:384 PST] 4a23a2f9 SystemErr R at org.apache.jcs.engine.control.CompositeCache.remove(CompositeCache.java:691)
[11/14/03 16:28:17:384 PST] 4a23a2f9 SystemErr R at org.apache.jcs.access.GroupCacheAccess.invalidateGroup(GroupCacheAccess.java:213)
[11/14/03 16:28:17:385 PST] 4a23a2f9 SystemErr R at gran.cache.UserCacheManager.invalidate(UserCacheManager.java:92)
[11/14/03 16:28:17:385 PST] 4a23a2f9 SystemErr R at gran.app.adapter.kernel.user.BaseUserAdapter.updateUserImpl(BaseUserAdapter.java:185)
[11/14/03 16:28:17:385 PST] 4a23a2f9 SystemErr R at gran.app.adapter.kernel.user.UserAdapterManager.updateUser(UserAdapterManager.java:48)
kilburb
 
Posts: 18
Joined: Thu Nov 13, 2003 11:50 pm
Location: US

Postby admin » Sun Nov 16, 2003 10:49 pm

kilburb wrote:ok the new jcs.jar did not help, but the new trackstudio.jar fixed the user status change issue. We did find another invalidate problem though. When we try to change the manager of a user it has the same problem, but in this case if we restart the app the change is picked up.


Hope just fix the bug. Please try new jcs.jar from
http://www.trackstudio.com/tse-28/jcs.jar

Also you should return trackstudio.jar back (take it from distribution).

kilburb wrote:Just wanted to say thanks for helping us threw the eval. I know a lot of other companies would not offer any kind of support let alone a fix.


Thank you :-)
Maxim Kramarenko (mailto: maximkr@trackstudio.com)
TrackStudio - Hierarchical Bug & Issue Tracking Software
http://www.trackstudio.com
admin
Site Admin
 
Posts: 7454
Joined: Thu Jan 01, 1970 3:00 am
Location: Smolensk, Russia

Postby kilburb » Mon Nov 17, 2003 6:52 pm

Thank you again. That new JCS jar fixed both issues. Everything is working great.
kilburb
 
Posts: 18
Joined: Thu Nov 13, 2003 11:50 pm
Location: US


Return to TrackStudio Support

Who is online

Users browsing this forum: No registered users and 0 guests