uPortal 3.0 with IBM JDK

View: New views
4 Messages — Rating Filter:   Alert me  

uPortal 3.0 with IBM JDK

by Chris Wagner-10 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Has anyone successfully built and deployed a uPortal 3 instance using
the IBM JDK? IBM JDK is being used being that the operating system for
the system is AIX 5.3.

The issue we are seeing:

SEVERE: Could not instantiate serializer
com.sun.org.apache.xml.internal.serialize.XMLSerializer:
java.lang.ClassNotFoundException:
com.sun.org.apache.xml.internal.serialize.XMLSerializer
java.lang.RuntimeException: Could not instantiate serializer
com.sun.org.apache.xml.internal.serialize.XMLSerializer:
java.lang.ClassNotFoundException:
com.sun.org.apache.xml.internal.serialize.XMLSerializer

Amongst other ClassNotFoundExceptions.

This is due to the fact that the IBM JDK defines these classes without
com.sun. Is anyone aware of a simple solution to this issue?

Thank you,

Chris

---
You are currently subscribed to uportal-user@... as: lists@...
To unsubscribe, change settings or access archives, see http://www.ja-sig.org/wiki/display/JSG/uportal-user

Re: uPortal 3.0 with IBM JDK

by Chris Wagner-10 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

In order to provide more specifics, 'java -version' prints the following.

java version "1.5.0"
Java(TM) 2 Runtime Environment, Standard Edition (build
pap32dev-20080315 (SR7))
IBM J9 VM (build 2.3, J2RE 1.5.0 IBM J9 2.3 AIX ppc-32
j9vmap3223-20080315 (JIT enabled)
J9VM - 20080314_17962_bHdSMr
JIT  - 20080130_0718ifx2_r8
GC   - 200802_08)
JCL  - 20080314


Chris Wagner wrote:

> Has anyone successfully built and deployed a uPortal 3 instance using
> the IBM JDK? IBM JDK is being used being that the operating system for
> the system is AIX 5.3.
>
> The issue we are seeing:
>
> SEVERE: Could not instantiate serializer
> com.sun.org.apache.xml.internal.serialize.XMLSerializer:
> java.lang.ClassNotFoundException:
> com.sun.org.apache.xml.internal.serialize.XMLSerializer
> java.lang.RuntimeException: Could not instantiate serializer
> com.sun.org.apache.xml.internal.serialize.XMLSerializer:
> java.lang.ClassNotFoundException:
> com.sun.org.apache.xml.internal.serialize.XMLSerializer
>
> Amongst other ClassNotFoundExceptions.
>
> This is due to the fact that the IBM JDK defines these classes without
> com.sun. Is anyone aware of a simple solution to this issue?
>
> Thank you,
>
> Chris
>
> --- You are currently subscribed to uportal-user@... as:
> cwagner@...
> To unsubscribe, change settings or access archives, see
> http://www.ja-sig.org/wiki/display/JSG/uportal-user

---
You are currently subscribed to uportal-user@... as: lists@...
To unsubscribe, change settings or access archives, see http://www.ja-sig.org/wiki/display/JSG/uportal-user

Re: uPortal 3.0 with IBM JDK

by Eric Dalquist :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Chris,

This appears to be an issue with the configuration of Castor that Pluto
uses when parsing portlet.xml and web.xml files:
http://jira.codehaus.org/browse/CASTOR-2411

I don't have much time to dig into it today but I'll see what I can do
as far as finding a way to allow deployers to change that configuration.

-Eric

Chris Wagner wrote:

> Has anyone successfully built and deployed a uPortal 3 instance using
> the IBM JDK? IBM JDK is being used being that the operating system for
> the system is AIX 5.3.
>
> The issue we are seeing:
>
> SEVERE: Could not instantiate serializer
> com.sun.org.apache.xml.internal.serialize.XMLSerializer:
> java.lang.ClassNotFoundException:
> com.sun.org.apache.xml.internal.serialize.XMLSerializer
> java.lang.RuntimeException: Could not instantiate serializer
> com.sun.org.apache.xml.internal.serialize.XMLSerializer:
> java.lang.ClassNotFoundException:
> com.sun.org.apache.xml.internal.serialize.XMLSerializer
>
> Amongst other ClassNotFoundExceptions.
>
> This is due to the fact that the IBM JDK defines these classes without
> com.sun. Is anyone aware of a simple solution to this issue?
>
> Thank you,
>
> Chris
>
> --- You are currently subscribed to uportal-user@... as:
> eric.dalquist@...
> To unsubscribe, change settings or access archives, see
> http://www.ja-sig.org/wiki/display/JSG/uportal-user


smime.p7s (4K) Download Attachment

Re: uPortal 3.0 with IBM JDK

by Eric Dalquist :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Actually one thing to try.

Add a JVM startup property of org.apache.pluto.useJaxp=false and then
make a copy of the xerces jar in tomcat/shared/lib.

If that works you can make the uPortal build include that xerces
automatically by editing uPortal/uportal-ear/pom.xml, find the
'pluto-descriptor-impl' dependency and remove the exclusion of the
xerces JAR.

Please let us know if that works.


-Eric


Eric Dalquist wrote:

> Chris,
>
> This appears to be an issue with the configuration of Castor that
> Pluto uses when parsing portlet.xml and web.xml files:
> http://jira.codehaus.org/browse/CASTOR-2411
>
> I don't have much time to dig into it today but I'll see what I can do
> as far as finding a way to allow deployers to change that configuration.
>
> -Eric
>
> Chris Wagner wrote:
>> Has anyone successfully built and deployed a uPortal 3 instance using
>> the IBM JDK? IBM JDK is being used being that the operating system
>> for the system is AIX 5.3.
>>
>> The issue we are seeing:
>>
>> SEVERE: Could not instantiate serializer
>> com.sun.org.apache.xml.internal.serialize.XMLSerializer:
>> java.lang.ClassNotFoundException:
>> com.sun.org.apache.xml.internal.serialize.XMLSerializer
>> java.lang.RuntimeException: Could not instantiate serializer
>> com.sun.org.apache.xml.internal.serialize.XMLSerializer:
>> java.lang.ClassNotFoundException:
>> com.sun.org.apache.xml.internal.serialize.XMLSerializer
>>
>> Amongst other ClassNotFoundExceptions.
>>
>> This is due to the fact that the IBM JDK defines these classes
>> without com.sun. Is anyone aware of a simple solution to this issue?
>>
>> Thank you,
>>
>> Chris
>>
>> --- You are currently subscribed to uportal-user@... as:
>> eric.dalquist@...
>> To unsubscribe, change settings or access archives, see
>> http://www.ja-sig.org/wiki/display/JSG/uportal-user


smime.p7s (4K) Download Attachment
LightInTheBox - Buy quality products at wholesale price