Failed to Generate Wrapper Class Error With Postgresql

Hello,
Sorry if this comes across twice, I posted it first through the Google Groups interface, but I haven't seen it show up on the dev2dev forum interface. So here it is again.
I've read the following threads that seem to be related to this
question:
http://groups-beta.google.com/group/weblogic.developer.interest.jdbc/browse_thread/thread/dc8f0a9ee03e9b9f/f0a70a673db3bb52
http://groups-beta.google.com/group/weblogic.developer.interest.jdbc/browse_thread/thread/4f3b71c77dca30c4/4ed2e1c7b76a0c7b
I also followed the links in the second post ( I also found them via
Google as well ). I've been very sure the Postgresql JDBC driver is
definitely in the class path. I'm able to load it with Class.forName()
from a JSP page and then use DriverManager to get a connection that
works. So that definitely means the driver is found.
What else can cause this?
The only really odd thing I am doing is running Weblogic on OS X,
10.3.7 with all the updates. I know that this Weblogic setup works
since I work on Oracle all day (using the provided Weblogic driver in
8.1SP3). Just when I try to create a Postgresql connection for testing
our app against Postgresql.
I've tried it on Windows with Weblogic 8.1SP3 and it works, so I know
Weblogic is capable of using this driver.
My exact stacktrace is:
java.lang.RuntimeException: Failed to Generate Wrapper Class
at
weblogic.utils.wrapper.WrapperFactory.createWrapper(WrapperFactory.java:183)
at
weblogic.jdbc.wrapper.JDBCWrapperFactory.getWrapper(JDBCWrapperFactory.java:171)
at weblogic.jdbc.pool.Driver.allocateConnection(Driver.java:248)
at weblogic.jdbc.pool.Driver.connect(Driver.java:164)
at weblogic.jdbc.jts.Driver.getNonTxConnection(Driver.java:507)
at weblogic.jdbc.jts.Driver.connect(Driver.java:139)
at
weblogic.jdbc.common.internal.RmiDataSource.getConnection(RmiDataSource.java:305)
at jsp_servlet.__direct._jspService(direct.jsp:13)
at weblogic.servlet.jsp.JspBase.service(JspBase.java:33)
at
weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:996)
at
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:419)
at
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:463)
at
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:315)
at
weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:6452)
at
weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at
weblogic.security.service.SecurityManager.runAs(SecurityManager.java:118)
at
weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3661)
at
weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2630)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:219)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:178)
at weblogic.jdbc.jts.Driver.wrapAndThrowSQLException(Driver.java:458)
at weblogic.jdbc.jts.Driver.getNonTxConnection(Driver.java:511)
at weblogic.jdbc.jts.Driver.connect(Driver.java:139)
at
weblogic.jdbc.common.internal.RmiDataSource.getConnection(RmiDataSource.java:305)
at jsp_servlet.__direct._jspService(direct.jsp:13)
at weblogic.servlet.jsp.JspBase.service(JspBase.java:33)
at
weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:996)
at
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:419)
at
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:463)
at
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:315)
at
weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:6452)
at
weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at
weblogic.security.service.SecurityManager.runAs(SecurityManager.java:118)
at
weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3661)
at
weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2630)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:219)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:178)
What is going on at the place where this crashes? Is there a way find
out what class it really can't find?
Thanks,
Patrick

Patrick,
1. Could you try to test the postgress connection pool using
"Test Connection" on the pool set up page?
2. Could you compare config.xml for broken and working installations
in part of the connection pool settings?
Regards,
Slava Imeshev
"Patrick Burleson" <[email protected]> wrote in message
Sorry if this comes across twice, I posted it first through the Google Groups interface, but I haven't seen it show up on thedev2dev forum interface. So here it is again.
>
I've read the following threads that seem to be related to this
question:
http://groups-beta.google.com/group/weblogic.developer.interest.jdbc/browse_thread/thread/dc8f0a9ee03e9b9f/f0a70a673db3bb52
http://groups-beta.google.com/group/weblogic.developer.interest.jdbc/browse_thread/thread/4f3b71c77dca30c4/4ed2e1c7b76a0c7b
I also followed the links in the second post ( I also found them via
Google as well ). I've been very sure the Postgresql JDBC driver is
definitely in the class path. I'm able to load it with Class.forName()
from a JSP page and then use DriverManager to get a connection that
works. So that definitely means the driver is found.
What else can cause this?
The only really odd thing I am doing is running Weblogic on OS X,
10.3.7 with all the updates. I know that this Weblogic setup works
since I work on Oracle all day (using the provided Weblogic driver in
8.1SP3). Just when I try to create a Postgresql connection for testing
our app against Postgresql.
I've tried it on Windows with Weblogic 8.1SP3 and it works, so I know
Weblogic is capable of using this driver.
My exact stacktrace is:
java.lang.RuntimeException: Failed to Generate Wrapper Class
at
weblogic.utils.wrapper.WrapperFactory.createWrapper(WrapperFactory.java:183)
at
weblogic.jdbc.wrapper.JDBCWrapperFactory.getWrapper(JDBCWrapperFactory.java:171)
at weblogic.jdbc.pool.Driver.allocateConnection(Driver.java:248)
at weblogic.jdbc.pool.Driver.connect(Driver.java:164)
at weblogic.jdbc.jts.Driver.getNonTxConnection(Driver.java:507)
at weblogic.jdbc.jts.Driver.connect(Driver.java:139)
at
weblogic.jdbc.common.internal.RmiDataSource.getConnection(RmiDataSource.java:305)
at jsp_servlet.__direct._jspService(direct.jsp:13)
at weblogic.servlet.jsp.JspBase.service(JspBase.java:33)
at
weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:996)
at
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:419)
at
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:463)
at
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:315)
at
weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:6452)
at
weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at
weblogic.security.service.SecurityManager.runAs(SecurityManager.java:118)
at
weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3661)
at
weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2630)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:219)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:178)
at weblogic.jdbc.jts.Driver.wrapAndThrowSQLException(Driver.java:458)
at weblogic.jdbc.jts.Driver.getNonTxConnection(Driver.java:511)
at weblogic.jdbc.jts.Driver.connect(Driver.java:139)
at
weblogic.jdbc.common.internal.RmiDataSource.getConnection(RmiDataSource.java:305)
at jsp_servlet.__direct._jspService(direct.jsp:13)
at weblogic.servlet.jsp.JspBase.service(JspBase.java:33)
at
weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:996)
at
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:419)
at
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:463)
at
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:315)
at
weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:6452)
at
weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at
weblogic.security.service.SecurityManager.runAs(SecurityManager.java:118)
at
weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3661)
at
weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2630)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:219)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:178)
What is going on at the place where this crashes? Is there a way find
out what class it really can't find?
Thanks,
Patrick

Similar Messages

  • MySQL Data Source causes a "Failed to Generate Wrapper Class" error

    Hi all, I've created a MySQL datasource but when I make it the source for a EJB
    I get the error above. I think the error occurs during deployment, rather than
    while building. It seems to be having problems with the Data Source URL but I've
    checked the syntax and it all seems OK. When I use a WebLogic-supplied, PointBase
    datasource the deployment works OK, so it must be the way I've configured/built
    my datasource. Any areas I should check before I go further? I'm using 8.1 evaluation
    version. Thanks in advance, Roy.

    Thanks Flip, I tried your suggestion but I still get the same error. One bizarre
    thing is that if I use the"com/mysql/jdbc/Driver", I get a ClassDefinfitionNotFound
    error when installing the connection pool, but no such problem if use the traditional
    "org/gjt/mm/mysql/Driver". Using this I can at least create a data source but
    the class wrapper error is still there. Any more suggestions, anyone?
    "Flip" <[remove][email protected]> wrote:
    You'll have to go looking for the POINTBASE_HOME, POINTBASE_TOOL and
    POINTBASE_CLASSPATH. For me (running RH90), it's in my bea
    /weblogic81/common/bin/commEnv.sh. After you comment out those lines,
    you'll have to place your MySQL jar someplace. I'm not sure where's
    the
    recommended place (I've put mine into a /classes folder under my domains
    before) and then somewhere reference explicitly the MySQL jar file in
    the
    classpath.
    Then WLS will be able to find your MySQL drivers and your DS should fire
    up
    just great. Good luck.
    "Stephen Felts" <[email protected]> wrote in message
    news:[email protected]...
    1. Try moving mysql.jar out of jre\lib\ext.
    2. set PRE_CLASSPATH=directory\mysql.jar
    This is used in startWLS.cmd (take a quick look).
    "Roy Crosland" <[email protected]> wrote in message
    news:[email protected]...
    Thanks Stephen, but can you tell how I place the jar in the classpath?
    At
    the moment
    I have the line: "set
    CLASSPATH=%JAVA_HOME%\lib\tools.jar;%WL_HOME%\server\lib\weblogic_sp.jar;%WL
    >
    _HOME%\server\lib\weblogic.jar;%JAVA_HOME%\jre\lib\ext\mysql.jar;%CLASSPATH%
    in the startWLS.CMD file. Should I refer to the mysql.jar elsewhere?
    and
    is the
    jar file itself in the correct directory?
    "Stephen Felts" <[email protected]> wrote:
    You need to have the mysql jar in the server classpath.
    It needs to be before the Pointbase jar(s).
    "Roy Crosland" <[email protected]> wrote in message
    news:[email protected]...
    Hi all, I've created a MySQL datasource but when I make it the
    source
    for
    a EJB
    I get the error above. I think the error occurs during deployment,rather
    than
    while building. It seems to be having problems with the Data SourceURL
    but I've
    checked the syntax and it all seems OK. When I use a
    WebLogic-supplied,
    PointBase
    datasource the deployment works OK, so it must be the way I'veconfigured/built
    my datasource. Any areas I should check before I go further?
    I'm
    using
    8.1 evaluation
    version. Thanks in advance, Roy.

  • Failed to Generate Wrapper Class exception while connecting to access database.

    i tried to connect to access database in windows. i made a user dsn in windows
    control panel and added this to the connection pool. after which i created a JDBC
    datasource using this connection pool.(specifying the driver as sun.jdbc.odbc.JdbcOdbcDriver
    and url=jdbc:odbc:xyz
    where xyz is the user dsn name pointing to the relevant access database file.
    on testing this in the weblogic admin console it showed successful operation.
    when i tried to use this connection pool in weblogic 8.1 workshop and tried
    building a rowset control to check the connectivity it gave the following exception.
    file attached.
    any hints on how to get it working/ how to use access database with wl 8.1
    workshop.
    Exception in context_onAcquire
    java.sql.SQLException: Failed to Generate Wrapper Class.
    Nested Exception: java.lang.RuntimeException: Failed to Generate Wrapper Class
    at weblogic.utils.wrapper.WrapperFactory.createWrapper(WrapperFactory.java:141)
    [DB-error.txt]

    ashok wrote:
    i tried to connect to access database in windows. i made a user dsn in windows
    control panel and added this to the connection pool. after which i created a JDBC
    datasource using this connection pool.(specifying the driver as sun.jdbc.odbc.JdbcOdbcDriver
    and url=jdbc:odbc:xyz
    where xyz is the user dsn name pointing to the relevant access database file.
    on testing this in the weblogic admin console it showed successful operation.
    when i tried to use this connection pool in weblogic 8.1 workshop and tried
    building a rowset control to check the connectivity it gave the following exception.
    file attached.
    any hints on how to get it working/ how to use access database with wl 8.1
    workshop.
    Exception in context_onAcquire
    java.sql.SQLException: Failed to Generate Wrapper Class.
    Nested Exception: java.lang.RuntimeException: Failed to Generate Wrapper Class
    at weblogic.utils.wrapper.WrapperFactory.createWrapper(WrapperFactory.java:141)
    Hi Askok. This exception usually means that the weblogic server's environment
    doesn't have all it needs to make the jdbc connection you want. You should
    ensure that the OS environment variable PATH has all the libraries you need
    for making a jdbc-odbc connection, and that it's classpath also contains the
    driver you want.
    What DBMS are you connecting to? The reason I ask is because if there is a
    pure JDBC driver for it, that will be preferable, because the jdbc-odbc bridge
    from Sun is not threadsafe, so it can corrupt Weblogic.
    Joe
    >
    Exception in context_onAcquire
    java.sql.SQLException: Failed to Generate Wrapper Class.
    Nested Exception: java.lang.RuntimeException: Failed to Generate Wrapper Class
    at weblogic.utils.wrapper.WrapperFactory.createWrapper(WrapperFactory.java:141)
    at weblogic.jdbc.wrapper.JDBCWrapperFactory.getWrapper(JDBCWrapperFactory.java:73)
    at weblogic.jdbc.jts.Driver.newConnection(Driver.java:674)
    at weblogic.jdbc.jts.Driver.createLocalConnection(Driver.java:196)
    at weblogic.jdbc.jts.Driver.connect(Driver.java:154)
    at weblogic.jdbc.common.internal.RmiDataSource.getConnection(RmiDataSource.java:298)
    at com.bea.wlw.runtime.core.control.DatabaseControlImpl.getConnection(DatabaseControlImpl.jcs:1360)
    at com.bea.wlw.runtime.core.control.DatabaseControlImpl.context_onAcquire(DatabaseControlImpl.jcs:1252)
    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:324)
    at com.bea.wlw.runtime.core.dispatcher.DispMethod.invoke(DispMethod.java:353)
    at com.bea.wlw.runtime.core.container.Invocable.invoke(Invocable.java:420)
    at com.bea.wlw.runtime.core.container.Invocable.invoke(Invocable.java:393)
    at com.bea.wlw.runtime.core.container.Invocable.fireEvent(Invocable.java:603)
    at com.bea.wlw.runtime.core.context.WlwThreadContext.sendEvent(WlwThreadContext.java:989)
    at com.bea.wlw.runtime.core.context.WlwThreadContext.raiseEvent(WlwThreadContext.java:919)
    at com.bea.wlw.runtime.core.container.Container.raiseContextEvent(Container.java:553)
    at com.bea.wlw.runtime.jcs.container.JcsContainer.onAcquire(JcsContainer.java:513)
    at sun.reflect.GeneratedMethodAccessor325.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:324)
    at com.bea.wlw.runtime.core.dispatcher.DispMethod.invoke(DispMethod.java:353)
    at com.bea.wlw.runtime.core.container.Invocable.invoke(Invocable.java:420)
    at com.bea.wlw.runtime.core.container.Invocable.sendContextEvent(Invocable.java:524)
    at com.bea.wlw.runtime.jcs.container.JcsContainer.sendContextEvent(JcsContainer.java:464)
    at com.bea.wlw.runtime.core.context.WlwThreadContext.acquireResources(WlwThreadContext.java:676)
    at com.bea.wlw.runtime.jcs.container.JcsProxy.invoke(JcsProxy.java:307)
    at processes.Audit.insertAuditData(Audit.ctrl)
    at processes.ExceptionHandler.auditInsertAuditData(ExceptionHandler.jpd:78)

  • Failed to Generate Wrapper Class

    Hello,
    I am trying to deploy a cmp ejb (attached here) and I always get the following
    exception. Can anyone please help?
    Julien Martin.
    weblogic.management.DeploymentException:
    Exception:weblogic.management.ApplicationException: activate failed for account-ejb
    Module: account-ejb Error: Exception activating module: EJBModule(account-ejb,status=PREPARED)
    Unable to deploy EJB: AccountEJB from account-ejb.jar:
    Failed to Generate Wrapper Class.
    Nested Exception: java.lang.RuntimeException: Failed to Generate Wrapper Class
    at weblogic.utils.wrapper.WrapperFactory.createWrapper(WrapperFactory.java:141)
    at weblogic.jdbc.wrapper.JDBCWrapperFactory.getWrapper(JDBCWrapperFactory.java:73)
    at weblogic.jdbc.jts.Driver.newConnection(Driver.java:674)
    at weblogic.jdbc.jts.Driver.createLocalConnection(Driver.java:196)
    at weblogic.jdbc.jts.Driver.connect(Driver.java:154)
    at weblogic.jdbc.common.internal.RmiDataSource.getConnection(RmiDataSource.java:298)
    at weblogic.ejb20.cmp.rdbms.RDBMSPersistenceManager.getConnection(RDBMSPersistenceManager.java:1841)
    at weblogic.ejb20.cmp.rdbms.RDBMSPersistenceManager.verifyDatabaseType(RDBMSPersistenceManager.java:2025)
    at weblogic.ejb20.cmp.rdbms.RDBMSPersistenceManager.setup(RDBMSPersistenceManager.java:195)
    at weblogic.ejb20.manager.BaseEntityManager.setupPM(BaseEntityManager.java:217)
    at weblogic.ejb20.manager.BaseEntityManager.setup(BaseEntityManager.java:184)
    at weblogic.ejb20.manager.DBManager.setup(DBManager.java:164)
    at weblogic.ejb20.deployer.ClientDrivenBeanInfoImpl.activate(ClientDrivenBeanInfoImpl.java:1004)
    at weblogic.ejb20.deployer.EJBDeployer.activate(EJBDeployer.java:1322)
    at weblogic.ejb20.deployer.EJBModule.activate(EJBModule.java:610)
    at weblogic.j2ee.J2EEApplicationContainer.activateModule(J2EEApplicationContainer.java:3012)
    at weblogic.j2ee.J2EEApplicationContainer.activate(J2EEApplicationContainer.java:2076)
    at weblogic.j2ee.J2EEApplicationContainer.activate(J2EEApplicationContainer.java:2057)
    at weblogic.management.deploy.slave.SlaveDeployer$ComponentActivateTask.activateContainer(SlaveDeployer.java:2624)
    at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.doCommit(SlaveDeployer.java:2547)
    at weblogic.management.deploy.slave.SlaveDeployer$Task.commit(SlaveDeployer.java:2349)
    at weblogic.management.deploy.slave.SlaveDeployer$Task.checkAutoCommit(SlaveDeployer.java:2431)
    at weblogic.management.deploy.slave.SlaveDeployer$Task.prepare(SlaveDeployer.java:2343)
    at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.prepare(SlaveDeployer.java:2511)
    at weblogic.management.deploy.slave.SlaveDeployer.processPrepareTask(SlaveDeployer.java:833)
    at weblogic.management.deploy.slave.SlaveDeployer.prepareDelta(SlaveDeployer.java:542)
    at weblogic.management.deploy.slave.SlaveDeployer.prepareUpdate(SlaveDeployer.java:500)
    at weblogic.drs.internal.SlaveCallbackHandler$1.execute(SlaveCallbackHandler.java:25)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)
    at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.doCommit(SlaveDeployer.java:2549)
    at weblogic.management.deploy.slave.SlaveDeployer$Task.commit(SlaveDeployer.java:2349)
    at weblogic.management.deploy.slave.SlaveDeployer$Task.checkAutoCommit(SlaveDeployer.java:2431)
    at weblogic.management.deploy.slave.SlaveDeployer$Task.prepare(SlaveDeployer.java:2343)
    at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.prepare(SlaveDeployer.java:2511)
    at weblogic.management.deploy.slave.SlaveDeployer.processPrepareTask(SlaveDeployer.java:833)
    at weblogic.management.deploy.slave.SlaveDeployer.prepareDelta(SlaveDeployer.java:542)
    at weblogic.management.deploy.slave.SlaveDeployer.prepareUpdate(SlaveDeployer.java:500)
    at weblogic.drs.internal.SlaveCallbackHandler$1.execute(SlaveCallbackHandler.java:25)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)
    No Exception Messages
    [account-ejb.jar]

    I would suggest posting in the JDBC newsgroup.
    -- Rob
    Julien Martin wrote:
    Hello,
    I am trying to deploy a cmp ejb (attached here) and I always get the following
    exception. Can anyone please help?
    Julien Martin.
    weblogic.management.DeploymentException:
    Exception:weblogic.management.ApplicationException: activate failed for account-ejb
    Module: account-ejb Error: Exception activating module: EJBModule(account-ejb,status=PREPARED)
    Unable to deploy EJB: AccountEJB from account-ejb.jar:
    Failed to Generate Wrapper Class.
    Nested Exception: java.lang.RuntimeException: Failed to Generate Wrapper Class
    at weblogic.utils.wrapper.WrapperFactory.createWrapper(WrapperFactory.java:141)
    at weblogic.jdbc.wrapper.JDBCWrapperFactory.getWrapper(JDBCWrapperFactory.java:73)
    at weblogic.jdbc.jts.Driver.newConnection(Driver.java:674)
    at weblogic.jdbc.jts.Driver.createLocalConnection(Driver.java:196)
    at weblogic.jdbc.jts.Driver.connect(Driver.java:154)
    at weblogic.jdbc.common.internal.RmiDataSource.getConnection(RmiDataSource.java:298)
    at weblogic.ejb20.cmp.rdbms.RDBMSPersistenceManager.getConnection(RDBMSPersistenceManager.java:1841)
    at weblogic.ejb20.cmp.rdbms.RDBMSPersistenceManager.verifyDatabaseType(RDBMSPersistenceManager.java:2025)
    at weblogic.ejb20.cmp.rdbms.RDBMSPersistenceManager.setup(RDBMSPersistenceManager.java:195)
    at weblogic.ejb20.manager.BaseEntityManager.setupPM(BaseEntityManager.java:217)
    at weblogic.ejb20.manager.BaseEntityManager.setup(BaseEntityManager.java:184)
    at weblogic.ejb20.manager.DBManager.setup(DBManager.java:164)
    at weblogic.ejb20.deployer.ClientDrivenBeanInfoImpl.activate(ClientDrivenBeanInfoImpl.java:1004)
    at weblogic.ejb20.deployer.EJBDeployer.activate(EJBDeployer.java:1322)
    at weblogic.ejb20.deployer.EJBModule.activate(EJBModule.java:610)
    at weblogic.j2ee.J2EEApplicationContainer.activateModule(J2EEApplicationContainer.java:3012)
    at weblogic.j2ee.J2EEApplicationContainer.activate(J2EEApplicationContainer.java:2076)
    at weblogic.j2ee.J2EEApplicationContainer.activate(J2EEApplicationContainer.java:2057)
    at weblogic.management.deploy.slave.SlaveDeployer$ComponentActivateTask.activateContainer(SlaveDeployer.java:2624)
    at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.doCommit(SlaveDeployer.java:2547)
    at weblogic.management.deploy.slave.SlaveDeployer$Task.commit(SlaveDeployer.java:2349)
    at weblogic.management.deploy.slave.SlaveDeployer$Task.checkAutoCommit(SlaveDeployer.java:2431)
    at weblogic.management.deploy.slave.SlaveDeployer$Task.prepare(SlaveDeployer.java:2343)
    at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.prepare(SlaveDeployer.java:2511)
    at weblogic.management.deploy.slave.SlaveDeployer.processPrepareTask(SlaveDeployer.java:833)
    at weblogic.management.deploy.slave.SlaveDeployer.prepareDelta(SlaveDeployer.java:542)
    at weblogic.management.deploy.slave.SlaveDeployer.prepareUpdate(SlaveDeployer.java:500)
    at weblogic.drs.internal.SlaveCallbackHandler$1.execute(SlaveCallbackHandler.java:25)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)
    at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.doCommit(SlaveDeployer.java:2549)
    at weblogic.management.deploy.slave.SlaveDeployer$Task.commit(SlaveDeployer.java:2349)
    at weblogic.management.deploy.slave.SlaveDeployer$Task.checkAutoCommit(SlaveDeployer.java:2431)
    at weblogic.management.deploy.slave.SlaveDeployer$Task.prepare(SlaveDeployer.java:2343)
    at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.prepare(SlaveDeployer.java:2511)
    at weblogic.management.deploy.slave.SlaveDeployer.processPrepareTask(SlaveDeployer.java:833)
    at weblogic.management.deploy.slave.SlaveDeployer.prepareDelta(SlaveDeployer.java:542)
    at weblogic.management.deploy.slave.SlaveDeployer.prepareUpdate(SlaveDeployer.java:500)
    at weblogic.drs.internal.SlaveCallbackHandler$1.execute(SlaveCallbackHandler.java:25)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)
    No Exception Messages

  • Error while generating wrapper pl/sql with JDeveloper 10.1.3 (production)

    Hello,
    I'm generating a webservice from pl/sql package which returns a collection.
    JDeveloper generates wrapper pl/sql which gives errors when executed in the database because it consists of code like:
    PROCEDURE "NAME"$PROC_NAME_A
    The " creates database errors. When i remove these " the packages compiles.
    But when i insert the service based upon this procedure, I get an "PLS-00103: Encountered the symbol "$" when expecting something else" error.This looks like the same code is inserted again.
    Anyon an idea to get rid of these problems?
    Regards,
    Ruben Spekle

    I'm having the same problem. Did anyone ever help you, or have you resolved this yet?

  • JAXB - Generated Java Classes error

    Hi,
    I am having a problem generating java classes given the follow snippet from a DTD. The ImplemenationData class that is generated does not include ImplementationPlatform and ProgramParameters as attributes. Instead, it includes these two elements in the PredicatedLists and then generates a content exception when those elements are not found. Can anyone tell me why these two elements are not being generated as attributes with the associated setter/getter methods to go with them? The ExeOptions, DllOptions and ExternalOptions are being generated properly and included in the PredicatedLists as they should be. Any help would be greatly appreciated.
    <!ELEMENT ImplementationPlatform           (#PCDATA)>
    <!ELEMENT ProgramParameters                (#PCDATA)>
    <!ELEMENT ImplementationData
         (ImplementationPlatform,
         ProgramParameters,
         (ExeOptions
         |DllOptions
         |ExternalOptions))>
    <!ELEMENT ExeOptions
         (PathAndFileName,
         WorkingDirectoryName?,
         Environment?,
         InheritEnvironment,
         StartInForeGround?,
         AutomaticClose?,
         WindowStyle?,
         RunInXTerm?)>
    <!ELEMENT DllOptions
         (PathAndFileName,
         EntryPointName,
         ExecuteFenced?,
         KeepLoaded?)>
    <!ELEMENT ExternalOptions
         (ServiceName,
         ServiceType,
         InvocationType,
         ExecutableName,
         ExecutableType,
         IsLocalUser,
         IsSecurityRoutineCall,
         CodePage?,
         TimeoutPeriod,
         TimeoutInterval?,
         IsMappingRoutineCall,
         MappingType?,
         ForwardMappingFormat?,
         ForwardMappingParameters?,
         BackwardMappingFormat?,
         BackwardMappingParameters?)>

    Just a thumb suck but, have you tried placing the defintitions after the declarations instead of before.
    Dave

  • Compilation failed while generating stub classes using wscompile

    I am new to Web Services. I am trying to generate client stub classes from WSDL (provided by Seapine's with TestTarckPro Software), using wscompile. I am using JWSDP 1.6
    ====================================================================================
    Here's the wscompile command,
    wscompile -gen:client -d classes2 -keep -s classes2 -verbose config.xml
    =========================================================================
    Here's config.xml file
    <configuration xmlns="http://java.sun.com/xml/ns/jax-rpc/ri/config">
    <wsdl
    location="./ttsoapcgi.wsdl"
    packageName="testtrack_interface"/>
    </configuration>
    =====================================================================================
    I am getting following compilation errors during stub generation. Following is the compilation error part of wscompile result output
    [SOAPObjectBuilderGenerator: writing object builder for: saveLink]
    [SerializerRegistryGenerator: creating serializer registry: testtrack_interface.Ttsoapcgi_SerializerRegistry]
    D:\TestTrackApi\classes2\testtrack_interface\CSCCFileRecord.java:10: ';' expected
    protected java.lang.String m-strFileName;
    ^
    D:\TestTrackApi\classes2\testtrack_interface\CSCCFileRecord.java:11: ';' expected
    protected java.lang.String m-strFixedRevision;
    ^
    D:\TestTrackApi\classes2\testtrack_interface\CSCCFileRecord.java:12: ';' expected
    protected java.util.Calendar m-dateFixedTimestamp;
    ^
    D:\TestTrackApi\classes2\testtrack_interface\CSCCFileRecord.java:17: ')' expected
    public CSCCFileRecord(long recordid, java.lang.String m-strFileName, java.lang.String m-strFixedRevision, java.util.
    Calendar m-dateFixedTimestamp) {
    ^
    D:\TestTrackApi\classes2\testtrack_interface\CSCCFileRecord.java:47: ';' expected
    ^
    D:\TestTrackApi\classes2\testtrack_interface\CSCCFileRecord_SOAPSerializer.java:29: ';' expected
    private static final int myM-STRFILENAME_INDEX = 1;
    ^
    D:\TestTrackApi\classes2\testtrack_interface\CSCCFileRecord_SOAPSerializer.java:30: ';' expected
    private static final int myM-STRFIXEDREVISION_INDEX = 2;
    ^
    D:\TestTrackApi\classes2\testtrack_interface\CSCCFileRecord_SOAPSerializer.java:31: ';' expected
    private static final int myM-DATEFIXEDTIMESTAMP_INDEX = 3;
    ^
    D:\TestTrackApi\classes2\testtrack_interface\CSCCFileRecord_SOAPSerializer.java:71: not a statement
    instance.setM-strFileName((java.lang.String)member);
    ^
    D:\TestTrackApi\classes2\testtrack_interface\CSCCFileRecord_SOAPSerializer.java:87: not a statement
    instance.setM-strFixedRevision((java.lang.String)member);
    ^
    D:\TestTrackApi\classes2\testtrack_interface\CSCCFileRecord_SOAPSerializer.java:96: not a statement
    instance.setM-dateFixedTimestamp((java.util.Calendar)member);
    ^
    D:\TestTrackApi\classes2\testtrack_interface\CSCCFileRecord_SOAPBuilder.java:18: ';' expected
    private static final int myM-STRFILENAME_INDEX = 1;
    ^
    D:\TestTrackApi\classes2\testtrack_interface\CSCCFileRecord_SOAPBuilder.java:19: ';' expected
    private static final int myM-STRFIXEDREVISION_INDEX = 2;
    ^
    D:\TestTrackApi\classes2\testtrack_interface\CSCCFileRecord_SOAPBuilder.java:20: ';' expected
    private static final int myM-DATEFIXEDTIMESTAMP_INDEX = 3;
    ^
    D:\TestTrackApi\classes2\testtrack_interface\CSCCFileRecord_SOAPBuilder.java:29: '(' expected
    public void setM-strFileName(java.lang.String mStrFileName) {
    ^
    15 errors
    error: compilation failed, errors should have been reported
    ==============================================================================
    My understanding is, while generating stubs, dashes or hyphens in variable names m-strFileName, m-strFixedRevision, m-dateFixedTimestamp are interpreted as minus sign and hence compilation is failing.
    I tried stub generation from same WSDL with Apache Axis and it's working fine. But stub generation is failing with JWSDP. Is this a problem with this WSDL file ? Am I missing something while using wscomplie command ?
    Please advise.
    Thanks
    Here's ttsoapcgi.wsdl file
    ==================================================================
    <?xml version="1.0" encoding="UTF-8"?>
    <definitions name="ttsoapcgi"
    xmlns="http://schemas.xmlsoap.org/wsdl/"
    xmlns:SOAP="http://schemas.xmlsoap.org/wsdl/soap/"
    xmlns:WSDL="http://schemas.xmlsoap.org/wsdl/"
    targetNamespace="urn:testtrack-interface"
    xmlns:tns="urn:testtrack-interface"
    xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
    xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    xmlns:ttns="urn:testtrack-interface">
    <types>
    <schema targetNamespace="urn:testtrack-interface"
    xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
    xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    xmlns:ttns="urn:testtrack-interface"
    xmlns="http://www.w3.org/2001/XMLSchema"
    elementFormDefault="unqualified"
    attributeFormDefault="unqualified">
    <element name="CDatabase" type="ttns:CDatabase"/>
    <complexType name="CDatabase">
    <sequence>
    <element name="name" type="xsd:string" minOccurs="1" maxOccurs="1" nillable="true"/>
    </sequence>
    </complexType>
    <complexType name="ArrayOfCDatabase">
    <complexContent>
    <restriction base="SOAP-ENC:Array">
    <sequence>
    <element name="item" type="ttns:CDatabase" minOccurs="0" maxOccurs="unbounded"/>
    </sequence>
    <attribute ref="SOAP-ENC:arrayType" WSDL:arrayType="ttns:CDatabase[]"/>
    </restriction>
    </complexContent>
    </complexType>
    <element name="CDatabaseTable" type="ttns:CDatabaseTable"/>
    <complexType name="CDatabaseTable">
    <sequence>
    <element name="name" type="xsd:string" minOccurs="1" maxOccurs="1" nillable="true"/>
    </sequence>
    </complexType>
    <complexType name="ArrayOfCDatabaseTable">
    <complexContent>
    <restriction base="SOAP-ENC:Array">
    <sequence>
    <element name="item" type="ttns:CDatabaseTable" minOccurs="0" maxOccurs="unbounded"/>
    </sequence>
    <attribute ref="SOAP-ENC:arrayType" WSDL:arrayType="ttns:CDatabaseTable[]"/>
    </restriction>
    </complexContent>
    </complexType>
    <element name="CTableField" type="ttns:CTableField"/>
    <complexType name="CTableField">
    <sequence>
    <element name="name" type="xsd:string" minOccurs="1" maxOccurs="1" nillable="true"/>
    </sequence>
    </complexType>
    <complexType name="ArrayOfCTableField">
    <complexContent>
    <restriction base="SOAP-ENC:Array">
    <sequence>
    <element name="item" type="ttns:CTableField" minOccurs="0" maxOccurs="unbounded"/>
    </sequence>
    <attribute ref="SOAP-ENC:arrayType" WSDL:arrayType="ttns:CTableField[]"/>
    </restriction>
    </complexContent>
    </complexType>
    <element name="CFieldValue" type="ttns:CFieldValue"/>
    <complexType name="CFieldValue">
    <sequence>
    <element name="value" type="xsd:string" minOccurs="1" maxOccurs="1" nillable="true"/>
    </sequence>
    </complexType>
    <complexType name="ArrayOfCFieldValue">
    <complexContent>
    <restriction base="SOAP-ENC:Array">
    <sequence>
    <element name="item" type="ttns:CFieldValue" minOccurs="0" maxOccurs="unbounded"/>
    </sequence>
    <attribute ref="SOAP-ENC:arrayType" WSDL:arrayType="ttns:CFieldValue[]"/>
    </restriction>
    </complexContent>
    </complexType>
    <element name="CTableColumn" type="ttns:CTableColumn"/>
    <complexType name="CTableColumn">
    <sequence>
    <element name="name" type="xsd:string" minOccurs="1" maxOccurs="1" nillable="true"/>
    </sequence>
    </complexType>
    <complexType name="ArrayOfCTableColumn">
    <complexContent>
    <restriction base="SOAP-ENC:Array">
    <sequence>
    <element name="item" type="ttns:CTableColumn" minOccurs="0" maxOccurs="unbounded"/>
    </sequence>
    <attribute ref="SOAP-ENC:arrayType" WSDL:arrayType="ttns:CTableColumn[]"/>
    </restriction>
    </complexContent>
    </complexType>
    <element name="CFilter" type="ttns:CFilter"/>
    <complexType name="CFilter">
    <sequence>
    <element name="name" type="xsd:string" minOccurs="1" maxOccurs="1" nillable="true"/>
    </sequence>
    </complexType>
    <complexType name="ArrayOfCFilter">
    <complexContent>
    <restriction base="SOAP-ENC:Array">
    <sequence>
    <element name="item" type="ttns:CFilter" minOccurs="0" maxOccurs="unbounded"/>
    </sequence>
    <attribute ref="SOAP-ENC:arrayType" WSDL:arrayType="ttns:CFilter[]"/>
    </restriction>
    </complexContent>
    </complexType>
    <element name="CRecordData" type="ttns:CRecordData"/>
    <complexType name="CRecordData">
    <sequence>
    <element name="value" type="xsd:string" minOccurs="1" maxOccurs="1" nillable="true"/>
    </sequence>
    </complexType>
    <complexType name="ArrayOfCRecordData">
    <complexContent>
    <restriction base="SOAP-ENC:Array">
    <sequence>
    <element name="item" type="ttns:CRecordData" minOccurs="0" maxOccurs="unbounded"/>
    </sequence>
    <attribute ref="SOAP-ENC:arrayType" WSDL:arrayType="ttns:CRecordData[]"/>
    </restriction>
    </complexContent>
    </complexType>
    <element name="CRecordRowSoap" type="ttns:CRecordRowSoap"/>
    <complexType name="CRecordRowSoap">
    <sequence>
    <element name="row" type="ttns:ArrayOfCRecordData" minOccurs="1" maxOccurs="1" nillable="true"/>
    </sequence>
    </complexType>
    <complexType name="ArrayOfCRecordRowSoap">
    <complexContent>
    <restriction base="SOAP-ENC:Array">
    <sequence>
    <element name="item" type="ttns:CRecordRowSoap" minOccurs="0" maxOccurs="unbounded"/>
    </sequence>
    <attribute ref="SOAP-ENC:arrayType" WSDL:arrayType="ttns:CRecordRowSoap[]"/>
    </restriction>
    </complexContent>
    </complexType>
    <element name="CRecordListSoap" type="ttns:CRecordListSoap"/>
    <complexType name="CRecordListSoap">
    <sequence>
    <element name="columnlist" type="ttns:ArrayOfCTableColumn" minOccurs="1" maxOccurs="1" nillable="true"/>
    <element name="records" type="ttns:ArrayOfCRecordRowSoap" minOccurs="1" maxOccurs="1" nillable="true"/>
    </sequence>
    </complexType>
    <element name="CItemWithDBRecordId" type="ttns:CItemWithDBRecordId"/>
    <complexType name="CItemWithDBRecordId">
    <sequence>
    <element name="recordid" type="xsd:long" minOccurs="1" maxOccurs="1"/>
    </sequence>
    </complexType>
    <element name="CItemToTrack" type="ttns:CItemToTrack"/>
    <complexType name="CItemToTrack">
    <complexContent>
    <extension base="ttns:CItemWithDBRecordId">
    <sequence>
    </sequence>
    </extension>
    </complexContent>
    </complexType>
    <element name="COrderedItemWithDBRecordId" type="ttns:COrderedItemWithDBRecordId"/>
    <complexType name="COrderedItemWithDBRecordId">
    <complexContent>
    <extension base="ttns:CItemWithDBRecordId">
    <sequence>
    <element name="order" type="xsd:long" minOccurs="1" maxOccurs="1"/>
    </sequence>
    </extension>
    </complexContent>
    </complexType>
    <element name="CSystemBase" type="ttns:CSystemBase"/>
    <complexType name="CSystemBase">
    <complexContent>
    <extension base="ttns:CItemToTrack">
    <sequence>
    <element name="systemname" type="xsd:string" minOccurs="1" maxOccurs="1" nillable="true"/>
    </sequence>
    </extension>
    </complexContent>
    </complexType>
    <element name="CSystem" type="ttns:CSystem"/>
    <complexType name="CSystem">
    <complexContent>
    <extension base="ttns:CSystemBase">
    <sequence>
    <element name="location" type="xsd:string" minOccurs="1" maxOccurs="1" nillable="true"/>
    <element name="computermodel" type="xsd:string" minOccurs="1" maxOccurs="1" nillable="true"/>
    <element name="computerbrand" type="xsd:string" minOccurs="1" maxOccurs="1" nillable="true"/>
    <element name="cputype" type="xsd:string" minOccurs="1" maxOccurs="1" nillable="true"/>
    <element name="cpuspeed" type="xsd:string" minOccurs="1" maxOccurs="1" nillable="true"/>
    <element name="harddisktype" type="xsd:string" minOccurs="1" maxOccurs="1" nillable="true"/>
    <element name="harddisksize" type="xsd:string" minOccurs="1" maxOccurs="1" nillable="true"/>
    <element name="ramsize" type="xsd:string" minOccurs="1" maxOccurs="1" nillable="true"/>
    <element name="romsize" type="xsd:string" minOccurs="1" maxOccurs="1" nillable="true"/>
    <element name="osname" type="xsd:string" minOccurs="1" maxOccurs="1" nillable="true"/>
    <element name="osversion" type="xsd:string" minOccurs="1" maxOccurs="1" nillable="true"/>
    <element name="videoname" type="xsd:string" minOccurs="1" maxOccurs="1" nillable="true"/>
    <element name="hascdrom" type="xsd:boolean" minOccurs="1" maxOccurs="1"/>
    <element name="cdrommodel" type="xsd:string" minOccurs="1" maxOccurs="1" nillable="true"/>
    <element name="hasscanner" type="xsd:boolean" minOccurs="1" maxOccurs="1"/>
    <element name="scannermodel" type="xsd:string" minOccurs="1" maxOccurs="1" nillable="true"/>
    <element name="hasmodem" type="xsd:boolean" minOccurs="1" maxOccurs="1"/>
    <element name="modemmodel" type="xsd:string" minOccurs="1" maxOccurs="1" nillable="true"/>
    <element name="hasprinter" type="xsd:boolean" minOccurs="1" maxOccurs="1"/>
    <element name="printermodel" type="xsd:string" minOccurs="1" maxOccurs="1" nillable="true"/>
    <element name="otherhardware" type="xsd:string" minOccurs="1" maxOccurs="1" nillable="true"/>
    <element name="hasmultiplemonitors" type="xsd:boolean" minOccurs="1" maxOccurs="1"/>
    </sequence>
    </extension>
    </complexContent>
    </complexType>
    <element name="CSCCFileRecord" type="ttns:CSCCFileRecord"/>
    <complexType name="CSCCFileRecord">
    <complexContent>
    <extension base="ttns:CItemWithDBRecordId">
    <sequence>
    <element name="m-strFileName" type="xsd:string" minOccurs="1" maxOccurs="1" nillable="true"/>
    <element name="m-strFixedRevision" type="xsd:string" minOccurs="1" maxOccurs="1" nillable="true"/>
    <element name="m-dateFixedTimestamp" type="xsd:dateTime" minOccurs="1" maxOccurs="1" nillable="true"/>
    </sequence>
    </extension>
    </complexContent>
    </complexType>
    <complexType name="ArrayOfCSCCFileRecord">
    <complexContent>
    <restriction base="SOAP-ENC:Array">
    <sequence>
    <element name="item" type="ttns:CSCCFileRecord" minOccurs="0" maxOccurs="unbounded"/>
    </sequence>
    <attribute ref="SOAP-ENC:arrayType" WSDL:arrayType="ttns:CSCCFileRecord[]"/>
    </restriction>
    </complexContent>
    </complexType>
    <element name="CFileAttachment" type="ttns:CFileAttachment"/>
    <complexType name="CFileAttachment">
    <sequence>
    <element name="m-pFileData" type="xsd:base64Binary" minOccurs="1" maxOccurs="1" nillable="true"/>
    <element name="m-strFileName" type="xsd:string" minOccurs="1" maxOccurs="1" nillable="true"/>
    <element name="m-strArchiveName" type="xsd:string" minOccurs="1" maxOccurs="1" nillable="true"/>
    </sequence>
    </complexType>
    <complexType name="ArrayOfCFileAttachment">
    <complexContent>
    <restriction base="SOAP-ENC:Array">
    <sequence>
    <element name="item" type="ttns:CFileAttachment" minOccurs="0" maxOccurs="unbounded"/>
    </sequence>
    <attribute ref="SOAP-ENC:arrayType" WSDL:arrayType="ttns:CFileAttachment[]"/>
    </restriction>
    </complexContent>
    </complexType>
    <element name="CReportedByRecord" type="ttns:CReportedByRecord"/>
    <complexType name="CReportedByRecord">
    <complexContent>
    <extension base="ttns:CItemWithDBRecordId">
    <sequence>
    <element name="foundby" type="xsd:string" minOccurs="1" maxOccurs="1" nillable="true"/>
    <element name="datefound" type="xsd:date" minOccurs="1" maxOccurs="1" nillable="true"/>
    <element name="contactinfo" type="xsd:string" minOccurs="1" maxOccurs="1" nillable="true"/>
    <element name="foundinversion" type="xsd:string" minOccurs="1" maxOccurs="1" nillable="true"/>
    <element name="comments" type="xsd:string" minOccurs="1" maxOccurs="1" nillable="true"/>
    <element name="reproduced" type="xsd:string" minOccurs="1" maxOccurs="1" nillable="true"/>
    <element name="reproducedsteps" type="xsd:string" minOccurs="1" maxOccurs="1" nillable="true"/>
    <element name="standardtestconfig" type="ttns:CSystem" minOccurs="1" maxOccurs="1" nillable="true"/>
    <element name="otherhardwaresoftware" type="xsd:string" minOccurs="1" maxOccurs="1" nillable="true"/>
    <element name="testconfigtype" type="xsd:short" minOccurs="1" maxOccurs="1"/>
    <element name="attachmentlist" type="ttns:ArrayOfCFileAttachment" minOccurs="1" maxOccurs="1" nillable="true"/>
    <element name="showorder" type="xsd:short" minOccurs="1" maxOccurs="1"/>
    </sequence>
    </extension>
    </complexContent>
    </complexType>
    <complexType name="ArrayOfCReportedByRecord">
    <complexContent>
    <restriction base="SOAP-ENC:Array">
    <sequence>
    <element name="item" type="ttns:CReportedByRecord" minOccurs="0" maxOccurs="unbounded"/>
    </sequence>
    <attribute ref="SOAP-ENC:arrayType" WSDL:arrayType="ttns:CReportedByRecord[]"/>
    </restriction>
    </complexContent>
    </complexType>
    <element name="CField" type="ttns:CField"/>
    <complexType name="CField">
    <complexContent>
    <extension base="ttns:CItemWithDBRecordId">
    <sequence>
    <element name="name" type="xsd:string" minOccurs="1" maxOccurs="1" nillable="true"/>
    </sequence>
    </extension>
    </complexContent>
    </complexType>
    <element name="CStringField" type="ttns:CStringField"/>
    <complexType name="CStringField">
    <complexContent>
    <extension base="ttns:CField">
    <sequence>
    <element name="value" type="xsd:string" minOccurs="1" maxOccurs="1" nillable="true"/>
    </sequence>
    </extension>
    </complexContent>
    </complexType>
    <element name="CIntegerField" type="ttns:CIntegerField"/>
    <complexType name="CIntegerField">
    <complexContent>
    <extension base="ttns:CField">
    <sequence>
    <element name="value" type="xsd:int" minOccurs="1" maxOccurs="1"/>
    </sequence>
    </extension>
    </complexContent>
    </complexType>
    <element name="CDecimalField" type="ttns:CDecimalField"/>
    <complexType name="CDecimalField">
    <complexContent>
    <extension base="ttns:CField">
    <sequence>
    <element name="value" type="xsd:double" minOccurs="1" maxOccurs="1"/>
    </sequence>
    </extension>
    </complexContent>
    </complexType>
    <element name="CBooleanField" type="ttns:CBooleanField"/>
    <complexType name="CBooleanField">
    <complexContent>
    <extension base="ttns:CField">
    <sequence>
    <element name="value" type="xsd:boolean" minOccurs="1" maxOccurs="1"/>
    </sequence>
    </extension>
    </complexContent>
    </complexType>
    <element name="CDateField" type="ttns:CDateField"/>
    <complexType name="CDateField">
    <complexContent>
    <extension base="ttns:CField">
    <sequence>
    <element name="value" type="xsd:date" minOccurs="1" maxOccurs="1" nillable="true"/>
    </sequence>
    </extension>
    </complexContent>
    </complexType>
    <element name="CDateTimeField" type="ttns:CDateTimeField"/>
    <complexType name="CDateTimeField">
    <complexContent>
    <extension base="ttns:CField">
    <sequence>
    <element name="value" type="xsd:dateTime" minOccurs="1" maxOccurs="1" nillable="true"/>
    </sequence>
    </extension>
    </complexContent>
    </complexType>
    <element name="CDropdownField" type="ttns:CDropdownField"/>
    <complexType name="CDropdownField">
    <complexContent>
    <extension base="ttns:CField">
    <sequence>
    <element name="value" type="xsd:string" minOccurs="1" maxOccurs="1" nillable="true"/>
    <element name="dropdownValues" type="ttns:ArrayOfCFieldValue" minOccurs="1" maxOccurs="1" nillable="true"/>
    </sequence>
    </extension>
    </complexContent>
    </complexType>
    <element name="CVersionField" type="ttns:CVersionField"/>
    <complexType name="CVersionField">
    <complexContent>
    <extension base="ttns:CField">
    <sequence>
    <element name="value" type="xsd:string" minOccurs="1" maxOccurs="1" nillable="true"/>
    </sequence>
    </extension>
    </complexContent>
    </complexType>
    <complexType name="ArrayOfCField">
    <complexContent>
    <restriction base="SOAP-ENC:Array">
    <sequence>
    <element name="item" type="ttns:CField" minOccurs="0" maxOccurs="unbounded"/>
    </sequence>
    <attribute ref="SOAP-ENC:arrayType" WSDL:arrayType="ttns:CField[]"/>
    </restriction>
    </complexContent>
    </complexType>
    <complexType name="ArrayOfstring">
    <complexContent>
    <restriction base="SOAP-ENC:Array">
    <sequence>
    <element name="item" type="xsd:string" minOccurs="0" maxOccurs="unbounded"/>
    </sequence>
    <attribute ref="SOAP-ENC:arrayType" WSDL:arrayType="xsd:string[]"/>
    </restriction>
    </complexContent>
    </complexType>
    <element name="CDefectEvent" type="ttns:CDefectEvent"/>
    <complexType name="CDefectEvent">
    <complexContent>
    <extension base="ttns:CItemWithDBRecordId">
    <sequence>
    <element name="user" type="xsd:string" minOccurs="1" maxOccurs="1" nillable="true"/>
    <element name="date" type="xsd:date" minOccurs="1" maxOccurs="1" nillable="true"/>
    <element name="notes" type="xsd:string" minOccurs="1" maxOccurs="1" nillable="true"/>
    <element name="eventaddorder" type="xsd:short" minOccurs="1" maxOccurs="1"/>
    <element name="name" type="xsd:string" minOccurs="1" maxOccurs="1" nillable="true"/>
    <element name="parenteventid" type="xsd:long" minOccurs="1" maxOccurs="1"/>
    <element name="attachmentlist" type="ttns:ArrayOfCFileAttachment" minOccurs="1" maxOccurs="1" nillable="true"/>
    <element name="fieldlist" type="ttns:ArrayOfCField" minOccurs="1" maxOccurs="1" nillable="true"/>
    <element name="resultingstate" type="xsd:string" minOccurs="1" maxOccurs="1" nillable="true"/>
    <element name="hours" type="xsd:double" minOccurs="1" maxOccurs="1"/>
    <element name="assigntolist" type="ttns:ArrayOfstring" minOccurs="1" maxOccurs="1" nillable="true"/>
    </sequence>
    </extension>
    </complexContent>
    </complexType>
    <complexType name="ArrayOfCDefectEvent">
    <complexContent>
    <restriction base="SOAP-ENC:Array">
    <sequence>
    <element name="item" type="ttns:CDefectEvent" minOccurs="0" maxOccurs="unbounded"/>
    </sequence>
    <attribute ref="SOAP-ENC:arrayType" WSDL:arrayType="ttns:CDefectEvent[]"/>
    </restriction>
    </complexContent>
    </complexType>
    <element name="CDefectEventDefinition" type="ttns:CDefectEventDefinition"/>
    <complexType name="CDefectEventDefinition">
    <sequence>
    <element name="name" type="xsd:string" minOccurs="1" maxOccurs="1" nillable="true"/>
    <element name="user" type="xsd:boolean" minOccurs="1" maxOccurs="1"/>
    <element name="datetime" type="xsd:boolean" minOccurs="1" maxOccurs="1"/>
    <element name="notes" type="xsd:boolean" minOccurs="1" maxOccurs="1"/>
    <element name="resultingState" type="xsd:boolean" minOccurs="1" maxOccurs="1"/>
    <element name="resultingStateValues" type="ttns:ArrayOfCFieldValue" minOccurs="1" maxOccurs="1" nillable="true"/>
    <element name="fileattachments" type="xsd:boolean" minOccurs="1" maxOccurs="1"/>
    <element name="timeTracking" type="xsd:boolean" minOccurs="1" maxOccurs="1"/>
    <element name="timeSumOfAll" type="xsd:boolean" minOccurs="1" maxOccurs="1"/>
    <element name="timeHoursSinceLast" type="xsd:boolean" minOccurs="1" maxOccurs="1"/>
    <element name="newAssignment" type="xsd:boolean" minOccurs="1" maxOccurs="1"/>
    <element name="releaseNotes" type="xsd:boolean" minOccurs="1" maxOccurs="1"/>
    <element name="customFields" type="ttns:ArrayOfCField" minOccurs="1" maxOccurs="1" nillable="true"/>
    </sequence>
    </complexType>
    <complexType name="ArrayOfCDefectEventDefinition">
    <complexContent>
    <restriction base="SOAP-ENC:Array">
    <sequence>
    <element name="item" type="ttns:CDefectEventDefinition" minOccurs="0" maxOccurs="unbounded"/>
    </sequence>
    <attribute ref="SOAP-ENC:arrayType" WSDL:arrayType="ttns:CDefectEventDefinition[]"/>
    </restriction>
    </complexContent>
    </complexType>
    <element name="CDefect" type="ttns:CDefect"/>
    <complexType name="CDefect">
    <complexContent>
    <extension base="ttns:CItemToTrack">
    <sequence>
    <element name="defectnumber" type="xsd:long" minOccurs="1" maxOccurs="1"/>
    <element name="summary" type="xsd:string" minOccurs="1" maxOccurs="1" nillable="true"/>
    <element name="state" type="xsd:string" minOccurs="1" maxOccurs="1" nillable="true"/>
    <element name="disposition" type="xsd:string" minOccurs="1" maxOccurs="1" nillable="true"/>
    <element name="type" type="xsd:string" minOccurs="1" maxOccurs="1" nillable="true"/>
    <element name="priority" type="xsd:string" minOccurs="1" maxOccurs="1" nillable="true"/>
    <element name="product" type="xsd:string" minOccurs="1" maxOccurs="1" nillable="true"/>
    <element name="component" type="xsd:string" minOccurs="1" maxOccurs="1" nillable="true"/>
    <element name="reference" type="xsd:string" minOccurs="1" maxOccurs="1" nillable="true"/>
    <element name="severity" type="xsd:string" minOccurs="1" maxOccurs="1" nillable="true"/>
    <element name="enteredby" type="xsd:string" minOccurs="1" maxOccurs="1" nillable="true"/>
    <element name="dateentered" type="xsd:date" minOccurs="1" maxOccurs="1" nillable="true"/>
    <element name="locationaddedfrom" type="xsd:string" minOccurs="1" maxOccurs="1" nillable="true"/>
    <element name="datetimecreated" type="xsd:dateTime" minOccurs="1" maxOccurs="1" nillable="true"/>
    <element name="datetimemodified" type="xsd:dateTime" minOccurs="1" maxOccurs="1" nillable="true"/>
    <element name="createdbyuser" type="xsd:string" minOccurs="1" maxOccurs="1" nillable="true"/>
    <element name="modifiedbyuser" type="xsd:string" minOccurs="1" maxOccurs="1" nillable="true"/>
    <element name="actualhourstofix" type="xsd:double" minOccurs="1" maxOccurs="1"/>
    <element name="reportedbylist" type="ttns:ArrayOfCReportedByRecord" minOccurs="1" maxOccurs="1" nillable="true"/>
    <element name="eventlist" type="ttns:ArrayOfCDefectEvent" minOccurs="1" maxOccurs="1" nillable="true"/>
    <element name="pSCCFileList" type="ttns:ArrayOfCSCCFileRecord" minOccurs="1" maxOccurs="1" nillable="true"/>
    <element name="customFieldList" type="ttns:ArrayOfCField" minOccurs="1" maxOccurs="1" nillable="true"/>
    </sequence>
    </extension>
    </complexContent>
    </complexType>
    <element name="CTask" type="ttns:CTask"/>
    <complexType name="CTask">
    <complexContent>
    <extension base="ttns:CItemToTrack">
    <sequence>
    <element name="status" type="xsd:string" minOccurs="1" maxOccurs="1" nillable="true"/>
    <element name="priority" type="xsd:string" minOccurs="1" maxOccurs="1" nillable="true"/>
    <element name="summary" type="xsd:string" minOccurs="1" maxOccurs="1" nillable="true"/>
    <element name="description" type="xsd:string" minOccurs="1" maxOccurs="1" nillable="true"/>
    <element name="datedue" type="xsd:date" minOccurs="1" maxOccurs="1" nillable="true"/>
    <element name="dateassigned" type="xsd:date" minOccurs="1" maxOccurs="1" nillable="true"/>
    <element name="versiondue" type="xsd:string" minOccurs="1" maxOccurs="1" nillable="true"/>
    <element name="assignedto" type="xsd:string" minOccurs="1" maxOccurs="1" nillable="true"/>
    <element name="assignedby" type="xsd:string" minOccurs="1" maxOccurs="1" nillable="true"/>
    <element name="assigneddefect" type="xsd:long" minOccurs="1" maxOccurs="1"/>
    </sequence>
    </extension>
    </complexContent>
    </complexType>
    <element name="PhoneNumber" type="ttns:PhoneNumber"/>
    <complexType name="PhoneNumber">
    <sequence>
    <element name="numbertype" type="xsd:string" minOccurs="1" maxOccurs="1" nillable="true"/>
    <element name="phonenumber" type="xsd:string" minOccurs="1" maxOccurs="1" nillable="true"/>
    </sequence>
    </complexType>
    <element name="CUser" type="ttns:CUser"/>
    <complexType name="CUser">
    <complexContent>
    <extension base="ttns:CItemToTrack">
    <sequence>
    <element name="firstname" type="xsd:string" minOccurs="1" maxOccurs="1" nillable="true"/>
    <element name="lastname" type="xsd:string" minOccurs="1" maxOccurs="1" nillable="true"/>
    <element name="usergroupname" type="xsd:string" minOccurs="1" maxOccurs="1" nillable="true"/>
    <element name="company" type="xsd:string" minOccurs="1" maxOccurs="1" nillable="true"/>
    <element name="emailtype" type="xsd:string" minOccurs="1" maxOccurs="1" nillable="true"/>
    <element name="emailaddress" type="xsd:string" minOccurs="1" maxOccurs="1" nillable="true"/>
    <element name="isactive" type="xsd:boolean" minOccurs="1" maxOccurs="1"/>
    <element name="iscustomer" type="xsd:boolean" minOccurs="1" maxOccurs="1"/>
    <element name="isglobal" type="xsd:boolean" minOccurs="1" maxOccurs="1"/>
    <element name="isactiveglobal" type="xsd:boolean" minOccurs="1" maxOccurs="1"/>
    <element name="userLicense" type="xsd:string" minOccurs="1" maxOccurs="1" nillable="true"/>
    <element name="password" type="xsd:string" minOccurs="1" maxOccurs="1" nillable="true"/>
    <element name="loginname" type="xsd:string" minOccurs="1" maxOccurs="1" nillable="true"/>
    <element name="phoneone" type="ttns:PhoneNumber" minOccurs="1" maxOccurs="1"/>
    <element name="phonetwo" type="ttns:PhoneNumber" m

    Deepank-
    When generating forms from Designer, Designer attaches libraries - like ofgmes.pll, ofgnavl.pll, etc. You will need to copy these libraries to the same directory where your forms reside on your Linux box. To find out what libraries ate attached to your form, open it on your windows PC after generating it from Designer and you will see the attached libraries. Also, watch out for the case-sensitivity of Linux. If you have the Designer libraries on your linux box and you still get errors, try changing the case of the names of the libraries.
    Hope this helps,
    Dan

  • Problem with running the midlet class (Error with Installation suite )

    hi everyone...
    i have problem with running the midlet class(BluetoothChatMIDlet.java)
    it keep showing me the same kind of error in the output pane of netbeans...
    which is:
    Installing suite from: http://127.0.0.1:49296/Chat.jad
    [WARN] [rms     ] javacall_file_open: wopen failed for: C:\Users\user\javame-sdk\3.0\work\0\appdb\delete_notify.dat
    i also did some research on this but due to lack of forum that discussing about this,im end up no where..
    from my research i also find out that some of the developer make a changes in class properties..
    where they check the SIGN DISTRIBUTION...and also change the ALIAS to UNTRUSTED..after that,click the EXPORT KEY INTO JAVA ME SDK,PLATFORM,EMULATOR...
    i did that but also didnt work out..
    could any1 teach me how to fix it...
    thanx in advance... :)

    actually, i do my FYP on bluetooth chatting...
    and there will be more than two emulators running at the same time..
    one of my frens said that if u want to run more than one emulator u just simply click on run button..
    and it will appear on the screen..

  • [SOLVED] ipod nano 5G 'Failed to generate sqlite database' error

    If you have been experiencing this, it is due to a missing file in the iPod_Control/Device folder of the ipod. Got the solution from this post here Ipod Nano 5G with linux
    I'll just list the steps here
    1. Get the firewire serial id, look for a sixteen digit number in the output.
    sudo lsusb -v | grep -i Serial
    2. Add/Change the line 'FirewireGuid: ...' to 'FirewireGuid: 0x<firewire serial id obtained above>'
    3. Get a HashInfo file from here by entering the firewire serial id (without the 0x) in the box and the click generate. Move the HashInfo file to you iPod_Control/Device folder
    The error should go away afterwards

    Eventually managed to solve this by forcing the iPod into disk mode (using the instructions here - http://support.apple.com/kb/HT1363) which kept it mounted long enough for me to alter the sync preferences.
    Got there in the end, but I still can't understand why iPods don't just stay mounted until you eject them like they used to. Seems crazy.

  • Could not find the main class error with executable jar

    Hello,
    I have troubles creating an executable jar file and I ran out of ideas how to solve it so I would appreciate some help.
    I have created a jar file with the export function in eclipse
    the Manifest.MF file contains:
    Manifest-Version: 1.0
    Main-Class: view.AppTennisViewI tried starting the file with a batch file which contains following code:
    @echo off
    javaw -classpath c:\TennisHSQLDB_GC2\tennisApp.jar
    @start javaw -jar tennisApp.jar
    exitthe batch file and the jar are both located in c:\TennisHSQLDB_GC2.
    When i try command line I get the same result.
    I also tried alternate statements such as SET CLASSPATH iso javaw -classpath and including the classpath in the manifest file but no luck. It keeps given me the error: could not find the main class. program will exit
    Anyone any suggestions for my problem?

    nevermind, found it.
    classpath in manifest was incorrect

  • Lvoop class error with built executable

    I am having trouble building an executable from a fairly large application in LabVIEW 2012.  The application runs fine in the development environment.  The project uses about 50 classes and several hundred sub-VIs.  I had some initial problems with build error 1502 (cannot save a bad VI without its block diagram), but after enabling debugging I am able to successfully build the EXE.  However, when I run it, a small dialog pops up before any front panels are opened:
    LabVIEW: Generic File I/O Error.
    The file "Hardware Detector.lvclass" could not be loaded.
    After hitting OK, my splash screen opens up with a broken arrow, and another dialog reads
    VI has an error of type E208.  The full development version of LabVIEW is required to fix the errors.
    This is one of the classes used in the project. Based on advice I've seen other posts, I've tried a few things:
    Unchecking all boxes under Additional Exclusions (don't disconnect typedefs, don't remove extra files, don't disconnect inline subvis, ...)
    Adding the class folder to the Always Included list under source files (actually its grandparent folder)
    None of these seemed to make a difference.  The only things I can think of that are unique about this class are that 1) it resides under a fairly deep folder hierarchy (five folders below root) and it makes use of the Set/Unset Busy Cursor VIs.  I don't know if any of that matters.
    Any ideas?

    PackersFan wrote:
    Are you dynamically loading this class?
    If you go to the Source File Settings sections, what is the destination for this class?
    Are you using the 8.x file layout?
    You said you enabled debugging.  Can you connect to the EXE with a debugging session and check out the block diagrams?  Sometimes in my experience I found that those errors could be a bit misleading.
     By dynamic loading I assume you mean loading the class from a path instead of dropping a constant on the BD.  No, I am not.
    Destination is the executable.
    No 8.x layout
    I can connect, but still get the same Generic File IO error.  Error list gives no errors.  I can open the splash screen block diagram, but once I started trying to open subVIs on the block diagram, LabVIEW crashed.  I might mess with this some more.
    Norbert_B wrote:
    Adding some questions:
    Are all sources (classes and subVIs) implemented in the same LV version?
    Did you masscompile the whole project before building the EXE? If so, did you get any "bad VI" reports?
    I initially started the project in LV2011, but migrated to LV2012 recently.  Never tried a build in 2011, but the class that seems to be creating the problem was written in 2012.
    On your suggestion I tried a mass compile.  No bad VIs in the main code, but there were a few in a "test panels" folder in the project.  None of these VIs are called by the main code, but for good measure I removed the folder from project and re-built.  Same problem.
    I did not realize application building was so fragile!  Thanks everyone for your help so far.

  • Exchange 2007 fails to generate OAB. Error ID 9330 and 9334.

    Hello, 
    I'm having issues generating/updating an OAB on my Exchange 2007. The event viewer is reporting the following errors:
    Event Type: Error
    Event Source: MSExchangeSA
    Event Category: OAL Generator 
    Event ID: 9330
    Date: 1/30/2014
    Time: 2:07:46 PM
    User: N/A
    Computer: SERVER
    Description:
    OALGen encountered error 80040115 (internal ID 50004ef) accessing Active Directory DC-SERVER for ''. 
    - /o=Company Name/cn=addrlists/cn=oabs/cn=Offline Address Book 
    For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.
    Event Type: Error
    Event Source: MSExchangeSA
    Event Category: OAL Generator 
    Event ID: 9334
    Date: 1/30/2014
    Time: 2:07:46 PM
    User: N/A
    Computer: SERVER
    Description:
    OALGen encountered error 80040115 while initializing the offline address list generation process. No offline address lists have been generated. Please check the event log for more information. 
    - /o=Company Name/cn=addrlists/cn=oabs/cn=Offline Address Book 
    For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.
    I've tried everything I have found from other similar posts without success. I have created a new Offline Address Book, I can ping and resolve DNS to Primary Domain Controller, etc
    I don't know what else to do. Any help is greatly appreciated. Thanks!

    The OAB is set to both web and public folder distribution. 
    The mailbox server does have the OAB folder and it contains a subfolder with the GUID of the default OAB, not for the new OAB I created. The same thing for the CAS server.
    I ran the cmdlet with no problems. The Event viewer showed the following errors for the new OAB I created:
    Event Type: Warning
    Event Source: MSExchangeFDS
    Event Category: General 
    Event ID: 1021
    Date: 1/30/2014
    Time: 5:32:43 PM
    User: N/A
    Computer: CAS-SERVER
    Description:
    Process MSExchangeFDS.exe (PID=2672). Could not find directory \\CAS-SERVER\ExchangeOAB\e52a1595-d9b9-45ad-a786-2e909de7ccb7. This is normal if the directory has never been generated. Otherwise, make sure this directory
    and share has read permission for the "Exchange Servers" group.
    That is the GUID of the new OAB that was not generated. 

  • Failed to load Main Class error

    Every time i run a jar file I make I get back "Could not find the main class: Sinister.class. Program will exit."
    This is how I make it.
    The command line says
    C:\Users\Terrell\Desktop>command.com
    Microsoft(R) Windows DOS
    (C)Copyright Microsoft Corp 1990-2001.
    C:\USERS\TERRELL\DESKTOP>jar cvfm pooleo.jar MANIFEST.TXT Sinister.class
    added manifest
    adding: Sinister.class(in = 7861) (out= 3894)(deflated 50%)
    and everything works just fine on the command line
    jar cfm anything.jar MANIFEST.txt Sinister.classThe manifest.txt says
    I've already tried interchangeably replacing .txt extension with .MF
    Manifest-Version: 1.0
    Created-By: 1.6.0_10-beta (Sun Microsystems Inc.)
    Main-Class: Sinister.classDoes anyone know how to make it run
    Edited by: powerbronx on Dec 4, 2008 4:24 PM

    >
    It's probably because your class is in the default package.>No. Java 6 (and all previous Java's I recall) will successfully load classes in the default package.
    >
    It is generally good practice to assign a package to all classes you create.>No argument there.
    Two points about that manifest, though.
    1. Leave off the '.class'
    E.G.
    Manifest-Version: 1.0
    Created-By: 1.6.0_10-beta (Sun Microsystems Inc.)
    Main-Class: Sinister2. Ensure the manifest has a trailing blank line (your results suggest that the manifest does have a trailing blank line, but make sure - or better still, write the manifest using Ant).

  • ORA-06502 error with external table having long records

    I'm getting a strange error with the oci driver that I don't get with the thin driver.
    The basic situation is that we using external tables and both the oci and thin drivers have been working until we tested with a table that had longer records than the previous tables. The new table has 1800 byte records.
    The thin driver still works fine with the new table. However, the oci driver generates the following error with the new table:
    ORA-06502: PL/SQL: numeric or value error: character string buffer too small
    I suspect that with oci driver the oci DLLs are reading the external file and the DLLs can't handle the longer record length.
    Particulars
    - Oracle DB Server is 10.2.0.1 on SunOS 5.9
    - OCI Instant Client instantclient_10_2 on Windows XP
    - OCI client code from DB server installation running on DB server
    - Works with thin driver from Windows XP and on DB server machine for all record lengths
    - Works with both OCI drivers for records < 1800 bytes (don't know actual limit)
    - Fails with both OCI drivers for records = 1800 bytes.
    Does anyone out there have any thoughts.
    Thanks in advance.

    Your access parameters are in the wrong order. External tables are a bit fussy like that. Refer to the access_parameters section in the Utilities manual and follow the order there. From memory it will go something like this:
    RECORDS DELIMITED...
    LOG/BAD/DISCARDFILE...
    FIELDS TERMINATED...LDRTRIM
    MISSING FIELD VALUES...
       fields...
    )Regards...

  • What exactly is a wrapper class?

    In so far as Integer, Byte, Double et al. are concerned I understand that those wrapper classes are a way to handle primitive types as objects. But I've come across references to wrapper classes in documentation and other technical articles and I don't think I really understand what they are really used for. Why do you need a wrapper class for an object?
    Could someone shed me some light on this issue?
    Thanks,
    John

    An instance of a wrapper class holds a pointer to and instance of some other class or interface and provides access to it, typically supplying methods equivalent to all the methods of the underlying type.
    The basic wrapper class a functional replacement for the underlying object.
    When you're passed an object from some code outside your control you often don't know what exact class it is, or have access to it's class definition.
    A wrapper object allows you to modify the functionality of such an object. You can extend the wrapper class, for example, adding extra methods. Or you can modify the methods, for example to provide logging of calls made.
    As a concrete example, I have a wrapper class LoggedConnection which wraps a java.sql.Connection object. It also implements java.sql.Connection. If you ask a LoggedConnection for a Statement or PreparedStatement it fetches the appropriate object and returns a wrapped version which logs the SQL and the execution times etc..
    My "get me a connection" routine can return either a raw Connection or a LoggedConnection according to whether a SQL log file is provided.
    The main program doesn't need to know if it's using a genuine Connection object or the wrapped version.
    Part of the definition would look like:
    public class LoggedConnection implements Connection {
      private Connection wrappee;
      public LoggedConnection(Connection con) {
        wrapee = con;
      public createStatement() throws SQLExeception {
        return new LoggedStatement(wrappee.createStatement())
    }(Of course this was tedious to write by hand because Connection has so many methods, all of which the wrapper must implement. Later I wrote a java program to generate Wrapper classes).

Maybe you are looking for