Hi Burt,

> It appears that this class was recently appended to sensorshell.jar. A
> version of the same file from two weeks ago did not contain the
> "org.apache.commons.**" package.
> 

BCML uses the package. I am not sure why this desturbs only Jira sensor.
Let's figure it out.

Takuya

On Wed, 20 Oct 2004 01:10:23 -1000
Burt Leung <[EMAIL PROTECTED]> wrote:

> Hello Philip,
> 
> A day or two ago I emailed hackydev about having Tomcat errors for the Jira
> installation whenever I put the sensorshell.jar file in its jar library
> folder. I figured out the source of the error.
> 
> The class that causes the exceptions is:
> sensorshell.jar/org.apache.commons.logging.Log.class
> 
> It appears that this class was recently appended to sensorshell.jar. A
> version of the same file from two weeks ago did not contain the
> "org.apache.commons.**" package.
> 
> I guess the immediate question on my mind is to resolve my situation is: can
> this Log class be removed or is it mandatory for sensorshell.jar classes? 
> 
> Thanks,
> Burt
> 
> 
> 
> > -----Original Message-----
> > From: Takuya Yamashita [mailto:[EMAIL PROTECTED]
> > Sent: Wednesday, October 20, 2004 12:09 AM
> > To: Burt Leung
> > Subject: Re: [HACKYSTAT-DEV-L:198] Re: Need help diagnosing error messages
> > 
> > Hi Burt,
> > 
> > > 2004-10-19 22:34:42,765 ERROR
> > [com.atlassian.scheduler.SchedulerLauncher]
> > > java.l
> > > ang.NoClassDefFoundError
> > > java.lang.NoClassDefFoundError
> > >         at org.objectweb.jotm.Current.<init>(Current.java:121)
> > >         at
> > > org.objectweb.jotm.UserTransactionFactory.getObjectInstance(UserTrans
> > > actionFactory.java:45)
> > >         at
> > 
> > Did you try to add the jar file which includes the
> > com.atlassian.scheduler.SchedulerLauncher
> > package? NoClassDefFoundError usually takes place if you already
> > complied your codes with the classes (jars), but not exist in the
> > runtime.
> > 
> > This would be possible solution to try. Try to put the jar files
> > (atlassian-scheduler-0.6.6.jar)
> > in the tomcat dir which contains the above class and do it again.
> > Actually I guess you don't need to put it into tomcat dir
> > right because hackystat uses the hot deploy function? what you might do
> > is to put atlassian-scheduler-0.6.6.jar into
> > hackyBuild\build\war\WEB-INF\lib dir and try it again.
> > 
> > Please let me know if it works for you.
> > 
> > Takuya
> > 
> > On Tue, 19 Oct 2004 23:46:45 -1000
> > Burt Leung <[EMAIL PROTECTED]> wrote:
> > 
> > > Hello Takuya,
> > >
> > > I have a problem I was hoping you could shed some light on.
> > >
> > > When I place the newest version of sensorshell.jar in the Jira tomcat
> > jar
> > > library folder it gives a fatal error. Placing a sensorshell.jar from
> > two
> > > weeks ago does not give the problem. I have pasted the tomcat startup
> > errors
> > > below, after Hongbing's message.
> > >
> > > Hongbing mentioned you solved an error involving logging recently. Can
> > you
> > > tell me what the problem and the solution was? Was it a missing class
> > file?
> > > If so which file was this?
> > >
> > > Anyway, thank you for your help.
> > >
> > > Sincerely,
> > > Burt
> > >
> > >
> > >
> > > > -----Original Message-----
> > > > From: Hongbing Kou [mailto:[EMAIL PROTECTED]
> > > > Sent: Tuesday, October 19, 2004 8:40 PM
> > > > To: Burt Leung
> > > > Subject: RE: [HACKYSTAT-DEV-L:198] Re: Need help diagnosing error
> > messages
> > > >
> > > > Hi, Burt,
> > > >
> > > > I meant it is a similar problem/Exception not saying it is the same
> > class
> > > > missing.
> > > > Takuya's problem is on Eclipse sensor which doesn't have concrete
> > logging
> > > > implementation. I think you should look at
> > > >
> > > > org.objectweb.jotm.UserTransactionFactory.getObjectInstance(UserTrans
> > > > actionFactory.java:45)
> > > >
> > > > to check out what it looks for. I totally have no clue which class
> > > > implementation
> > > > is missing from the error message. You can also contact Takuya for
> > hint.
> > > >
> > > > Thanks,
> > > > Hongbing
> > >
> > >
> > >
> > > [INFO] Http11Protocol - -Initializing Coyote HTTP/1.1 on port 8181
> > > Starting service Tomcat-Standalone
> > > Apache Tomcat/4.1.29
> > > 2004-10-19 22:34:41,640 WARN
> > [atlassian.jira.upgrade.ConsistencyCheckImpl]
> > > Detec
> > > ted that you are using Tomcat or Websphere - turned off all
> > transactions.
> > >
> > > Could not check database connection. Check your entityengine.xml
> > settings:
> > > java.
> > > lang.ExceptionInInitializerError
> > > java.lang.ExceptionInInitializerError
> > >         at org.objectweb.jotm.Current.<init>(Current.java:121)
> > >         at
> > > org.objectweb.jotm.UserTransactionFactory.getObjectInstance(UserTrans
> > > actionFactory.java:45)
> > >         at
> > > org.apache.naming.factory.TransactionFactory.getObjectInstance(Transa
> > > ctionFactory.java:154)
> > >         at
> > > javax.naming.spi.NamingManager.getObjectInstance(NamingManager.java:3
> > > 01)
> > >         at
> > org.apache.naming.NamingContext.lookup(NamingContext.java:834)
> > >         at
> > org.apache.naming.NamingContext.lookup(NamingContext.java:181)
> > >         at
> > org.apache.naming.NamingContext.lookup(NamingContext.java:822)
> > >         at
> > org.apache.naming.NamingContext.lookup(NamingContext.java:194)
> > >         at
> > > org.apache.naming.SelectorContext.lookup(SelectorContext.java:183)
> > >         at javax.naming.InitialContext.lookup(InitialContext.java:347)
> > >         at
> > > org.ofbiz.core.entity.transaction.JNDIFactory.getUserTransaction(JNDI
> > > Factory.java:109)
> > >         at
> > > org.ofbiz.core.entity.TransactionFactory.getUserTransaction(Transacti
> > > onFactory.java:91)
> > >         at
> > > org.ofbiz.core.entity.TransactionUtil.getStatus(TransactionUtil.java:
> > > 78)
> > >         at
> > > org.ofbiz.core.entity.jdbc.SQLProcessor.getConnection(SQLProcessor.ja
> > > va:244)
> > >         at
> > > org.ofbiz.core.entity.jdbc.SQLProcessor.prepareStatement(SQLProcessor
> > > java:283)
> > >         at
> > > org.ofbiz.core.entity.GenericDAO.selectListIteratorByCondition(Generi
> > > cDAO.java:1024)
> > >         at
> > org.ofbiz.core.entity.GenericDAO.selectByAnd(GenericDAO.java:595)
> > >         at
> > > org.ofbiz.core.entity.GenericHelperDAO.findByAnd(GenericHelperDAO.jav
> > > a:134)
> > >         at
> > > org.ofbiz.core.entity.GenericDelegator.findByAnd(GenericDelegator.jav
> > > a:782)
> > >         at
> > > org.ofbiz.core.entity.GenericDelegator.findByAnd(GenericDelegator.jav
> > > a:767)
> > >         at
> > > org.ofbiz.core.entity.GenericDelegator.findAll(GenericDelegator.java:
> > > 696)
> > >         at
> > > com.atlassian.jira.upgrade.ConsistencyCheckImpl.checkConnection(Consi
> > > stencyCheckImpl.java:197)
> > >         at
> > > com.atlassian.jira.upgrade.ConsistencyCheckImpl.checkConsistency(Cons
> > > istencyCheckImpl.java:143)
> > >         at
> > > com.atlassian.jira.upgrade.ConsistencyCheckImpl.initialise(Consistenc
> > > yCheckImpl.java:133)
> > >         at
> > > com.atlassian.jira.upgrade.ConsistencyLauncher.contextInitialized(Con
> > > sistencyLauncher.java:23)
> > >         at
> > > org.apache.catalina.core.StandardContext.listenerStart(StandardContex
> > > t.java:3271)
> > >         at
> > > org.apache.catalina.core.StandardContext.start(StandardContext.java:3
> > > 613)
> > >         at
> > > org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1188)
> > >
> > >         at
> > > org.apache.catalina.core.StandardHost.start(StandardHost.java:754)
> > >         at
> > > org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1188)
> > >
> > >         at
> > > org.apache.catalina.core.StandardEngine.start(StandardEngine.java:363
> > > )
> > >         at
> > > org.apache.catalina.core.StandardService.start(StandardService.java:4
> > > 97)
> > >         at
> > > org.apache.catalina.core.StandardServer.start(StandardServer.java:219
> > > 0)
> > >         at org.apache.catalina.startup.Catalina.start(Catalina.java:512)
> > >         at
> > org.apache.catalina.startup.Catalina.execute(Catalina.java:400)
> > >         at
> > org.apache.catalina.startup.Catalina.process(Catalina.java:180)
> > >         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> > >         at
> > > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
> > > java:39)
> > >         at
> > > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
> > > sorImpl.java:25)
> > >         at java.lang.reflect.Method.invoke(Method.java:324)
> > >         at
> > org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:203)
> > > Caused by: org.apache.commons.logging.LogConfigurationException:
> > > org.apache.comm
> > > ons.logging.LogConfigurationException:
> > > org.apache.commons.logging.LogConfigurati
> > > onException: Class org.apache.commons.logging.impl.SimpleLog does not
> > > implement
> > > Log
> > >         at
> > > org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactory
> > > Impl.java:532)
> > >         at
> > > org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactory
> > > Impl.java:272)
> > >         at
> > org.apache.commons.logging.LogFactory.getLog(LogFactory.java:414)
> > >         at org.objectweb.jotm.TraceTm.<clinit>(TraceTm.java:47)
> > >         ... 41 more
> > > Caused by: org.apache.commons.logging.LogConfigurationException:
> > > org.apache.comm
> > > ons.logging.LogConfigurationException: Class
> > > org.apache.commons.logging.impl.Sim
> > > pleLog does not implement Log
> > >         at
> > > org.apache.commons.logging.impl.LogFactoryImpl.getLogConstructor(LogF
> > > actoryImpl.java:416)
> > >         at
> > > org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactory
> > > Impl.java:525)
> > >         ... 44 more
> > > Caused by: org.apache.commons.logging.LogConfigurationException: Class
> > > org.apach
> > > e.commons.logging.impl.SimpleLog does not implement Log
> > >         at
> > > org.apache.commons.logging.impl.LogFactoryImpl.getLogConstructor(LogF
> > > actoryImpl.java:412)
> > >         ... 45 more
> > > [INFO] StdSchedulerFactory - -Quartz scheduler 'JiraQuartzScheduler'
> > > initialized
> > >  from default resource file in Quartz package: 'quartz.properties'
> > > [INFO] StdSchedulerFactory - -Quartz scheduler version: 1.0.7
> > > 2004-10-19 22:34:42,765 ERROR
> > [com.atlassian.scheduler.SchedulerLauncher]
> > > java.l
> > > ang.NoClassDefFoundError
> > > java.lang.NoClassDefFoundError
> > >         at org.objectweb.jotm.Current.<init>(Current.java:121)
> > >         at
> > > org.objectweb.jotm.UserTransactionFactory.getObjectInstance(UserTrans
> > > actionFactory.java:45)
> > >         at
> > > org.apache.naming.factory.TransactionFactory.getObjectInstance(Transa
> > > ctionFactory.java:154)
> > >         at
> > > javax.naming.spi.NamingManager.getObjectInstance(NamingManager.java:3
> > > 01)
> > >         at
> > org.apache.naming.NamingContext.lookup(NamingContext.java:834)
> > >         at
> > org.apache.naming.NamingContext.lookup(NamingContext.java:181)
> > >         at
> > org.apache.naming.NamingContext.lookup(NamingContext.java:822)
> > >         at
> > org.apache.naming.NamingContext.lookup(NamingContext.java:194)
> > >         at
> > > org.apache.naming.SelectorContext.lookup(SelectorContext.java:183)
> > >         at javax.naming.InitialContext.lookup(InitialContext.java:347)
> > >         at
> > > org.ofbiz.core.entity.transaction.JNDIFactory.getUserTransaction(JNDI
> > > Factory.java:109)
> > >         at
> > > org.ofbiz.core.entity.TransactionFactory.getUserTransaction(Transacti
> > > onFactory.java:91)
> > >         at
> > > org.ofbiz.core.entity.TransactionUtil.getStatus(TransactionUtil.java:
> > > 78)
> > >         at
> > > org.ofbiz.core.entity.jdbc.SQLProcessor.getConnection(SQLProcessor.ja
> > > va:244)
> > >         at
> > > org.ofbiz.core.entity.jdbc.SQLProcessor.prepareStatement(SQLProcessor
> > > java:283)
> > >         at
> > > org.ofbiz.core.entity.GenericDAO.selectListIteratorByCondition(Generi
> > > cDAO.java:1024)
> > >         at
> > org.ofbiz.core.entity.GenericDAO.selectByAnd(GenericDAO.java:595)
> > >         at
> > > org.ofbiz.core.entity.GenericHelperDAO.findByAnd(GenericHelperDAO.jav
> > > a:134)
> > >         at
> > > org.ofbiz.core.entity.GenericDelegator.findByAnd(GenericDelegator.jav
> > > a:782)
> > >         at
> > > org.ofbiz.core.entity.GenericDelegator.findByAnd(GenericDelegator.jav
> > > a:767)
> > >         at
> > > org.ofbiz.core.entity.GenericDelegator.findAll(GenericDelegator.java:
> > > 696)
> > >         at
> > > com.atlassian.scheduler.OfBizJobStore.initialise(OfBizJobStore.java:6
> > > 1)
> > >         at
> > > com.atlassian.scheduler.OfBizJobStore.storeJob(OfBizJobStore.java:144
> > > )
> > >         at
> > > com.atlassian.scheduler.OfBizJobStore.storeJob(OfBizJobStore.java:138
> > > )
> > >         at
> > > com.atlassian.scheduler.OfBizJobStore.storeJobAndTrigger(OfBizJobStor
> > > e.java:131)
> > >         at
> > > org.quartz.core.QuartzScheduler.scheduleJob(QuartzScheduler.java:489)
> > >
> > >         at
> > org.quartz.impl.StdScheduler.scheduleJob(StdScheduler.java:212)
> > >         at
> > > com.atlassian.scheduler.SchedulerLauncher.contextInitialized(Schedule
> > > rLauncher.java:40)
> > >         at
> > > org.apache.catalina.core.StandardContext.listenerStart(StandardContex
> > > t.java:3271)
> > >         at
> > > org.apache.catalina.core.StandardContext.start(StandardContext.java:3
> > > 613)
> > >         at
> > > org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1188)
> > >
> > >         at
> > > org.apache.catalina.core.StandardHost.start(StandardHost.java:754)
> > >         at
> > > org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1188)
> > >
> > >         at
> > > org.apache.catalina.core.StandardEngine.start(StandardEngine.java:363
> > > )
> > >         at
> > > org.apache.catalina.core.StandardService.start(StandardService.java:4
> > > 97)
> > >         at
> > > org.apache.catalina.core.StandardServer.start(StandardServer.java:219
> > > 0)
> > >         at org.apache.catalina.startup.Catalina.start(Catalina.java:512)
> > >         at
> > org.apache.catalina.startup.Catalina.execute(Catalina.java:400)
> > >         at
> > org.apache.catalina.startup.Catalina.process(Catalina.java:180)
> > >         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> > >         at
> > > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
> > > java:39)
> > >         at
> > > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
> > > sorImpl.java:25)
> > >         at java.lang.reflect.Method.invoke(Method.java:324)
> > >         at
> > org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:203)
> > > [INFO] QuartzScheduler - -Scheduler JiraQuartzScheduler_$_NON_CLUSTERED
> > > shutting
> > >  down.
> > > [INFO] QuartzScheduler - -Scheduler JiraQuartzScheduler_$_NON_CLUSTERED
> > > paused.
> > > [INFO] QuartzScheduler - -Scheduler JiraQuartzScheduler_$_NON_CLUSTERED
> > > shutdown
> > >  complete.
> > > 2004-10-19 22:34:42,968 ERROR
> > [atlassian.jira.service.DefaultServiceManager]
> > > Cou
> > > ld not configure services:
> > > java.lang.NoClassDefFoundError
> > >         at org.objectweb.jotm.Current.<init>(Current.java:121)
> > >         at
> > > org.objectweb.jotm.UserTransactionFactory.getObjectInstance(UserTrans
> > > actionFactory.java:45)
> > >         at
> > > org.apache.naming.factory.TransactionFactory.getObjectInstance(Transa
> > > ctionFactory.java:154)
> > >         at
> > > javax.naming.spi.NamingManager.getObjectInstance(NamingManager.java:3
> > > 01)
> > >         at
> > org.apache.naming.NamingContext.lookup(NamingContext.java:834)
> > >         at
> > org.apache.naming.NamingContext.lookup(NamingContext.java:181)
> > >         at
> > org.apache.naming.NamingContext.lookup(NamingContext.java:822)
> > >         at
> > org.apache.naming.NamingContext.lookup(NamingContext.java:194)
> > >         at
> > > org.apache.naming.SelectorContext.lookup(SelectorContext.java:183)
> > >         at javax.naming.InitialContext.lookup(InitialContext.java:347)
> > >         at
> > > org.ofbiz.core.entity.transaction.JNDIFactory.getUserTransaction(JNDI
> > > Factory.java:109)
> > >         at
> > > org.ofbiz.core.entity.TransactionFactory.getUserTransaction(Transacti
> > > onFactory.java:91)
> > >         at
> > > org.ofbiz.core.entity.TransactionUtil.getStatus(TransactionUtil.java:
> > > 78)
> > >         at
> > > org.ofbiz.core.entity.jdbc.SQLProcessor.getConnection(SQLProcessor.ja
> > > va:244)
> > >         at
> > > org.ofbiz.core.entity.jdbc.SQLProcessor.prepareStatement(SQLProcessor
> > > java:283)
> > >         at
> > > org.ofbiz.core.entity.GenericDAO.selectListIteratorByCondition(Generi
> > > cDAO.java:1024)
> > >         at
> > org.ofbiz.core.entity.GenericDAO.selectByAnd(GenericDAO.java:595)
> > >         at
> > > org.ofbiz.core.entity.GenericHelperDAO.findByAnd(GenericHelperDAO.jav
> > > a:134)
> > >         at
> > > org.ofbiz.core.entity.GenericDelegator.findByAnd(GenericDelegator.jav
> > > a:782)
> > >         at
> > > org.ofbiz.core.entity.GenericDelegator.findByAnd(GenericDelegator.jav
> > > a:767)
> > >         at
> > > org.ofbiz.core.entity.GenericDelegator.findAll(GenericDelegator.java:
> > > 696)
> > >         at
> > > com.atlassian.jira.service.DefaultServiceManager.loadServices(Default
> > > ServiceManager.java:56)
> > >         at
> > > com.atlassian.jira.service.DefaultServiceManager.getServices(DefaultS
> > > erviceManager.java:40)
> > >         at
> > > com.atlassian.jira.upgrade.ConsistencyCheckImpl.destroy(ConsistencyCh
> > > eckImpl.java:63)
> > >         at
> > > com.atlassian.jira.upgrade.ConsistencyLauncher.contextDestroyed(Consi
> > > stencyLauncher.java:29)
> > >         at
> > > org.apache.catalina.core.StandardContext.listenerStop(StandardContext
> > > java:3311)
> > >         at
> > > org.apache.catalina.core.StandardContext.stop(StandardContext.java:36
> > > 77)
> > >         at
> > > org.apache.catalina.core.StandardContext.start(StandardContext.java:3
> > > 636)
> > >         at
> > > org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1188)
> > >
> > >         at
> > > org.apache.catalina.core.StandardHost.start(StandardHost.java:754)
> > >         at
> > > org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1188)
> > >
> > >         at
> > > org.apache.catalina.core.StandardEngine.start(StandardEngine.java:363
> > > )
> > >         at
> > > org.apache.catalina.core.StandardService.start(StandardService.java:4
> > > 97)
> > >         at
> > > org.apache.catalina.core.StandardServer.start(StandardServer.java:219
> > > 0)
> > >         at org.apache.catalina.startup.Catalina.start(Catalina.java:512)
> > >         at
> > org.apache.catalina.startup.Catalina.execute(Catalina.java:400)
> > >         at
> > org.apache.catalina.startup.Catalina.process(Catalina.java:180)
> > >         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> > >         at
> > > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
> > > java:39)
> > >         at
> > > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
> > > sorImpl.java:25)
> > >         at java.lang.reflect.Method.invoke(Method.java:324)
> > >         at
> > org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:203)
> > > [INFO] Http11Protocol - -Starting Coyote HTTP/1.1 on port 8181
> > 
> > 
> > 
> > ================================
> > Takuya Yamashita
> > E-mail: [EMAIL PROTECTED]
> > ================================



================================
Takuya Yamashita
E-mail: [EMAIL PROTECTED]
================================

Reply via email to