Re: JDK 1.6.0 to JDK 1.5.0 downgrade, plz help

2006-01-22 Thread David Jencks


On Jan 22, 2006, at 3:33 PM, Edson Carlos Ericksson Richter wrote:

Well, I'm migrating all my apps from Tomcat 5.5.12 JDK 1.5.0_06 to  
Geronimo 1.0 with JDK 1.5.0_06 (it's a must have, because my apps  
rely heavly on generics). But may be I get a lot of problems in  
future, since my apps are running during one day only...


I expect that if you can get geronimo to start and your apps to  
deploy on jdk 1.5, you will not have any problems.  The problems with  
jdk 1.5 that we know about all involve corba or the QName class Matt  
mentioned and prevent either geronimo starting or an application  
deploying.  If those work I think it is unlikely you will find any  
further jdk specific problems.


thanks
david jencks




Richter

Matt Hogstrom escreveu:

The problem isn't really a DayTrader problem it just happens to  
surface that there is an issue with the following class  
javax.xml.namespace.QName.  Geronimo has its own version of QName  
which is not the same as the one shipped in JDK 1.5.0.  As a  
result it can't be deserialized.  JDK 5.0 is a high priority for  
us and this will be addressed in the near future but I don't have  
an exact date.


One way to correct this problem is to build Geronimo with 1.5.0  
but there will be a whole raft of other issues.


Edson Carlos Ericksson Richter wrote:

Yes, I could see. After downloading a new Geronimo-Jetty, I got  
same error, so it's not 1.6 related. daytrader just doesn't work  
with 1.5 as well.


Thanks for your patience.

Richter

Aaron Mulder escreveu:

I know we've seen errors running daytrader under 1.5, even  
having only

ever run on 1.4.2 before.

Thanks,
   Aaron














Re: JDK 1.6.0 to JDK 1.5.0 downgrade, plz help

2006-01-22 Thread Edson Carlos Ericksson Richter
Well, I'm migrating all my apps from Tomcat 5.5.12 JDK 1.5.0_06 to 
Geronimo 1.0 with JDK 1.5.0_06 (it's a must have, because my apps rely 
heavly on generics). But may be I get a lot of problems in future, since 
my apps are running during one day only...



Richter

Matt Hogstrom escreveu:

The problem isn't really a DayTrader problem it just happens to 
surface that there is an issue with the following class 
javax.xml.namespace.QName.  Geronimo has its own version of QName 
which is not the same as the one shipped in JDK 1.5.0.  As a result it 
can't be deserialized.  JDK 5.0 is a high priority for us and this 
will be addressed in the near future but I don't have an exact date.


One way to correct this problem is to build Geronimo with 1.5.0 but 
there will be a whole raft of other issues.


Edson Carlos Ericksson Richter wrote:

Yes, I could see. After downloading a new Geronimo-Jetty, I got same 
error, so it's not 1.6 related. daytrader just doesn't work with 1.5 
as well.


Thanks for your patience.

Richter

Aaron Mulder escreveu:


I know we've seen errors running daytrader under 1.5, even having only
ever run on 1.4.2 before.

Thanks,
   Aaron
 












Re: JDK 1.6.0 to JDK 1.5.0 downgrade, plz help

2006-01-22 Thread Matt Hogstrom
The problem isn't really a DayTrader problem it just happens to surface that 
there is an issue with the following class javax.xml.namespace.QName.  Geronimo 
has its own version of QName which is not the same as the one shipped in JDK 
1.5.0.  As a result it can't be deserialized.  JDK 5.0 is a high priority for us 
and this will be addressed in the near future but I don't have an exact date.


One way to correct this problem is to build Geronimo with 1.5.0 but there will 
be a whole raft of other issues.


Edson Carlos Ericksson Richter wrote:
Yes, I could see. After downloading a new Geronimo-Jetty, I got same 
error, so it's not 1.6 related. daytrader just doesn't work with 1.5 as 
well.


Thanks for your patience.

Richter

Aaron Mulder escreveu:


I know we've seen errors running daytrader under 1.5, even having only
ever run on 1.4.2 before.

Thanks,
   Aaron
 








Re: JDK 1.6.0 to JDK 1.5.0 downgrade, plz help

2006-01-21 Thread Edson Carlos Ericksson Richter
Yes, I could see. After downloading a new Geronimo-Jetty, I got same 
error, so it's not 1.6 related. daytrader just doesn't work with 1.5 as 
well.


Thanks for your patience.

Richter

Aaron Mulder escreveu:


I know we've seen errors running daytrader under 1.5, even having only
ever run on 1.4.2 before.

Thanks,
   Aaron
 





Re: JDK 1.6.0 to JDK 1.5.0 downgrade, plz help

2006-01-21 Thread Aaron Mulder
I know we've seen errors running daytrader under 1.5, even having only
ever run on 1.4.2 before.

Thanks,
Aaron

On 1/21/06, Edson Carlos Ericksson Richter
<[EMAIL PROTECTED]> wrote:
> I have uninstalled daytrader EAR app. This stoped the error, but not
> explain why this is happening. I'll do more research to know if I have
> older derby jars in my classpath or wrongly installed as lib/ext in past.
>
> Richter
>
> Edson Carlos Ericksson Richter escreveu:
>
> > After trying to run (unintentionally) Geronimo under JDK 1.6.0 I got
> > several erros starting under JDK 1.5.0.
> > For a first attempt, I deleted folder Work (/var/catalina/work). Is
> > this the correct behaviour? Or there is something else I should do?
> > Could this be in a FAQ?
> >
> > The stacktrace is:
> >
> >
> > 21:59:14,718 ERROR [GBeanInstance] Problem in doFail of
> > geronimo.server:J2EEApplication=geronimo/daytrader-derby-tomcat/1.0/car,J2EEServer=geronimo,j2eeType=WebModule,name=daytrader-web-1.0.war
> >
> > java.lang.NullPointerException
> >at
> > org.apache.geronimo.tomcat.TomcatContainer.removeContext(TomcatContainer.java:305)
> >
> >at
> > org.apache.geronimo.tomcat.TomcatContainer$$FastClassByCGLIB$$9370b073.invoke()
> >
> >at net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java:53)
> >at
> > org.apache.geronimo.gbean.runtime.FastMethodInvoker.invoke(FastMethodInvoker.java:38)
> >
> >at
> > org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:118)
> >
> >at
> > org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:800)
> >
> >at
> > org.apache.geronimo.gbean.runtime.RawInvoker.invoke(RawInvoker.java:57)
> >at
> > org.apache.geronimo.kernel.basic.RawOperationInvoker.invoke(RawOperationInvoker.java:36)
> >
> >at
> > org.apache.geronimo.kernel.basic.ProxyMethodInterceptor.intercept(ProxyMethodInterceptor.java:96)
> >
> >at
> > org.apache.geronimo.tomcat.TomcatContainer$$EnhancerByCGLIB$$442a1529.removeContext()
> >
> >at
> > org.apache.geronimo.tomcat.TomcatWebAppContext.doFail(TomcatWebAppContext.java:424)
> >
> >at
> > org.apache.geronimo.gbean.runtime.GBeanInstance.createInstance(GBeanInstance.java:955)
> >
> >at
> > org.apache.geronimo.gbean.runtime.GBeanInstanceState.attemptFullStart(GBeanInstanceState.java:325)
> >
> >at
> > org.apache.geronimo.gbean.runtime.GBeanInstanceState.start(GBeanInstanceState.java:110)
> >
> >at
> > org.apache.geronimo.gbean.runtime.GBeanInstance.start(GBeanInstance.java:520)
> >
> >at
> > org.apache.geronimo.gbean.runtime.GBeanDependency.attemptFullStart(GBeanDependency.java:191)
> >
> >at
> > org.apache.geronimo.gbean.runtime.GBeanDependency.targetAdded(GBeanDependency.java:164)
> >
> >at
> > org.apache.geronimo.gbean.runtime.GBeanDependency.addTarget(GBeanDependency.java:287)
> >
> >at
> > org.apache.geronimo.gbean.runtime.GBeanDependency$1.running(GBeanDependency.java:200)
> >
> >at
> > org.apache.geronimo.kernel.basic.BasicLifecycleMonitor.fireRunningEvent(BasicLifecycleMonitor.java:155)
> >
> >at
> > org.apache.geronimo.kernel.basic.BasicLifecycleMonitor.access$300(BasicLifecycleMonitor.java:38)
> >
> >at
> > org.apache.geronimo.kernel.basic.BasicLifecycleMonitor$RawLifecycleBroadcaster.fireRunningEvent(BasicLifecycleMonitor.java:231)
> >
> >at
> > org.apache.geronimo.gbean.runtime.GBeanInstanceState.attemptFullStart(GBeanInstanceState.java:350)
> >
> >at
> > org.apache.geronimo.gbean.runtime.GBeanInstanceState.start(GBeanInstanceState.java:110)
> >
> >at
> > org.apache.geronimo.gbean.runtime.GBeanInstanceState.startRecursive(GBeanInstanceState.java:132)
> >
> >at
> > org.apache.geronimo.gbean.runtime.GBeanInstance.startRecursive(GBeanInstance.java:537)
> >
> >at
> > org.apache.geronimo.kernel.basic.BasicKernel.startRecursiveGBean(BasicKernel.java:208)
> >
> >at
> > org.apache.geronimo.kernel.config.Configuration.startRecursiveGBeans(Configuration.java:315)
> >
> >at
> > org.apache.geronimo.kernel.config.Configuration$$FastClassByCGLIB$$7f4b4a9b.invoke()
> >
> >at net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java:53)
> >at
> > org.apache.geronimo.gbean.runtime.FastMethodInvoker.invoke(FastMethodInvoker.java:38)
> >
> >at
> > org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:118)
> >
> >at
> > org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:835)
> >
> >at
> > org.apache.geronimo.kernel.basic.BasicKernel.invoke(BasicKernel.java:178)
> >at
> > org.apache.geronimo.kernel.basic.BasicKernel.invoke(BasicKernel.java:173)
> >at
> > org.apache.geronimo.kernel.config.ConfigurationManagerImpl.start(ConfigurationManagerImpl.java:142)
> >
> >at
> > org.apache.geronimo.kernel.config.ConfigurationManagerImpl$$FastClassByCGLIB$$fbed85d2.invoke()
> >
> >at net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java:53)
> >at
> > org.apache.geronimo.gbean.runti

Re: JDK 1.6.0 to JDK 1.5.0 downgrade, plz help

2006-01-21 Thread Edson Carlos Ericksson Richter
I have uninstalled daytrader EAR app. This stoped the error, but not 
explain why this is happening. I'll do more research to know if I have 
older derby jars in my classpath or wrongly installed as lib/ext in past.


Richter

Edson Carlos Ericksson Richter escreveu:

After trying to run (unintentionally) Geronimo under JDK 1.6.0 I got 
several erros starting under JDK 1.5.0.
For a first attempt, I deleted folder Work (/var/catalina/work). Is 
this the correct behaviour? Or there is something else I should do? 
Could this be in a FAQ?


The stacktrace is:


21:59:14,718 ERROR [GBeanInstance] Problem in doFail of 
geronimo.server:J2EEApplication=geronimo/daytrader-derby-tomcat/1.0/car,J2EEServer=geronimo,j2eeType=WebModule,name=daytrader-web-1.0.war 


java.lang.NullPointerException
   at 
org.apache.geronimo.tomcat.TomcatContainer.removeContext(TomcatContainer.java:305) 

   at 
org.apache.geronimo.tomcat.TomcatContainer$$FastClassByCGLIB$$9370b073.invoke() 


   at net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java:53)
   at 
org.apache.geronimo.gbean.runtime.FastMethodInvoker.invoke(FastMethodInvoker.java:38) 

   at 
org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:118) 

   at 
org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:800) 

   at 
org.apache.geronimo.gbean.runtime.RawInvoker.invoke(RawInvoker.java:57)
   at 
org.apache.geronimo.kernel.basic.RawOperationInvoker.invoke(RawOperationInvoker.java:36) 

   at 
org.apache.geronimo.kernel.basic.ProxyMethodInterceptor.intercept(ProxyMethodInterceptor.java:96) 

   at 
org.apache.geronimo.tomcat.TomcatContainer$$EnhancerByCGLIB$$442a1529.removeContext() 

   at 
org.apache.geronimo.tomcat.TomcatWebAppContext.doFail(TomcatWebAppContext.java:424) 

   at 
org.apache.geronimo.gbean.runtime.GBeanInstance.createInstance(GBeanInstance.java:955) 

   at 
org.apache.geronimo.gbean.runtime.GBeanInstanceState.attemptFullStart(GBeanInstanceState.java:325) 

   at 
org.apache.geronimo.gbean.runtime.GBeanInstanceState.start(GBeanInstanceState.java:110) 

   at 
org.apache.geronimo.gbean.runtime.GBeanInstance.start(GBeanInstance.java:520) 

   at 
org.apache.geronimo.gbean.runtime.GBeanDependency.attemptFullStart(GBeanDependency.java:191) 

   at 
org.apache.geronimo.gbean.runtime.GBeanDependency.targetAdded(GBeanDependency.java:164) 

   at 
org.apache.geronimo.gbean.runtime.GBeanDependency.addTarget(GBeanDependency.java:287) 

   at 
org.apache.geronimo.gbean.runtime.GBeanDependency$1.running(GBeanDependency.java:200) 

   at 
org.apache.geronimo.kernel.basic.BasicLifecycleMonitor.fireRunningEvent(BasicLifecycleMonitor.java:155) 

   at 
org.apache.geronimo.kernel.basic.BasicLifecycleMonitor.access$300(BasicLifecycleMonitor.java:38) 

   at 
org.apache.geronimo.kernel.basic.BasicLifecycleMonitor$RawLifecycleBroadcaster.fireRunningEvent(BasicLifecycleMonitor.java:231) 

   at 
org.apache.geronimo.gbean.runtime.GBeanInstanceState.attemptFullStart(GBeanInstanceState.java:350) 

   at 
org.apache.geronimo.gbean.runtime.GBeanInstanceState.start(GBeanInstanceState.java:110) 

   at 
org.apache.geronimo.gbean.runtime.GBeanInstanceState.startRecursive(GBeanInstanceState.java:132) 

   at 
org.apache.geronimo.gbean.runtime.GBeanInstance.startRecursive(GBeanInstance.java:537) 

   at 
org.apache.geronimo.kernel.basic.BasicKernel.startRecursiveGBean(BasicKernel.java:208) 

   at 
org.apache.geronimo.kernel.config.Configuration.startRecursiveGBeans(Configuration.java:315) 

   at 
org.apache.geronimo.kernel.config.Configuration$$FastClassByCGLIB$$7f4b4a9b.invoke() 


   at net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java:53)
   at 
org.apache.geronimo.gbean.runtime.FastMethodInvoker.invoke(FastMethodInvoker.java:38) 

   at 
org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:118) 

   at 
org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:835) 

   at 
org.apache.geronimo.kernel.basic.BasicKernel.invoke(BasicKernel.java:178)
   at 
org.apache.geronimo.kernel.basic.BasicKernel.invoke(BasicKernel.java:173)
   at 
org.apache.geronimo.kernel.config.ConfigurationManagerImpl.start(ConfigurationManagerImpl.java:142) 

   at 
org.apache.geronimo.kernel.config.ConfigurationManagerImpl$$FastClassByCGLIB$$fbed85d2.invoke() 


   at net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java:53)
   at 
org.apache.geronimo.gbean.runtime.FastMethodInvoker.invoke(FastMethodInvoker.java:38) 

   at 
org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:118) 

   at 
org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:800) 

   at 
org.apache.geronimo.gbean.runtime.RawInvoker.invoke(RawInvoker.java:57)
   at 
org.apache.geronimo.kernel.basic.RawOperationInvoker.invoke(RawOperationInvoker.java:36) 

   at 
org.apache.geronimo.kernel.basic.ProxyMethodInterceptor.intercept(ProxyMethodInterceptor.java:96) 

   at 
org.apache.geronimo.kernel.config.Con

JDK 1.6.0 to JDK 1.5.0 downgrade, plz help

2006-01-21 Thread Edson Carlos Ericksson Richter
After trying to run (unintentionally) Geronimo under JDK 1.6.0 I got 
several erros starting under JDK 1.5.0.
For a first attempt, I deleted folder Work (/var/catalina/work). Is this 
the correct behaviour? Or there is something else I should do? Could 
this be in a FAQ?


The stacktrace is:


21:59:14,718 ERROR [GBeanInstance] Problem in doFail of 
geronimo.server:J2EEApplication=geronimo/daytrader-derby-tomcat/1.0/car,J2EEServer=geronimo,j2eeType=WebModule,name=daytrader-web-1.0.war

java.lang.NullPointerException
   at 
org.apache.geronimo.tomcat.TomcatContainer.removeContext(TomcatContainer.java:305)
   at 
org.apache.geronimo.tomcat.TomcatContainer$$FastClassByCGLIB$$9370b073.invoke()

   at net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java:53)
   at 
org.apache.geronimo.gbean.runtime.FastMethodInvoker.invoke(FastMethodInvoker.java:38)
   at 
org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:118)
   at 
org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:800)
   at 
org.apache.geronimo.gbean.runtime.RawInvoker.invoke(RawInvoker.java:57)
   at 
org.apache.geronimo.kernel.basic.RawOperationInvoker.invoke(RawOperationInvoker.java:36)
   at 
org.apache.geronimo.kernel.basic.ProxyMethodInterceptor.intercept(ProxyMethodInterceptor.java:96)
   at 
org.apache.geronimo.tomcat.TomcatContainer$$EnhancerByCGLIB$$442a1529.removeContext()
   at 
org.apache.geronimo.tomcat.TomcatWebAppContext.doFail(TomcatWebAppContext.java:424)
   at 
org.apache.geronimo.gbean.runtime.GBeanInstance.createInstance(GBeanInstance.java:955)
   at 
org.apache.geronimo.gbean.runtime.GBeanInstanceState.attemptFullStart(GBeanInstanceState.java:325)
   at 
org.apache.geronimo.gbean.runtime.GBeanInstanceState.start(GBeanInstanceState.java:110)
   at 
org.apache.geronimo.gbean.runtime.GBeanInstance.start(GBeanInstance.java:520)
   at 
org.apache.geronimo.gbean.runtime.GBeanDependency.attemptFullStart(GBeanDependency.java:191)
   at 
org.apache.geronimo.gbean.runtime.GBeanDependency.targetAdded(GBeanDependency.java:164)
   at 
org.apache.geronimo.gbean.runtime.GBeanDependency.addTarget(GBeanDependency.java:287)
   at 
org.apache.geronimo.gbean.runtime.GBeanDependency$1.running(GBeanDependency.java:200)
   at 
org.apache.geronimo.kernel.basic.BasicLifecycleMonitor.fireRunningEvent(BasicLifecycleMonitor.java:155)
   at 
org.apache.geronimo.kernel.basic.BasicLifecycleMonitor.access$300(BasicLifecycleMonitor.java:38)
   at 
org.apache.geronimo.kernel.basic.BasicLifecycleMonitor$RawLifecycleBroadcaster.fireRunningEvent(BasicLifecycleMonitor.java:231)
   at 
org.apache.geronimo.gbean.runtime.GBeanInstanceState.attemptFullStart(GBeanInstanceState.java:350)
   at 
org.apache.geronimo.gbean.runtime.GBeanInstanceState.start(GBeanInstanceState.java:110)
   at 
org.apache.geronimo.gbean.runtime.GBeanInstanceState.startRecursive(GBeanInstanceState.java:132)
   at 
org.apache.geronimo.gbean.runtime.GBeanInstance.startRecursive(GBeanInstance.java:537)
   at 
org.apache.geronimo.kernel.basic.BasicKernel.startRecursiveGBean(BasicKernel.java:208)
   at 
org.apache.geronimo.kernel.config.Configuration.startRecursiveGBeans(Configuration.java:315)
   at 
org.apache.geronimo.kernel.config.Configuration$$FastClassByCGLIB$$7f4b4a9b.invoke()

   at net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java:53)
   at 
org.apache.geronimo.gbean.runtime.FastMethodInvoker.invoke(FastMethodInvoker.java:38)
   at 
org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:118)
   at 
org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:835)
   at 
org.apache.geronimo.kernel.basic.BasicKernel.invoke(BasicKernel.java:178)
   at 
org.apache.geronimo.kernel.basic.BasicKernel.invoke(BasicKernel.java:173)
   at 
org.apache.geronimo.kernel.config.ConfigurationManagerImpl.start(ConfigurationManagerImpl.java:142)
   at 
org.apache.geronimo.kernel.config.ConfigurationManagerImpl$$FastClassByCGLIB$$fbed85d2.invoke()

   at net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java:53)
   at 
org.apache.geronimo.gbean.runtime.FastMethodInvoker.invoke(FastMethodInvoker.java:38)
   at 
org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:118)
   at 
org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:800)
   at 
org.apache.geronimo.gbean.runtime.RawInvoker.invoke(RawInvoker.java:57)
   at 
org.apache.geronimo.kernel.basic.RawOperationInvoker.invoke(RawOperationInvoker.java:36)
   at 
org.apache.geronimo.kernel.basic.ProxyMethodInterceptor.intercept(ProxyMethodInterceptor.java:96)
   at 
org.apache.geronimo.kernel.config.ConfigurationManager$$EnhancerByCGLIB$$eecf9926.start()

   at org.apache.geronimo.system.main.Daemon.doStartup(Daemon.java:323)
   at org.apache.geronimo.system.main.Daemon.(Daemon.java:82)
   at org.apache.geronimo.system.main.Daemon.main(Daemon.java:404)
21:59:14,718 ERROR [GBeanInstanceState] Error while starting; GBean is 
now in the FAILED