Hi Dan,

thanks for your reply. I found out, that the problem occurs during JAXBExtensionHelper.addExtensions(registry, parentType, elementType);

   for the following values:
   elementType = org.apache.cxf.ws.addressing.wsdl.UsingAddressing  and
   parentType = javax.wsdl.Binding

I also did the following to make sure it's nothing special in my implementation.

1) Download the latest samples and deployed the helloworld.war out of wsdl_first_xmlbeans-sample
===> same problem

2) Packaged the war into an ear as described here
http://cxf.apache.org/docs/application-server-specific-configuration-guide.html#ApplicationServerSpecificConfigurationGuide-Packwarinanear%252Cdeploytheearwithweblogicapplication.xml
===> same problem

The war works on a BEA 9.2 on Windows but not on the unix (HP/UX) where it's supposed to be deployed to.

Here are some more details you may need to know:

java.vm.specification.vendor=Sun Microsystems Inc.
java.runtime.version=1.5.0.08-_04_may_2007_06_31
java.version=1.5.0.08
java.endorsed.dirs=/testdata/wls_domains_920/lib/endorsed
sun.boot.class.path=/testdata/wls_domains_920/lib/*endorsed/geronimo-ws-**metadata_2.0_spec-1.1.1.jar*:/testdata/wls_domains_920/lib/*endorsed/js.**jar*:/opt/java1.5/jre/lib/rt.jar:/opt/java1.5/jre/lib/i18n.jar:/opt/java1.5/jre/lib/sunrsasign.jar:/opt/java1.5/jre/lib/jsse.jar:/opt/java1.5/jre/lib/jce.jar:/opt/java1.5/jre/lib/charsets.jar:/opt/java1.5/jre/classes
java.class.path=:/data/bea923/patch_weblogic923/profiles/default/sys_manifest_classpath/weblogic_patch.jar:/opt/java1.5/lib/tools.jar:/data/bea923/weblogic92/server/lib/weblogic_sp.jar:/data/bea923/weblogic92/server/lib/weblogic.jar:/data/bea923/weblogic92/server/lib/*webservices.jar*::/data/bea923/weblogic92/common/eval/pointbase/lib/pbclient51.jar:/data/bea923/weblogic92/server/lib/xqrl.jar::


And here's the stacktrace which actually does'nt give you more informations:

weblogic.application.ModuleException: [HTTP:101216]Servlet: "cxf" failed to preload on startup in Web application: "/helloworld". java.lang.RuntimeException: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.apache.cxf.wsdl.WSDLManager' defined in URL [zip:/data/wls_domains_920/Prov_EW2/servers/AdminServer/tmp/_WL_user/helloworld/bexav1/war/WEB-INF/lib/cxf-2.2.10.jar!/META-INF/cxf/cxf.fixml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [org.apache.cxf.wsdl11.WSDLManagerImpl]: Constructor threw exception; nested exception is java.lang.ArrayIndexOutOfBoundsException: 1 Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.apache.cxf.wsdl.WSDLManager' defined in URL [zip:/data/wls_domains_920/Prov_EW2/servers/AdminServer/tmp/_WL_user/helloworld/bexav1/war/WEB-INF/lib/cxf-2.2.10.jar!/META-INF/cxf/cxf.fixml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [org.apache.cxf.wsdl11.WSDLManagerImpl]: Constructor threw exception; nested exception is java.lang.ArrayIndexOutOfBoundsException: 1 Caused by: org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [org.apache.cxf.wsdl11.WSDLManagerImpl]: Constructor threw exception; nested exception is java.lang.ArrayIndexOutOfBoundsException: 1
Caused by: java.lang.ArrayIndexOutOfBoundsException: 1
java.lang.ArrayIndexOutOfBoundsException: 1

Thanks in advance,
Dirk



Daniel Kulp schrieb:
Is there a full stack trace for it?   In particular a line number.

Dan


On Thursday 23 September 2010 10:31:57 am Dirk wrote:
Hi,

I have created a war file which could be deployed successfully on a BEA
Weblogic 9.2. on Windows.

Trying to deploy and start the same war on a Unix environment failes
with a ArrayIndexOutOfBoundsException during initialization of
WSDLManagerImpl like this:/
/

/Context initialization failed //
org.springframework.beans.factory.BeanCreationException: Error creating
bean with name 'org.apache.cxf.wsdl.WSDLManager' defined in class path
resource [META-INF/cxf/cxf.xml]: Instantiation of bean failed; nested
exception is org.springframework.beans.BeanInstantiationException: Could
not instantiate bean class [org.apache.cxf.wsdl11.WSDLManagerImpl]:
Constructor threw exception; nested exception is
java.lang.ArrayIndexOutOfBoundsException: 1
Caused by: org.springframework.beans.BeanInstantiationException: *Could
not instantiate bean class [org.apache.cxf.wsdl11.WSDLManagerImpl]:
Constructor threw exception; nested exception is
java.lang.ArrayIndexOutOfBoundsException: 1*/

Any idea?

Cheers,
Dirk


Reply via email to