cxf-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From chengas123 <benjamin.j.mcc...@gmail.com>
Subject Re: CXF on WebLogic 9.2
Date Thu, 31 Jan 2008 19:31:29 GMT

Unfortunately that does not work either.  I get the stacktrace below.
I feel like I was closest overriding
geronimo-ws-metadeta_2.0_spec-1.1.1.jar:
http://cwiki.apache.org/CXF20DOC/appserverguide.html#AppServerGuide-WebLogic
However, I then get the QName error.  The wiki says in multiple places to
"Remove javax.xml.namespace.QName from stax-api shiped with CXF" if you get
this error, but there's no such file as stax-api.jar, so I have no clue what
they're talking about (nor could I find that file in any jars I have
included in my project).

Thanks,
Ben


<Jan 31, 2008 2:22:40 PM EST> <Error> <J2EE> <BEA-160197> <Unable
to load
descriptor
C:\appServers\bea9\weblogic92\server\lib\consoleapp/META-INF/application.xml
of module consoleapp. The error is weblogic.descriptor.DescriptorException:
Unmarshaller failed
	at
weblogic.descriptor.internal.MarshallerFactory$1.createDescriptor(MarshallerFactory.java:147)
	at
weblogic.descriptor.DescriptorManager.createDescriptor(DescriptorManager.java:280)
	at
weblogic.descriptor.DescriptorManager.createDescriptor(DescriptorManager.java:248)
	at
weblogic.application.descriptor.AbstractDescriptorLoader2.getDescriptorBeanFromReader(AbstractDescriptorLoader2.java:749)
	at
weblogic.application.descriptor.AbstractDescriptorLoader2.createDescriptorBean(AbstractDescriptorLoader2.java:376)
	at
weblogic.application.descriptor.AbstractDescriptorLoader2.loadDescriptorBeanWithoutPlan(AbstractDescriptorLoader2.java:720)
	at
weblogic.application.descriptor.AbstractDescriptorLoader2.loadDescriptorBean(AbstractDescriptorLoader2.java:729)
	at
weblogic.application.ApplicationDescriptor.getApplicationDescriptor(ApplicationDescriptor.java:277)
	at
weblogic.application.internal.EarDeploymentFactory.findOrCreateComponentMBeans(EarDeploymentFactory.java:174)
	at
weblogic.application.internal.MBeanFactoryImpl.findOrCreateComponentMBeans(MBeanFactoryImpl.java:48)
	at
weblogic.application.internal.MBeanFactoryImpl.createComponentMBeans(MBeanFactoryImpl.java:110)
	at
weblogic.application.internal.MBeanFactoryImpl.initializeMBeans(MBeanFactoryImpl.java:76)
	at
weblogic.deploy.internal.InternalAppProcessor.createBeansForInternalApp(InternalAppProcessor.java:396)
	at
weblogic.deploy.internal.InternalAppProcessor.stageFilesAndCreateBeansForInternalApp(InternalAppProcessor.java:250)
	at
weblogic.deploy.internal.InternalAppProcessor.updateConfiguration(InternalAppProcessor.java:196)
	at
weblogic.management.deploy.internal.DeploymentServerService.init(DeploymentServerService.java:144)
	at
weblogic.management.deploy.internal.DeploymentPreStandbyServerService.start(DeploymentPreStandbyServerService.java:32)
	at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)
	at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
	at weblogic.work.ExecuteThread.run(ExecuteThread.java:181)
Caused by: com.bea.xml.XmlException:
weblogic.descriptor.BeanAlreadyExistsException: Bean already exists:
"weblogic.j2ee.descriptor.ModuleBeanImpl@82faccb(/Modules[weblogic.descriptor.internal.DescriptorBeanKey@8426316])"
	at
com.bea.staxb.runtime.internal.util.ReflectionUtils.invokeMethod(ReflectionUtils.java:54)
	at
com.bea.staxb.runtime.internal.RuntimeBindingType$BeanRuntimeProperty.setValue(RuntimeBindingType.java:483)
	at
com.bea.staxb.runtime.internal.AttributeRuntimeBindingType$QNameRuntimeProperty.fillCollection(AttributeRuntimeBindingType.java:385)
	at
com.bea.staxb.runtime.internal.MultiIntermediary.getFinalValue(MultiIntermediary.java:52)
	at
com.bea.staxb.runtime.internal.AttributeRuntimeBindingType.getFinalObjectFromIntermediary(AttributeRuntimeBindingType.java:145)
	at
com.bea.staxb.runtime.internal.UnmarshalResult.unmarshalBindingType(UnmarshalResult.java:185)
	at
com.bea.staxb.runtime.internal.UnmarshalResult.unmarshalDocument(UnmarshalResult.java:154)
	at
com.bea.staxb.runtime.internal.UnmarshallerImpl.unmarshal(UnmarshallerImpl.java:65)
	at
weblogic.descriptor.internal.MarshallerFactory$1.createDescriptor(MarshallerFactory.java:136)
	... 19 more
Caused by: weblogic.descriptor.BeanAlreadyExistsException: Bean already
exists:
"weblogic.j2ee.descriptor.ModuleBeanImpl@82faccb(/Modules[weblogic.descriptor.internal.DescriptorBeanKey@8426316])"
	at
weblogic.descriptor.internal.ReferenceManager.registerBean(ReferenceManager.java:207)
	at
weblogic.j2ee.descriptor.ApplicationBeanImpl.setModules(ApplicationBeanImpl.java:419)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:585)
	at
com.bea.staxb.runtime.internal.util.ReflectionUtils.invokeMethod(ReflectionUtils.java:48)
	... 27 more
.> 
<Jan 31, 2008 2:22:40 PM EST> <Error> <J2EE> <BEA-160197> <Unable
to load
descriptor
C:\appServers\bea9\weblogic92\server\lib\consoleapp/META-INF/application.xml
of module consoleapp. The error is weblogic.descriptor.DescriptorException:
Unmarshaller failed
	at
weblogic.descriptor.internal.MarshallerFactory$1.createDescriptor(MarshallerFactory.java:147)
	at
weblogic.descriptor.DescriptorManager.createDescriptor(DescriptorManager.java:280)
	at
weblogic.descriptor.DescriptorManager.createDescriptor(DescriptorManager.java:248)
	at
weblogic.application.descriptor.AbstractDescriptorLoader2.getDescriptorBeanFromReader(AbstractDescriptorLoader2.java:749)
	at
weblogic.application.descriptor.AbstractDescriptorLoader2.createDescriptorBean(AbstractDescriptorLoader2.java:376)
	at
weblogic.application.descriptor.AbstractDescriptorLoader2.loadDescriptorBeanWithoutPlan(AbstractDescriptorLoader2.java:720)
	at
weblogic.application.descriptor.AbstractDescriptorLoader2.loadDescriptorBean(AbstractDescriptorLoader2.java:729)
	at
weblogic.application.ApplicationDescriptor.getApplicationDescriptor(ApplicationDescriptor.java:277)
	at
weblogic.application.internal.EarDeploymentFactory.findOrCreateComponentMBeans(EarDeploymentFactory.java:174)
	at
weblogic.application.internal.MBeanFactoryImpl.findOrCreateComponentMBeans(MBeanFactoryImpl.java:48)
	at
weblogic.application.internal.MBeanFactoryImpl.createComponentMBeans(MBeanFactoryImpl.java:110)
	at
weblogic.application.internal.MBeanFactoryImpl.initializeMBeans(MBeanFactoryImpl.java:76)
	at
weblogic.deploy.internal.InternalAppProcessor.createBeansForInternalApp(InternalAppProcessor.java:396)
	at
weblogic.deploy.internal.InternalAppProcessor.stageFilesAndCreateBeansForInternalApp(InternalAppProcessor.java:250)
	at
weblogic.deploy.internal.InternalAppProcessor.updateConfiguration(InternalAppProcessor.java:196)
	at
weblogic.management.deploy.internal.DeploymentServerService.init(DeploymentServerService.java:144)
	at
weblogic.management.deploy.internal.DeploymentPreStandbyServerService.start(DeploymentPreStandbyServerService.java:32)
	at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)
	at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
	at weblogic.work.ExecuteThread.run(ExecuteThread.java:181)
Caused by: com.bea.xml.XmlException:
weblogic.descriptor.BeanAlreadyExistsException: Bean already exists:
"weblogic.j2ee.descriptor.ModuleBeanImpl@818ff7b(/Modules[weblogic.descriptor.internal.DescriptorBeanKey@8426316])"
	at
com.bea.staxb.runtime.internal.util.ReflectionUtils.invokeMethod(ReflectionUtils.java:54)
	at
com.bea.staxb.runtime.internal.RuntimeBindingType$BeanRuntimeProperty.setValue(RuntimeBindingType.java:483)
	at
com.bea.staxb.runtime.internal.AttributeRuntimeBindingType$QNameRuntimeProperty.fillCollection(AttributeRuntimeBindingType.java:385)
	at
com.bea.staxb.runtime.internal.MultiIntermediary.getFinalValue(MultiIntermediary.java:52)
	at
com.bea.staxb.runtime.internal.AttributeRuntimeBindingType.getFinalObjectFromIntermediary(AttributeRuntimeBindingType.java:145)
	at
com.bea.staxb.runtime.internal.UnmarshalResult.unmarshalBindingType(UnmarshalResult.java:185)
	at
com.bea.staxb.runtime.internal.UnmarshalResult.unmarshalDocument(UnmarshalResult.java:154)
	at
com.bea.staxb.runtime.internal.UnmarshallerImpl.unmarshal(UnmarshallerImpl.java:65)
	at
weblogic.descriptor.internal.MarshallerFactory$1.createDescriptor(MarshallerFactory.java:136)
	... 19 more
Caused by: weblogic.descriptor.BeanAlreadyExistsException: Bean already
exists:
"weblogic.j2ee.descriptor.ModuleBeanImpl@818ff7b(/Modules[weblogic.descriptor.internal.DescriptorBeanKey@8426316])"
	at
weblogic.descriptor.internal.ReferenceManager.registerBean(ReferenceManager.java:207)
	at
weblogic.j2ee.descriptor.ApplicationBeanImpl.setModules(ApplicationBeanImpl.java:419)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:585)
	at
com.bea.staxb.runtime.internal.util.ReflectionUtils.invokeMethod(ReflectionUtils.java:48)
	... 27 more
.> 
<Jan 31, 2008 2:22:40 PM EST> <Warning> <Deployer> <BEA-149617>
<Non-critical internal application consoleapp was not deployed. Error:
weblogic.management.DeploymentException: Unmarshaller failed> 
<Jan 31, 2008 2:22:41 PM EST> <Error> <HTTP> <BEA-101064>
<[WebAppModule(bea_wls_internal:bea_wls_internal.war)] Error parsing
descriptor in Web appplication
"C:\appServers\bea9\user_projects\domains\mydomain\.\servers\AdminServer\tmp\.internal\bea_wls_internal.war"
java.lang.StringIndexOutOfBoundsException: String index out of range: 0
	at java.lang.String.charAt(String.java:558)
	at weblogic.servlet.internal.WebAppReader2.getText(WebAppReader2.java:150)
	at
weblogic.application.descriptor.BasicMunger2._onDTD(BasicMunger2.java:485)
	at weblogic.application.descriptor.BasicMunger2.next(BasicMunger2.java:448)
	at
weblogic.application.descriptor.VersionMunger._next(VersionMunger.java:234)
	Truncated. see log file for complete stacktrace
> 
<Jan 31, 2008 2:22:41 PM EST> <Error> <Deployer> <BEA-149205> <Failed
to
initialize the application 'bea_wls_internal' due to error
weblogic.application.ModuleException:
[HTTP:101064][WebAppModule(bea_wls_internal:bea_wls_internal.war)] Error
parsing descriptor in Web appplication
"C:\appServers\bea9\user_projects\domains\mydomain\.\servers\AdminServer\tmp\.internal\bea_wls_internal.war"
java.lang.StringIndexOutOfBoundsException: String index out of range: 0
	at java.lang.String.charAt(String.java:558)
	at weblogic.servlet.internal.WebAppReader2.getText(WebAppReader2.java:150)
	at
weblogic.application.descriptor.BasicMunger2._onDTD(BasicMunger2.java:485)
	at weblogic.application.descriptor.BasicMunger2.next(BasicMunger2.java:448)
	at
weblogic.application.descriptor.VersionMunger._next(VersionMunger.java:234)
	at
weblogic.application.descriptor.VersionMunger.next(VersionMunger.java:159)
	at
weblogic.application.descriptor.VersionMunger.consumeInputStream(VersionMunger.java:329)
	at
weblogic.application.descriptor.VersionMunger.init(VersionMunger.java:278)
	at
weblogic.application.descriptor.VersionMunger.<init>(VersionMunger.java:44)
	at
weblogic.application.descriptor.VersionMunger.<init>(VersionMunger.java:34)
	at weblogic.servlet.internal.WebAppReader2.<init>(WebAppReader2.java:41)
	at
weblogic.servlet.internal.WebAppDescriptor$MyWebAppDescriptor.createXMLStreamReader(WebAppDescriptor.java:243)
	at
weblogic.application.descriptor.AbstractDescriptorLoader2.createDescriptorBean(AbstractDescriptorLoader2.java:369)
	at
weblogic.application.descriptor.AbstractDescriptorLoader2.loadDescriptorBeanWithoutPlan(AbstractDescriptorLoader2.java:720)
	at
weblogic.application.descriptor.AbstractDescriptorLoader2.loadDescriptorBean(AbstractDescriptorLoader2.java:729)
	at
weblogic.servlet.internal.WebAppDescriptor.getWebAppBean(WebAppDescriptor.java:134)
	at
weblogic.servlet.internal.WebAppModule.loadDescriptor(WebAppModule.java:778)
	at weblogic.servlet.internal.WebAppModule.prepare(WebAppModule.java:275)
	at
weblogic.application.internal.flow.ScopedModuleDriver.prepare(ScopedModuleDriver.java:176)
	at
weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:93)
	at
weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(DeploymentCallbackFlow.java:360)
	at
weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)
	at
weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:56)
	at
weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:46)
	at
weblogic.application.internal.BaseDeployment$1.next(BaseDeployment.java:621)
	at
weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)
	at
weblogic.application.internal.BaseDeployment.prepare(BaseDeployment.java:208)
	at
weblogic.application.internal.DeploymentStateChecker.prepare(DeploymentStateChecker.java:147)
	at
weblogic.deploy.internal.targetserver.AppContainerInvoker.prepare(AppContainerInvoker.java:61)
	at
weblogic.deploy.internal.targetserver.AppDeployment.prepare(AppDeployment.java:131)
	at
weblogic.management.deploy.internal.ConfiguredDeployments.deployPreStandbyInternalApps(ConfiguredDeployments.java:84)
	at
weblogic.management.deploy.internal.DeploymentServerService.deployPreStandbyInternalApps(DeploymentServerService.java:161)
	at
weblogic.management.deploy.internal.DeploymentPreStandbyServerService.start(DeploymentPreStandbyServerService.java:33)
	at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)
	at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
	at weblogic.work.ExecuteThread.run(ExecuteThread.java:181)

String index out of range: 0.
weblogic.application.ModuleException:
[HTTP:101064][WebAppModule(bea_wls_internal:bea_wls_internal.war)] Error
parsing descriptor in Web appplication
"C:\appServers\bea9\user_projects\domains\mydomain\.\servers\AdminServer\tmp\.internal\bea_wls_internal.war"
java.lang.StringIndexOutOfBoundsException: String index out of range: 0
	at java.lang.String.charAt(String.java:558)
	at weblogic.servlet.internal.WebAppReader2.getText(WebAppReader2.java:150)
	at
weblogic.application.descriptor.BasicMunger2._onDTD(BasicMunger2.java:485)
	at weblogic.application.descriptor.BasicMunger2.next(BasicMunger2.java:448)
	at
weblogic.application.descriptor.VersionMunger._next(VersionMunger.java:234)
	at
weblogic.application.descriptor.VersionMunger.next(VersionMunger.java:159)
	at
weblogic.application.descriptor.VersionMunger.consumeInputStream(VersionMunger.java:329)
	at
weblogic.application.descriptor.VersionMunger.init(VersionMunger.java:278)
	at
weblogic.application.descriptor.VersionMunger.<init>(VersionMunger.java:44)
	at
weblogic.application.descriptor.VersionMunger.<init>(VersionMunger.java:34)
	at weblogic.servlet.internal.WebAppReader2.<init>(WebAppReader2.java:41)
	at
weblogic.servlet.internal.WebAppDescriptor$MyWebAppDescriptor.createXMLStreamReader(WebAppDescriptor.java:243)
	at
weblogic.application.descriptor.AbstractDescriptorLoader2.createDescriptorBean(AbstractDescriptorLoader2.java:369)
	at
weblogic.application.descriptor.AbstractDescriptorLoader2.loadDescriptorBeanWithoutPlan(AbstractDescriptorLoader2.java:720)
	at
weblogic.application.descriptor.AbstractDescriptorLoader2.loadDescriptorBean(AbstractDescriptorLoader2.java:729)
	at
weblogic.servlet.internal.WebAppDescriptor.getWebAppBean(WebAppDescriptor.java:134)
	at
weblogic.servlet.internal.WebAppModule.loadDescriptor(WebAppModule.java:778)
	at weblogic.servlet.internal.WebAppModule.prepare(WebAppModule.java:275)
	at
weblogic.application.internal.flow.ScopedModuleDriver.prepare(ScopedModuleDriver.java:176)
	at
weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:93)
	at
weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(DeploymentCallbackFlow.java:360)
	at
weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)
	at
weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:56)
	at
weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:46)
	at
weblogic.application.internal.BaseDeployment$1.next(BaseDeployment.java:621)
	at
weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)
	at
weblogic.application.internal.BaseDeployment.prepare(BaseDeployment.java:208)
	at
weblogic.application.internal.DeploymentStateChecker.prepare(DeploymentStateChecker.java:147)
	at
weblogic.deploy.internal.targetserver.AppContainerInvoker.prepare(AppContainerInvoker.java:61)
	at
weblogic.deploy.internal.targetserver.AppDeployment.prepare(AppDeployment.java:131)
	at
weblogic.management.deploy.internal.ConfiguredDeployments.deployPreStandbyInternalApps(ConfiguredDeployments.java:84)
	at
weblogic.management.deploy.internal.DeploymentServerService.deployPreStandbyInternalApps(DeploymentServerService.java:161)
	at
weblogic.management.deploy.internal.DeploymentPreStandbyServerService.start(DeploymentPreStandbyServerService.java:33)
	at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)
	at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
	at weblogic.work.ExecuteThread.run(ExecuteThread.java:181)

String index out of range: 0
	at
weblogic.servlet.internal.WebAppModule.createModuleException(WebAppModule.java:983)
	at
weblogic.servlet.internal.WebAppModule.loadDescriptor(WebAppModule.java:802)
	at weblogic.servlet.internal.WebAppModule.prepare(WebAppModule.java:275)
	at
weblogic.application.internal.flow.ScopedModuleDriver.prepare(ScopedModuleDriver.java:176)
	at
weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:93)
	Truncated. see log file for complete stacktrace
java.lang.StringIndexOutOfBoundsException: String index out of range: 0
	at java.lang.String.charAt(String.java:558)
	at weblogic.servlet.internal.WebAppReader2.getText(WebAppReader2.java:150)
	at
weblogic.application.descriptor.BasicMunger2._onDTD(BasicMunger2.java:485)
	at weblogic.application.descriptor.BasicMunger2.next(BasicMunger2.java:448)
	at
weblogic.application.descriptor.VersionMunger._next(VersionMunger.java:234)
	Truncated. see log file for complete stacktrace
> 
<Jan 31, 2008 2:22:41 PM EST> <Critical> <WebLogicServer> <BEA-000362>
<Server failed. Reason: 

There are 1 nested errors:

weblogic.application.ModuleException:
[HTTP:101064][WebAppModule(bea_wls_internal:bea_wls_internal.war)] Error
parsing descriptor in Web appplication
"C:\appServers\bea9\user_projects\domains\mydomain\.\servers\AdminServer\tmp\.internal\bea_wls_internal.war"
java.lang.StringIndexOutOfBoundsException: String index out of range: 0
	at java.lang.String.charAt(String.java:558)
	at weblogic.servlet.internal.WebAppReader2.getText(WebAppReader2.java:150)
	at
weblogic.application.descriptor.BasicMunger2._onDTD(BasicMunger2.java:485)
	at weblogic.application.descriptor.BasicMunger2.next(BasicMunger2.java:448)
	at
weblogic.application.descriptor.VersionMunger._next(VersionMunger.java:234)
	at
weblogic.application.descriptor.VersionMunger.next(VersionMunger.java:159)
	at
weblogic.application.descriptor.VersionMunger.consumeInputStream(VersionMunger.java:329)
	at
weblogic.application.descriptor.VersionMunger.init(VersionMunger.java:278)
	at
weblogic.application.descriptor.VersionMunger.<init>(VersionMunger.java:44)
	at
weblogic.application.descriptor.VersionMunger.<init>(VersionMunger.java:34)
	at weblogic.servlet.internal.WebAppReader2.<init>(WebAppReader2.java:41)
	at
weblogic.servlet.internal.WebAppDescriptor$MyWebAppDescriptor.createXMLStreamReader(WebAppDescriptor.java:243)
	at
weblogic.application.descriptor.AbstractDescriptorLoader2.createDescriptorBean(AbstractDescriptorLoader2.java:369)
	at
weblogic.application.descriptor.AbstractDescriptorLoader2.loadDescriptorBeanWithoutPlan(AbstractDescriptorLoader2.java:720)
	at
weblogic.application.descriptor.AbstractDescriptorLoader2.loadDescriptorBean(AbstractDescriptorLoader2.java:729)
	at
weblogic.servlet.internal.WebAppDescriptor.getWebAppBean(WebAppDescriptor.java:134)
	at
weblogic.servlet.internal.WebAppModule.loadDescriptor(WebAppModule.java:778)
	at weblogic.servlet.internal.WebAppModule.prepare(WebAppModule.java:275)
	at
weblogic.application.internal.flow.ScopedModuleDriver.prepare(ScopedModuleDriver.java:176)
	at
weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:93)
	at
weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(DeploymentCallbackFlow.java:360)
	at
weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)
	at
weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:56)
	at
weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:46)
	at
weblogic.application.internal.BaseDeployment$1.next(BaseDeployment.java:621)
	at
weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)
	at
weblogic.application.internal.BaseDeployment.prepare(BaseDeployment.java:208)
	at
weblogic.application.internal.DeploymentStateChecker.prepare(DeploymentStateChecker.java:147)
	at
weblogic.deploy.internal.targetserver.AppContainerInvoker.prepare(AppContainerInvoker.java:61)
	at
weblogic.deploy.internal.targetserver.AppDeployment.prepare(AppDeployment.java:131)
	at
weblogic.management.deploy.internal.ConfiguredDeployments.deployPreStandbyInternalApps(ConfiguredDeployments.java:84)
	at
weblogic.management.deploy.internal.DeploymentServerService.deployPreStandbyInternalApps(DeploymentServerService.java:161)
	at
weblogic.management.deploy.internal.DeploymentPreStandbyServerService.start(DeploymentPreStandbyServerService.java:33)
	at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)
	at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
	at weblogic.work.ExecuteThread.run(ExecuteThread.java:181)

String index out of range: 0
	at
weblogic.servlet.internal.WebAppModule.createModuleException(WebAppModule.java:983)
	at
weblogic.servlet.internal.WebAppModule.loadDescriptor(WebAppModule.java:802)
	at weblogic.servlet.internal.WebAppModule.prepare(WebAppModule.java:275)
	at
weblogic.application.internal.flow.ScopedModuleDriver.prepare(ScopedModuleDriver.java:176)
	at
weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:93)
	at
weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(DeploymentCallbackFlow.java:360)
	at
weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)
	at
weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:56)
	at
weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:46)
	at
weblogic.application.internal.BaseDeployment$1.next(BaseDeployment.java:621)
	at
weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)
	at
weblogic.application.internal.BaseDeployment.prepare(BaseDeployment.java:208)
	at
weblogic.application.internal.DeploymentStateChecker.prepare(DeploymentStateChecker.java:147)
	at
weblogic.deploy.internal.targetserver.AppContainerInvoker.prepare(AppContainerInvoker.java:61)
	at
weblogic.deploy.internal.targetserver.AppDeployment.prepare(AppDeployment.java:131)
	at
weblogic.management.deploy.internal.ConfiguredDeployments.deployPreStandbyInternalApps(ConfiguredDeployments.java:84)
	at
weblogic.management.deploy.internal.DeploymentServerService.deployPreStandbyInternalApps(DeploymentServerService.java:161)
	at
weblogic.management.deploy.internal.DeploymentPreStandbyServerService.start(DeploymentPreStandbyServerService.java:33)
	at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)
	at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
	at weblogic.work.ExecuteThread.run(ExecuteThread.java:181)
Caused by: java.lang.StringIndexOutOfBoundsException: String index out of
range: 0
	at java.lang.String.charAt(String.java:558)
	at weblogic.servlet.internal.WebAppReader2.getText(WebAppReader2.java:150)
	at
weblogic.application.descriptor.BasicMunger2._onDTD(BasicMunger2.java:485)
	at weblogic.application.descriptor.BasicMunger2.next(BasicMunger2.java:448)
	at
weblogic.application.descriptor.VersionMunger._next(VersionMunger.java:234)
	at
weblogic.application.descriptor.VersionMunger.next(VersionMunger.java:159)
	at
weblogic.application.descriptor.VersionMunger.consumeInputStream(VersionMunger.java:329)
	at
weblogic.application.descriptor.VersionMunger.init(VersionMunger.java:278)
	at
weblogic.application.descriptor.VersionMunger.<init>(VersionMunger.java:44)
	at
weblogic.application.descriptor.VersionMunger.<init>(VersionMunger.java:34)
	at weblogic.servlet.internal.WebAppReader2.<init>(WebAppReader2.java:41)
	at
weblogic.servlet.internal.WebAppDescriptor$MyWebAppDescriptor.createXMLStreamReader(WebAppDescriptor.java:243)
	at
weblogic.application.descriptor.AbstractDescriptorLoader2.createDescriptorBean(AbstractDescriptorLoader2.java:369)
	at
weblogic.application.descriptor.AbstractDescriptorLoader2.loadDescriptorBeanWithoutPlan(AbstractDescriptorLoader2.java:720)
	at
weblogic.application.descriptor.AbstractDescriptorLoader2.loadDescriptorBean(AbstractDescriptorLoader2.java:729)
	at
weblogic.servlet.internal.WebAppDescriptor.getWebAppBean(WebAppDescriptor.java:134)
	at
weblogic.servlet.internal.WebAppModule.loadDescriptor(WebAppModule.java:778)
	... 19 more

> 



YI (William) ZHU wrote:
> 
> How about you put the jar file "xml-resolver-1.2.jar" in your webLogic
> classpath?
> (keep this
> -Djavax.xml.stream.XMLInputFactory=com.ctc.wstx.stax.WstxInputFactory
> setting)
> 
> Or make sure CXF's jars in your classpath.
> 
> I agree that "Configuring the proxy" is not a good solution.
> 
> Hope this can help.
> 
> Yi Zhu
> 
> 
> 
> chengas123 wrote:
>> 
>> Hi,
>> I was getting a "java.lang.NoSuchMethodError:
>> javax.jws.WebService.portName()Ljava/lang/String;" error on WebLogic 9.2,
>> but seemed to have solved it by following a post
>> (http://forums.bea.com/thread.jspa?threadID=600009031) I found and adding
>> -Djavax.xml.stream.XMLInputFactory=com.ctc.wstx.stax.WstxInputFactory to
>> my WebLogic startup.
>> However, I'm now getting:
>> java.lang.RuntimeException: [was class java.net.ConnectException] Tried
>> all: '1' addresses, but could not connect over HTTP to server:
>> 'java.sun.com', port: '80'
>> My only guess is it's trying to validate a DTD or something and is being
>> blocked by our corporate firewall.  I have no idea how to tell weblogic
>> about our proxy.  Configuring the proxy would be a good short-term
>> solution since it would allow development to move forward.  However,
>> ultimately I'm probably going to need another solution since I'm not sure
>> this would fly in our production environment.
>> 
>> Thanks,
>> Ben
>> 
>> 
> 
> 

-- 
View this message in context: http://www.nabble.com/CXF-on-WebLogic-9.2-tp15193763p15212932.html
Sent from the cxf-user mailing list archive at Nabble.com.


Mime
View raw message