Error while logging in

Discuss problems installing or using TrackStudio.

Error while logging in

Postby vishnuprasad » Thu Jan 22, 2004 12:07 am

I I deployed TrackStudio in WebSphere App Server. When I click on the Trackstudio image on the default page, it brings up the error-

net/sf/hibernate/impl/SessionFactoryImpl
Please press Back and try again.If you want to suggest any features or report bugs just post in the forum.


I checked the WEB-INF/lib directory and hibernate2.jar is in there.

Environment: TrackStudio Eval Ver 283, MS SQL Server 2000, WebSphere App Server.

The following is the error from the websphere error log:
[1/21/04 16:00:30:280 EST] 418e0019 SystemErr R java.lang.NoClassDefFoundError: net/sf/hibernate/impl/SessionFactoryImpl
[1/21/04 16:00:30:280 EST] 418e0019 SystemErr R at net.sf.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:618)
[1/21/04 16:00:30:280 EST] 418e0019 SystemErr R at gran.app.Config.getSessionFactory(Config.java:273)
[1/21/04 16:00:30:280 EST] 418e0019 SystemErr R at gran.app.TaskNumerator.initTaskNumbers(TaskNumerator.java:68)
[1/21/04 16:00:30:280 EST] 418e0019 SystemErr R at gran.app.AppClass.init(AppClass.java:53)
[1/21/04 16:00:30:280 EST] 418e0019 SystemErr R at org.apache.jsp._Index._jspService(_Index.java:107)
[1/21/04 16:00:30:280 EST] 418e0019 SystemErr R at com.ibm.ws.webcontainer.jsp.runtime.HttpJspBase.service(HttpJspBase.java(Compiled Code))
[1/21/04 16:00:30:280 EST] 418e0019 SystemErr R at javax.servlet.http.HttpServlet.service(HttpServlet.java(Compiled Code))
[1/21/04 16:00:30:280 EST] 418e0019 SystemErr R at com.ibm.ws.webcontainer.jsp.servlet.JspServlet$JspServletWrapper.service(JspServlet.java(Compiled Code))
[1/21/04 16:00:30:280 EST] 418e0019 SystemErr R at com.ibm.ws.webcontainer.jsp.servlet.JspServlet.serviceJspFile(JspServlet.java(Compiled Code))
[1/21/04 16:00:30:280 EST] 418e0019 SystemErr R at com.ibm.ws.webcontainer.jsp.servlet.JspServlet.service(JspServlet.java(Compiled Code))
[1/21/04 16:00:30:280 EST] 418e0019 SystemErr R at javax.servlet.http.HttpServlet.service(HttpServlet.java(Compiled Code))
[1/21/04 16:00:30:280 EST] 418e0019 SystemErr R at com.ibm.ws.webcontainer.servlet.StrictServletInstance.doService(StrictServletInstance.java(Compiled Code))
[1/21/04 16:00:30:280 EST] 418e0019 SystemErr R at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet._service(StrictLifecycleServlet.java(Compiled Code))
[1/21/04 16:00:30:280 EST] 418e0019 SystemErr R at com.ibm.ws.webcontainer.servlet.IdleServletState.service(StrictLifecycleServlet.java(Compiled Code))
[1/21/04 16:00:30:280 EST] 418e0019 SystemErr R at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet.service(StrictLifecycleServlet.java(Inlined Compiled Code))
[1/21/04 16:00:30:280 EST] 418e0019 SystemErr R at com.ibm.ws.webcontainer.servlet.ServletInstance.service(ServletInstance.java(Compiled Code))
[1/21/04 16:00:30:280 EST] 418e0019 SystemErr R at com.ibm.ws.webcontainer.servlet.ValidServletReferenceState.dispatch(ValidServletReferenceState.java(Compiled Code))
[1/21/04 16:00:30:280 EST] 418e0019 SystemErr R at com.ibm.ws.webcontainer.servlet.ServletInstanceReference.dispatch(ServletInstanceReference.java(Inlined Compiled Code))
[1/21/04 16:00:30:280 EST] 418e0019 SystemErr R at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.handleWebAppDispatch(WebAppRequestDispatcher.java(Compiled Code))
[1/21/04 16:00:30:280 EST] 418e0019 SystemErr R at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.dispatch(WebAppRequestDispatcher.java(Compiled Code))
[1/21/04 16:00:30:280 EST] 418e0019 SystemErr R at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.forward(WebAppRequestDispatcher.java(Compiled Code))
[1/21/04 16:00:30:280 EST] 418e0019 SystemErr R at com.ibm.ws.webcontainer.srt.WebAppInvoker.doForward(WebAppInvoker.java(Compiled Code))
[1/21/04 16:00:30:280 EST] 418e0019 SystemErr R at com.ibm.ws.webcontainer.srt.WebAppInvoker.handleInvocationHook(WebAppInvoker.java(Compiled Code))
[1/21/04 16:00:30:280 EST] 418e0019 SystemErr R at com.ibm.ws.webcontainer.cache.invocation.CachedInvocation.handleInvocation(CachedInvocation.java(Compiled Code))
[1/21/04 16:00:30:280 EST] 418e0019 SystemErr R at com.ibm.ws.webcontainer.cache.invocation.CacheableInvocationContext.invoke(CacheableInvocationContext.java:114)
[1/21/04 16:00:30:280 EST] 418e0019 SystemErr R at com.ibm.ws.webcontainer.srp.ServletRequestProcessor.dispatchByURI(ServletRequestProcessor.java(Compiled Code))
[1/21/04 16:00:30:280 EST] 418e0019 SystemErr R at com.ibm.ws.webcontainer.oselistener.OSEListenerDispatcher.service(OSEListener.java(Compiled Code))
[1/21/04 16:00:30:280 EST] 418e0019 SystemErr R at com.ibm.ws.webcontainer.http.HttpConnection.handleRequest(HttpConnection.java(Compiled Code))
[1/21/04 16:00:30:280 EST] 418e0019 SystemErr R at com.ibm.ws.http.HttpConnection.readAndHandleRequest(HttpConnection.java(Compiled Code))
[1/21/04 16:00:30:280 EST] 418e0019 SystemErr R at com.ibm.ws.http.HttpConnection.run(HttpConnection.java:443)
[1/21/04 16:00:30:280 EST] 418e0019 SystemErr R at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java(Compiled Code))
[1/21/04 16:05:26:212 EST] 418e0019 SystemErr R java.lang.NoClassDefFoundError: net/sf/hibernate/impl/SessionFactoryImpl
[1/21/04 16:05:26:212 EST] 418e0019 SystemErr R at net.sf.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:618)
[1/21/04 16:05:26:212 EST] 418e0019 SystemErr R at gran.app.Config.getSessionFactory(Config.java:273)
[1/21/04 16:05:26:212 EST] 418e0019 SystemErr R at gran.app.TaskNumerator.initTaskNumbers(TaskNumerator.java:68)
[1/21/04 16:05:26:212 EST] 418e0019 SystemErr R at gran.app.AppClass.init(AppClass.java:53)
[1/21/04 16:05:26:212 EST] 418e0019 SystemErr R at org.apache.jsp._Index._jspService(_Index.java:107)
[1/21/04 16:05:26:212 EST] 418e0019 SystemErr R at com.ibm.ws.webcontainer.jsp.runtime.HttpJspBase.service(HttpJspBase.java(Compiled Code))
[1/21/04 16:05:26:212 EST] 418e0019 SystemErr R at javax.servlet.http.HttpServlet.service(HttpServlet.java(Compiled Code))
[1/21/04 16:05:26:212 EST] 418e0019 SystemErr R at com.ibm.ws.webcontainer.jsp.servlet.JspServlet$JspServletWrapper.service(JspServlet.java(Compiled Code))
[1/21/04 16:05:26:212 EST] 418e0019 SystemErr R at com.ibm.ws.webcontainer.jsp.servlet.JspServlet.serviceJspFile(JspServlet.java(Compiled Code))
[1/21/04 16:05:26:212 EST] 418e0019 SystemErr R at com.ibm.ws.webcontainer.jsp.servlet.JspServlet.service(JspServlet.java(Compiled Code))
[1/21/04 16:05:26:212 EST] 418e0019 SystemErr R at javax.servlet.http.HttpServlet.service(HttpServlet.java(Compiled Code))
[1/21/04 16:05:26:212 EST] 418e0019 SystemErr R at com.ibm.ws.webcontainer.servlet.StrictServletInstance.doService(StrictServletInstance.java(Compiled Code))
[1/21/04 16:05:26:212 EST] 418e0019 SystemErr R at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet._service(StrictLifecycleServlet.java(Compiled Code))
[1/21/04 16:05:26:212 EST] 418e0019 SystemErr R at com.ibm.ws.webcontainer.servlet.IdleServletState.service(StrictLifecycleServlet.java(Compiled Code))
[1/21/04 16:05:26:212 EST] 418e0019 SystemErr R at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet.service(StrictLifecycleServlet.java(Inlined Compiled Code))
[1/21/04 16:05:26:212 EST] 418e0019 SystemErr R at com.ibm.ws.webcontainer.servlet.ServletInstance.service(ServletInstance.java(Compiled Code))
[1/21/04 16:05:26:212 EST] 418e0019 SystemErr R at com.ibm.ws.webcontainer.servlet.ValidServletReferenceState.dispatch(ValidServletReferenceState.java(Compiled Code))
[1/21/04 16:05:26:212 EST] 418e0019 SystemErr R at com.ibm.ws.webcontainer.servlet.ServletInstanceReference.dispatch(ServletInstanceReference.java(Inlined Compiled Code))
[1/21/04 16:05:26:212 EST] 418e0019 SystemErr R at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.handleWebAppDispatch(WebAppRequestDispatcher.java(Compiled Code))
[1/21/04 16:05:26:212 EST] 418e0019 SystemErr R at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.dispatch(WebAppRequestDispatcher.java(Compiled Code))
[1/21/04 16:05:26:212 EST] 418e0019 SystemErr R at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.forward(WebAppRequestDispatcher.java(Compiled Code))
[1/21/04 16:05:26:212 EST] 418e0019 SystemErr R at com.ibm.ws.webcontainer.srt.WebAppInvoker.doForward(WebAppInvoker.java(Compiled Code))
[1/21/04 16:05:26:212 EST] 418e0019 SystemErr R at com.ibm.ws.webcontainer.srt.WebAppInvoker.handleInvocationHook(WebAppInvoker.java(Compiled Code))
[1/21/04 16:05:26:212 EST] 418e0019 SystemErr R at com.ibm.ws.webcontainer.cache.invocation.CachedInvocation.handleInvocation(CachedInvocation.java(Compiled Code))
[1/21/04 16:05:26:212 EST] 418e0019 SystemErr R at com.ibm.ws.webcontainer.cache.invocation.CacheableInvocationContext.invoke(CacheableInvocationContext.java:114)
[1/21/04 16:05:26:212 EST] 418e0019 SystemErr R at com.ibm.ws.webcontainer.srp.ServletRequestProcessor.dispatchByURI(ServletRequestProcessor.java(Compiled Code))
[1/21/04 16:05:26:212 EST] 418e0019 SystemErr R at com.ibm.ws.webcontainer.oselistener.OSEListenerDispatcher.service(OSEListener.java(Compiled Code))
[1/21/04 16:05:26:212 EST] 418e0019 SystemErr R at com.ibm.ws.webcontainer.http.HttpConnection.handleRequest(HttpConnection.java(Compiled Code))
[1/21/04 16:05:26:212 EST] 418e0019 SystemErr R at com.ibm.ws.http.HttpConnection.readAndHandleRequest(HttpConnection.java(Compiled Code))
[1/21/04 16:05:26:212 EST] 418e0019 SystemErr R at com.ibm.ws.http.HttpConnection.run(HttpConnection.java:439)
[1/21/04 16:05:26:212 EST] 418e0019 SystemErr R at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java(Compiled Code))
vishnuprasad
 
Posts: 4
Joined: Thu Jan 22, 2004 12:02 am

Re: Error while logging in

Postby admin » Thu Jan 22, 2004 1:13 am

vishnuprasad wrote:I I deployed TrackStudio in WebSphere App Server. When I click on the Trackstudio image on the default page, it brings up the error-

net/sf/hibernate/impl/SessionFactoryImpl
Please press Back and try again.If you want to suggest any features or report bugs just post in the forum.


I checked the WEB-INF/lib directory and hibernate2.jar is in there.

Environment: TrackStudio Eval Ver 283, MS SQL Server 2000, WebSphere App Server.


What exactly version of WebSphere so you use ? I'll going to download it and test.

One suggestion - please try to add hibernate2.jar to the WebSphere classpath directly, sometimes this strange action helps :-)
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

WebSphere App Server Version

Postby vishnuprasad » Thu Jan 22, 2004 5:46 pm

The WS App server ver is 5.1
vishnuprasad
 
Posts: 4
Joined: Thu Jan 22, 2004 12:02 am

Re: WebSphere App Server Version

Postby admin » Fri Jan 23, 2004 1:57 pm

vishnuprasad wrote:The WS App server ver is 5.1


I still can't duplicate it :-(

1) Download WS 5.1/Windows and install it
2) Unpack TrackStudio.war from TrackStudio 2.8.3/WAR.
3) Copy configs from etc to the WEB-INF
4) Modify port
trackstudio.siteURL http://localhost:9090/TrackStudio
and upload directory:
trackstudio.uploadDir c:\\1
5) Pack TrackStudio.war with .properties files back
6) Start HSQL and create database
7) Deploy TrackStudio.war as /TrackStudio, all other options doesn't touch

Login and its work fine.
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

Still have problems

Postby vishnuprasad » Fri Jan 23, 2004 5:50 pm

Thanks for the reply.

I still have problems. I added hibernate2.jar to the WS classpath and
TrackStudio complained about one of the commons-lang.jar class not found.

Then I added all jars to the WS classpath and now I see this error -
Resource: gran/model/User.hbm.xml not found

Where is this file and where should I put it?
vishnuprasad
 
Posts: 4
Joined: Thu Jan 22, 2004 12:02 am

Re: Still have problems

Postby admin » Fri Jan 23, 2004 6:24 pm

vishnuprasad wrote:Thanks for the reply.

I still have problems. I added hibernate2.jar to the WS classpath and
TrackStudio complained about one of the commons-lang.jar class not found.

Then I added all jars to the WS classpath and now I see this error -
Resource: gran/model/User.hbm.xml not found

Where is this file and where should I put it?


You should put it in classpath too.

Please get it from WEB-INF/classes
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

More errors

Postby vishnuprasad » Sat Jan 24, 2004 12:09 am

Just did that .. Now I see this message

General TrackStudio error
vishnuprasad
 
Posts: 4
Joined: Thu Jan 22, 2004 12:02 am

Re: More errors

Postby admin » Sat Jan 24, 2004 1:00 am

vishnuprasad wrote:Just did that .. Now I see this message

General TrackStudio error


You should also see some error logs in stdout (but I have no ideas how to see error logs in WebSphere).

Recently one of our customers wrote me that he has similar problems (application server can't find classes in WEB-INF) on Solaris/Tomcat. And he has similar problem with iPlanet on the same server.

It seems that this problem is JDK-related, but I have no ideas why it occurs and can't duplicate it. Have you any specific options/classpath items with your WebSphere installation ?

By the way - have you any problems with other applications one the same WebSphere ?
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


Return to TrackStudio Support

Who is online

Users browsing this forum: No registered users and 0 guests

cron