[Geoserver-devel] Deploying GeoServer on WebSphere 6.0

Hello,

I deployed GeoServer 1.4.0-M2-WCS on WebSphere App Server 6.0.

However, I am obtaining the following error message when trying to run it:

GeoServer - Exception

The following exception was thrown:
*javax.servlet.UnavailableException: Error creating bean with name 'wcs' defined in URL [wsjar:file:/C:/Program Files/IBM/WebSphere/AppServer2/profiles/default/installedApps/friesianNode01Cell/geoserver_war.ear/geoserver.war/WEB-INF/lib/wcs-1.4.0-M2-WCS.jar!/applicationContext.xml]: Can't resolve reference to bean 'config' while setting property 'constructor argument'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'config' defined in URL [wsjar:file:/C:/Program Files/IBM/WebSphere/AppServer2/profiles/default/installedApps/friesianNode01Cell/geoserver_war.ear/geoserver.war/WEB-INF/lib/main-1.4.0-M2-WCS.jar!/applicationContext.xml]: Initialization of bean failed; nested exception is java.lang.NoClassDefFoundError: javax/media/jai/ParameterBlockJAI*

``

``

I have installed the java advanced imaging libraries though.

Cheers,

Adit

Adit Santokhee ha scritto:
...

The following exception was thrown:
|/javax.servlet.UnavailableException: Error creating bean with name 'wcs' defined in URL [wsjar:file:/C:/Program Files/IBM/WebSphere/AppServer2/profiles/default/installedApps/friesianNode01Cell/geoserver_war.ear/geoserver.war/WEB-INF/lib/wcs-1.4.0-M2-WCS.jar!/applicationContext.xml]: Can't resolve reference to bean 'config' while setting property 'constructor argument'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'config' defined in URL [wsjar:file:/C:/Program Files/IBM/WebSphere/AppServer2/profiles/default/installedApps/friesianNode01Cell/geoserver_war.ear/geoserver.war/WEB-INF/lib/main-1.4.0-M2-WCS.jar!/applicationContext.xml]: Initialization of bean failed; nested exception is java.lang.NoClassDefFoundError: javax/media/jai/ParameterBlockJAI/|

|/ /|

| |

|I have installed the java advanced imaging libraries though.|

Yet the error tells Geoserver classloader is not able to reach them.
Are you sure you installed JAI in the same java runtime websphere is using? If so, can you describe how you performed the install?
Moreover, is Websphere running on top of a Sun java runtime or
an IBM one? I don't know if anyone of us ever tried that.

Cheers
Andrea

I actually just executed the jai libs executables from

http://java.sun.com/products/java-media/jai/downloads/download-1_1_2_01.html

http://javashoplm.sun.com/ECom/docs/Welcome.jsp?StoreId=22&PartDetailId=jaii
o-1.0_01-oth-JPR&SiteId=JSC&TransactionId=noreg

on windows. I have a Sun java runtime JDK1.5.0_04.

Cheers,

Adit

-----Original Message-----
From: Andrea Aime [mailto:aaime@anonymised.com]
Sent: 26 October 2006 09:47
To: Adit Santokhee
Cc: geoserver-devel@lists.sourceforge.net
Subject: Re: [Geoserver-devel] Deploying GeoServer on WebSphere 6.0

Adit Santokhee ha scritto:
...

The following exception was thrown:
|/javax.servlet.UnavailableException: Error creating bean with name
'wcs' defined in URL [wsjar:file:/C:/Program

Files/IBM/WebSphere/AppServer2/profiles/default/installedApps/friesianNode01
Cell/geoserver_war.ear/geoserver.war/WEB-INF/lib/wcs-1.4.0-M2-WCS.jar!/appli
cationContext.xml]:

Can't resolve reference to bean 'config' while setting property
'constructor argument'; nested exception is
org.springframework.beans.factory.BeanCreationException: Error creating
bean with name 'config' defined in URL [wsjar:file:/C:/Program

Files/IBM/WebSphere/AppServer2/profiles/default/installedApps/friesianNode01
Cell/geoserver_war.ear/geoserver.war/WEB-INF/lib/main-1.4.0-M2-WCS.jar!/appl
icationContext.xml]:

Initialization of bean failed; nested exception is
java.lang.NoClassDefFoundError: javax/media/jai/ParameterBlockJAI/|

|/ /|

| |

|I have installed the java advanced imaging libraries though.|

Yet the error tells Geoserver classloader is not able to reach them.
Are you sure you installed JAI in the same java runtime websphere is
using? If so, can you describe how you performed the install?
Moreover, is Websphere running on top of a Sun java runtime or
an IBM one? I don't know if anyone of us ever tried that.

Cheers
Andrea

Adit Santokhee ha scritto:

I actually just executed the jai libs executables from

http://java.sun.com/products/java-media/jai/downloads/download-1_1_2_01.html

http://javashoplm.sun.com/ECom/docs/Welcome.jsp?StoreId=22&PartDetailId=jaii
o-1.0_01-oth-JPR&SiteId=JSC&TransactionId=noreg

on windows. I have a Sun java runtime JDK1.5.0_04.

Hum, that installer usually works just fine.
Are you're sure Websphere is using that jdk? Or maybe it's using the public JRE (probably not because it would lack the ability to compile jsp unless it uses the Eclipse compiler under covers, which may not be so strange now that I think about it...)
Cheers
Andrea

Hello,

WAS has it's own JDK inside. For WAS 6.0, JDK version is 1.4.2. JAI probs
have been fixed. Now im getting some problems with compiling jsp. Compiler
is using IBM specific libraries it seems:

The following exception was thrown:

com.ibm.ws.jsp.JspCoreException: /WEB-INF/pages/actionator.jsp(35,55)
JSPG0055E: Unable to create an xml attribute from name [.short] value [ %]

Adit

-----Original Message-----
From: Andrea Aime [mailto:aaime@anonymised.com]
Sent: 26 October 2006 11:16
To: Adit Santokhee
Cc: geoserver-devel@lists.sourceforge.net
Subject: Re: [Geoserver-devel] Deploying GeoServer on WebSphere 6.0

Adit Santokhee ha scritto:

I actually just executed the jai libs executables from

http://java.sun.com/products/java-media/jai/downloads/download-1_1_2_01.html

http://javashoplm.sun.com/ECom/docs/Welcome.jsp?StoreId=22&PartDetailId=jaii

o-1.0_01-oth-JPR&SiteId=JSC&TransactionId=noreg

on windows. I have a Sun java runtime JDK1.5.0_04.

Hum, that installer usually works just fine.
Are you're sure Websphere is using that jdk? Or maybe it's using the
public JRE (probably not because it would lack the ability to compile
jsp unless it uses the Eclipse compiler under covers, which may not be
so strange now that I think about it...)
Cheers
Andrea

Hi Adit,

I think the issue you're experienced could be the same than:
http://www.nabble.com/forum/ViewPost.jtp?post=230717&framed=y

There is an associated jira bug:
http://jira.codehaus.org/browse/GEOS-377

Gabriel
On Thursday 26 October 2006 13:48, Adit Santokhee wrote:

Hello,

WAS has it's own JDK inside. For WAS 6.0, JDK version is 1.4.2. JAI probs
have been fixed. Now im getting some problems with compiling jsp. Compiler
is using IBM specific libraries it seems:

The following exception was thrown:

com.ibm.ws.jsp.JspCoreException: /WEB-INF/pages/actionator.jsp(35,55)
JSPG0055E: Unable to create an xml attribute from name [.short] value [ %]

Adit

-----Original Message-----
From: Andrea Aime [mailto:aaime@anonymised.com]
Sent: 26 October 2006 11:16
To: Adit Santokhee
Cc: geoserver-devel@lists.sourceforge.net
Subject: Re: [Geoserver-devel] Deploying GeoServer on WebSphere 6.0

Adit Santokhee ha scritto:
> I actually just executed the jai libs executables from

http://java.sun.com/products/java-media/jai/downloads/download-1_1_2_01.htm
l

http://javashoplm.sun.com/ECom/docs/Welcome.jsp?StoreId=22&PartDetailId=jai
i

> o-1.0_01-oth-JPR&SiteId=JSC&TransactionId=noreg
>
> on windows. I have a Sun java runtime JDK1.5.0_04.

Hum, that installer usually works just fine.
Are you're sure Websphere is using that jdk? Or maybe it's using the
public JRE (probably not because it would lack the ability to compile
jsp unless it uses the Eclipse compiler under covers, which may not be
so strange now that I think about it...)
Cheers
Andrea

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job
easier Download IBM WebSphere Application Server v.1.0.1 based on Apache
Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel

--
Gabriel Roldán (groldan@anonymised.com)
Axios Engineering (http://www.axios.es)
Tel. +34 944 41 63 84
Fax. +34 944 41 64 90

Ah, I think we've had this before:

http://jira.codehaus.org/browse/GEOS-377

We should try to fix this for 1.4.0 release, and then we can say it works on the two big commercial servlet containers if we get http://jira.codehaus.org/browse/GEOS-711 fixed as well. And we could see if Mark has it running on Oracle's as well.

David, have you got GeoServer running in WebSphere? Any hints for us, or fixes we can incorporate to make it run better?

thanks,

Chris

Adit Santokhee wrote:

Hello,

WAS has it's own JDK inside. For WAS 6.0, JDK version is 1.4.2. JAI probs
have been fixed. Now im getting some problems with compiling jsp. Compiler
is using IBM specific libraries it seems:

The following exception was thrown:

com.ibm.ws.jsp.JspCoreException: /WEB-INF/pages/actionator.jsp(35,55)
JSPG0055E: Unable to create an xml attribute from name [.short] value [ %]

Adit

-----Original Message-----
From: Andrea Aime [mailto:aaime@anonymised.com] Sent: 26 October 2006 11:16
To: Adit Santokhee
Cc: geoserver-devel@lists.sourceforge.net
Subject: Re: [Geoserver-devel] Deploying GeoServer on WebSphere 6.0

Adit Santokhee ha scritto:

I actually just executed the jai libs executables from

http://java.sun.com/products/java-media/jai/downloads/download-1_1_2_01.html

http://javashoplm.sun.com/ECom/docs/Welcome.jsp?StoreId=22&PartDetailId=jaii

o-1.0_01-oth-JPR&SiteId=JSC&TransactionId=noreg

on windows. I have a Sun java runtime JDK1.5.0_04.

Hum, that installer usually works just fine.
Are you're sure Websphere is using that jdk? Or maybe it's using the public JRE (probably not because it would lack the ability to compile jsp unless it uses the Eclipse compiler under covers, which may not be so strange now that I think about it...)
Cheers
Andrea

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel

!DSPAM:1003,4540a0c3263116309890654!

--
Chris Holmes
The Open Planning Project
http://topp.openplans.org

This is something that I've very much wanted to pursue but just haven't had the time.

Regards,
David
At 10:58 AM 10/26/2006, Chris Holmes wrote:

Ah, I think we've had this before:

http://jira.codehaus.org/browse/GEOS-377

We should try to fix this for 1.4.0 release, and then we can say it works on the two big commercial servlet containers if we get http://jira.codehaus.org/browse/GEOS-711 fixed as well. And we could see if Mark has it running on Oracle's as well.

David, have you got GeoServer running in WebSphere? Any hints for us, or fixes we can incorporate to make it run better?

thanks,

Chris

Adit Santokhee wrote:

Hello,
WAS has it's own JDK inside. For WAS 6.0, JDK version is 1.4.2. JAI probs
have been fixed. Now im getting some problems with compiling jsp. Compiler
is using IBM specific libraries it seems:
The following exception was thrown:
com.ibm.ws.jsp.JspCoreException: /WEB-INF/pages/actionator.jsp(35,55)
JSPG0055E: Unable to create an xml attribute from name [.short] value [ %]

Adit
-----Original Message-----
From: Andrea Aime [mailto:aaime@anonymised.com] Sent: 26 October 2006 11:16
To: Adit Santokhee
Cc: geoserver-devel@lists.sourceforge.net
Subject: Re: [Geoserver-devel] Deploying GeoServer on WebSphere 6.0
Adit Santokhee ha scritto:

I actually just executed the jai libs executables from

http://java.sun.com/products/java-media/jai/downloads/download-1_1_2_01.html
http://javashoplm.sun.com/ECom/docs/Welcome.jsp?StoreId=22&PartDetailId=jaii

o-1.0_01-oth-JPR&SiteId=JSC&TransactionId=noreg

on windows. I have a Sun java runtime JDK1.5.0_04.

Hum, that installer usually works just fine.
Are you're sure Websphere is using that jdk? Or maybe it's using the public JRE (probably not because it would lack the ability to compile jsp unless it uses the Eclipse compiler under covers, which may not be so strange now that I think about it...)
Cheers
Andrea

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel
!DSPAM:1003,4540a0c3263116309890654!

--
Chris Holmes
The Open Planning Project
http://topp.openplans.org

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642_______________________________________________
Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel