Jonathan,

Thanks for the info, I'd never heard of any problems like this.

How can I change the JRE path for the current installation?  I'll try the JDK 
and if not successful I can try JRE6 (although it definitely was working on the 
last JRE7 version I was using before the update).

Is there any possible issues (security or otherwise) using the old JRE?

Many thanks,

Rob

From: Jonathan Moules [mailto:[email protected]]
Sent: 14 March 2013 14:48
To: Langford, Robert
Cc: [email protected]
Subject: Re: [Geoserver-users] Latest JRE update problem

Hi Robert,
 I think I saw a thread a few days ago saying that it needed to be the JDK for 
Java 7.
Ah, here we are:
http://sourceforge.net/mailarchive/message.php?msg_id=30581542

I believe the general stance is that Java 7 isn't really supported currently. 
The JDK may work, and JRE6 certainly should.

Jonathan


On 14 March 2013 13:18, Langford, Robert 
<[email protected]<mailto:[email protected]>> wrote:
Hi,

Today I updated my JRE to:  jre-7u17-windows-i586

I was running Geoserver 2.2.3 on Win 2008 Server.

Following the machine restart after the Java install I noticed my Geoserver 
Service hadn't started.  From the logs I found that it wasn't finding a "valid 
JRE".  I checked the directory and it appeared the install hadn't worked (lots 
of files missing) so I reinstalled the JRE and rebooted again.

This time the Geoserver Service started just fine, however when trying to 
access the Web Admin page I got a 503 error.  As I was planning on updating 
Geoserver as well (and thought this may solve the issue) I then installed 
2.2.5; install went fine, installed as a service, valid JRE found.

However I'm still getting the 503 error.  Please see an extract from the log 
below.

Any assistance would be greatly appreciated.

Many thanks,

Rob

2013-03-14 12:59:36,620 ERROR [context.ContextLoader] - Context initialization 
failed
org.springframework.beans.factory.BeanCreationException: Error creating bean 
with name 'wmsDescribeLayer' defined in URL 
[jar:file:/C:/Program%20Files%20(x86)/GeoServer%202.2.2/webapps/geoserver/WEB-INF/lib/wms-2.2.5.jar!/applicationContext.xml]:
 Instantiation of bean failed; nested exception is 
org.springframework.beans.BeanInstantiationException: Could not instantiate 
bean class [org.geoserver.wms.DescribeLayer]: No default constructor found; 
nested exception is java.lang.NoSuchMethodException: 
org.geoserver.wms.DescribeLayer.<init>()
                at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateBean(AbstractAutowireCapableBeanFactory.java:997)
                at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:943)
                at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:485)
                at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)
                at 
org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:294)
                at 
org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:225)
                at 
org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:291)
                at 
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:193)
                at 
org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:585)
                at 
org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:913)
                at 
org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:464)
                at 
org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:385)
                at 
org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:284)
                at 
org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:111)
                at 
org.geoserver.platform.GeoServerContextLoaderListener.contextInitialized(GeoServerContextLoaderListener.java:18)
                at 
org.mortbay.jetty.handler.ContextHandler.startContext(ContextHandler.java:540)
                 at 
org.mortbay.jetty.servlet.Context.startContext(Context.java:135)
                at 
org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1220)
                at 
org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:510)
                at 
org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:448)
                at 
org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:39)
                at 
org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:152)
                at 
org.mortbay.jetty.handler.ContextHandlerCollection.doStart(ContextHandlerCollection.java:156)
                at 
org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:39)
                at 
org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:152)
                at 
org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:39)
                at 
org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:130)
                at org.mortbay.jetty.Server.doStart(Server.java:222)
                 at 
org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:39)
                at 
org.mortbay.xml.XmlConfiguration.main(XmlConfiguration.java:977)
                at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
                at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
                at java.lang.reflect.Method.invoke(Method.java:601)
                 at org.mortbay.start.Main.invokeMain(Main.java:183)
                at org.mortbay.start.Main.start(Main.java:497)
                 at org.mortbay.start.Main.main(Main.java:115)
                at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
                at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
                 at java.lang.reflect.Method.invoke(Method.java:601)
                at 
org.tanukisoftware.wrapper.WrapperSimpleApp.run(WrapperSimpleApp.java:238)
                at java.lang.Thread.run(Thread.java:722)
Caused by: org.springframework.beans.BeanInstantiationException: Could not 
instantiate bean class [org.geoserver.wms.DescribeLayer]: No default 
constructor found; nested exception is java.lang.NoSuchMethodException: 
org.geoserver.wms.DescribeLayer.<init>()
                at 
org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:72)
                at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateBean(AbstractAutowireCapableBeanFactory.java:990)
                ... 42 more
Caused by: java.lang.NoSuchMethodException: 
org.geoserver.wms.DescribeLayer.<init>()
                at java.lang.Class.getConstructor0(Class.java:2730)
                at java.lang.Class.getDeclaredConstructor(Class.java:2004)
                at 
org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:67)
                ... 43 more

DISCLAIMER: The information contained in this communication/message from 
[email protected]<mailto:[email protected]> sent on 
Thu Mar 14 13:18:46 2013 is confidential and may be legally privileged. It is 
intended solely for the addressee(s) 
[email protected]<mailto:[email protected]>

Access to this message by anyone else is unauthorised. If you are not the 
intended recipient, any disclosure, copying, or distribution of the message, or 
any action or omission taken by you in reliance on it, is prohibited and may be 
unlawful.

As a public body, Salford City Council may be required to disclose this email 
[or any response to it] under the Freedom of Information Act 2000, unless the 
information in it is covered by one of the exemptions in the Act.

Please immediately contact the sender, 
[email protected]<mailto:[email protected]> if you 
have received this message in error.



For the full disclaimer please access http://www.salford.gov.uk/e-mail.  Thank 
you.


------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_mar
_______________________ ________________________
Geoserver-users mailing list
[email protected]<mailto:[email protected]>
https://lists.sourceforge.net/lists/listinfo/geoserver-users



This transmission is intended for the named addressee(s) only and may contain 
sensitive or protectively marked material up to RESTRICTED and should be 
handled accordingly. Unless you are the named addressee (or authorised to 
receive it for the addressee) you may not copy or use it, or disclose it to 
anyone else. If you have received this transmission in error please notify the 
sender immediately. All email traffic sent to or from us, including without 
limitation all GCSX traffic, may be subject to recording and/or monitoring in 
accordance with relevant legislation.

DISCLAIMER: The information contained in this communication/message from 
[email protected] sent on Thu Mar 14 15:02:09 2013 is confidential 
and may be legally privileged. It is intended solely for the addressee(s) 
[email protected];[email protected]

Access to this message by anyone else is unauthorised. If you are not the 
intended recipient, any disclosure, copying, or distribution of the message, or 
any action or omission taken by you in reliance on it, is prohibited and may be 
unlawful.
As a public body, Salford City Council may be required to disclose this email 
[or any response to it] under the Freedom of Information Act 2000, unless the 
information in it is covered by one of the exemptions in the Act.
Please immediately contact the sender, [email protected] if you 
have received this message in error.

For the full disclaimer please access http://www.salford.gov.uk/e-mail.  Thank 
you.
------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_mar
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to