I'm trying to get the latest version of Geoserver 1.6RC1 to work with
WebSphere App Server 6 and am having no success.
It works fine with Tomcat, but I need to make it work with an existing WAS
installation which is where I am having problems.
I can install Geoserver ok, but trying to access it for the first time gives
me a class loading error.
The following exception was thrown:
org.springframework.beans.factory.BeanCreationException: Error creating bean
with name 'resultTypeKvpParser' defined in URL
[wsjar:file:/opt/IBM/WebSphere/AppServer/profiles/AppSrv01/installedApps/arcturusNode01Cell/geoserver_war.ear/geoserver.war/WEB-INF/lib/wfs-1.6.0-RC1.jar!/applicationContext.xml]:
Instantiation of bean failed; nested exception is
org.springframework.beans.FatalBeanException: Could not instantiate class
[org.geoserver.wfs.kvp.ResultTypeKvpParser]; constructor threw exception;
nested exception is java.lang.NoSuchMethodError:
org/eclipse/emf/common/util/AbstractEnumerator.(ILjava/lang/String;Ljava/lang/String;)V
Now, you can modify the way that the classes are loaded - changing it so
that it is application first (rather than parent first) gives me a different
error -
The following exception was thrown:
org.springframework.beans.factory.BeanCreationException: Error creating bean
with name 'config' defined in URL
[wsjar:file:/opt/IBM/WebSphere/AppServer/profiles/AppSrv01/installedApps/arcturusNode01Cell/geoserver_war.ear/geoserver.war/WEB-INF/lib/main-1.6.0-RC1.jar!/applicationContext.xml]:
Initialization of bean failed; nested exception is java.lang.VerifyError:
class loading constraint violated (class:
org/geotools/gce/imageio/asciigrid/AsciiGridsImageMetadata method:
getAsTree(Ljava/lang/String;)Lorg/w3c/dom/Node;) at pc: 0
Can anybody suggest what I need to do in order to get it to work in WAS?
I'm trying to get the latest version of Geoserver 1.6RC1 to work with
WebSphere App Server 6 and am having no success.
It works fine with Tomcat, but I need to make it work with an existing WAS
installation which is where I am having problems.
I can install Geoserver ok, but trying to access it for the first time gives
me a class loading error.
The following exception was thrown:
org.springframework.beans.factory.BeanCreationException: Error creating bean
with name 'resultTypeKvpParser' defined in URL
[wsjar:file:/opt/IBM/WebSphere/AppServer/profiles/AppSrv01/installedApps/arcturusNode01Cell/geoserver_war.ear/geoserver.war/WEB-INF/lib/wfs-1.6.0-RC1.jar!/applicationContext.xml]:
Instantiation of bean failed; nested exception is
org.springframework.beans.FatalBeanException: Could not instantiate class
[org.geoserver.wfs.kvp.ResultTypeKvpParser]; constructor threw exception;
nested exception is java.lang.NoSuchMethodError:
org/eclipse/emf/common/util/AbstractEnumerator.(ILjava/lang/String;Ljava/lang/String;)V
Now, you can modify the way that the classes are loaded - changing it so
that it is application first (rather than parent first) gives me a different
error -
The following exception was thrown:
org.springframework.beans.factory.BeanCreationException: Error creating bean
with name 'config' defined in URL
[wsjar:file:/opt/IBM/WebSphere/AppServer/profiles/AppSrv01/installedApps/arcturusNode01Cell/geoserver_war.ear/geoserver.war/WEB-INF/lib/main-1.6.0-RC1.jar!/applicationContext.xml]:
Initialization of bean failed; nested exception is java.lang.VerifyError:
class loading constraint violated (class:
org/geotools/gce/imageio/asciigrid/AsciiGridsImageMetadata method:
getAsTree(Ljava/lang/String;)Lorg/w3c/dom/Node;) at pc: 0
Can anybody suggest what I need to do in order to get it to work in WAS?
Sigh, it seems WAS is using a special JDK where the EMF classes are part of lib/ext. Any chance you can run WAS with another java runtime?
Cheers
Andrea
I'm trying to get the latest version of Geoserver 1.6RC1 to work with
WebSphere App Server 6 and am having no success.
It works fine with Tomcat, but I need to make it work with an existing
WAS
installation which is where I am having problems.
I can install Geoserver ok, but trying to access it for the first time
gives
me a class loading error.
The following exception was thrown:
org.springframework.beans.factory.BeanCreationException: Error creating
bean
with name 'resultTypeKvpParser' defined in URL
[wsjar:file:/opt/IBM/WebSphere/AppServer/profiles/AppSrv01/installedApps/arcturusNode01Cell/geoserver_war.ear/geoserver.war/WEB-INF/lib/wfs-1.6.0-RC1.jar!/applicationContext.xml]:
Instantiation of bean failed; nested exception is
org.springframework.beans.FatalBeanException: Could not instantiate class
[org.geoserver.wfs.kvp.ResultTypeKvpParser]; constructor threw exception;
nested exception is java.lang.NoSuchMethodError:
org/eclipse/emf/common/util/AbstractEnumerator.(ILjava/lang/String;Ljava/lang/String;)V
Sigh, it seems WAS is using a special JDK where the EMF classes are part
of lib/ext. Any chance you can run WAS with another java runtime?
Cheers
Andrea
WAS uses the IBM JDK rather than the Sun JDK. Unfortunately I'm not able to
change the JDK as other proceses are running on it. But by changing the
classloading option, I did manage to get around the EMF problem (I included
it in case I was treating a symptom of the problem rather than the cause).
The problem I have now is the second part of my original mail -
The following exception was thrown:
org.springframework.beans.factory.BeanCreationException: Error creating
bean
with name 'config' defined in URL
[wsjar:file:/opt/IBM/WebSphere/AppServer/profiles/AppSrv01/installedApps/arcturusNode01Cell/geoserver_war.ear/geoserver.war/WEB-INF/lib/main-1.6.0-RC1.jar!/applicationContext.xml]:
Initialization of bean failed; nested exception is java.lang.VerifyError:
class loading constraint violated (class:
org/geotools/gce/imageio/asciigrid/AsciiGridsImageMetadata method:
getAsTree(Ljava/lang/String;)Lorg/w3c/dom/Node;) at pc: 0
Can anybody suggest what I need to do in order to get it to work in WAS?
I'm trying to get the latest version of Geoserver 1.6RC1 to work with
WebSphere App Server 6 and am having no success.
It works fine with Tomcat, but I need to make it work with an existing
WAS
installation which is where I am having problems.
I can install Geoserver ok, but trying to access it for the first time
gives
me a class loading error.
The following exception was thrown:
org.springframework.beans.factory.BeanCreationException: Error creating
bean
with name 'resultTypeKvpParser' defined in URL
[wsjar:file:/opt/IBM/WebSphere/AppServer/profiles/AppSrv01/installedApps/arcturusNode01Cell/geoserver_war.ear/geoserver.war/WEB-INF/lib/wfs-1.6.0-RC1.jar!/applicationContext.xml]:
Instantiation of bean failed; nested exception is
org.springframework.beans.FatalBeanException: Could not instantiate class
[org.geoserver.wfs.kvp.ResultTypeKvpParser]; constructor threw exception;
nested exception is java.lang.NoSuchMethodError:
org/eclipse/emf/common/util/AbstractEnumerator.(ILjava/lang/String;Ljava/lang/String;)V
Sigh, it seems WAS is using a special JDK where the EMF classes are part of lib/ext. Any chance you can run WAS with another java runtime?
Cheers
Andrea
WAS uses the IBM JDK rather than the Sun JDK. Unfortunately I'm not able to
change the JDK as other proceses are running on it. But by changing the
classloading option, I did manage to get around the EMF problem (I included
it in case I was treating a symptom of the problem rather than the cause).
The problem I have now is the second part of my original mail -
Sorry. So, your second error is:
Initialization of bean failed; nested exception is java.lang.VerifyError:
class loading constraint violated (class:
org/geotools/gce/imageio/asciigrid/AsciiGridsImageMetadata method:
getAsTree(Ljava/lang/String;)Lorg/w3c/dom/Node;) at pc: 0
Unfortuntely I don't know what to make of this one...
None of us uses WAS nor the IBM JDK, so we are not able to reproduce
and investigate the problem...
Simone, Alessio, that class is not in GeoServer or GeoTools, it
comes from imageioext-asciigrid-1.0-rc1. Any idea of why there
is this error and about how it was built?