Abe & Christian - Thank you for you input.

All,

For clarification I've always only had one path to a JRE in the JAVA_HOME 
variable.

This morning I have; downgraded JRE7 to my last working version (build 
1.7.0_15-b03) and ensured environment variable JAVA_HOME was correct, still no 
joy.  As the log file has always has referenced the below, I thought I'd try 
downgraded Geoserver to my last working version (2.2.3):
Error creating bean with name 'wmsDescribeLayer' [...] wms-2.2.5.jar

I wasn't sure if you just installed over as if you were upgrading (could 
someone confirm?) but just went for it; however found same error in log 
afterwards so removed all JAR files that referenced 2.2.5 (that had a 2.2.3 
equivalent) from: ...\webapps\geoserver\WEB-INF\lib

Success, Geoserver working as normal.  So I'm guessing that I messed up with 
the Geoserver upgrade.  Should the upgrade have removed any JAR files that 
referenced 2.2.3?  I've also noticed I have some 2.2.2 JAR files in that same 
folder also, could they cause any issues, have I always messed up upgrades?

I also upgraded the JRE7 to latest version (build 1.7.0_17-b02), and Geoserver 
is still working just fine on it.

So before I look to upgrading Geoserver to the latest version anything I should 
do first?  Should I go to 2.2.4 then 2.2.5? What about the "old" JAR files, 
were they the cause of my problems?  Should I remove any duplicates or is a 
clean install needed (preferably not :)).

Many thanks, any advice greatly appreciated.

Kind regards,

Rob

From: Langford, Robert
Sent: 14 March 2013 15:32
To: 'Andrea Aime'; Jonathan Moules
Cc: [email protected]
Subject: RE: [Geoserver-users] Latest JRE update problem

Jonathan/Andrea - thanks for the information.

I've downloaded & installed both the JDK7 & JRE6 and tried changing the 
JAVA_HOME variable to both directories and stop/started Geoserver.

I'm still getting the same error which starts as per the below:

2013-03-14 15:25:50,764 WARN [support.DisposableBeanAdapter] - Invocation of 
destroy method failed on bean with name 'geoServerLoader': 
org.springframework.beans.factory.BeanCreationNotAllowedException: Error 
creating bean with name 'GWCLifeCycleHandler': Singleton bean creation not 
allowed while the singletons of this factory are in destruction (Do not request 
a bean from a BeanFactory in a destroy method implementation!)
2013-03-14 15:25:50,780 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>()
[...]

Any ideas?

Rob

From: [email protected]<mailto:[email protected]> 
[mailto:[email protected]] On Behalf Of Andrea Aime
Sent: 14 March 2013 15:26
To: Jonathan Moules
Cc: Langford, Robert; 
[email protected]<mailto:[email protected]>
Subject: Re: [Geoserver-users] Latest JRE update problem

On Thu, Mar 14, 2013 at 4:16 PM, Jonathan Moules 
<[email protected]<mailto:[email protected]>> 
wrote:
So its security-up-to-date now, but the last security patch has been released 
so will get worse as time goes on (more vulnerabilities, no fixes). Given this, 
hopefully the GeoServer devs have a plan for updating to Java 7. I think its on 
their todo list.

If the past is any indication, not until most of the production systems around 
have updated to Java 7.
Which does not seem to be the case, at least judging by the servers we have 
direct access to.

That said, the 2.3.x series received some fixes to run on Java 7, but no 
serious testing.

Cheers
Andrea

--
==
Our support, Your Success! Visit http://opensdi.geo-solutions.it for more 
information.
==

Ing. Andrea Aime
@geowolf
Technical Lead

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054  Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39  339 8844549

http://www.geo-solutions.it
http://twitter.com/geosolutions_it

-------------------------------------------------------

DISCLAIMER: The information contained in this communication/message from 
[email protected] sent on Fri Mar 15 11:12:43 2013 is confidential 
and may be legally privileged. It is intended solely for the addressee(s) 
[email protected];[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