Skip to Content
author's profile photo
Former Member

Problems creating a JDBC 2 Datasource on SAP WAS 6.30

Hi,

tryring to create a JDBC 2 Datasource on the SAP WAS 6.30 i get the following error every time. There are no problems creating new drivers or a JDBC1 compliant datasource. Iu00B4m using a oracle DB and oracle drivers classes111.zip (JDBC1) or classes12.zip (JDBC2).

java.rmi.RemoteException: Cannot deploy application sap.com/JDBCConnector_OracleDataSourceJdbc2.xml..

Reason: Error occured while parsing file "D:\usr\sap\C11\JC00\j2ee\cluster\server0\.\temp\dbpool\OracleDataSourceJdbc2.xml".; nested exception is:

com.sap.engine.services.dbpool.exceptions.BaseDeploymentException: Error occured while parsing file "D:\usr\sap\C11\JC00\j2ee\cluster\server0\.\temp\dbpool\OracleDataSourceJdbc2.xml".

com.sap.engine.services.dbpool.exceptions.BaseDeploymentException: Error occured while parsing file "D:\usr\sap\C11\JC00\j2ee\cluster\server0\.\temp\dbpool\OracleDataSourceJdbc2.xml".

at com.sap.engine.services.dbpool.deploy.ContainerImpl.deploy ContainerImpl.java:213)

at com.sap.engine.services.deploy.server.application.DeploymentTransaction.makeComponents(DeploymentTransaction.java:665)

at com.sap.engine.services.deploy.server.application.DeploymentTransaction.begin(DeploymentTransaction.java:438)

at com.sap.engine.services.deploy.server.application.ApplicationTransaction.makeAllPhasesOnOneServer(ApplicationTransaction.java:283)

at com.sap.engine.services.deploy.server.application.ApplicationTransaction.makeAllPhases(ApplicationTransaction.java:332)

at com.sap.engine.services.deploy.server.DeployServiceImpl.makeGlobalTransaction(DeployServiceImpl.java:2084)

at com.sap.engine.services.deploy.server.DeployServiceImpl.deploy(DeployServiceImpl.java:412)

at com.sap.engine.services.dbpool.deploy.DataSourceManagerImpl.deploy(DataSourceManagerImpl.java:253)

at com.sap.engine.services.dbpool.deploy.DataSourceManagerImpl.createDataSource(DataSourceManagerImpl.java:275)

at java.lang.reflect.Method.invoke(Native Method)

at com.sap.pj.jmx.introspect.DefaultMBeanInvoker.invoke(DefaultMBeanInvoker.java:69)

at com.sap.pj.jmx.mbeaninfo.AdditionalInfoProviderMBean.invoke(AdditionalInfoProviderMBean.java:303)

at com.sap.pj.jmx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:855)

at com.sap.pj.jmx.server.interceptor.MBeanServerWrapperInterceptor.invoke(MBeanServerWrapperInterceptor.java:308)

at com.sap.engine.services.jmx.CompletionInterceptor.invoke(CompletionInterceptor.java:396)

at com.sap.engine.services.jmx.RedirectInterceptor.invoke(RedirectInterceptor.java:340)

at com.sap.pj.jmx.server.interceptor.MBeanServerInterceptorChain.invoke(MBeanServerInterceptorChain.java:347)

at com.sap.engine.services.jmx.MBeanServerSecurityWrapper.invoke(MBeanServerSecurityWrapper.java:281)

at com.sap.engine.services.jmx.ClusterInterceptor.invoke(ClusterInterceptor.java:791)

at com.sap.pj.jmx.server.interceptor.MBeanServerInterceptorChain.invoke(MBeanServerInterceptorChain.java:347)

at com.sap.engine.services.adminadapter.impl.RemoteSmugglerImpl.smuggle(RemoteSmugglerImpl.java:61)

at com.sap.engine.services.adminadapter.impl.RemoteSmugglerImplp4_Skel.dispatch(RemoteSmugglerImplp4_Skel.java:87)

at com.sap.engine.services.rmi_p4.DispatchImpl._runInternal(DispatchImpl.java:228)

at com.sap.engine.services.rmi_p4.DispatchImpl._run(DispatchImpl.java:156)

at com.sap.engine.services.rmi_p4.server.P4SessionProcessor.request(P4SessionProcessor.java:101)

at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:37)

at com.sap.engine.core.cluster.impl6.session.UnorderedChannel$MessageRunner.run(UnorderedChannel.java:60)

at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:55)

at java.security.AccessController.doPrivileged(Native Method)

at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:115)

-


predecessor system -


com.sap.engine.services.dbpool.exceptions.BaseDeploymentException: Error occured while parsing file "D:\usr\sap\C11\JC00\j2ee\cluster\server0\.\temp\dbpool\OracleDataSourceJdbc2.xml".

<<no stack trace available>>

-


caused by -


com.sap.engine.services.dbpool.exceptions.BaseIllegalArgumentException: SAXException occured in method XMLUtils.isDataSourceXML():

at com.sap.engine.services.dbpool.deploy.XMLUtils.isDataSourceXML(XMLUtils.java:167)

at com.sap.engine.services.dbpool.deploy.XMLUtils.isDataSourceXML(XMLUtils.java:156)

at com.sap.engine.services.dbpool.deploy.ContainerImpl.deploy(ContainerImpl.java:145)

at com.sap.engine.services.deploy.server.application.DeploymentTransaction.makeComponents(DeploymentTransaction.java:665)

at com.sap.engine.services.deploy.server.application.DeploymentTransaction.begin(DeploymentTransaction.java:438)

at com.sap.engine.services.deploy.server.application.ApplicationTransaction.makeAllPhasesOnOneServer(ApplicationTransaction.java:283)

at com.sap.engine.services.deploy.server.application.ApplicationTransaction.makeAllPhases(ApplicationTransaction.java:332)

at com.sap.engine.services.deploy.server.DeployServiceImpl.makeGlobalTransaction(DeployServiceImpl.java:2084)

at com.sap.engine.services.deploy.server.DeployServiceImpl.deploy(DeployServiceImpl.java:412)

at com.sap.engine.services.dbpool.deploy.DataSourceManagerImpl.deploy(DataSourceManagerImpl.java:253)

at com.sap.engine.services.dbpool.deploy.DataSourceManagerImpl.createDataSource(DataSourceManagerImpl.java:275)

at java.lang.reflect.Method.invoke(Native Method)

at com.sap.pj.jmx.introspect.DefaultMBeanInvoker.invoke(DefaultMBeanInvoker.java:69)

at com.sap.pj.jmx.mbeaninfo.AdditionalInfoProviderMBean.invoke(AdditionalInfoProviderMBean.java:303)

at com.sap.pj.jmx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:855)

at com.sap.pj.jmx.server.interceptor.MBeanServerWrapperInterceptor.invoke(MBeanServerWrapperInterceptor.java:308)

at com.sap.engine.services.jmx.CompletionInterceptor.invoke(CompletionInterceptor.java:396)

at com.sap.engine.services.jmx.RedirectInterceptor.invoke(RedirectInterceptor.java:340)

at com.sap.pj.jmx.server.interceptor.MBeanServerInterceptorChain.invoke(MBeanServerInterceptorChain.java:347)

at com.sap.engine.services.jmx.MBeanServerSecurityWrapper.invoke(MBeanServerSecurityWrapper.java:281)

at com.sap.engine.services.jmx.ClusterInterceptor.invoke(ClusterInterceptor.java:791)

at com.sap.pj.jmx.server.interceptor.MBeanServerInterceptorChain.invoke(MBeanServerInterceptorChain.java:347)

at com.sap.engine.services.adminadapter.impl.RemoteSmugglerImpl.smuggle(RemoteSmugglerImpl.java:61)

at com.sap.engine.services.adminadapter.impl.RemoteSmugglerImplp4_Skel.dispatch(RemoteSmugglerImplp4_Skel.java:87)

at com.sap.engine.services.rmi_p4.DispatchImpl._runInternal(DispatchImpl.java:228)

at com.sap.engine.services.rmi_p4.DispatchImpl._run(DispatchImpl.java:156)

at com.sap.engine.services.rmi_p4.server.P4SessionProcessor.request(P4SessionProcessor.java:101)

at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:37)

at com.sap.engine.core.cluster.impl6.session.UnorderedChannel$MessageRunner.run(UnorderedChannel.java:60)

at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:55)

at java.security.AccessController.doPrivileged(Native Method)

at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:115)

-


predecessor system -


com.sap.engine.services.dbpool.exceptions.BaseIllegalArgumentException: SAXException occured in method XMLUtils.isDataSourceXML():

<<no stack trace available>>

-


caused by -


org.xml.sax.SAXException: com.sap.engine.lib.xml.parser.ParserException: Unexpected element, object-factory. It cannot appear here according to the content model of jdbc-2.0 (:main:, row:29, col:0)

at com.sap.engine.lib.xml.StandardDOMParser.parse(StandardDOMParser.java:108)

at com.sap.engine.lib.xml.StandardDOMParser.parse(StandardDOMParser.java:93)

at com.sap.engine.services.dbpool.deploy.XMLUtils.isDataSourceXML(XMLUtils.java:165)

at com.sap.engine.services.dbpool.deploy.XMLUtils.isDataSourceXML(XMLUtils.java:156)

at com.sap.engine.services.dbpool.deploy.ContainerImpl.deploy(ContainerImpl.java:145)

at com.sap.engine.services.deploy.server.application.DeploymentTransaction.makeComponents(DeploymentTransaction.java:665)

at com.sap.engine.services.deploy.server.application.DeploymentTransaction.begin(DeploymentTransaction.java:438)

at com.sap.engine.services.deploy.server.application.ApplicationTransaction.makeAllPhasesOnOneServer(ApplicationTransaction.java:283)

at com.sap.engine.services.deploy.server.application.ApplicationTransaction.makeAllPhases(ApplicationTransaction.java:332)

at com.sap.engine.services.deploy.server.DeployServiceImpl.makeGlobalTransaction(DeployServiceImpl.java:2084)

at com.sap.engine.services.deploy.server.DeployServiceImpl.deploy(DeployServiceImpl.java:412)

at com.sap.engine.services.dbpool.deploy.DataSourceManagerImpl.deploy(DataSourceManagerImpl.java:253)

at com.sap.engine.services.dbpool.deploy.DataSourceManagerImpl.createDataSource(DataSourceManagerImpl.java:275)

at java.lang.reflect.Method.invoke(Native Method)

at com.sap.pj.jmx.introspect.DefaultMBeanInvoker.invoke(DefaultMBeanInvoker.java:69)

at com.sap.pj.jmx.mbeaninfo.AdditionalInfoProviderMBean.invoke(AdditionalInfoProviderMBean.java:303)

at com.sap.pj.jmx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:855)

at com.sap.pj.jmx.server.interceptor.MBeanServerWrapperInterceptor.invoke(MBeanServerWrapperInterceptor.java:308)

at com.sap.engine.services.jmx.CompletionInterceptor.invoke(CompletionInterceptor.java:396)

at com.sap.engine.services.jmx.RedirectInterceptor.invoke(RedirectInterceptor.java:340)

at com.sap.pj.jmx.server.interceptor.MBeanServerInterceptorChain.invoke(MBeanServerInterceptorChain.java:347)

at com.sap.engine.services.jmx.MBeanServerSecurityWrapper.invoke(MBeanServerSecurityWrapper.java:281)

at com.sap.engine.services.jmx.ClusterInterceptor.invoke(ClusterInterceptor.java:791)

at com.sap.pj.jmx.server.interceptor.MBeanServerInterceptorChain.invoke(MBeanServerInterceptorChain.java:347)

at com.sap.engine.services.adminadapter.impl.RemoteSmugglerImpl.smuggle(RemoteSmugglerImpl.java:61)

at com.sap.engine.services.adminadapter.impl.RemoteSmugglerImplp4_Skel.dispatch(RemoteSmugglerImplp4_Skel.java:87)

at com.sap.engine.services.rmi_p4.DispatchImpl._runInternal(DispatchImpl.java:228)

at com.sap.engine.services.rmi_p4.DispatchImpl._run(DispatchImpl.java:156)

at com.sap.engine.services.rmi_p4.server.P4SessionProcessor.request(P4SessionProcessor.java:101)

at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:37)

at com.sap.engine.core.cluster.impl6.session.UnorderedChannel$MessageRunner.run(UnorderedChannel.java:60)

at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:55)

at java.security.AccessController.doPrivileged(Native Method)

at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:115)

-


predecessor system -


org.xml.sax.SAXException: com.sap.engine.lib.xml.parser.ParserException: Unexpected element, object-factory. It cannot appear here according to the content model of jdbc-2.0 (:main:, row:29, col:0)

<<no stack trace available>>

Thanks for help

Christian Schneider

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

1 Answer

  • author's profile photo
    Former Member
    Nov 13, 2003 at 05:06 PM

    Hello Christian,

    this is a known bug in the Sneak Preview Edition which will be fixed for future releases.

    Many greetings

    Ivo

    Add comment
    10|10000 characters needed characters exceeded