Weblogic 6.1 sp1 and SQLServer 2000

We want to connect our Weblogic 6.1 sp1 server to a SQLServer 2000 db. We
downloaded the JDriver from bea.com, but all the istructions that came with
it are for WLserver 5.1.
What has to be done to do this with 6.1 sp1?
Thanks,
Ariel

Hi Ariel,
The driver is bundled with the product in WLS 6.1sp1. you don't have to
download any additional driver. Use it as you normally would only thing to
remember is if you are trying to write standalone java code then you have to
have weblogic.jar in your classpath. For the rest of the info follow the wls
docs for 6.1
HTH
sree
"Ariel" <[email protected]> wrote in message
news:3bb4a643$[email protected]..
We want to connect our Weblogic 6.1 sp1 server to a SQLServer 2000 db. We
downloaded the JDriver from bea.com, but all the istructions that camewith
it are for WLserver 5.1.
What has to be done to do this with 6.1 sp1?
Thanks,
Ariel

Similar Messages

  • Multiple applications: weblogic 6.0 sp1 and apache 1.3.12 proxy

    Hi,
    We are testing the following setup:
    Weblogic 6.0 SP1 running on Solaris 8 (SUN, ip: 192.168.0.1)
    Apache 1.3.12 running on Linux (ip: 192.168.0.2)
    We have two applications setup on weblogic in the following
    directories:
    $WL_HOME/config/mydomain/applications/app1 and
    $WL_HOME/config/mydomain/applications/app2
    The idea is to set up virtual hosts on the apache server and
    depending on the url, redirect the client to a specific
    application. So for the application app1 we have the following
    setup in httpd.conf:
    <Files ~ "*.jsp>
    SetHandler weblogic-handler
    PathPrepend /app1
    </Files>
    <IfModule mod_weblogic.c>
    WebLogicHost 192.168.0.1
    WebLogicPort 7001
    DebugConfigInfo ON
    Debug ALL
    </IfModule>
    This seems to work fine, e.g. if the client requests a page
    http://app1.url.com/index.jsp this gets correctly passed to
    weblogic as http://192.168.0.1:7001/app1/index.jsp.
    BUT when a jsp page does a response.sendRedirect
    (redirectpage.jsp), weblogic tells the client to redirect to
    http://app1.url.com/app1/redirectpage.jsp. *Apache* immediately
    comes back with an error 404. Is there a way of stripping
    the /app1 path from the redirect page that gets sent
    to the client?
    OR is there a better way of hosting multiple applications on a
    server?
    This is only a problem when we use sendRedirect.
    Any ideas
    Thanks
    Richard

    Bob:
    Fixed in SP 4. Out very, very soon.
    mbg
    In article <3969eabe$[email protected]>, [email protected] says...
    Hello;
    Can someone tell me how I might make this configuration work? I'm trying to
    run multiple Weblogic Process on one box and 1 Apache Process on another
    box. I would like to utilize the "VirtualHosting by name" via the HTTP1.1
    protocol and use the weblogic plugin.
    SNIP
    When I try to call the website:
    http://1stVirtual.host.com/weblogic/ I get this:
    Failure of WebLogic APACHE bridge:
    Neither WebLogicCluster nor WebLogicHost parameter was specified in
    httpd.conf. Cannot continue.
    Anyhelp would be greatly appreciated.
    -Bob--
    ==================================================
    NewsGroup Rant
    ==================================================
    Rant 1.
    The less info you provide about your problem means
    the less we can help you. Try to look at the
    problem from an external perspective and provide
    all the data necessary to put your problem in
    perspective.

  • Installation Error with iPlanet Directory Server 5.1 SP1 and Windows 2000

    Hello,
    I'm having real trouble getting iPlanet Directory Server installed on a Windows 200 Server machine. Every time I install it, no matter what options I choose, I get this series of popup boxes at the end:
    - Setup is unable to store configuration data in the LDAP directory
    - Unable to create Administration Server configuration
    - Could not authenticate ldap connection, "Unknown error"
    - Unable to set ACI in Configuration Directory Server
    But searching on this forum, I have found a lot of post. I have tested the different solution proposed :
    * Add on the host file the short name and the long name of my machine with it's IP adress
    * When the installation process crash, uninstall the software, reboot the machine and then restart the installation
    With all this solution, the problem is always here.
    Could you help me ?
    Boris MANCHETTE

    Are you using Terminal Services. iPlanet DS will not install properly over Terminal Services. You have to install from the direct attached console.
    Ted

  • Migrating from WebSphere 5.1 OR WebLogic 5.1 SP1 To SunOne App server 7

    Hi all,
    I have an application which is compatable with WebSphere 5.1 or WebLogic 5.1 SP1 and i want to move it to SunOne Application Server 7.
    the migration tool don't support these Versions, so can anyone tell me how to migrate or When the updated version of the Migrator Tool will be available?

    The migration too supports migration from SunOne Application Server 7 to weblogic 5.1 (http://wwws.sun.com/software/download/products/3f577172.html). Please check.

  • LDAP groups and WebLogic Roles - Urgent ( weblogic 6.1 sp1, iPLanet 5.1)

    I have 2 questions and these are very urgent :-
    1. Where the mapping can be defined between LDAP groups and WebLogic Roles. I have
    2 groups in iPLanet :- Contarctors and employees and I have 2 security roles in weblogic:-
    contractactors and employess. How do I map LDAP group contractors to weblogic security
    Role contractors? Similarly for employees ?
    2. I have not defined contarctors and employeees under People container in IPlanet.
    e.g. The RDN for contractor is
    uid=1234,ou=dir,dc=orams,dc=com
    Can I still use the defualt security realm of weblogic (the WebLogic Security Realm
    under People ) OR I have to write my own custom code ?
    3. I am planning to use Roles insetad of groups to manage the logical grouping in
    iPLant. Can I still use the groups in WebLogic security realm ( in the configuratin
    parameters ?)
    This is very urgent ....so if any of you can throw any hints that will be greatly
    appreciated.
    --Sunita

    Hi Ariel,
    The driver is bundled with the product in WLS 6.1sp1. you don't have to
    download any additional driver. Use it as you normally would only thing to
    remember is if you are trying to write standalone java code then you have to
    have weblogic.jar in your classpath. For the rest of the info follow the wls
    docs for 6.1
    HTH
    sree
    "Ariel" <[email protected]> wrote in message
    news:3bb4a643$[email protected]..
    We want to connect our Weblogic 6.1 sp1 server to a SQLServer 2000 db. We
    downloaded the JDriver from bea.com, but all the istructions that camewith
    it are for WLserver 5.1.
    What has to be done to do this with 6.1 sp1?
    Thanks,
    Ariel

  • Error using SQLServer 2000 in Weblogic 8.1

    Hi,
    I am trying to use SQLServer for my Entity Beans in Weblogic 8.1.
    When I use the default PointBase database, my project deploys fine.
    However, when I create a new domain for using SQLServer 2000 and try
    to use the new data source for SQL Server 2000, I get the following
    error when I try to deploy my entity beans:
    Unable to deploy EJB: ProjItem from ProjectPlannerProj.jar:
    [EJB:010102]Error encountered while attempting to create Default DBMS
    Table: 'projitem'. Error Text: '[Microsoft][SQLServer 2000 Driver for
    JDBC][SQLServer]Incorrect syntax near the keyword 'End'.'.
    Can anybody tell me why I get this error with SQLServer 2000 and not
    with PointBase database?
    Thanks,
    Prab

    Prabjot Jaaj wrote:
    HI,
    Here is the output from the JDBC logging.
    Please let me know if you have any ideas.No, sorry. You need to open an official support case.
    Joe
    >
    Thanks,
    Prab
    JDBC log stream started at Sat Oct 02 01:34:05 EDT 2004
    DriverManager.initialize: jdbc.drivers = null
    JDBC DriverManager initialized
    registerDriver: driver[className=com.pointbase.jdbc.jdbcUniversalDriver,com.pointbase.jdbc.jdbcUniversalDriver@12ecba8]
    DriverManager.getDriver("jdbc:pointbase:server://localhost:9093/workshop")
    trying driver[className=com.pointbase.jdbc.jdbcUniversalDriver,com.pointbase.jdbc.jdbcUniversalDriver@12ecba8]
    registerDriver: driver[className=com.pointbase.jdbc.jdbcDriver,com.pointbase.jdbc.jdbcDriver@10eaeda]
    registerDriver: driver[className=com.pointbase.net.netJDBCDriver,com.pointbase.net.netJDBCDriver@a06e8d]
    registerDriver: driver[className=com.pointbase.jdbc.jdbcEmbeddedDriver,com.pointbase.jdbc.jdbcEmbeddedDriver@1217fef]
    getDriver returning driver[className=com.pointbase.jdbc.jdbcUniversalDriver,com.pointbase.jdbc.jdbcUniversalDriver@12ecba8]
    DriverManager.getDriver("jdbc:pointbase:server://localhost:9093/workshop")
    trying driver[className=com.pointbase.jdbc.jdbcUniversalDriver,com.pointbase.jdbc.jdbcUniversalDriver@12ecba8]
    getDriver returning driver[className=com.pointbase.jdbc.jdbcUniversalDriver,com.pointbase.jdbc.jdbcUniversalDriver@12ecba8]
    DriverManager.getDriver("jdbc:pointbase:server://localhost:9093/workshop")
    trying driver[className=com.pointbase.jdbc.jdbcUniversalDriver,com.pointbase.jdbc.jdbcUniversalDriver@12ecba8]
    getDriver returning driver[className=com.pointbase.jdbc.jdbcUniversalDriver,com.pointbase.jdbc.jdbcUniversalDriver@12ecba8]
    SQLException: SQLState(HY000) vendor code(20001)
    java.sql.SQLException: [Microsoft][SQLServer 2000 Driver for JDBC][SQLServer]xa_open (0) returns -3
         at com.microsoft.jdbc.base.BaseExceptions.createException(Unknown Source)
         at com.microsoft.jdbc.base.BaseExceptions.getException(Unknown Source)
         at com.microsoft.jdbc.sqlserver.tds.TDSRequest.processErrorToken(Unknown Source)
         at com.microsoft.jdbc.sqlserver.tds.TDSRequest.processReplyToken(Unknown Source)
         at com.microsoft.jdbc.sqlserver.tds.TDSRPCRequest.processReplyToken(Unknown Source)
         at com.microsoft.jdbc.sqlserver.tds.TDSRequest.processReply(Unknown Source)
         at com.microsoft.jdbc.sqlserver.SQLServerImplStatement.getNextResultType(Unknown Source)
         at com.microsoft.jdbc.base.BaseStatement.commonTransitionToState(Unknown Source)
         at com.microsoft.jdbc.base.BaseStatement.postImplExecute(Unknown Source)
         at com.microsoft.jdbc.base.BasePreparedStatement.postImplExecute(Unknown Source)
         at com.microsoft.jdbc.base.BaseStatement.commonExecute(Unknown Source)
         at com.microsoft.jdbc.base.BaseStatement.executeUpdateInternal(Unknown Source)
         at com.microsoft.jdbc.base.BasePreparedStatement.executeUpdate(Unknown Source)
         at com.microsoft.jdbcx.sqlserver.SQLServerImplXAResource.executeXaRpc(Unknown Source)
         at com.microsoft.jdbcx.sqlserver.SQLServerImplXAResource.executeXaRpc(Unknown Source)
         at com.microsoft.jdbcx.sqlserver.SQLServerImplXAResource.open(Unknown Source)
         at com.microsoft.jdbcx.base.BaseXAConnection.<init>(Unknown Source)
         at com.microsoft.jdbcx.base.BaseXADataSource.getXAConnection(Unknown Source)
         at com.microsoft.jdbcx.sqlserver.SQLServerDataSource.getXAConnection(Unknown Source)
         at weblogic.jdbc.common.internal.XAConnectionEnvFactory.makeConnection(XAConnectionEnvFactory.java:328)
         at weblogic.jdbc.common.internal.XAConnectionEnvFactory.createResource(XAConnectionEnvFactory.java:83)
         at weblogic.common.resourcepool.ResourcePoolImpl.makeResources(ResourcePoolImpl.java:1145)
         at weblogic.common.resourcepool.ResourcePoolImpl.makeResources(ResourcePoolImpl.java:1079)
         at weblogic.common.resourcepool.ResourcePoolImpl.start(ResourcePoolImpl.java:171)
         at weblogic.jdbc.common.internal.ConnectionPool.doStart(ConnectionPool.java:1001)
         at weblogic.jdbc.common.internal.ConnectionPool.start(ConnectionPool.java:142)
         at weblogic.jdbc.common.internal.ConnectionPoolManager.createAndStartPool(ConnectionPoolManager.java:298)
         at weblogic.jdbc.common.internal.JDBCService.addDeployment(JDBCService.java:180)
         at weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(DeploymentTarget.java:331)
         at weblogic.management.mbeans.custom.DeploymentTarget.addDeployments(DeploymentTarget.java:591)
         at weblogic.management.mbeans.custom.DeploymentTarget.updateServerDeployments(DeploymentTarget.java:569)
         at weblogic.management.mbeans.custom.DeploymentTarget.updateDeployments(DeploymentTarget.java:241)
         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 weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBeanImpl.java:731)
         at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.java:710)
         at weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBeanImpl.java:484)
         at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1557)
         at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1525)
         at weblogic.management.internal.RemoteMBeanServerImpl.private_invoke(RemoteMBeanServerImpl.java:985)
         at weblogic.management.internal.RemoteMBeanServerImpl.invoke(RemoteMBeanServerImpl.java:943)
         at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:946)
         at weblogic.management.internal.MBeanProxy.invokeForCachingStub(MBeanProxy.java:481)
         at weblogic.management.configuration.ServerMBean_Stub.updateDeployments(ServerMBean_Stub.java:7351)
         at weblogic.management.deploy.slave.SlaveDeployer.updateServerDeployments(SlaveDeployer.java:1304)
         at weblogic.management.deploy.slave.SlaveDeployer.resume(SlaveDeployer.java:347)
         at weblogic.management.deploy.DeploymentManagerServerLifeCycleImpl.resume(DeploymentManagerServerLifeCycleImpl.java:229)
         at weblogic.t3.srvr.SubsystemManager.resume(SubsystemManager.java:131)
         at weblogic.t3.srvr.T3Srvr.resume(T3Srvr.java:966)
         at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:361)
         at weblogic.Server.main(Server.java:32)
    registerDriver: driver[className=com.microsoft.jdbc.sqlserver.SQLServerDriver,com.microsoft.jdbc.sqlserver.SQLServerDriver@18edf3c]
    DriverManager.getDriver("jdbc:microsoft:sqlserver://localhost:1433")
    trying driver[className=com.pointbase.jdbc.jdbcUniversalDriver,com.pointbase.jdbc.jdbcUniversalDriver@12ecba8]
    trying driver[className=com.pointbase.jdbc.jdbcDriver,com.pointbase.jdbc.jdbcDriver@10eaeda]
    trying driver[className=com.pointbase.net.netJDBCDriver,com.pointbase.net.netJDBCDriver@a06e8d]
    trying driver[className=com.pointbase.jdbc.jdbcEmbeddedDriver,com.pointbase.jdbc.jdbcEmbeddedDriver@1217fef]
    trying driver[className=com.microsoft.jdbc.sqlserver.SQLServerDriver,com.microsoft.jdbc.sqlserver.SQLServerDriver@18edf3c]
    getDriver returning driver[className=com.microsoft.jdbc.sqlserver.SQLServerDriver,com.microsoft.jdbc.sqlserver.SQLServerDriver@18edf3c]
    DriverManager.getDriver("jdbc:pointbase:server://localhost:9093/workshop")
    trying driver[className=com.pointbase.jdbc.jdbcUniversalDriver,com.pointbase.jdbc.jdbcUniversalDriver@12ecba8]
    getDriver returning driver[className=com.pointbase.jdbc.jdbcUniversalDriver,com.pointbase.jdbc.jdbcUniversalDriver@12ecba8]
    registerDriver: driver[className=weblogic.jdbc.jts.Driver,weblogic.jdbc.jts.Driver@60e78]
    registerDriver: driver[className=weblogic.jdbc.pool.Driver,weblogic.jdbc.pool.Driver@7db7d]
    SQLException: SQLState(ZD004) vendor code(15006)
    java.sql.SQLException: Invalid table name "WLI_PROCESS_PROCESSED_EVENT" specified at position 14.
         at com.pointbase.net.netJDBCPrimitives.handleResponse(Unknown Source)
         at com.pointbase.net.netJDBCPrimitives.handleJDBCObjectResponse(Unknown Source)
         at com.pointbase.net.netJDBCStatement.executeQuery(Unknown Source)
         at weblogic.jdbc.wrapper.Statement.executeQuery(Statement.java:345)
         at com.bea.wli.management.archiving.ArchUtil.checkSP2SP3Migration(ArchUtil.java:110)
         at com.bea.wli.management.BPMComponent.initializeTracking(BPMComponent.java:543)
         at com.bea.wli.management.BPMComponent.initManaged(BPMComponent.java:98)
         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.wli.init.BPMStartupShutdown.invoke(BPMStartupShutdown.java:410)
         at com.bea.wli.init.BPMStartupShutdown.startup(BPMStartupShutdown.java:278)
         at com.bea.wli.init.BPMStartup.main(BPMStartup.java:23)
         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 weblogic.t3.srvr.StartupClassService.invokeMain(StartupClassService.java:229)
         at weblogic.t3.srvr.StartupClassService.invokeClass(StartupClassService.java:160)
         at weblogic.t3.srvr.StartupClassService.access$000(StartupClassService.java:36)
         at weblogic.t3.srvr.StartupClassService$1.run(StartupClassService.java:121)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:118)
         at weblogic.t3.srvr.StartupClassService.invokeStartupClass(StartupClassService.java:116)
         at weblogic.t3.srvr.StartupClassService.addDeployment(StartupClassService.java:88)
         at weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(DeploymentTarget.java:331)
         at weblogic.management.mbeans.custom.DeploymentTarget.addDeployments(DeploymentTarget.java:591)
         at weblogic.management.mbeans.custom.DeploymentTarget.updateServerDeployments(DeploymentTarget.java:569)
         at weblogic.management.mbeans.custom.DeploymentTarget.updateDeployments(DeploymentTarget.java:241)
         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 weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBeanImpl.java:731)
         at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.java:710)
         at weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBeanImpl.java:484)
         at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1557)
         at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1525)
         at weblogic.management.internal.RemoteMBeanServerImpl.private_invoke(RemoteMBeanServerImpl.java:985)
         at weblogic.management.internal.RemoteMBeanServerImpl.invoke(RemoteMBeanServerImpl.java:943)
         at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:946)
         at weblogic.management.internal.MBeanProxy.invokeForCachingStub(MBeanProxy.java:481)
         at weblogic.management.configuration.ServerMBean_Stub.updateDeployments(ServerMBean_Stub.java:7351)
         at weblogic.management.deploy.slave.SlaveDeployer.updateServerDeployments(SlaveDeployer.java:1304)
         at weblogic.management.deploy.slave.SlaveDeployer.resume(SlaveDeployer.java:347)
         at weblogic.management.deploy.DeploymentManagerServerLifeCycleImpl.resume(DeploymentManagerServerLifeCycleImpl.java:229)
         at weblogic.t3.srvr.SubsystemManager.resume(SubsystemManager.java:131)
         at weblogic.t3.srvr.T3Srvr.resume(T3Srvr.java:966)
         at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:361)
         at weblogic.Server.main(Server.java:32)
    SQLException: SQLState(ZD004) vendor code(15006)
    java.sql.SQLException: Invalid table name "WLI_WORKLIST_ARCHIVING_SP2SP3" specified at position 20.
         at com.pointbase.net.netJDBCPrimitives.handleResponse(Unknown Source)
         at com.pointbase.net.netJDBCPrimitives.handleJDBCObjectResponse(Unknown Source)
         at com.pointbase.net.netJDBCStatement.executeQuery(Unknown Source)
         at weblogic.jdbc.wrapper.Statement.executeQuery(Statement.java:345)
         at com.bea.wli.worklist.beans.session.RemoteWorklistManagerBean.migrateFromSP2ToSP3(RemoteWorklistManagerBean.java:4641)
         at com.bea.wli.worklist.beans.session.RemoteWorklistManagerBean_us8t1c_EOImpl.migrateFromSP2ToSP3(RemoteWorklistManagerBean_us8t1c_EOImpl.java:2276)
         at com.bea.wli.worklist.WorklistSetup.initAfterManaged(WorklistSetup.java:207)
         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.wli.init.BPMStartupShutdown.invoke(BPMStartupShutdown.java:410)
         at com.bea.wli.init.BPMStartupShutdown.startupAfterActivation(BPMStartupShutdown.java:294)
         at com.bea.wli.init.BPMStartupAfterActivation.main(BPMStartupAfterActivation.java:25)
         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 weblogic.t3.srvr.StartupClassService.invokeMain(StartupClassService.java:229)
         at weblogic.t3.srvr.StartupClassService.invokeClass(StartupClassService.java:160)
         at weblogic.t3.srvr.StartupClassService.access$000(StartupClassService.java:36)
         at weblogic.t3.srvr.StartupClassService$1.run(StartupClassService.java:121)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:118)
         at weblogic.t3.srvr.StartupClassService.invokeStartupClass(StartupClassService.java:116)
         at weblogic.t3.srvr.PostDeploymentStartupService.resume(PostDeploymentStartupService.java:63)
         at weblogic.t3.srvr.SubsystemManager.resume(SubsystemManager.java:131)
         at weblogic.t3.srvr.T3Srvr.resume(T3Srvr.java:966)
         at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:361)
         at weblogic.Server.main(Server.java:32)
    SQLException: SQLState(42S02) vendor code(208)
    java.sql.SQLException: [Microsoft][SQLServer 2000 Driver for JDBC][SQLServer]Invalid object name 'projitem'.
         at com.microsoft.jdbc.base.BaseExceptions.createException(Unknown Source)
         at com.microsoft.jdbc.base.BaseExceptions.getException(Unknown Source)
         at com.microsoft.jdbc.sqlserver.tds.TDSRequest.processErrorToken(Unknown Source)
         at com.microsoft.jdbc.sqlserver.tds.TDSRequest.processReplyToken(Unknown Source)
         at com.microsoft.jdbc.sqlserver.tds.TDSRPCRequest.processReplyToken(Unknown Source)
         at com.microsoft.jdbc.sqlserver.tds.TDSRequest.processReply(Unknown Source)
         at com.microsoft.jdbc.sqlserver.tds.TDSCursorRequest.openCursor(Unknown Source)
         at com.microsoft.jdbc.sqlserver.SQLServerImplStatement.execute(Unknown Source)
         at com.microsoft.jdbc.base.BaseStatement.commonExecute(Unknown Source)
         at com.microsoft.jdbc.base.BaseStatement.executeQueryInternal(Unknown Source)
         at com.microsoft.jdbc.base.BaseStatement.executeQuery(Unknown Source)
         at weblogic.jdbc.wrapper.Statement.executeQuery(Statement.java:345)
         at weblogic.ejb20.utils.TableVerifierSqlQuery.isTableCreatedByContainer(TableVerifierSqlQuery.java:203)
         at weblogic.ejb20.utils.TableVerifier.verifyOrCreateOrAlterTable(TableVerifier.java:119)
         at weblogic.ejb20.cmp.rdbms.RDBMSPersistenceManager.verifyTablesExist(RDBMSPersistenceManager.java:1021)
         at weblogic.ejb20.cmp.rdbms.RDBMSPersistenceManager.setup(RDBMSPersistenceManager.java:201)
         at weblogic.ejb20.manager.BaseEntityManager.setupPM(BaseEntityManager.java:253)
         at weblogic.ejb20.manager.BaseEntityManager.setup(BaseEntityManager.java:210)
         at weblogic.ejb20.manager.DBManager.setup(DBManager.java:162)
         at weblogic.ejb20.deployer.ClientDrivenBeanInfoImpl.activate(ClientDrivenBeanInfoImpl.java:1057)
         at weblogic.ejb20.deployer.EJBDeployer.activate(EJBDeployer.java:1362)
         at weblogic.ejb20.deployer.EJBModule.activate(EJBModule.java:631)
         at weblogic.j2ee.J2EEApplicationContainer.activateModule(J2EEApplicationContainer.java:3274)
         at weblogic.j2ee.J2EEApplicationContainer.activate(J2EEApplicationContainer.java:2173)
         at weblogic.j2ee.J2EEApplicationContainer.activate(J2EEApplicationContainer.java:2146)
         at weblogic.management.deploy.slave.SlaveDeployer$ComponentActivateTask.activateContainer(SlaveDeployer.java:2434)
         at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.doCommit(SlaveDeployer.java:2352)
         at weblogic.management.deploy.slave.SlaveDeployer$Task.commit(SlaveDeployer.java:2136)
         at weblogic.management.deploy.slave.SlaveDeployer$Task.checkAutoCommit(SlaveDeployer.java:2235)
         at weblogic.management.deploy.slave.SlaveDeployer$Task.prepare(SlaveDeployer.java:2130)
         at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.prepare(SlaveDeployer.java:2315)
         at weblogic.management.deploy.slave.SlaveDeployer.processPrepareTask(SlaveDeployer.java:866)
         at weblogic.management.deploy.slave.SlaveDeployer.prepareDelta(SlaveDeployer.java:594)
         at weblogic.management.deploy.slave.SlaveDeployer.prepareUpdate(SlaveDeployer.java:508)
         at weblogic.drs.internal.SlaveCallbackHandler$1.execute(SlaveCallbackHandler.java:25)
         at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:219)
         at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:178)
    SQLException: SQLState(HY000) vendor code(16945)
    java.sql.SQLException: [Microsoft][SQLServer 2000 Driver for JDBC][SQLServer]The cursor was not declared.
         at com.microsoft.jdbc.base.BaseExceptions.createException(Unknown Source)
         at com.microsoft.jdbc.base.BaseExceptions.getException(Unknown Source)
         at com.microsoft.jdbc.sqlserver.tds.TDSRequest.processErrorToken(Unknown Source)
         at com.microsoft.jdbc.sqlserver.tds.TDSRequest.processReplyToken(Unknown Source)
         at com.microsoft.jdbc.sqlserver.tds.TDSRPCRequest.processReplyToken(Unknown Source)
         at com.microsoft.jdbc.sqlserver.tds.TDSRequest.processReply(Unknown Source)
         at com.microsoft.jdbc.sqlserver.tds.TDSCursorRequest.openCursor(Unknown Source)
         at com.microsoft.jdbc.sqlserver.SQLServerImplStatement.execute(Unknown Source)
         at com.microsoft.jdbc.base.BaseStatement.commonExecute(Unknown Source)
         at com.microsoft.jdbc.base.BaseStatement.executeQueryInternal(Unknown Source)
         at com.microsoft.jdbc.base.BaseStatement.executeQuery(Unknown Source)
         at weblogic.jdbc.wrapper.Statement.executeQuery(Statement.java:345)
         at weblogic.ejb20.utils.TableVerifierSqlQuery.isTableCreatedByContainer(TableVerifierSqlQuery.java:203)
         at weblogic.ejb20.utils.TableVerifier.verifyOrCreateOrAlterTable(TableVerifier.java:119)
         at weblogic.ejb20.cmp.rdbms.RDBMSPersistenceManager.verifyTablesExist(RDBMSPersistenceManager.java:1021)
         at weblogic.ejb20.cmp.rdbms.RDBMSPersistenceManager.setup(RDBMSPersistenceManager.java:201)
         at weblogic.ejb20.manager.BaseEntityManager.setupPM(BaseEntityManager.java:253)
         at weblogic.ejb20.manager.BaseEntityManager.setup(BaseEntityManager.java:210)
         at weblogic.ejb20.manager.DBManager.setup(DBManager.java:162)
         at weblogic.ejb20.deployer.ClientDrivenBeanInfoImpl.activate(ClientDrivenBeanInfoImpl.java:1057)
         at weblogic.ejb20.deployer.EJBDeployer.activate(EJBDeployer.java:1362)
         at weblogic.ejb20.deployer.EJBModule.activate(EJBModule.java:631)
         at weblogic.j2ee.J2EEApplicationContainer.activateModule(J2EEApplicationContainer.java:3274)
         at weblogic.j2ee.J2EEApplicationContainer.activate(J2EEApplicationContainer.java:2173)
         at weblogic.j2ee.J2EEApplicationContainer.activate(J2EEApplicationContainer.java:2146)
         at weblogic.management.deploy.slave.SlaveDeployer$ComponentActivateTask.activateContainer(SlaveDeployer.java:2434)
         at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.doCommit(SlaveDeployer.java:2352)
         at weblogic.management.deploy.slave.SlaveDeployer$Task.commit(SlaveDeployer.java:2136)
         at weblogic.management.deploy.slave.SlaveDeployer$Task.checkAutoCommit(SlaveDeployer.java:2235)
         at weblogic.management.deploy.slave.SlaveDeployer$Task.prepare(SlaveDeployer.java:2130)
         at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.prepare(SlaveDeployer.java:2315)
         at weblogic.management.deploy.slave.SlaveDeployer.processPrepareTask(SlaveDeployer.java:866)
         at weblogic.management.deploy.slave.SlaveDeployer.prepareDelta(SlaveDeployer.java:594)
         at weblogic.management.deploy.slave.SlaveDeployer.prepareUpdate(SlaveDeployer.java:508)
         at weblogic.drs.internal.SlaveCallbackHandler$1.execute(SlaveCallbackHandler.java:25)
         at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:219)
         at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:178)
    SQLException: SQLState(HY000) vendor code(156)

  • GuestDisabled property = false... Weblogic 6.1 sp1 Windows 2000

    GuestDisabled property = false... Weblogic 6.1 sp1 Windows 2000.
    But I still can connect without principal and credentials (as guest :) ) to
    Weblogic. Could someone check if it is true or not?
    Thanks in advance,
    Anton

    Says the official doc (the last sentence will answer your question).
    The guest User is automatically provided by WebLogic Server. When
    authorization is not required, WebLogic Server assigns the guest identity to
    a client, thus giving the client access to any resources that are available
    to the guest user. A client can log in as the guest User by entering guest
    as the username and guest as the password when prompted by a Web browser or
    by supplying the guest username and password in a Java client. By default,
    the guest account is enabled.
    For a more secure deployment, BEA recommends running WebLogic Server with
    the guest account disabled. To disable the guest account, select the Guest
    Disabled attribute on the General tab of the Security Configuration window.
    Disabling the guest account just disables the ability to log in into the
    account guest; it does not disable the ability for unauthenticated users to
    access a WebLogic Server deployment.
    http://e-docs.bea.com/wls/docs61//////adminguide/cnfgsec.html
    Weird, I agree.
    "Anton Chistiakov" <[email protected]> wrote in message
    news:[email protected]..
    GuestDisabled property = false... Weblogic 6.1 sp1 Windows 2000.
    But I still can connect without principal and credentials (as guest :) )to
    Weblogic. Could someone check if it is true or not?
    Thanks in advance,
    Anton

  • Problem with SQLServer 2000, JHS 9.0.5.1 and  jdev 9.0.5.1

    Hi,
    I have JHS 9.0.5.1.9, Jdeveloper 9.0.5.1 and RDBMS - SQLServer 2000, MS SQLServer 2000 jdbc driver sp2 (SelectMethod=cursor).
    When I try update recorods - errors: JBO-26080: Error while selecting entity for ... .
    Cause - FOR UPDATE cannot be specified on Read Only cursor.
    Setting LockTrailer to blank or "and 1=1" didn't help.
    jbo.323.compatible and jbo.903.compatible - didn't help.
    Should JHS (bc4j) work with MS SQLServer ?

    Yes, that is possible. See the JDeveloper online help. Do a full-text search for "non-Oracle datasources" and you will find a topic about Business Components for non-Oracle or foreign datasources.
    This is regardless of using JHeadstart or not, it is ADF Business Components (BC4J) functionality. You should be able to try it out using the BC4J tester (right-click your application module and choose Test).
    If you have further questions about this topic, the best discussion forum is probably http://otn.oracle.com/discussionforums/jdev.html .
    Hope this helps,
    Sandra Muller
    JHeadstart Team

  • Which jdbc driver should be used for sqlserver 2000 and where to put it.

    hi all,
    My odi is 11g. I met the error infor "Could not load JDBC driver class [com.microsoft.sqlserver.jdbc.SQLServerDriver]" when i tried to connect to a sqlserver2000 database.
    The questions are:
    1. which jdbc driver should be used for sqlserver 2000?
    2. which folder to put it in?
    3. how to set the physical topological "Microsoft Sql Server" to use this jdbc driver?
    failed tries:
    i downloaded the driver "SQL Server 2000 Driver for JDBC Service Pack 2" and put it in the following folders:
    1. .../oracledi/drivers, and set this path to CLASSPATH.
    2. .../oracledi/userlib didn't exist, i created it and put the driver in.
    3. .../oracledi/agent/dirvers, in which a readme file exists and told me to put drivers in this folder.
    All these works were not useful. when I start odi.sh and try to connect to sqlserver2000 database, the same error infor came up.
    my environment is:
    os: Linux 2.6.18-164.el5 #1 SMP Tue Aug 18 15:51:48 EDT 2009 x86_64 x86_64 x86_64 GNU/Linux
    java: Java(TM) SE Runtime Environment (build 1.6.0_13-b03) Java HotSpot(TM) 64-Bit Server VM (build 11.3-b02, mixed mode)
    ODI: 11g, installed in /users/oracle/odi/
    please help me,thanks a lot.
    jun
    帖子经 Jun编辑过

    Hi,
    You should check which JVM version is required by that version of the driver, I think the 2.x versions require a 1.6 JVM
    What error are you getting? If it is the "com.sunopsis.sql.c: No suitable driver", it indicates it can't find the jar file (sqljdbc.jar) for the driver you specify.
    Drivers folder in ODI 11g is under
    C:\oracle\product\11.1.1\Oracle_ODI_1\oracledi\agent\drivers.
    if you are using the standolone version
    On windwos :
    C:\Documents and Settings\<userName>\Application Data\odi\oracledi\userlib
    on linux
    $HOME/.odi/oracledi/userlib
    Have a read of :- http://download.oracle.com/docs/cd/E14571_01/core.1111/e16453/install.htm#CHDBIFAJ
    Thanks,
    Sutirtha

  • Access to Weblogic 7.0 SP1 datasource throws Oracle Exception

    Hi,
    I am trying to access a DataSource & Connection Pool set up in a Weblogic 7.0
    SP1 instance, from a client app running in a different JVM than the app server
    itself. The code I used is given below,
    Hashtable ht = new Hashtable();
    ht.put(Context.INITIAL_CONTEXT_FACTORY, "weblogic.jndi.WLInitialContextFactory");
    ht.put(Context.PROVIDER_URL, "t3://localhost:7001");
    ctx = new InitialContext(ht);
    if (ctx != null) ds = (DataSource) ctx.lookup("sample.SQLServer2KDS");
    Connection conn = ds.getConnection("system", "password");
    The connection pool points to a SQL Server 2000 database. But the getConnection
    throws an Oracle exception, given below. We don't have any reference to oracle
    drivers anywhere and we don't have any installations of Oracle. When I put the
    Oracle JDBC driver in the classpath of my client application, this problem went
    away.
    Does anyone else encounter this ? Does anyone know if this is fixed by BEA ?
    Thanks,
    -Arun
    weblogic.rjvm.PeerGoneException: ; nested exception is:
         weblogic.utils.NestedException: oracle/sql/BfileDBAccess - with nested exception:
    [java.lang.NoClassDefFoundError: oracle/sql/BfileDBAccess]
         at weblogic.rmi.internal.BasicOutboundRequest.sendReceive(BasicOutboundRequest.java:109)
         at weblogic.rmi.internal.BasicRemoteRef.invoke(BasicRemoteRef.java:127)
         at weblogic.jdbc.common.internal.RmiDataSource_WLStub.getConnection(Unknown Source)
         at sample.DBClient.getConnection(DBClient.java:37)
         at sample.DBClient.main(DBClient.java:57)
    Caused by: weblogic.utils.NestedException: oracle/sql/BfileDBAccess - with nested
    exception:
    [java.lang.NoClassDefFoundError: oracle/sql/BfileDBAccess]
         at weblogic.rjvm.RJVMImpl.gotExceptionReceiving(RJVMImpl.java:592)
         at weblogic.rjvm.ConnectionManager.gotExceptionReceiving(ConnectionManager.java:896)
         at weblogic.rjvm.t3.T3JVMConnection.hasException(T3JVMConnection.java:632)
         at weblogic.socket.JavaSocketMuxer.processSockets(JavaSocketMuxer.java:399)
         at weblogic.socket.SocketReaderRequest.execute(SocketReaderRequest.java:23)
         at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:153)
         at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:134)
    --------------- nested within: ------------------
    weblogic.rmi.extensions.RemoteRuntimeException: Unexpected Exception - with nested
    exception:
    [weblogic.rjvm.PeerGoneException: ; nested exception is:
         weblogic.utils.NestedException: oracle/sql/BfileDBAccess - with nested exception:
    [java.lang.NoClassDefFoundError: oracle/sql/BfileDBAccess]]
         at weblogic.jdbc.common.internal.RmiDataSource_WLStub.getConnection(Unknown Source)
         at sample.DBClient.getConnection(DBClient.java:37)
         at sample.DBClient.main(DBClient.java:57)

    You need to have classes12.zip in your CLASSPATH, even though you are not using Oracle
    as your database.
    This problem will be fixed in the WLS release coming out in spring, 2003.
    "Arun Panicker" <[email protected]> wrote in message news:[email protected]...
    >
    Hi,
    I am trying to access a DataSource & Connection Pool set up in a Weblogic 7.0
    SP1 instance, from a client app running in a different JVM than the app server
    itself. The code I used is given below,
    Hashtable ht = new Hashtable();
    ht.put(Context.INITIAL_CONTEXT_FACTORY, "weblogic.jndi.WLInitialContextFactory");
    ht.put(Context.PROVIDER_URL, "t3://localhost:7001");
    ctx = new InitialContext(ht);
    if (ctx != null) ds = (DataSource) ctx.lookup("sample.SQLServer2KDS");
    Connection conn = ds.getConnection("system", "password");
    The connection pool points to a SQL Server 2000 database. But the getConnection
    throws an Oracle exception, given below. We don't have any reference to oracle
    drivers anywhere and we don't have any installations of Oracle. When I put the
    Oracle JDBC driver in the classpath of my client application, this problem went
    away.
    Does anyone else encounter this ? Does anyone know if this is fixed by BEA ?
    Thanks,
    -Arun
    weblogic.rjvm.PeerGoneException: ; nested exception is:
    weblogic.utils.NestedException: oracle/sql/BfileDBAccess - with nested exception:
    [java.lang.NoClassDefFoundError: oracle/sql/BfileDBAccess]
    at weblogic.rmi.internal.BasicOutboundRequest.sendReceive(BasicOutboundRequest.java:109)
    at weblogic.rmi.internal.BasicRemoteRef.invoke(BasicRemoteRef.java:127)
    at weblogic.jdbc.common.internal.RmiDataSource_WLStub.getConnection(Unknown Source)
    at sample.DBClient.getConnection(DBClient.java:37)
    at sample.DBClient.main(DBClient.java:57)
    Caused by: weblogic.utils.NestedException: oracle/sql/BfileDBAccess - with nested
    exception:
    [java.lang.NoClassDefFoundError: oracle/sql/BfileDBAccess]
    at weblogic.rjvm.RJVMImpl.gotExceptionReceiving(RJVMImpl.java:592)
    at weblogic.rjvm.ConnectionManager.gotExceptionReceiving(ConnectionManager.java:896)
    at weblogic.rjvm.t3.T3JVMConnection.hasException(T3JVMConnection.java:632)
    at weblogic.socket.JavaSocketMuxer.processSockets(JavaSocketMuxer.java:399)
    at weblogic.socket.SocketReaderRequest.execute(SocketReaderRequest.java:23)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:153)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:134)
    --------------- nested within: ------------------
    weblogic.rmi.extensions.RemoteRuntimeException: Unexpected Exception - with nested
    exception:
    [weblogic.rjvm.PeerGoneException: ; nested exception is:
    weblogic.utils.NestedException: oracle/sql/BfileDBAccess - with nested exception:
    [java.lang.NoClassDefFoundError: oracle/sql/BfileDBAccess]]
    at weblogic.jdbc.common.internal.RmiDataSource_WLStub.getConnection(Unknown Source)
    at sample.DBClient.getConnection(DBClient.java:37)
    at sample.DBClient.main(DBClient.java:57)

  • JDBC 2.0 method not implemented error using bea jDriver for MS-SQLServer 2000

    I'm trying to reconfigure WebLogic Portal 7.0 (Platform 7.0 SP2) to run on MS SQLServer
    2000. According to the supported platform docs, the MS JDBC driver is not supported
    by Portal, hence I'm using the BEA jDriver for SQLServer.
    I'm now getting the following error when starting up Weblogic Portal which requires
    a re-sync with the EBCC before the applications will work.
    <28-Aug-03 09:28:30 BST> <Error> <Data Synchronization> <000000> <Application:
    portalApp; Corrupted data encountered in the persistent store; PLEASE RE-SYNCHRONIZE
    YOUR APPLICATION DATA WITH MODE "refresh-from-client" BEFORE CONTINUING! Failure
    to do so may result in incomplete or otherwise corrupted server state.
    Exception[com.bea.p13n.management.data.repository.PersistenceException: Failed
    to refresh JDBC Persistence Manager.] - with embedded exception: [java.sql.SQLException:
    java.sql.SQLException: This JDBC 2.0 method is not implemented] at com.bea.p13n.management.data.repository.persistence.JdbcDataSource.refresh(JdbcDataSource.java:506)
    Has anyone else come across this problem and know how to resolve it. I have tried
    using the MS JDBC Driver on the off chance that it would work, but this also produced
    SQL Exceptions with the persistance store and would not work at all even after
    syncing with the EBCC

    Jim,
    Thanks, I'm awaiting for my account to be enabled with customer contract support.
    When this is done I will raise a case and send files as requested.
    In the mean time it's worth noting that these settings have been made. Connection
    to the DB is fine, the createDB, loadads, loaddocs and sync etc all worked fine.
    The problem only exists when restarting the server and the portal persistance
    store is trying to be refereshed. Once EBCC is re-synced all the DB access works
    fine.
    Steve
    Jim Litton <reply@newsgroup> wrote:
    Please open a support case and send in your set-environment.bat,
    db_settings.properties, and config.xml from your domain directory after
    trying the following.
    Given that your operating system is Windows for performing all database
    operations like create_db, loaddocs, sync. (because you should not
    bother trying to run them on with UNIX).
    Restore your set-environment.bat to it's original state. It does not
    need to be touched.
    Uncomment the MSSQL section in db_settings.properties.
    database=MSSQL
    db_version=2000
    jdbcdriver=weblogic.jdbc.mssqlserver4.Driver
    server=@MSSQL_SERVER@
    port=@MSSQL_PORT@
    dblogin=@MSSQL_USER@
    dbpassword=@MSSQL_PASSWORD@
    connection=jdbc:weblogic:mssqlserver4:@MSSQL_SERVER@:@MSSQL_PORT@
    The dataSyncPool entry in config.xml should appear as:
    <JDBCConnectionPool
    Name="dataSyncPool"
    DriverName="weblogic.jdbc.mssqlserver4.Driver"
    URL="jdbc:weblogic:mssqlserver4:@MSSQL_SERVER@:@MSSQL_PORT@"
    Properties="user=@MSSQL_USER@;password=@MSSQL_PASSWORD@"
    Password="@MSSQL_PASSWORD@"
    InitialCapacity="1"
    MaxCapacity="5"
    CapacityIncrement="1"
    RefreshMinutes="99999"
    ShrinkingEnabled="false"
    Targets="sampleportalServer"
    TestConnectionsOnReserve="false"
    TestTableName="WEBLOGIC_IS_ALIVE"
    />
    -- Jim

  • Problem in Accession inner join with [Microsoft][SQLServer 2000 Driver

    Hi
    Can you tell me what can be cause my sql statement is correct gives result but
    if i used below statement in my JSP ,cause error
    1)
    ps1=connection.prepareStatement("select RQM_IN_RQSTN_ID_PK,RQD_IN_ITM_ID_FKPK,RQD_VC_ITM_DSCRPTN,RQD_IN_STTS_ID_FK,C.SMT_VC_STTS_NM,a.RQM_DT_PRPSD_DLVRY_DT"+
    "from PAS_RQM_RQSTN_MSTR a "+
    "inner join PAS_RQD_RQSTN_DTLS b on a.RQM_IN_RQSTN_ID_PK = b.RQD_IN_RQSTN_ID_FKPK and RQD_IN_STTS_ID_FK = 4"+
    "INNER JOIN PAS_SMT_STTS_MSTR C ON C.SMT_IN_STTS_ID_PK=B.RQD_IN_STTS_ID_FK" +
    "where a.RQM_VC_DTRTMNT_INVLV='Technology' ");
    2) Error Generate
    java.sql.SQLException
    [Microsoft][SQLServer 2000 Driver for JDBC][SQLServer]Line 1: Incorrect syntax near 'a'.
    What can be the cause
    Thanks

    ps1=connection.prepareStatement("select
    RQM_IN_RQSTN_ID_PK,RQD_IN_ITM_ID_FKPK,RQD_VC_ITM_DSCRP
    TN,RQD_IN_STTS_ID_FK,C.SMT_VC_STTS_NM,a.RQM_DT_PRPSD_D
    LVRY_DT"+
    "from PAS_RQM_RQSTN_MSTR a "+
    "inner join PAS_RQD_RQSTN_DTLS b on
    a.RQM_IN_RQSTN_ID_PK = b.RQD_IN_RQSTN_ID_FKPK and
    RQD_IN_STTS_ID_FK = 4"+
    "INNER JOIN PAS_SMT_STTS_MSTR C ON
    C.SMT_IN_STTS_ID_PK=B.RQD_IN_STTS_ID_FK" +
    "where a.RQM_VC_DTRTMNT_INVLV='Technology' ");This is a problem due to not providing spaces where they are needed. See the places where I have highlighted.
    A better way is to generate the String first [use StringBuffer as a good practice for appending instead of String "+"] and print it out to check if it is correct.
    ***Annie***

  • Performance Problem, RPC Call auf SQLServer 2000

    Hi,
    we have a performance problem with SQLServer 2000. We use Bea WLS 6.1, SQLServer
    2000, and JDBC Driver mssqlserver4v65.jar from Bea.
    we use this for performance optimization as in Documetation at
    "http://www.datadirect-technologies.com/download/docs/jdbc/Jdbcref/jdbcdesign.html"
    case 2
    Stored Procedure can be optimized to use a server-side RPC. Because the application
    calls the procedure by name and the argument values are already encoded, the load
    on the database server is less
    CallableStatement cstmt = conn.prepareCall ("Call getCustName (?)");
    cstmt.setLong (1,12345);
    ResultSet rs = cstmt.executeQuery();
    But the checking in the SQlServer 2000 with SQL Profiler don't show the use of
    RPC Call.
    I can test the different from Query Analyser:
    exec IF_GetBueroStatistik 1 -> SQLProfiler: SQL:BatchCompleted
    {call IF_GetBueroStatistik(1)} -> SQlProfiler: RPC:Completed
    But the Call from Bea Aplication make in SQlProfiler alwasy SQl:BatchCompleted.
    The RPC ist faster from the Batch call.
    is that a bug in the driver implementation?
    can any help me with a solution or workaround?
    thanks Halim

    Hi,
    thank you very much Joe.
    Halim.
    Joseph Weinstein <[email protected]> wrote:
    >
    >
    Halim wrote:
    Hi,
    we have a performance problem with SQLServer 2000. We use Bea WLS 6.1,SQLServer
    2000, and JDBC Driver mssqlserver4v65.jar from Bea.You shouldn't be using the 6.5 version of the driver anyway. The 7.0
    version is better,
    but what you are seeing is that our driver does send fresh SQL for PreparedStatements,
    which is not as fast as using the RPC protocol. It's not a bug, but it
    is a feature we didn't
    implement.
    You should probably download and use the free driver from MS. It does
    implement
    the procedure protocol.
    Joe
    we use this for performance optimization as in Documetation at
    "http://www.datadirect-technologies.com/download/docs/jdbc/Jdbcref/jdbcdesign.html"
    case 2
    Stored Procedure can be optimized to use a server-side RPC. Becausethe application
    calls the procedure by name and the argument values are already encoded,the load
    on the database server is less
    CallableStatement cstmt = conn.prepareCall ("Call getCustName (?)");
    cstmt.setLong (1,12345);
    ResultSet rs = cstmt.executeQuery();
    But the checking in the SQlServer 2000 with SQL Profiler don't showthe use of
    RPC Call.
    I can test the different from Query Analyser:
    exec IF_GetBueroStatistik 1 -> SQLProfiler: SQL:BatchCompleted
    {call IF_GetBueroStatistik(1)} -> SQlProfiler: RPC:Completed
    But the Call from Bea Aplication make in SQlProfiler alwasy SQl:BatchCompleted.
    The RPC ist faster from the Batch call.
    is that a bug in the driver implementation?
    can any help me with a solution or workaround?
    thanks Halim

  • Weblogic 6.1 sp1 Application Server MDB does not consume messages

    I have the following situation:
    WebLogic Application Server 6.1 sp1. A deployed mdb does nothing - just sits idle
    even when the JMS queue it points to has many messages waiting to be consumed.
    When the application server is bounced (i.e., shutdown and restarted), the mdb
    starts processing the messages. JMS server has a JDBC backing store.
    Any ideas?
    Thanks,
    Prakash

    Tobin is right, my apoplication is called "portal", I am not using WLPortal. Anyway,
    I managed to resolve my problem,I had sax2 , xp and xt parsers placed in the WEB-INF\lib
    directory of my application in addition to my own jar file. I removed the parsers
    , and now my application is running fine.
    It is strange though, since my application used to load and work flawlessly on
    weblogic 6 as well as weblogic 6.1 sp1 with the parsers in the lib directory....
    Anyhow, thanks a lot for the help.
    Regards,
    Lalitha
    "Tobin Paterson" <[email protected]> wrote:
    >
    Having applied WLS 6.1 sp2 upgrade today I am seeing the same fault.
    I am not using
    WL Portal. Also I think the original poster's application just happens
    to be called
    "portal" and is not using WL Portal.
    cheers,
    Tobin.
    "BEA Support" <[email protected]> wrote:
    Hello,
    Only WLCS and/or WLPS 3.5 sp 2 support WLS 6.1 sp 2
    WL Portal 4.0 support only WLS 6.1 sp 1.
    Regards,
    Developer Relations Engineer
    BEA Support
    "Lalitha" <[email protected]> a écrit dans le message de news:
    [email protected]..
    Hi
    For some reason, my application 'portal' does not run on weblogic
    6.1
    sp2,
    It used to run fine on 6.1 sp1 .
    I am attaching the weblogic.log file with this msg.
    Thanks,
    Regards,
    Lalitha

  • Oracle 9.2.0.1.0 link to sqlserver 2000 tables

    Hi!
    I have a sqlserver 2000 running. I also have a oracle 9.2 server with
    windows 2003 running.
    I installed after oracle enterprise edition setup the oracle gateway
    services for sqlserver on my oracle server.
    Then I made some changes in the different oracle *.ora files. Then I
    restarted the oracle service OracleOraHome92TNSListener.
    My question:
    is that all I have to do on my oracle server? have I anything to do on my
    sqlserver 2000?
    can my oracle server be at the same time my gateway to sqlserver 2000 or
    must that be an other computer - sqlserver?
    Thanks

    Really I do not have a direct answer for your question because I have not used the oracle gateway services for sqlserver but if refer you this document. I hope this can help in something and if you any link with documentation about the theme I am going to please you if you replay it.
    Heterogeneous Connectivity Administrator's Guide Contents / Search / Index / PDF
    http://download-east.oracle.com/docs/cd/B10501_01/server.920/a96544.pdf
    Joel Pérez

Maybe you are looking for

  • Elements 8 to 11 and Bridge

    I've taken the plunge and upgraded from Elements 8 to 11. With PSE8 I have been using Bridge for organising images as I am on a mac. I cant find any discussion about importing photos from Bridge into the new organiser. Only option when I start the Or

  • Acrobat 7 button rollovers not working and crash acrobat

    Indesign CS2 Acrobat 7 I have created in Indesign CS2 an interactive front page cotaining buttons with links to 5 documents. These 5 documents have buttons for next page, previous page etc. and a link back to the front page. When these files are burn

  • SAP QM End User Manual

    Hi all, Can anyone send me SAP QM End User Manual. Its will be great help. Thanks n Regards, Mayur

  • Displays go wonkers after playing videos - help

    I'm pretty Mac savvy but am not sure how to deal with this problem. I have 3 displays. A 30", 20" and Samsung 17". They all work fine. All my hardware and software and system tests out ok. I cannot find anything wrong. Here's the problem: Whenever I

  • How does the system override PR00 when PR01 is entered.

    I just need to understand how PR01 overrides PR00 when entered in pricing.