Fail to bind Java Short/Byte type in  Oracle Driver in WLS6.1

Hi,
In Oracle, the field is defined as Number(5), but we failed to bind
the Java Short/Byte object to the PreparedStatement in WLS.
WLS 6.1 with SP2.
Any hint here? Or other people can succeed with Oracle's own driver.
I have noticed a post about WLS's Oracle Driver support will be ceded
in the future. Can we still get support on the Oracle Driver from WLS?
Thanks,
Sheng Song

We get this exception thrown from WLS:
java.sql.SQLException: Cannot bind object type: java.lang.Short
     at weblogic.jdbc.oci.Statement.setObject(Statement.java:1412)
     at weblogic.jdbc.jts.Statement.setObject(Statement.java:952)
     at
weblogic.jdbc.rmi.internal.PreparedStatementImpl.setObject(PreparedStatementImpl.java:304)
     at
weblogic.jdbc.rmi.SerialPreparedStatement.setObject(SerialPreparedStatement.java:386)
The method is like
     pStmt.setObject(1, new Short(2));
Seems like the driver failed to bind Short type correctly to Number
type.
Thanks
Sheng Song
On Thu, 24 Jan 2002 21:11:47 -0800, "Slava Imeshev"
<[email protected]> wrote:
Hi Simon,
Could you show us your code?
Do you get any exceptions?
Regards,
Slava Imeshev
"Simon Song" <[email protected]> wrote in message
news:[email protected]..
Hi,
In Oracle, the field is defined as Number(5), but we failed to bind
the Java Short/Byte object to the PreparedStatement in WLS.
WLS 6.1 with SP2.
Any hint here? Or other people can succeed with Oracle's own driver.
I have noticed a post about WLS's Oracle Driver support will be ceded
in the future. Can we still get support on the Oracle Driver from WLS?
Thanks,
Sheng Song

Similar Messages

  • Failed to get Column's data type in Oracle 11g

    Hi,
    I made an ADO connection(Oracle provider) to Oracle 11g, and use ADO API: OpenSchema(adSchemaColumns) to fetch the columns' info. But I found I couldn't get the column's data type if it's type is timestamp or timestampwithtimezone in database. What I got is 'adIUnknown' whose number is 13.
    I test with another column whose data type is 'date', and everything is ok. I get the data type 'adDBTimeStamp'.
    This issue occurs on Oracle 10g, too.
    Can anyone offer some help? Thanks a lot!

    See
    http://www.oracle.com/technology/tech/windows/odpnet/index.html
    http://download.oracle.com/docs/cd/B28359_01/win.111/b28431/using.htm#CHDJJDAJ

  • Can I use RowSet with Type 4 Oracle Driver

    I am getting following exception when I am using Type 4 Driver with RowSet, but every thing fine with ResultSet.
    [12/Mar/2002 16:01:02:1] error: ODBC-083: could not load the library <db2cli.dll>
    configured in the registry for the driver <256>
    [12/Mar/2002 16:01:02:1] warning: ODBC-002: ODBC-002: DriverConnect: (IM002): [Microsoft][ODBC Driver Manager] Data sour
    ce name not found and no default driver specified (DB Error: 0)
    [12/Mar/2002 16:01:02:1] warning: ODBC-027: CreateConn: failed to create connection
    [new connection]: DSN=,DB=,USER=bp_andy6_d,PASS=xxxxxxxxxx
    [12/Mar/2002 16:01:02:1] error: DATA-108: failed to create a data connection with any of specified drivers
    java.sql.SQLException: no connection for statement execution
    at com.netscape.server.jdbc.NASRowSet.executeConn(Unknown Source)
    at com.netscape.server.jdbc.NASRowSet.readData(Unknown Source)
    at com.netscape.server.jdbc.NASRowSet.execute(Unknown Source)
    at com.exult.andy.base.helpers.DBAccess.executeRowSet(DBAccess.java:227)
    at com.exult.andy.base.ejb.BaseBean.runQueryDS(BaseBean.java:322)
    at com.exult.andy.base.ejb.BaseBean.runQuery(BaseBean.java:295)
    at com.exult.andy.base.ejb.BaseBean.runQueryFromDB(BaseBean.java:118)
    at com.exult.andy.base.ejb.DataGetterBean.DataBaseRequest(DataGetterBean.java:640)
    at java.lang.reflect.Method.invoke(Native Method)
    at com.exult.andy.base.ejb.ejb_skel_com_exult_andy_base_ejb_DataGetterBean.DataBaseRequest(ejb_skel_com_exult_an
    dy_base_ejb_DataGetterBean.java:225)
    at com.exult.andy.base.ejb.ejb_kcp_skel_IDataGetter.DataBaseRequest__java_sql_ResultSet__indir_wstring(ejb_kcp_s
    kel_IDataGetter.java:342)
    at com.kivasoft.ebfp.FPRequest.invokenative(Native Method)
    at com.kivasoft.ebfp.FPRequest.invoke(Unknown Source)
    at com.exult.andy.base.ejb.ejb_kcp_stub_IDataGetter.DataBaseRequest(ejb_kcp_stub_IDataGetter.java:478)
    at com.exult.andy.base.ejb.ejb_stub_IDataGetter.DataBaseRequest(ejb_stub_IDataGetter.java:79)
    at com.exult.andy.base.helpers.ANDY.load(ANDY.java:368)
    at com.exult.andy.base.helpers.ANDY.retrieve(ANDY.java:273)
    at com.exult.andy.base.helpers.ANDY.get(ANDY.java:139)
    at com.exult.andy.base.utilities.Util.readTS(Util.java:526)
    at com.iplanet.ias.startup.StartupClass.startUp(StartupClass.java:26)
    at com.kivasoft.engine.Engine.invokeStartUp(Unknown Source)
    at com.kivasoft.engine.Engine.run(Unknown Source)
    at com.kivasoft.engine.Engine.main(Unknown Source)
    And, it is working fine with ORACLE_OCI driver.
    Any Idea.
    --raj                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

    You can use type-4 driver with RowSets. Can you please confirm your driver and datasource configuration are correct and working for type-4 driver.
    for more information visit:
    http://docs.iplanet.com/docs/manuals/ias/60/sp4/dg/jpgjdbc.htm#13670
    And to get rid of the line: "could not load the library <db2cli.dll> ...", please see my previous posting on this.
    Please get back if any further quries.
    Thanks,
    Rakesh.

  • Weblogic 10.0 Parsing Failure in config.xml: failed to load java type

    Hello,
    I've just installed a Weblogic 10.0 on a Linux server and when i try to start it, by :
    bash$ : sudo -u weblogic ./startWebLogic.sh
    JAVA Memory arguments: -Xms256m -Xmx512m -XX:MaxPermSize=128m
    WLS Start Mode=Production
    CLASSPATH=:/opt/weblogic/10.0/patch_wls1002/profiles/default/sys_manifest_classpath/weblogic_patch.jar:/opt/weblogic/10.0/patch_cie640/profiles/default/sys_manifest_classpath/weblogic_patch.jar:/opt/weblogic/10.0/jdk150_15/lib/tools.jar:/opt/weblogic/10.0/weblogic10.0/server/lib/weblogic_sp.jar:/opt/weblogic/10.0/weblogic10.0/server/lib/weblogic.jar:/opt/weblogic/10.0/modules/features/weblogic.server.modules_10.0.2.0.jar:/opt/weblogic/10.0/modules/features/com.bea.cie.common-plugin.launch_2.1.2.0.jar:/opt/weblogic/10.0/weblogic10.0/server/lib/webservices.jar:/opt/weblogic/10.0/modules/org.apache.ant_1.6.5/lib/ant-all.jar:/opt/weblogic/10.0/modules/net.sf.antcontrib_1.0b2.0/lib/ant-contrib.jar::/opt/weblogic/10.0/weblogic10.0/common/eval/pointbase/lib/pbclient51.jar:/opt/weblogic/10.0/weblogic10.0/server/lib/xqrl.jar::
    PATH=/opt/weblogic/10.0/weblogic10.0/server/bin:/opt/weblogic/10.0/modules/org.apache.ant_1.6.5/bin:/opt/weblogic/10.0/jdk150_15/jre/bin:/opt/weblogic/10.0/jdk150_15/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/X11R6/bin
    * To start WebLogic Server, use a username and *
    * password assigned to an admin-level user. For *
    * server administration, use the WebLogic Server *
    * console at http://hostname:port/console *
    starting weblogic with Java version:
    java version "1.5.0_15"
    Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_15-b04)
    Java HotSpot(TM) Server VM (build 1.5.0_15-b04, mixed mode)
    Starting WLS with line:
    /opt/weblogic/10.0/jdk150_15/bin/java -server -Xms256m -Xmx512m -XX:MaxPermSize=128m -da -Dplatform.home=/opt/weblogic/10.0/weblogic10.0 -Dwls.home=/opt/weblogic/10.0/weblogic10.0/server -Dweblogic.home=/opt/weblogic/10.0/weblogic10.0/server -Dwli.home= -Dweblogic.management.discover=true -Dwlw.iterativeDev=false -Dwlw.testConsole=false -Dwlw.logErrorsToConsole= -Dweblogic.ext.dirs=/opt/weblogic/10.0/patch_wls1002/profiles/default/sysext_manifest_classpath:/opt/weblogic/10.0/patch_cie640/profiles/default/sysext_manifest_classpath -Dweblogic.security.providers.authentication.LDAPDelegatePoolSize=50 -Dweblogic.management.username=system -Dweblogic.management.password=admin9424 -Dweblogic.Name=AdminServer -Djava.security.policy=/opt/weblogic/10.0/weblogic10.0/server/lib/weblogic.policy weblogic.Server
    <Jun 7, 2010 9:49:12 AM CEST> <Notice> <WebLogicServer> <BEA-000395> <Following extensions directory contents added to the end of the classpath:
    /opt/weblogic/10.0/weblogic10.0/platform/lib/p13n/p13n-schemas.jar:/opt/weblogic/10.0/weblogic10.0/platform/lib/p13n/p13n_common.jar:/opt/weblogic/10.0/weblogic10.0/platform/lib/p13n/p13n_system.jar:/opt/weblogic/10.0/weblogic10.0/platform/lib/p13n/wlp_services.jar:/opt/weblogic/10.0/weblogic10.0/platform/lib/wlp/netuix_common.jar:/opt/weblogic/10.0/weblogic10.0/platform/lib/wlp/netuix_schemas.jar:/opt/weblogic/10.0/weblogic10.0/platform/lib/wlp/netuix_system.jar:/opt/weblogic/10.0/weblogic10.0/platform/lib/wlp/wsrp-client.jar:/opt/weblogic/10.0/weblogic10.0/platform/lib/wlp/wsrp-common.jar>
    <Jun 7, 2010 9:49:13 AM CEST> <Info> <WebLogicServer> <BEA-000377> <Starting WebLogic Server with Java HotSpot(TM) Server VM Version 1.5.0_15-b04 from Sun Microsystems Inc.>
    <Jun 7, 2010 9:49:13 AM CEST> <Info> <Management> <BEA-141107> <Version: WebLogic Server 10.0 MP2 Sat Apr 25 01:45:38 EDT 2009 1213942 >
    i got the following error messages :
    *<Jun 7, 2010 9:49:14 AM CEST> <Critical> <WebLogicServer> <BEA-000362> <Server failed. Reason: [Management:141266]Parsing Failure in config.xml: failed to load java type corresponding to e=domain@http://www.bea.com/ns/weblogic/920/domain>*
    <Jun 7, 2010 9:49:14 AM CEST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to FAILED>
    <Jun 7, 2010 9:49:14 AM CEST> <Error> <WebLogicServer> <BEA-000383> <A critical service failed. The server will shut itself down>
    <Jun 7, 2010 9:49:14 AM CEST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to FORCE_SHUTTING_DOWN>
    If i start the server as root, it boots but i cant deploy anything.
    Any idea about this behavior ?

    Hi,
    It is the problem in prasing the DTD of config.xml file
    It look like this
    <?xml version='1.0' encoding='UTF-8'?>
    <domain xmlns="http://www.bea.com/ns/weblogic/920/domain" xmlns:sec="http://www.bea.com/ns/weblogic/90/security" xmlns:xsi="http://www.w3.org/2001/XMLSchema-
    instance" xmlns:wls="http://www.bea.com/ns/weblogic/90/security/wls" xsi:schemaLocation="http://www.bea.com/ns/weblogic/90/security/xacml http://www.bea.com/
    ns/weblogic/90/security/xacml.xsd http://www.bea.com/ns/weblogic/90/security http://www.bea.com/ns/weblogic/90/security.xsd http://www.bea.com/ns/weblogic/92
    0/domain http://www.bea.com/ns/weblogic/920/domain.xsd http://www.bea.com/ns/weblogic/90/security/wls http://www.bea.com/ns/weblogic/90/security/wls.xsd">
    Please change your DTD to this lines and start the server.
    Regards
    Ravi D

  • Unmarshaller failed and com.bea.xml.XmlException: failed to load java type

    Hello guys!
    i use weblogic 9.2.3 and JDK 150_12 and JDeveloper 10
    i set up a connection from JDeveloper to WeblogicServer
    now i want to deploy an application with the JDeveloper using "Deploy to WeblogicServer" in Application field of the JDeveloper, but i get this error-message!
    Can somebody help me?
    Stack trace for message 149004
    weblogic.management.DeploymentException: Unmarshaller failed
    at weblogic.application.internal.EarDeploymentFactory.findOrCreateComponentMBeans(EarDeploymentFactory.java:189)
    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.management.deploy.internal.MBeanConverter.createApplicationMBean(MBeanConverter.java:88)
    at weblogic.management.deploy.internal.MBeanConverter.createApplicationForAppDeployment(MBeanConverter.java:66)
    at weblogic.management.deploy.internal.MBeanConverter.setupNew81MBean(MBeanConverter.java:314)
    at weblogic.deploy.internal.targetserver.operations.ActivateOperation.compatibilityProcessor(ActivateOperation.java:72)
    at weblogic.deploy.internal.targetserver.operations.AbstractOperation.setupPrepare(AbstractOperation.java:295)
    at weblogic.deploy.internal.targetserver.operations.ActivateOperation.doPrepare(ActivateOperation.java:86)
    at weblogic.deploy.internal.targetserver.operations.AbstractOperation.prepare(AbstractOperation.java:217)
    at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentPrepare(DeploymentManager.java:718)
    at weblogic.deploy.internal.targetserver.DeploymentManager.prepareDeploymentList(DeploymentManager.java:1185)
    at weblogic.deploy.internal.targetserver.DeploymentManager.handlePrepare(DeploymentManager.java:247)
    at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.prepare(DeploymentServiceDispatcher.java:157)
    at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doPrepareCallback(DeploymentReceiverCallbackDeliverer.java:157)
    at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$000(DeploymentReceiverCallbackDeliverer.java:12)
    at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$1.run(DeploymentReceiverCallbackDeliverer.java:45)
    at weblogic.work.ServerWorkManagerImpl$WorkAdapterImpl.run(ServerWorkManagerImpl.java:518)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:181)
    com.bea.xml.XmlException: failed to load java type corresponding to e=application@http://java.sun.com/xml/ns/javaee
    at com.bea.staxb.runtime.internal.UnmarshalResult.getPojoBindingType(UnmarshalResult.java:325)
    at com.bea.staxb.runtime.internal.UnmarshalResult.determineTypeForGlobalElement(UnmarshalResult.java:292)
    at com.bea.staxb.runtime.internal.UnmarshalResult.determineTypeForGlobalElement(UnmarshalResult.java:302)
    at com.bea.staxb.runtime.internal.UnmarshalResult.determineRootType(UnmarshalResult.java:283)
    at com.bea.staxb.runtime.internal.UnmarshalResult.unmarshalDocument(UnmarshalResult.java:153)
    at com.bea.staxb.runtime.internal.UnmarshallerImpl.unmarshal(UnmarshallerImpl.java:65)
    at weblogic.descriptor.internal.MarshallerFactory$1.createDescriptor(MarshallerFactory.java:136)
    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:378)
    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.management.deploy.internal.MBeanConverter.createApplicationMBean(MBeanConverter.java:88)
    at weblogic.management.deploy.internal.MBeanConverter.createApplicationForAppDeployment(MBeanConverter.java:66)
    at weblogic.management.deploy.internal.MBeanConverter.setupNew81MBean(MBeanConverter.java:314)
    at weblogic.deploy.internal.targetserver.operations.ActivateOperation.compatibilityProcessor(ActivateOperation.java:72)
    at weblogic.deploy.internal.targetserver.operations.AbstractOperation.setupPrepare(AbstractOperation.java:295)
    at weblogic.deploy.internal.targetserver.operations.ActivateOperation.doPrepare(ActivateOperation.java:86)
    at weblogic.deploy.internal.targetserver.operations.AbstractOperation.prepare(AbstractOperation.java:217)
    at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentPrepare(DeploymentManager.java:718)
    at weblogic.deploy.internal.targetserver.DeploymentManager.prepareDeploymentList(DeploymentManager.java:1185)
    at weblogic.deploy.internal.targetserver.DeploymentManager.handlePrepare(DeploymentManager.java:247)
    at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.prepare(DeploymentServiceDispatcher.java:157)
    at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doPrepareCallback(DeploymentReceiverCallbackDeliverer.java:157)
    at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$000(DeploymentReceiverCallbackDeliverer.java:12)
    at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$1.run(DeploymentReceiverCallbackDeliverer.java:45)
    at weblogic.work.ServerWorkManagerImpl$WorkAdapterImpl.run(ServerWorkManagerImpl.java:518)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:181)

    i opened the console and want to install the application with the EAR.file, but there appears new Errors:
    Error     Unable to access the selected application
    Error     Exception in AppMerge flows' progression
    and the log.file throws:
    <Error> <J2EE> <BEA-160197> <Unable to load descriptor /opt/oracle/bea/user_projects/domains/SOADomain/servers/AdminServer/tmp/.appmergegen_1234189517852_SOADEMO-CREDITSERVICE-CreditService-WS.ear/META-INF/application.xml of module SOADEMO-CREDITSERVICE-CreditService-WS.ear. 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:378)
    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.compiler.CompilerCtx.setApplicationDescriptor(CompilerCtx.java:127)
    at weblogic.application.compiler.AppcUtils.setDDs(AppcUtils.java:139)
    at weblogic.application.compiler.flow.DescriptorParsingFlow.compile(DescriptorParsingFlow.java:64)
    at weblogic.application.compiler.FlowDriver$FlowStateChange.next(FlowDriver.java:69)
    at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)
    at weblogic.application.compiler.FlowDriver.nextState(FlowDriver.java:36)
    at weblogic.application.compiler.FlowDriver$CompilerFlowDriver.compile(FlowDriver.java:96)
    at weblogic.application.compiler.ReadOnlyEarMerger.merge(ReadOnlyEarMerger.java:43)
    at weblogic.application.compiler.flow.AppMergerFlow.mergeInput(AppMergerFlow.java:94)
    at weblogic.application.compiler.flow.AppMergerFlow.compile(AppMergerFlow.java:47)
    at weblogic.application.compiler.FlowDriver$FlowStateChange.next(FlowDriver.java:69)
    at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)
    at weblogic.application.compiler.FlowDriver.nextState(FlowDriver.java:36)
    at weblogic.application.compiler.FlowDriver$CompilerFlowDriver.compile(FlowDriver.java:96)
    at weblogic.application.compiler.AppMerge.runBody(AppMerge.java:133)
    at weblogic.utils.compiler.Tool.run(Tool.java:158)
    at weblogic.utils.compiler.Tool.run(Tool.java:115)
    at weblogic.application.compiler.AppMerge.merge(AppMerge.java:145)
    at weblogic.deploy.api.internal.utils.AppMerger.merge(AppMerger.java:70)
    at weblogic.deploy.api.internal.utils.AppMerger.getMergedApp(AppMerger.java:51)
    at weblogic.deploy.api.model.internal.WebLogicDeployableObjectFactoryImpl.createDeployableObject(WebLogicDeployableObjectFactoryImpl.java:177)
    at weblogic.deploy.api.model.internal.WebLogicDeployableObjectFactoryImpl.createLazyDeployableObject(WebLogicDeployableObjectFactoryImpl.java:150)
    at weblogic.deploy.api.tools.SessionHelper.inspect(SessionHelper.java:645)
    at com.bea.console.actions.app.install.Flow.appSelected(Flow.java:450)
    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 org.apache.beehive.netui.pageflow.FlowController.invokeActionMethod(FlowController.java:869)
    at org.apache.beehive.netui.pageflow.FlowController.getActionMethodForward(FlowController.java:808)
    at org.apache.beehive.netui.pageflow.FlowController.internalExecute(FlowController.java:477)
    at org.apache.beehive.netui.pageflow.PageFlowController.internalExecute(PageFlowController.java:305)
    at org.apache.beehive.netui.pageflow.FlowController.execute(FlowController.java:335)
    at org.apache.beehive.netui.pageflow.internal.FlowControllerAction.execute(FlowControllerAction.java:51)
    at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:419)
    at org.apache.beehive.netui.pageflow.PageFlowRequestProcessor.access$201(PageFlowRequestProcessor.java:95)
    at org.apache.beehive.netui.pageflow.PageFlowRequestProcessor$ActionRunner.execute(PageFlowRequestProcessor.java:2042)
    at org.apache.beehive.netui.pageflow.interceptor.action.internal.ActionInterceptors$WrapActionInterceptorChain.continueChain(ActionInterceptors.java:63)
    at org.apache.beehive.netui.pageflow.interceptor.action.ActionInterceptor.wrapAction(ActionInterceptor.java:167)
    at org.apache.beehive.netui.pageflow.interceptor.action.internal.ActionInterceptors$WrapActionInterceptorChain.invoke(ActionInterceptors.java:49)
    at org.apache.beehive.netui.pageflow.interceptor.action.internal.ActionInterceptors$WrapActionInterceptorChain.continueChain(ActionInterceptors.java:57)
    at org.apache.beehive.netui.pageflow.interceptor.action.internal.ActionInterceptors.wrapAction(ActionInterceptors.java:86)
    at org.apache.beehive.netui.pageflow.PageFlowRequestProcessor.processActionPerform(PageFlowRequestProcessor.java:2114)
    at com.bea.console.internal.ConsolePageFlowRequestProcessor.processActionPerform(ConsolePageFlowRequestProcessor.java:234)
    at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:224)
    at org.apache.beehive.netui.pageflow.PageFlowRequestProcessor.processInternal(PageFlowRequestProcessor.java:554)
    at org.apache.beehive.netui.pageflow.PageFlowRequestProcessor.process(PageFlowRequestProcessor.java:851)
    at org.apache.beehive.netui.pageflow.AutoRegisterActionServlet.process(AutoRegisterActionServlet.java:630)
    at org.apache.beehive.netui.pageflow.PageFlowActionServlet.process(PageFlowActionServlet.java:157)
    at com.bea.console.internal.ConsoleActionServlet.process(ConsoleActionServlet.java:241)
    at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
    at com.bea.console.internal.ConsoleActionServlet.doGet(ConsoleActionServlet.java:130)
    at org.apache.beehive.netui.pageflow.PageFlowUtils.strutsLookup(PageFlowUtils.java:1169)
    at com.bea.portlet.adapter.scopedcontent.ScopedContentCommonSupport.executeAction(ScopedContentCommonSupport.java:688)
    at com.bea.portlet.adapter.scopedcontent.ScopedContentCommonSupport.processActionInternal(ScopedContentCommonSupport.java:144)
    at com.bea.portlet.adapter.scopedcontent.PageFlowStubImpl.processAction(PageFlowStubImpl.java:107)
    at com.bea.portlet.adapter.NetuiActionHandler.raiseScopedAction(NetuiActionHandler.java:99)
    at com.bea.netuix.servlets.controls.content.NetuiContent.raiseScopedAction(NetuiContent.java:180)
    at com.bea.netuix.servlets.controls.content.NetuiContent.raiseScopedAction(NetuiContent.java:168)
    at com.bea.netuix.servlets.controls.content.NetuiContent.handlePostbackData(NetuiContent.java:222)
    at com.bea.netuix.nf.ControlLifecycle$2.visit(ControlLifecycle.java:178)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:351)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:361)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:361)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:361)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:361)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:361)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:361)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:361)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:361)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:361)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:361)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:361)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:361)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:361)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:361)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:361)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:361)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:361)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:361)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:361)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:361)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:361)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:361)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:361)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:361)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:361)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:361)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:361)
    at com.bea.netuix.nf.ControlTreeWalker.walk(ControlTreeWalker.java:128)
    at com.bea.netuix.nf.Lifecycle.processLifecycles(Lifecycle.java:361)
    at com.bea.netuix.nf.Lifecycle.processLifecycles(Lifecycle.java:339)
    at com.bea.netuix.nf.Lifecycle.processLifecycles(Lifecycle.java:330)
    at com.bea.netuix.nf.Lifecycle.runInbound(Lifecycle.java:162)
    at com.bea.netuix.nf.Lifecycle.run(Lifecycle.java:137)
    at com.bea.netuix.servlets.manager.UIServlet.runLifecycle(UIServlet.java:419)
    at com.bea.netuix.servlets.manager.UIServlet.doPost(UIServlet.java:267)
    at com.bea.netuix.servlets.manager.UIServlet.service(UIServlet.java:197)
    at com.bea.netuix.servlets.manager.SingleFileServlet.service(SingleFileServlet.java:237)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
    at weblogic.servlet.AsyncInitServlet.service(AsyncInitServlet.java:124)
    at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
    at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:283)
    at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
    at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:26)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3242)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
    at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2010)
    at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:1916)
    at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1366)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:181)
    Caused by: com.bea.xml.XmlException: failed to load java type corresponding to e=application@http://java.sun.com/xml/ns/javaee
    at com.bea.staxb.runtime.internal.UnmarshalResult.getPojoBindingType(UnmarshalResult.java:325)
    at com.bea.staxb.runtime.internal.UnmarshalResult.determineTypeForGlobalElement(UnmarshalResult.java:292)
    at com.bea.staxb.runtime.internal.UnmarshalResult.determineTypeForGlobalElement(UnmarshalResult.java:302)
    at com.bea.staxb.runtime.internal.UnmarshalResult.determineRootType(UnmarshalResult.java:283)
    at com.bea.staxb.runtime.internal.UnmarshalResult.unmarshalDocument(UnmarshalResult.java:153)
    at com.bea.staxb.runtime.internal.UnmarshallerImpl.unmarshal(UnmarshallerImpl.java:65)
    at weblogic.descriptor.internal.MarshallerFactory$1.createDescriptor(MarshallerFactory.java:136)
    ... 123 more

  • Com.bea.xml.XmlException: failed to load java type corresponding to e=ejb-j

    When I try to migrate my ejb application from weblogic 8.1 to 9.2 using Ant build script , I have received the following error stacks :
    [wlappc] com.bea.xml.XmlException: failed to load java type corresponding to e=ejb-jar
    [wlappc]      at com.bea.staxb.runtime.internal.UnmarshalResult.getPojoBindingType(UnmarshalResult.java:325)
    [wlappc]      at com.bea.staxb.runtime.internal.UnmarshalResult.determineTypeForGlobalElement(UnmarshalResult.java:292)
    [wlappc]      at com.bea.staxb.runtime.internal.UnmarshalResult.determineTypeForGlobalElement(UnmarshalResult.java:302)
    [wlappc]      at com.bea.staxb.runtime.internal.UnmarshalResult.determineRootType(UnmarshalResult.java:283)
    [wlappc]      at com.bea.staxb.runtime.internal.UnmarshalResult.unmarshalDocument(UnmarshalResult.java:153)
    [wlappc]      at com.bea.staxb.runtime.internal.UnmarshallerImpl.unmarshal(UnmarshallerImpl.java:65)
    [wlappc]      at weblogic.descriptor.internal.MarshallerFactory$1.createDescriptor(MarshallerFactory.java:136)
    [wlappc]      at weblogic.descriptor.DescriptorManager.createDescriptor(DescriptorManager.java:280)
    [wlappc]      at weblogic.descriptor.DescriptorManager.createDescriptor(DescriptorManager.java:248)
    [wlappc]      at weblogic.descriptor.DescriptorManager.createDescriptor(DescriptorManager.java:309)
    [wlappc]      at weblogic.application.descriptor.AbstractDescriptorLoader.createDescriptor(AbstractDescriptorLoader.java:344)
    [wlappc]      at weblogic.application.descriptor.CachingDescriptorLoader.createDescriptor(CachingDescriptorLoader.java:188)
    [wlappc]      at weblogic.application.descriptor.AbstractDescriptorLoader.createDescriptor(AbstractDescriptorLoader.java:328)
    [wlappc]      at weblogic.application.descriptor.AbstractDescriptorLoader.getDescriptor(AbstractDescriptorLoader.java:237)
    [wlappc]      at weblogic.application.descriptor.AbstractDescriptorLoader.getRootDescriptorBean(AbstractDescriptorLoader.java:217)
    [wlappc]      at weblogic.ejb.spi.EjbJarDescriptor.getEjbJarBean(EjbJarDescriptor.java:141)
    [wlappc]      at weblogic.ejb.container.dd.xml.DDUtils.processEjbJarXMLWithSchema(DDUtils.java:517)
    [wlappc]      at weblogic.ejb.container.dd.xml.DDUtils.createDescriptorFromJarFile(DDUtils.java:182)
    [wlappc]      at weblogic.ejb.container.dd.xml.DDUtils.createReadOnlyDescriptorFromJarFile(DDUtils.java:141)
    [wlappc]      at weblogic.ejb.container.ejbc.EJBCompiler.parseDescriptors(EJBCompiler.java:1351)
    [wlappc]      at weblogic.ejb.container.ejbc.EJBCompiler.compileEJB(EJBCompiler.java:431)
    [wlappc]      at weblogic.application.compiler.AppcUtils.compileEJB(AppcUtils.java:297)
    [wlappc]      at weblogic.application.compiler.EJBCompiler.compile(EJBCompiler.java:96)
    [wlappc]      at weblogic.application.compiler.flow.AppCompilerFlow.compileInput(AppCompilerFlow.java:118)
    [wlappc]      at weblogic.application.compiler.flow.AppCompilerFlow.compile(AppCompilerFlow.java:43)
    [wlappc]      at weblogic.application.compiler.FlowDriver$FlowStateChange.next(FlowDriver.java:69)
    [wlappc]      at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)
    [wlappc]      at weblogic.application.compiler.FlowDriver.nextState(FlowDriver.java:36)
    [wlappc]      at weblogic.application.compiler.FlowDriver.run(FlowDriver.java:26)
    [wlappc]      at weblogic.application.compiler.Appc.runBody(Appc.java:163)
    [wlappc]      at weblogic.utils.compiler.Tool.run(Tool.java:158)
    [wlappc]      at weblogic.utils.compiler.Tool.run(Tool.java:115)
    [wlappc]      at weblogic.application.compiler.Appc.main(Appc.java:174)
    [wlappc]      at weblogic.appc.main(appc.java:14)
    [wlappc]      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    [wlappc]      at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    [wlappc]      at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    [wlappc]      at java.lang.reflect.Method.invoke(Unknown Source)
    [wlappc]      at weblogic.ant.taskdefs.j2ee.CompilerTask.invokeMain(CompilerTask.java:290)
    [wlappc]      at weblogic.ant.taskdefs.j2ee.Appc.privateExecute(Appc.java:250)
    [wlappc]      at weblogic.ant.taskdefs.j2ee.Appc.execute(Appc.java:159)
    [wlappc]      at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
    [wlappc]      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    [wlappc]      at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    [wlappc]      at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    [wlappc]      at java.lang.reflect.Method.invoke(Unknown Source)
    [wlappc]      at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:105)
    [wlappc]      at org.apache.tools.ant.Task.perform(Task.java:348)
    [wlappc]      at org.apache.tools.ant.taskdefs.Sequential.execute(Sequential.java:62)
    [wlappc]      at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
    [wlappc]      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    [wlappc]      at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    [wlappc]      at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    [wlappc]      at java.lang.reflect.Method.invoke(Unknown Source)
    [wlappc]      at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:105)
    [wlappc]      at org.apache.tools.ant.Task.perform(Task.java:348)
    [wlappc]      at org.apache.tools.ant.taskdefs.MacroInstance.execute(MacroInstance.java:391)
    [wlappc]      at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
    [wlappc]      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    [wlappc]      at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    [wlappc]      at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    [wlappc]      at java.lang.reflect.Method.invoke(Unknown Source)
    [wlappc]      at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:105)
    [wlappc]      at org.apache.tools.ant.Task.perform(Task.java:348)
    [wlappc]      at org.apache.tools.ant.Target.execute(Target.java:357)
    [wlappc]      at org.apache.tools.ant.Target.performTasks(Target.java:385)
    [wlappc]      at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1329)
    [wlappc]      at org.apache.tools.ant.Project.executeTarget(Project.java:1298)
    [wlappc]      at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
    [wlappc]      at org.eclipse.ant.internal.ui.antsupport.EclipseDefaultExecutor.executeTargets(EclipseDefaultExecutor.java:32)
    [wlappc]      at org.apache.tools.ant.Project.executeTargets(Project.java:1181)
    [wlappc]      at org.eclipse.ant.internal.ui.antsupport.InternalAntRunner.run(InternalAntRunner.java:423)
    [wlappc]      at org.eclipse.ant.internal.ui.antsupport.InternalAntRunner.main(InternalAntRunner.java:137)
    So. please help me to comeout from the above said problem.
    Thanks in advance This is very very urgent..
    -- Atanu
    Edited by atanud at 10/25/2007 5:19 AM
    Edited by atanud at 10/25/2007 5:20 AM

    When I try to migrate my ejb application from weblogic 8.1 to 9.2 using Ant build script , I have received the following error stacks :
    [wlappc] com.bea.xml.XmlException: failed to load java type corresponding to e=ejb-jar
    [wlappc]      at com.bea.staxb.runtime.internal.UnmarshalResult.getPojoBindingType(UnmarshalResult.java:325)
    [wlappc]      at com.bea.staxb.runtime.internal.UnmarshalResult.determineTypeForGlobalElement(UnmarshalResult.java:292)
    [wlappc]      at com.bea.staxb.runtime.internal.UnmarshalResult.determineTypeForGlobalElement(UnmarshalResult.java:302)
    [wlappc]      at com.bea.staxb.runtime.internal.UnmarshalResult.determineRootType(UnmarshalResult.java:283)
    [wlappc]      at com.bea.staxb.runtime.internal.UnmarshalResult.unmarshalDocument(UnmarshalResult.java:153)
    [wlappc]      at com.bea.staxb.runtime.internal.UnmarshallerImpl.unmarshal(UnmarshallerImpl.java:65)
    [wlappc]      at weblogic.descriptor.internal.MarshallerFactory$1.createDescriptor(MarshallerFactory.java:136)
    [wlappc]      at weblogic.descriptor.DescriptorManager.createDescriptor(DescriptorManager.java:280)
    [wlappc]      at weblogic.descriptor.DescriptorManager.createDescriptor(DescriptorManager.java:248)
    [wlappc]      at weblogic.descriptor.DescriptorManager.createDescriptor(DescriptorManager.java:309)
    [wlappc]      at weblogic.application.descriptor.AbstractDescriptorLoader.createDescriptor(AbstractDescriptorLoader.java:344)
    [wlappc]      at weblogic.application.descriptor.CachingDescriptorLoader.createDescriptor(CachingDescriptorLoader.java:188)
    [wlappc]      at weblogic.application.descriptor.AbstractDescriptorLoader.createDescriptor(AbstractDescriptorLoader.java:328)
    [wlappc]      at weblogic.application.descriptor.AbstractDescriptorLoader.getDescriptor(AbstractDescriptorLoader.java:237)
    [wlappc]      at weblogic.application.descriptor.AbstractDescriptorLoader.getRootDescriptorBean(AbstractDescriptorLoader.java:217)
    [wlappc]      at weblogic.ejb.spi.EjbJarDescriptor.getEjbJarBean(EjbJarDescriptor.java:141)
    [wlappc]      at weblogic.ejb.container.dd.xml.DDUtils.processEjbJarXMLWithSchema(DDUtils.java:517)
    [wlappc]      at weblogic.ejb.container.dd.xml.DDUtils.createDescriptorFromJarFile(DDUtils.java:182)
    [wlappc]      at weblogic.ejb.container.dd.xml.DDUtils.createReadOnlyDescriptorFromJarFile(DDUtils.java:141)
    [wlappc]      at weblogic.ejb.container.ejbc.EJBCompiler.parseDescriptors(EJBCompiler.java:1351)
    [wlappc]      at weblogic.ejb.container.ejbc.EJBCompiler.compileEJB(EJBCompiler.java:431)
    [wlappc]      at weblogic.application.compiler.AppcUtils.compileEJB(AppcUtils.java:297)
    [wlappc]      at weblogic.application.compiler.EJBCompiler.compile(EJBCompiler.java:96)
    [wlappc]      at weblogic.application.compiler.flow.AppCompilerFlow.compileInput(AppCompilerFlow.java:118)
    [wlappc]      at weblogic.application.compiler.flow.AppCompilerFlow.compile(AppCompilerFlow.java:43)
    [wlappc]      at weblogic.application.compiler.FlowDriver$FlowStateChange.next(FlowDriver.java:69)
    [wlappc]      at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)
    [wlappc]      at weblogic.application.compiler.FlowDriver.nextState(FlowDriver.java:36)
    [wlappc]      at weblogic.application.compiler.FlowDriver.run(FlowDriver.java:26)
    [wlappc]      at weblogic.application.compiler.Appc.runBody(Appc.java:163)
    [wlappc]      at weblogic.utils.compiler.Tool.run(Tool.java:158)
    [wlappc]      at weblogic.utils.compiler.Tool.run(Tool.java:115)
    [wlappc]      at weblogic.application.compiler.Appc.main(Appc.java:174)
    [wlappc]      at weblogic.appc.main(appc.java:14)
    [wlappc]      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    [wlappc]      at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    [wlappc]      at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    [wlappc]      at java.lang.reflect.Method.invoke(Unknown Source)
    [wlappc]      at weblogic.ant.taskdefs.j2ee.CompilerTask.invokeMain(CompilerTask.java:290)
    [wlappc]      at weblogic.ant.taskdefs.j2ee.Appc.privateExecute(Appc.java:250)
    [wlappc]      at weblogic.ant.taskdefs.j2ee.Appc.execute(Appc.java:159)
    [wlappc]      at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
    [wlappc]      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    [wlappc]      at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    [wlappc]      at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    [wlappc]      at java.lang.reflect.Method.invoke(Unknown Source)
    [wlappc]      at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:105)
    [wlappc]      at org.apache.tools.ant.Task.perform(Task.java:348)
    [wlappc]      at org.apache.tools.ant.taskdefs.Sequential.execute(Sequential.java:62)
    [wlappc]      at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
    [wlappc]      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    [wlappc]      at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    [wlappc]      at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    [wlappc]      at java.lang.reflect.Method.invoke(Unknown Source)
    [wlappc]      at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:105)
    [wlappc]      at org.apache.tools.ant.Task.perform(Task.java:348)
    [wlappc]      at org.apache.tools.ant.taskdefs.MacroInstance.execute(MacroInstance.java:391)
    [wlappc]      at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
    [wlappc]      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    [wlappc]      at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    [wlappc]      at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    [wlappc]      at java.lang.reflect.Method.invoke(Unknown Source)
    [wlappc]      at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:105)
    [wlappc]      at org.apache.tools.ant.Task.perform(Task.java:348)
    [wlappc]      at org.apache.tools.ant.Target.execute(Target.java:357)
    [wlappc]      at org.apache.tools.ant.Target.performTasks(Target.java:385)
    [wlappc]      at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1329)
    [wlappc]      at org.apache.tools.ant.Project.executeTarget(Project.java:1298)
    [wlappc]      at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
    [wlappc]      at org.eclipse.ant.internal.ui.antsupport.EclipseDefaultExecutor.executeTargets(EclipseDefaultExecutor.java:32)
    [wlappc]      at org.apache.tools.ant.Project.executeTargets(Project.java:1181)
    [wlappc]      at org.eclipse.ant.internal.ui.antsupport.InternalAntRunner.run(InternalAntRunner.java:423)
    [wlappc]      at org.eclipse.ant.internal.ui.antsupport.InternalAntRunner.main(InternalAntRunner.java:137)
    So. please help me to comeout from the above said problem.
    Thanks in advance This is very very urgent..
    -- Atanu
    Edited by atanud at 10/25/2007 5:19 AM
    Edited by atanud at 10/25/2007 5:20 AM

  • Failed to load java type corresponding to e=application !!

    Hello and execuse my poor english.
    When migrating from the WLS 8.1 to WLS 9.1, and when i try to deploy an EAR who contains some ejbs, i'd the folowing error :
    <i>"Failed to parse descriptor at 'META-INF/application.xml' for module 'null': com.bea.xml.XmlException: failed to load java type corresponding to e=application"</i>
    Should be rebuilt all our EJBs when we migrate from the 8.1 to the 9.1 ?
    I tried to rebuild the EAR, and i get the error :
    <i> [ejbc] weblogic.utils.compiler.ToolFailureException: ERROR: Error creating descriptor from jar file C:\dev\myEAR\build\tm
    p\myEAR-generic.jar:
    [ejbc] at weblogic.ejbc20.getDescriptorFromJar(ejbc20.java:735)
    [ejbc] at weblogic.ejbc20.runBody(ejbc20.java:453)
    [ejbc] at weblogic.utils.compiler.Tool.run(Tool.java:158)
    [ejbc] at weblogic.utils.compiler.Tool.run(Tool.java:115)
    [ejbc] at weblogic.ejbc.main(ejbc.java:36)
    [ejbc] and
    [ejbc] weblogic.descriptor.DescriptorException: Unmarshaller failed
    [ejbc] at weblogic.descriptor.internal.MarshallerFactory$1.createDescriptor(MarshallerFactory.java:149)
    [ejbc] at weblogic.descriptor.DescriptorManager.createDescriptor(DescriptorManager.java:271)
    [ejbc] at weblogic.descriptor.DescriptorManager.createDescriptor(DescriptorManager.java:240)
    [ejbc] at weblogic.descriptor.DescriptorManager.createDescriptor(DescriptorManager.java:300)
    [ejbc] at weblogic.application.descriptor.AbstractDescriptorLoader.createDescriptor(AbstractDescriptorLoader.java:344)
    [ejbc] at weblogic.application.descriptor.CachingDescriptorLoader.createDescriptor(CachingDescriptorLoader.java:188)
    [ejbc] at weblogic.application.descriptor.AbstractDescriptorLoader.createDescriptor(AbstractDescriptorLoader.java:328)
    [ejbc] at weblogic.application.descriptor.AbstractDescriptorLoader.getDescriptor(AbstractDescriptorLoader.java:237)
    [ejbc] at weblogic.application.descriptor.AbstractDescriptorLoader.getRootDescriptorBean(AbstractDescriptorLoader.java:217)
    [ejbc] at weblogic.ejb.spi.EjbJarDescriptor.getEjbJarBean(EjbJarDescriptor.java:141)
    [ejbc] at weblogic.ejb.container.dd.xml.DDUtils.processEjbJarXMLWithSchema(DDUtils.java:672)
    [ejbc] at weblogic.ejb.container.dd.xml.DDUtils.createDescriptorFromJarFile(DDUtils.java:337)
    [ejbc] at weblogic.ejb.container.dd.xml.DDUtils.createReadOnlyDescriptorFromJarFile(DDUtils.java:133)
    [ejbc] at weblogic.ejbc20.getDescriptorFromJar(ejbc20.java:718)
    [ejbc] at weblogic.ejbc20.runBody(ejbc20.java:453)
    [ejbc] at weblogic.utils.compiler.Tool.run(Tool.java:158)
    [ejbc] at weblogic.utils.compiler.Tool.run(Tool.java:115)
    [ejbc] at weblogic.ejbc.main(ejbc.java:36)
    [ejbc] Caused by: com.bea.xml.XmlException: failed to load java type corresponding to e=ejb-jar
    [ejbc] at com.bea.staxb.runtime.internal.UnmarshalResult.getPojoBindingType(UnmarshalResult.java:325)
    [ejbc] at com.bea.staxb.runtime.internal.UnmarshalResult.determineTypeForGlobalElement(UnmarshalResult.java:292)
    [ejbc] at com.bea.staxb.runtime.internal.UnmarshalResult.determineTypeForGlobalElement(UnmarshalResult.java:302)
    [ejbc] at com.bea.staxb.runtime.internal.UnmarshalResult.determineRootType(UnmarshalResult.java:283)
    [ejbc] at com.bea.staxb.runtime.internal.UnmarshalResult.unmarshalDocument(UnmarshalResult.java:153)
    [ejbc] at com.bea.staxb.runtime.internal.UnmarshallerImpl.unmarshal(UnmarshallerImpl.java:65)
    [ejbc] at weblogic.descriptor.internal.MarshallerFactory$1.createDescriptor(MarshallerFactory.java:138)
    [ejbc] ... 17 more
    [ejbc] There are 3 nested errors:
    [ejbc] weblogic.utils.compiler.ToolFailureException: ERROR: Error creating descriptor from jar file C:\dev\myEAR\build\tm
    p\myEAR-generic.jar:
    [ejbc] at weblogic.ejbc20.formatErrorsInCollection(ejbc20.java:659)
    [ejbc] at weblogic.ejbc20.runBody(ejbc20.java:462)
    [ejbc] at weblogic.utils.compiler.Tool.run(Tool.java:158)
    [ejbc] at weblogic.utils.compiler.Tool.run(Tool.java:115)
    [ejbc] at weblogic.ejbc.main(ejbc.java:36)
    [ejbc] and
    [ejbc] weblogic.utils.compiler.ToolFailureException: ERROR: Error from ejbc: Unmarshaller failed
    [ejbc] at weblogic.ejbc20.formatErrorsInCollection(ejbc20.java:659)
    [ejbc] at weblogic.ejbc20.runBody(ejbc20.java:462)
    [ejbc] at weblogic.utils.compiler.Tool.run(Tool.java:158)
    [ejbc] at weblogic.utils.compiler.Tool.run(Tool.java:115)
    [ejbc] at weblogic.ejbc.main(ejbc.java:36)
    [ejbc] and
    [ejbc] weblogic.utils.compiler.ToolFailureException: ERROR: ejbc couldn't load descriptor from jar
    [ejbc] at weblogic.ejbc20.runBody(ejbc20.java:463)
    [ejbc] at weblogic.utils.compiler.Tool.run(Tool.java:158)
    [ejbc] at weblogic.utils.compiler.Tool.run(Tool.java:115)
    [ejbc] at weblogic.ejbc.main(ejbc.java:36)</i>
    I've read some threads in dev2dev, i did not change any thing in the classpath, just default classpath generated by the config wizard (WLS domain).
    Here the header of my ejb-jar.xml :
    <i><!DOCTYPE ejb-jar PUBLIC '-//Sun Microsystems, Inc.//DTD Enterprise JavaBeans 2.0//EN' 'http://java.sun.com/dtd/ejb-jar_2_0.dtd'><ejb-jar></i>
    when i try to use the XML schema <i><ejb-jar
    xmlns="http://java.sun.com/xml/ns/j2ee"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/ejb-jar_2_1.xsd"
    version="2.1"></i>, I get a validation error in the schema ??
    Thank you in advance.

    Did you try upgrading the descriptors using the DDConverter tool?
    http://e-docs.bea.com/wls/docs91/programming/overview.html#1075156
    <BaBoU BaBoU> wrote in message news:[email protected]...
    Hello and execuse my poor english.
    When migrating from the WLS 8.1 to WLS 9.1, and when i try to deploy an
    EAR who contains some ejbs, i'd the folowing error :
    <i>"Failed to parse descriptor at 'META-INF/application.xml' for module
    'null': com.bea.xml.XmlException: failed to load java type corresponding
    to e=application"</i>
    Should be rebuilt all our EJBs when we migrate from the 8.1 to the 9.1 ?
    I tried to rebuild the EAR, and i get the error :
    <i> [ejbc] weblogic.utils.compiler.ToolFailureException: ERROR: Error
    creating descriptor from jar file C:\dev\myEAR\build\tm
    p\myEAR-generic.jar:
    [ejbc] at weblogic.ejbc20.getDescriptorFromJar(ejbc20.java:735)
    [ejbc] at weblogic.ejbc20.runBody(ejbc20.java:453)
    [ejbc] at weblogic.utils.compiler.Tool.run(Tool.java:158)
    [ejbc] at weblogic.utils.compiler.Tool.run(Tool.java:115)
    [ejbc] at weblogic.ejbc.main(ejbc.java:36)
    [ejbc] and
    [ejbc] weblogic.descriptor.DescriptorException: Unmarshaller failed
    [ejbc] at
    weblogic.descriptor.internal.MarshallerFactory$1.createDescriptor(MarshallerFactory.java:149)
    [ejbc] at
    weblogic.descriptor.DescriptorManager.createDescriptor(DescriptorManager.java:271)
    [ejbc] at
    weblogic.descriptor.DescriptorManager.createDescriptor(DescriptorManager.java:240)
    [ejbc] at
    weblogic.descriptor.DescriptorManager.createDescriptor(DescriptorManager.java:300)
    [ejbc] at
    weblogic.application.descriptor.AbstractDescriptorLoader.createDescriptor(AbstractDescriptorLoader.java:344)
    [ejbc] at
    weblogic.application.descriptor.CachingDescriptorLoader.createDescriptor(CachingDescriptorLoader.java:188)
    [ejbc] at
    weblogic.application.descriptor.AbstractDescriptorLoader.createDescriptor(AbstractDescriptorLoader.java:328)
    [ejbc] at
    weblogic.application.descriptor.AbstractDescriptorLoader.getDescriptor(AbstractDescriptorLoader.java:237)
    [ejbc] at
    weblogic.application.descriptor.AbstractDescriptorLoader.getRootDescriptorBean(AbstractDescriptorLoader.java:217)
    [ejbc] at
    weblogic.ejb.spi.EjbJarDescriptor.getEjbJarBean(EjbJarDescriptor.java:141)
    [ejbc] at
    weblogic.ejb.container.dd.xml.DDUtils.processEjbJarXMLWithSchema(DDUtils.java:672)
    [ejbc] at
    weblogic.ejb.container.dd.xml.DDUtils.createDescriptorFromJarFile(DDUtils.java:337)
    [ejbc] at
    weblogic.ejb.container.dd.xml.DDUtils.createReadOnlyDescriptorFromJarFile(DDUtils.java:133)
    [ejbc] at weblogic.ejbc20.getDescriptorFromJar(ejbc20.java:718)
    [ejbc] at weblogic.ejbc20.runBody(ejbc20.java:453)
    [ejbc] at weblogic.utils.compiler.Tool.run(Tool.java:158)
    [ejbc] at weblogic.utils.compiler.Tool.run(Tool.java:115)
    [ejbc] at weblogic.ejbc.main(ejbc.java:36)
    [ejbc] Caused by: com.bea.xml.XmlException: failed to load java type
    corresponding to e=ejb-jar
    [ejbc] at
    com.bea.staxb.runtime.internal.UnmarshalResult.getPojoBindingType(UnmarshalResult.java:325)
    [ejbc] at
    com.bea.staxb.runtime.internal.UnmarshalResult.determineTypeForGlobalElement(UnmarshalResult.java:292)
    [ejbc] at
    com.bea.staxb.runtime.internal.UnmarshalResult.determineTypeForGlobalElement(UnmarshalResult.java:302)
    [ejbc] at
    com.bea.staxb.runtime.internal.UnmarshalResult.determineRootType(UnmarshalResult.java:283)
    [ejbc] at
    com.bea.staxb.runtime.internal.UnmarshalResult.unmarshalDocument(UnmarshalResult.java:153)
    [ejbc] at
    com.bea.staxb.runtime.internal.UnmarshallerImpl.unmarshal(UnmarshallerImpl.java:65)
    [ejbc] at
    weblogic.descriptor.internal.MarshallerFactory$1.createDescriptor(MarshallerFactory.java:138)
    [ejbc] ... 17 more
    [ejbc] There are 3 nested errors:
    [ejbc] weblogic.utils.compiler.ToolFailureException: ERROR: Error
    creating descriptor from jar file C:\dev\myEAR\build\tm
    p\myEAR-generic.jar:
    [ejbc] at
    weblogic.ejbc20.formatErrorsInCollection(ejbc20.java:659)
    [ejbc] at weblogic.ejbc20.runBody(ejbc20.java:462)
    [ejbc] at weblogic.utils.compiler.Tool.run(Tool.java:158)
    [ejbc] at weblogic.utils.compiler.Tool.run(Tool.java:115)
    [ejbc] at weblogic.ejbc.main(ejbc.java:36)
    [ejbc] and
    [ejbc] weblogic.utils.compiler.ToolFailureException: ERROR: Error from
    ejbc: Unmarshaller failed
    [ejbc] at
    weblogic.ejbc20.formatErrorsInCollection(ejbc20.java:659)
    [ejbc] at weblogic.ejbc20.runBody(ejbc20.java:462)
    [ejbc] at weblogic.utils.compiler.Tool.run(Tool.java:158)
    [ejbc] at weblogic.utils.compiler.Tool.run(Tool.java:115)
    [ejbc] at weblogic.ejbc.main(ejbc.java:36)
    [ejbc] and
    [ejbc] weblogic.utils.compiler.ToolFailureException: ERROR: ejbc
    couldn't load descriptor from jar
    [ejbc] at weblogic.ejbc20.runBody(ejbc20.java:463)
    [ejbc] at weblogic.utils.compiler.Tool.run(Tool.java:158)
    [ejbc] at weblogic.utils.compiler.Tool.run(Tool.java:115)
    [ejbc] at weblogic.ejbc.main(ejbc.java:36)</i>
    I've read some threads in dev2dev, i did not change any thing in the
    classpath, just default classpath generated by the config wizard (WLS
    domain).
    Here the header of my ejb-jar.xml :
    <i><!DOCTYPE ejb-jar PUBLIC '-//Sun Microsystems, Inc.//DTD Enterprise
    JavaBeans 2.0//EN' 'http://java.sun.com/dtd/ejb-jar_2_0.dtd'><ejb-jar></i>
    when i try to use the XML schema <i><ejb-jar
    xmlns="http://java.sun.com/xml/ns/j2ee"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee
    http://java.sun.com/xml/ns/j2ee/ejb-jar_2_1.xsd"
    version="2.1"></i>, I get a validation error in the schema ??
    Thank you in advance.

  • Failed to load value at index 22 with java object of type java.lang.String

    Hi all,
    As i am trying to open the notifications created from Administartor Workflow ,
    It throws a below error::
    oracle.apps.fnd.framework.OAException: oracle.jbo.AttributeLoadException: JBO-27022: Failed to load value at index 22 with java object of type java.lang.String due to java.sql.SQLException. at oracle.apps.fnd.framework.OAException.wrapperException(OAException.java:912) at oracle.apps.fnd.framework.OAException.wrapperException(OAException.java:886) at oracle.apps.fnd.framework.OAException.wrapperInvocationTargetException(OAException.java:1009) at oracle.apps.fnd.framework.server.OAUtility.invokeMethod(OAUtility.java:211) at oracle.apps.fnd.framework.server.OAApplicationModuleImpl.invokeMethod(OAApplicationModuleImpl.java:720) at oracle.apps.ap.oie.workflow.apexp.webui.NotifExpLinesCO.processRequest(NotifExpLinesCO.java:116) at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:600) at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.process
    java.sql.SQLException: Invalid column index
    at oracle.jdbc.driver.OracleResultSetImpl.getObject(OracleResultSetImpl.java:1042) at oracle.jbo.server.OracleSQLBuilderImpl.doLoadFromResultSet(OracleSQLBuilderImpl.java:1198) at oracle.jbo.server.AttributeDefImpl.loadFromResultSet(AttributeDefImpl.java:1633) at oracle.jbo.server.ViewRowImpl.populate(ViewRowImpl.java:2221).
    No extensions done in the page
    Please let me know the cause for this error ASAP
    Thanks
    Kash

    Problem solved. set the datatype as timestamp for that attribute in buissiness object.

  • Failed to load java type corresponding to e=weblogic-ejb-jar Error

    Hi,
    I am getting the following error when I try to build my application.
    [java] <Aug 21, 2007 11:56:52 AM IST> <Error> <J2EE> <BEA-160187> <weblogic.appc failed to compile your application. Recompile with the -verbose option for more details. Please see the error mess
    age(s) below.>
    [java] failed to load java type corresponding to e=weblogic-ejb-jar@http://www.bea.com/ns/weblogic/910
    Note that I am upgrading my 8.1 descriptors to 9.1.
    Any help is appriciated.
    Thanks
    Rajaram

    Try the 90 namespace, even if you are running 9.1 or 9.2
    <weblogic-ejb-jar xmlns="http://www.bea.com/ns/weblogic/90"

  • Unable to initialize the server: Server failed to bind to the requested por

    I am facing the error while starting the server. I see the following error.
    <Sep 26, 2007 11:49:54 PM EDT> <Emergency> <WebLogicServer> <BEA-000350> <Unable to create a server socket on Channel Default for: 162.86.20.87, port: 8101. java.net.BindException: Address already in use Perhaps the address 162.86.20.87 is incorrect or another process is using port 8101.>
    <Sep 26, 2007 11:49:54 PM EDT> <Emergency> <Security> <BEA-090085> <Server failed to bind to the configured port. The port may already be used by another process.>
    <Sep 26, 2007 11:49:54 PM EDT> <Emergency> <WebLogicServer> <BEA-000342> <Unable to initialize the server: Server failed to bind to the requested port. See preceeding log message for details.>
    The WebLogic Server did not start up properly.
    Exception raised: 'weblogic.server.ServerLifecycleException: Server failed to bind to the requested port. See preceeding log message for details.'
    Reason: Server failed to bind to the requested port. See preceeding log message for details.
    If the port is already in use how to find which server is running on that port, how to find the process and kill it. I am using weblogic 8.1 sp4 in Solaris 8.

    Bruce:
    It sounds like (as you already note) failed to shutdown WLS, that is why the
    .loc file was held and why the port is in use, WLS process was still
    running. To see why it failed to shut down, I would examine the
    weblogic.log, aslo the servers std out and err. Additionally taking a
    thread dump (if possible) on the "it wont shut down" wls java process should
    show (maybe unless the VM is hosed), where/what is hanging on/around. Do
    you happen to have native code running with wls, say a type 2 JDBC driver?
    Otherwise it sounds like a VM bug. But more data is needed to be sure.
    Cheers
    mbg
    "Bruce Bryan" <[email protected]> wrote in message
    news:3ef08499$[email protected]..
    I was shutting down the WLS server using the console shutdown and itfailed to shutdown completely. I then attempted to use the kill command on
    the process which usually works. This time I was unable to kill the process
    without using the kill -9 command. When I attempted to bring the server
    back up I got a failure to get a lock on the embedded ldap. I removed the
    .loc file and came further up but was unable to get further than the
    listener ports which were still locked to the old process. Do you know of
    anything I can do the get the WLS server back up without rebooting my
    Solaris server????
    netstat -an shows the port is in use but the only process that is alloweduse that port is WLS.

  • Does the Number type in Oracle always map to the Java BigDecimal object

    We have noticed that whenever we create a column in a table of type smallint, integer, real, etc. that the type in sqlplus always shows up as number(x). Our problem is that this type always seems to map to java.math.BigDecimal through JDBC. Is this a bug in the JDBC drivers???
    Put another way when I create a column of type smallint I expect that after performing a query I should be able to call the getShort method on the result set in order to get the value from the afore mentioned column. But instead I get a ClassCastException because the Java type for the column is actually a java.math.BigDecimal.
    Thanks,
    Keith
    [email protected]

    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by Keith Nielsen:
    We have noticed that whenever we create a column in a table of type smallint, integer, real, etc. that the type in sqlplus always shows up as number(x). Our problem is that this type always seems to map to java.math.BigDecimal through JDBC. Is this a bug in the JDBC drivers???
    Put another way when I create a column of type smallint I expect that after performing a query I should be able to call the getShort method on the result set in order to get the value from the afore mentioned column. But instead I get a ClassCastException because the Java type for the column is actually a java.math.BigDecimal.
    Thanks,
    Keith
    [email protected]<HR></BLOCKQUOTE>
    ~~~
    The possible Java types to which SQL NUMBER type can be materialized to include
    oracle.sql.NUMBER
    java.lang.Byte
    java.lang.Short
    java.lang.Integer
    java.lang.Long
    java.lang.Float
    java.lang.Double
    java.math.BigDecimal
    byte,short, int, long, float, double
    For a complete listing for all datatypes mappings refer the Oracle8i JDBC Developer's guide and reference.

  • [bug] "failed to bind columns" in cr4e

    (sorry, i don't know where to report this kind of bug/problem)
    i am using cr4e 2.0.2. i added a table into the report. i always got "failed to bind columns" error yesterday when i tried to browsing the data in the generated report (report is generated by java code, datasource is xml).
    with the same piece of code, i can successfully generate the report, browse the data with another different structure.
    i ran the same piece of code this morning (computer is restarted), the error "failed to bind columns" is gone!
    but:
    - the table is empty when i tried to browse the data by table;
    - the data is there when i tried to browse the data by column;
    - the data is there when i dragged the column into the report and preview it.
    what will cause this kind of weird problem? the data structure? or special character? or the cr4e is not stable? or a bug of cr4e?
    thanks,

    I have a report that contains multiple regular subreports including two cross-tab subreports that get data from SQL Server stored procedures. It runs perfectly in a PowerBuilder app using RDC. I am trying to migrate it to Java using JRC (CR for Eclipse 2.0). When I run this report using JRC (CR for Eclipse 2.0), it fails with the following errors. If I delete the two cross-tab subreports, the report runs fine. Can someone decifer the error message and tell me what should be done to make the report run?
    Thank you.
    com.crystaldecisions.sdk.occa.report.lib.ReportSDKException: Failed to bind columns.---- Error code:-2147467259 Error code name:failed
         at com.crystaldecisions.sdk.occa.report.application.PrintOutputController.if(SourceFile:237)
         at com.crystaldecisions.sdk.occa.report.application.PrintOutputController.export(SourceFile:147)
         at com.crystaldecisions.sdk.occa.report.application.PrintOutputController.export(SourceFile:128)
         at com.crystaldecisions.sdk.occa.report.application.PrintOutputController.export(SourceFile:111)
         at com.crystaldecisions.reports.sdk.PrintOutputController.export(SourceFile:54)
         at com.wellsfargo.cts.reportWriter.impl.ReportWriterJRC.generateReport(ReportWriterJRC.java:147)
         at com.wellsfargo.cts.reportWriter.RemitRptWriter.createReport(RemitRptWriter.java:255)
         at com.wellsfargo.cts.reportWriter.RemitRptWriter.main(RemitRptWriter.java:135)
         at com.wellsfargo.cts.test.MainDriverClassTest.testRunReport(MainDriverClassTest.java:17)
         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 junit.framework.TestCase.runTest(TestCase.java:164)
         at junit.framework.TestCase.runBare(TestCase.java:130)
         at junit.framework.TestResult$1.protect(TestResult.java:106)
         at junit.framework.TestResult.runProtected(TestResult.java:124)
         at junit.framework.TestResult.run(TestResult.java:109)
         at junit.framework.TestCase.run(TestCase.java:120)
         at junit.framework.TestSuite.runTest(TestSuite.java:230)
         at junit.framework.TestSuite.run(TestSuite.java:225)
         at org.eclipse.jdt.internal.junit.runner.junit3.JUnit3TestReference.run(JUnit3TestReference.java:130)
         at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
         at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:460)
         at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:673)
         at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:386)
         at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:196)
    Caused by: com.crystaldecisions.reports.queryengine.RowsetException: Failed to bind columns.
         at com.crystaldecisions.reports.queryengine.Rowset.z9(SourceFile:1049)
         at com.crystaldecisions.reports.queryengine.Rowset.Aa(SourceFile:988)
         at com.crystaldecisions.reports.queryengine.Rowset.z3(SourceFile:967)
         at com.crystaldecisions.reports.queryengine.Rowset.bL(SourceFile:533)
         at com.crystaldecisions.reports.queryengine.Rowset.zM(SourceFile:245)
         at com.crystaldecisions.reports.queryengine.RowsetBase.zA(SourceFile:156)
         at com.crystaldecisions.reports.queryengine.QueryInfo.vE(SourceFile:261)
         at com.crystaldecisions.reports.datafoundation.DFQuery.for(SourceFile:601)
         at com.crystaldecisions.reports.datalayer.a.do(SourceFile:1621)
         at com.crystaldecisions.reports.datalayer.a.a(SourceFile:1404)
         at com.crystaldecisions.reports.dataengine.m.b(SourceFile:334)
         at com.crystaldecisions.reports.dataengine.j.b(SourceFile:515)
         at com.crystaldecisions.reports.dataengine.m.o(SourceFile:408)
         at com.crystaldecisions.reports.dataengine.m.a(SourceFile:173)
         at com.crystaldecisions.reports.dataengine.ContextNode.a(SourceFile:114)
         at com.crystaldecisions.reports.dataengine.ContextNode.a(SourceFile:95)
         at com.crystaldecisions.reports.dataengine.j.case(SourceFile:1080)
         at com.crystaldecisions.reports.dataengine.h.<init>(SourceFile:108)
         at com.crystaldecisions.reports.dataengine.DataContext.a(SourceFile:254)
         at com.crystaldecisions.reports.dataengine.DataProcessor2.a(SourceFile:4660)
         at com.crystaldecisions.reports.dataengine.DataProcessor2.a(SourceFile:4574)
         at com.crystaldecisions.reports.dataengine.DataProcessor2.new(SourceFile:2652)
         at com.crystaldecisions.reports.dataengine.DataProcessor2.byte(SourceFile:2610)
         at com.crystaldecisions.reports.dataengine.DataProcessor2.try(SourceFile:2282)
         at com.crystaldecisions.reports.dataengine.DataProcessor2.int(SourceFile:2442)
         at com.crystaldecisions.reports.dataengine.DataProcessor2.I(SourceFile:1013)
         at com.crystaldecisions.reports.dataengine.DataProcessor2.if(SourceFile:4816)
         at com.crystaldecisions.reports.dataengine.DataProcessor2.a(SourceFile:2020)
         at com.crystaldecisions.reports.formatter.formatter.objectformatter.ObjectFormatter.a(SourceFile:309)
         at com.crystaldecisions.reports.formatter.formatter.objectformatter.ObjectFormatter.a(SourceFile:250)
         at com.crystaldecisions.reports.formatter.formatter.objectformatter.u.a(SourceFile:922)
         at com.crystaldecisions.reports.formatter.formatter.objectformatter.u.e(SourceFile:784)
         at com.crystaldecisions.reports.formatter.formatter.objectformatter.f.e(SourceFile:383)
         at com.crystaldecisions.reports.formatter.formatter.objectformatter.u.for(SourceFile:242)
         at com.crystaldecisions.reports.formatter.formatter.objectformatter.aa.a(SourceFile:64)
         at com.crystaldecisions.reports.formatter.formatter.objectformatter.ObjectFormatter.a(SourceFile:243)
         at com.crystaldecisions.reports.formatter.formatter.objectformatter.ObjectFormatter.a(SourceFile:210)
         at com.crystaldecisions.reports.formatter.formatter.objectformatter.v.a(SourceFile:185)
         at com.crystaldecisions.reports.formatter.formatter.objectformatter.v.a(SourceFile:230)
         at com.crystaldecisions.reports.formatter.formatter.objectformatter.ai.for(SourceFile:359)
         at com.crystaldecisions.reports.formatter.formatter.objectformatter.ai.for(SourceFile:133)
         at com.crystaldecisions.reports.formatter.formatter.objectformatter.ColumnFormatter.for(SourceFile:120)
         at com.crystaldecisions.reports.formatter.formatter.objectformatter.aa.a(SourceFile:64)
         at com.crystaldecisions.reports.formatter.formatter.objectformatter.ai.a(SourceFile:511)
         at com.crystaldecisions.reports.formatter.formatter.objectformatter.ai.a(SourceFile:452)
         at com.crystaldecisions.reports.formatter.formatter.objectformatter.ai.a(SourceFile:369)
         at com.crystaldecisions.reports.formatter.formatter.objectformatter.ah.a(SourceFile:72)
         at com.crystaldecisions.reports.formatter.formatter.objectformatter.ReportColumnFormatter.a(SourceFile:86)
         at com.crystaldecisions.reports.formatter.formatter.paginator.SinglePageFormatter.a(SourceFile:332)
         at com.crystaldecisions.reports.formatter.formatter.objectformatter.ai.for(SourceFile:359)
         at com.crystaldecisions.reports.formatter.formatter.objectformatter.ai.for(SourceFile:133)
         at com.crystaldecisions.reports.formatter.formatter.objectformatter.ColumnFormatter.for(SourceFile:120)
         at com.crystaldecisions.reports.formatter.formatter.paginator.SinglePageFormatter.for(SourceFile:177)
         at com.crystaldecisions.reports.formatter.formatter.objectformatter.aa.a(SourceFile:64)
         at com.crystaldecisions.reports.formatter.formatter.paginator.PageFormatter.do(SourceFile:727)
         at com.crystaldecisions.reports.formatter.formatter.paginator.PageFormatter.formatPage(SourceFile:226)
         at com.crystaldecisions.reports.formatter.export2.a.a(SourceFile:96)
         at com.crystaldecisions.reports.formatter.export2.a.a(SourceFile:247)
         at com.crystaldecisions.reports.formatter.export2.ExportSupervisorEx.if(SourceFile:642)
         at com.crystaldecisions.reports.formatter.export2.ExportSupervisorEx.a(SourceFile:586)
         at com.businessobjects.reports.sdk.requesthandler.ReportViewingRequestHandler.a(SourceFile:636)
         at com.businessobjects.reports.sdk.requesthandler.ReportViewingRequestHandler.int(SourceFile:672)
         at com.businessobjects.reports.sdk.JRCCommunicationAdapter.do(SourceFile:1940)
         at com.businessobjects.reports.sdk.JRCCommunicationAdapter.if(SourceFile:657)
         at com.businessobjects.reports.sdk.JRCCommunicationAdapter.a(SourceFile:163)
         at com.businessobjects.reports.sdk.JRCCommunicationAdapter$2.a(SourceFile:525)
         at com.businessobjects.reports.sdk.JRCCommunicationAdapter$2.call(SourceFile:523)
         at com.crystaldecisions.reports.common.ThreadGuard.syncExecute(SourceFile:102)
         at com.businessobjects.reports.sdk.JRCCommunicationAdapter.for(SourceFile:521)
         at com.businessobjects.reports.sdk.JRCCommunicationAdapter.int(SourceFile:420)
         at com.businessobjects.reports.sdk.JRCCommunicationAdapter.request(SourceFile:348)
         at com.businessobjects.sdk.erom.jrc.a.a(SourceFile:54)
         at com.businessobjects.sdk.erom.jrc.a.execute(SourceFile:67)
         at com.crystaldecisions.proxy.remoteagent.RemoteAgent$a.execute(SourceFile:716)
         at com.crystaldecisions.proxy.remoteagent.CommunicationChannel.a(SourceFile:125)
         at com.crystaldecisions.proxy.remoteagent.RemoteAgent.a(SourceFile:537)
         at com.crystaldecisions.sdk.occa.report.application.ds.a(SourceFile:186)
         at com.crystaldecisions.sdk.occa.report.application.ReportSource.a(SourceFile:1558)
         at com.crystaldecisions.sdk.occa.report.application.ReportSource.a(SourceFile:337)
         at com.crystaldecisions.sdk.occa.report.application.PrintOutputController.if(SourceFile:223)
         ... 26 more
    Edited by: Mallik Basoor on Oct 29, 2009 8:38 PM

  • JAVA primitive data types - Signed/ unsigned etc.

    1. Are the following data types signed or unsigned in JAVA?
    byte, short, int, long, float, double
    2. I have tried using "Integer" in place of "int" and the program runs perfectly. Why is this so when "Integer" is not a reserved word in JAVA?
    Thanks.

    And to answer your first question, byte, short, int, long, float and double are all signed.
    As a part of the core of the language, Sun developed a series of 'collections' classes; Vector, ArrayList, etc. All of these classes, in the days before generics, were able to store instances of the Object class or anything that derived from it. Therefore, to store an int, a float or a double value into one of these collections classes, it was necessary to wrap it up in an instance of one of those classes that derived from Number. These are the wrapper classes that the previous poster alluded to. Typically, the wrapper class has a similar name to the primitive data type but with a capital latter; int - Integer, double - Double, etc.

  • Cannot convert type class java.lang.String to class oracle.jbo.domain.Clob

    Cannot convert type class java.lang.String to class oracle.jbo.domain.ClobDomain.
    Using ADF Business Components I have a JSFF page fragment with an ADF form based on a table with has a column of type CLOB. The data is retrieved from the database and displayed correctly but when any field is changed and submitted the above error occurs. I have just used the drag and drop technique to create the ADF form with a submit button, am I missing a step?
    I am using the production release of Jdeveloper11G

    Reproduced and filed bug# 7487124
    The workaround is to add a custom converter class to your ViewController project like this
    package oow2008.view;
    import javax.faces.application.FacesMessage;
    import javax.faces.component.UIComponent;
    import javax.faces.context.FacesContext;
    import javax.faces.convert.Converter;
    import javax.faces.convert.ConverterException;
    import oracle.jbo.domain.ClobDomain;
    import oracle.jbo.domain.DataCreationException;
    public class ClobConverter implements Converter {
         public Object getAsObject(FacesContext facesContext,
                                   UIComponent uIComponent,
                                   String string) {
           try {
             return string != null ? new ClobDomain(string) : null;
           } catch (DataCreationException dce) {
             dce.setAppendCodes(false);
             FacesMessage fm =
               new FacesMessage(FacesMessage.SEVERITY_ERROR,
                                "Invalid Clob Value",
                                dce.getMessage());
             throw new ConverterException(fm);
         public String getAsString(FacesContext facesContext,
                                   UIComponent uIComponent,
                                   Object object) {
           return object != null ?
                  object.toString() :
                  null;
    }then to register the converter in faces-config.xml like this
    <faces-config version="1.2" xmlns="http://java.sun.com/xml/ns/javaee">
      <application>
        <default-render-kit-id>oracle.adf.rich</default-render-kit-id>
      </application>
      <converter>
        <converter-id>clobConverter</converter-id>
        <converter-class>oow2008.view.ClobConverter</converter-class>
      </converter>
    </faces-config>then reference this converter in the field for the ClobDomain value like this
              <af:inputText value="#{bindings.Description.inputValue}"
                            label="#{bindings.Description.hints.label}"
                            required="#{bindings.Description.hints.mandatory}"
                            columns="40"
                            maximumLength="#{bindings.Description.hints.precision}"
                            shortDesc="#{bindings.Description.hints.tooltip}"
                            wrap="soft" rows="10">
                <f:validator binding="#{bindings.Description.validator}"/>
                <f:converter converterId="clobConverter"/>
              </af:inputText>

  • Writing binary files & trouble with no unsigned byte type

    I've got a fair amount of Java experience, enough to know what I'm doing most of the time but I do have a vast experience with C & C++ which helps my Java. I've stumbled across a problem when trying to write out files in binary.
    If I was to write out a binary file, I would always choose C/C++ to do this because simply because I'm at ease with the implementation.
    I've now written a Java program which needs to output a file in binary and I'm having real issues doing the most simple things because of no unsigned support.
    I want to write out elements byte-by-byte and make use of the 8-bits provided in the byte type in Java.
    Let's assume I've done my processing and I end up with an int. I know that this int is 0-255 in value. I now want to pack it into a byte and write it to my file. How do I go about assigning the byte without Java 'converting' it to a signed byte? I simply want to copy the lower 8-bits of the int and duplicate them into the byte variable - no conversion.
    In C you would do something like this:
    char mySignedChar = *( (char*)&(unsigned char)myInt ) );
    What's the Java equivalent? Am I going about this the right way?

    Whether a byte is signed or unsigned only matters if one is doing arithmetic on it. If the int is 0-255 then you just cast to a byte using
    byte theByte = (byte)theIntValue;When reading back you just use
    int theByteAsAnInt = theByte & 0xff;

Maybe you are looking for

  • Sending an email using shell script in Oracle Applications

    Hi, I have a pl/sql package which will call a shell script program.The shell script program is written in order to send the invoice hold details of AP as a mail.The parameters to this program are passed in the pl/sql package. The shell script program

  • When we create  one service as preferred on both nodes in  two node RAC

    How to configure listener,tnsnames.ora & listener file When we create one service as preferred on both nodes in two node RAC ... ( I don't need load balancing here but i just want to create service as preferred on both nodes) please some one help me

  • I am not able to use two backing files in same portal page

    hi to all i am using backing files in remote portlet. but i have two portlets in my portal page and in both i need to use backing files. i used seperate backing files for both the portlets but only one works at a time. please help me out frnds.. did

  • Recording selected media from previous iDVD

    What is the proper way to copy a selected piece of media from a previous iDVD I made? (Unfortunately I don't have the original files just an iDVD disc.) I want the video w/ accompanying audio but not the template it was created with. I want to rename

  • Unable to start Weblogic Server

    Hi, I have installed the Weblogic server 10.3.5 and SOA 11.1.1.6.0 in the same Middleware directory. I have also created a domain sucessfully. When i try to start the Weblogic server it ends in Errors. Below are the log details, any help would be gre