NoSuchMethodExeption:setURL while accessing MS-SQL 7.0
Hi I am J2EE Beginner, and trying to learn more using Sun One Studio.
I have environment like this.
- Windows XP
- MS-SQL 7.0
- J2SDK 1.4.2_02
- J2SDKEE 1.3.1
- Sun One Application Server 7
- Sun One Studio 5
I've been following an Example from Sun.(http://developers.sun.com/tools/javatools/documentation/s1s5/productappclient.html)
and I decided to use MS SQL instead of pointbase DB in the "2. Setting Up Database Connectivity" section.
So I made a connection, a Connection Pool, a DataSource, and a Persistent Manager.
at the first time I used free jTDS JDBC Driver. but I failed with NoSuchMethoudException:setURL
I tried another trial jdbc drivers GATE3 from sprinta and Jboss from New Atlanta
it works fine with default DB connection to pointbase
------------------------- Exception ----------------------
[03/Dec/2003:15:31:25] WARNING ( 1900): CORE3283: stderr: java.lang.NoSuchMethodException: setURL
[03/Dec/2003:15:31:25] WARNING ( 1900): CORE3283: stderr: at com.sun.enterprise.util.Utility.invokeSetMethodCaseInsensitive(Utility.java:386)
[03/Dec/2003:15:31:25] WARNING ( 1900): CORE3283: stderr: at com.sun.enterprise.repository.JdbcConnectionPool.createDataSource(JdbcConnectionPool.java:238)
[03/Dec/2003:15:31:25] WARNING ( 1900): CORE3283: stderr: at com.sun.enterprise.resource.JdbcUrlAllocator.createResource(JdbcUrlAllocator.java:80)
[03/Dec/2003:15:31:25] WARNING ( 1900): CORE3283: stderr: at com.sun.enterprise.resource.IASNonSharedResourcePool.createSteadyResources(IASNonSharedResourcePool.java:856)
[03/Dec/2003:15:31:25] WARNING ( 1900): CORE3283: stderr: at com.sun.enterprise.resource.IASNonSharedResourcePool.initPool(IASNonSharedResourcePool.java:416)
[03/Dec/2003:15:31:25] WARNING ( 1900): CORE3283: stderr: at com.sun.enterprise.resource.IASNonSharedResourcePool.internalGetResource(IASNonSharedResourcePool.java:625)
[03/Dec/2003:15:31:25] WARNING ( 1900): CORE3283: stderr: at com.sun.enterprise.resource.IASNonSharedResourcePool.getResource(IASNonSharedResourcePool.java:520)
[03/Dec/2003:15:31:25] WARNING ( 1900): CORE3283: stderr: at com.sun.enterprise.resource.PoolManagerImpl.getResourceFromPool(PoolManagerImpl.java:263)
[03/Dec/2003:15:31:25] WARNING ( 1900): CORE3283: stderr: at com.sun.enterprise.resource.JdbcXAConnection.<init>(JdbcXAConnection.java:74)
[03/Dec/2003:15:31:25] WARNING ( 1900): CORE3283: stderr: at com.sun.enterprise.resource.SystemJdbc10XaAllocator.createResource(SystemJdbc10XaAllocator.java:52)
[03/Dec/2003:15:31:25] WARNING ( 1900): CORE3283: stderr: at com.sun.enterprise.resource.IASNonSharedResourcePool.createSteadyResources(IASNonSharedResourcePool.java:856)
[03/Dec/2003:15:31:25] WARNING ( 1900): CORE3283: stderr: at com.sun.enterprise.resource.IASNonSharedResourcePool.initPool(IASNonSharedResourcePool.java:416)
[03/Dec/2003:15:31:25] WARNING ( 1900): CORE3283: stderr: at com.sun.enterprise.resource.IASNonSharedResourcePool.internalGetResource(IASNonSharedResourcePool.java:625)
[03/Dec/2003:15:31:25] WARNING ( 1900): CORE3283: stderr: at com.sun.enterprise.resource.IASNonSharedResourcePool.getResource(IASNonSharedResourcePool.java:520)
[03/Dec/2003:15:31:25] WARNING ( 1900): CORE3283: stderr: at com.sun.enterprise.resource.PoolManagerImpl.getResourceFromPool(PoolManagerImpl.java:263)
[03/Dec/2003:15:31:25] WARNING ( 1900): CORE3283: stderr: at com.sun.enterprise.resource.SystemJdbcDataSource.internalGetConnection(SystemJdbcDataSource.java:226)
[03/Dec/2003:15:31:25] WARNING ( 1900): CORE3283: stderr: at com.sun.enterprise.resource.SystemJdbcDataSource.getConnection(SystemJdbcDataSource.java:154)
[03/Dec/2003:15:31:25] WARNING ( 1900): CORE3283: stderr: at com.sun.jdo.spi.persistence.support.sqlstore.ejb.TransactionHelperImpl.getConnection(TransactionHelperImpl.java:171)
[03/Dec/2003:15:31:25] WARNING ( 1900): CORE3283: stderr: at com.sun.jdo.spi.persistence.support.sqlstore.ejb.EJBHelper.getConnection(EJBHelper.java:169)
[03/Dec/2003:15:31:25] WARNING ( 1900): CORE3283: stderr: at com.sun.jdo.spi.persistence.support.sqlstore.impl.SQLPersistenceManagerFactory.getDBName(SQLPersistenceManagerFactory.java:781)
[03/Dec/2003:15:31:25] WARNING ( 1900): CORE3283: stderr: at com.sun.jdo.spi.persistence.support.sqlstore.impl.SQLPersistenceManagerFactory.getFromPool(SQLPersistenceManagerFactory.java:709)
[03/Dec/2003:15:31:25] WARNING ( 1900): CORE3283: stderr: at com.sun.jdo.spi.persistence.support.sqlstore.impl.SQLPersistenceManagerFactory.getPersistenceManager(SQLPersistenceManagerFactory.java:598)
[03/Dec/2003:15:31:25] WARNING ( 1900): CORE3283: stderr: at com.sun.jdo.spi.persistence.support.sqlstore.impl.PersistenceManagerFactoryImpl.getPersistenceManager(PersistenceManagerFactoryImpl.java:770)
[03/Dec/2003:15:31:25] WARNING ( 1900): CORE3283: stderr: at com.sun.jdo.spi.persistence.support.sqlstore.impl.PersistenceManagerFactoryImpl.getPersistenceManager(PersistenceManagerFactoryImpl.java:660)
[03/Dec/2003:15:31:25] WARNING ( 1900): CORE3283: stderr: at ProductInvServer.ProductInvBean_629131956_ConcreteImpl.jdoGetPersistenceManager(ProductInvBean_629131956_ConcreteImpl.java:713)
[03/Dec/2003:15:31:25] WARNING ( 1900): CORE3283: stderr: at ProductInvServer.ProductInvBean_629131956_ConcreteImpl.ejbFindByPrimaryKey(ProductInvBean_629131956_ConcreteImpl.java:363)
[03/Dec/2003:15:31:25] WARNING ( 1900): CORE3283: stderr: at ProductInvServer.ProductInvBean_629131956_ConcreteImpl_RemoteHomeImpl.findByPrimaryKey(ProductInvBean_629131956_ConcreteImpl_RemoteHomeImpl.java:61)
[03/Dec/2003:15:31:25] WARNING ( 1900): CORE3283: stderr: at ProductInvServer._ProductInvHome_Stub.findByPrimaryKey(Unknown Source)
[03/Dec/2003:15:31:25] WARNING ( 1900): CORE3283: stderr: at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[03/Dec/2003:15:31:25] WARNING ( 1900): CORE3283: stderr: at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
[03/Dec/2003:15:31:25] WARNING ( 1900): CORE3283: stderr: at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[03/Dec/2003:15:31:25] WARNING ( 1900): CORE3283: stderr: at java.lang.reflect.Method.invoke(Method.java:324)
[03/Dec/2003:15:31:25] WARNING ( 1900): CORE3283: stderr: at com.sun.forte4j.j2ee.ejbtest.webtest.InvocableMethod$MethodIM.invoke(InvocableMethod.java:231)
[03/Dec/2003:15:31:25] WARNING ( 1900): CORE3283: stderr: at com.sun.forte4j.j2ee.ejbtest.webtest.EjbInvoker.getInvocationResults(EjbInvoker.java:96)
[03/Dec/2003:15:31:25] WARNING ( 1900): CORE3283: stderr: at com.sun.forte4j.j2ee.ejbtest.webtest.DispatchHelper.getForward(DispatchHelper.java:189)
[03/Dec/2003:15:31:25] WARNING ( 1900): CORE3283: stderr: at jasper.dispatch_jsp._jspService(_dispatch_jsp.java:138)
[03/Dec/2003:15:31:25] WARNING ( 1900): CORE3283: stderr: at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:107)
[03/Dec/2003:15:31:25] WARNING ( 1900): CORE3283: stderr: at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
[03/Dec/2003:15:31:25] WARNING ( 1900): CORE3283: stderr: at com.iplanet.ias.web.jsp.JspServlet$JspServletWrapper.service(JspServlet.java:552)
[03/Dec/2003:15:31:25] WARNING ( 1900): CORE3283: stderr: at com.iplanet.ias.web.jsp.JspServlet.serviceJspFile(JspServlet.java:368)
[03/Dec/2003:15:31:25] WARNING ( 1900): CORE3283: stderr: at com.iplanet.ias.web.jsp.JspServlet.service(JspServlet.java:287)
[03/Dec/2003:15:31:25] WARNING ( 1900): CORE3283: stderr: at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
[03/Dec/2003:15:31:25] WARNING ( 1900): CORE3283: stderr: at org.apache.catalina.core.StandardWrapperValve.invokeServletService(StandardWrapperValve.java:720)
[03/Dec/2003:15:31:25] WARNING ( 1900): CORE3283: stderr: at org.apache.catalina.core.StandardWrapperValve.access$000(StandardWrapperValve.java:118)
[03/Dec/2003:15:31:25] WARNING ( 1900): CORE3283: stderr: at org.apache.catalina.core.StandardWrapperValve$1.run(StandardWrapperValve.java:278)
[03/Dec/2003:15:31:25] WARNING ( 1900): CORE3283: stderr: at java.security.AccessController.doPrivileged(Native Method)
[03/Dec/2003:15:31:25] WARNING ( 1900): CORE3283: stderr: at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:274)
[03/Dec/2003:15:31:25] WARNING ( 1900): CORE3283: stderr: at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:505)
[03/Dec/2003:15:31:25] WARNING ( 1900): CORE3283: stderr: at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:212)
[03/Dec/2003:15:31:25] WARNING ( 1900): CORE3283: stderr: at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:505)
[03/Dec/2003:15:31:25] WARNING ( 1900): CORE3283: stderr: at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:203)
[03/Dec/2003:15:31:25] WARNING ( 1900): CORE3283: stderr: at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:505)
[03/Dec/2003:15:31:25] WARNING ( 1900): CORE3283: stderr: at com.iplanet.ias.web.connector.nsapi.NSAPIProcessor.process(NSAPIProcessor.java:157)
[03/Dec/2003:15:31:25] WARNING ( 1900): CORE3283: stderr: at com.iplanet.ias.web.WebContainer.service(WebContainer.java:598)
[03/Dec/2003:15:31:25] SEVERE ( 1900): RAR5027:Unexpected exception in resource pooling
com.sun.enterprise.resource.PoolingException
at com.sun.enterprise.resource.JdbcUrlAllocator.createResource(JdbcUrlAllocator.java:100)
at com.sun.enterprise.resource.IASNonSharedResourcePool.createSteadyResources(IASNonSharedResourcePool.java:856)
at com.sun.enterprise.resource.IASNonSharedResourcePool.initPool(IASNonSharedResourcePool.java:416)
at com.sun.enterprise.resource.IASNonSharedResourcePool.internalGetResource(IASNonSharedResourcePool.java:625)
at com.sun.enterprise.resource.IASNonSharedResourcePool.getResource(IASNonSharedResourcePool.java:520)
at com.sun.enterprise.resource.PoolManagerImpl.getResourceFromPool(PoolManagerImpl.java:263)
at com.sun.enterprise.resource.JdbcXAConnection.<init>(JdbcXAConnection.java:74)
at com.sun.enterprise.resource.SystemJdbc10XaAllocator.createResource(SystemJdbc10XaAllocator.java:52)
at com.sun.enterprise.resource.IASNonSharedResourcePool.createSteadyResources(IASNonSharedResourcePool.java:856)
at com.sun.enterprise.resource.IASNonSharedResourcePool.initPool(IASNonSharedResourcePool.java:416)
at com.sun.enterprise.resource.IASNonSharedResourcePool.internalGetResource(IASNonSharedResourcePool.java:625)
at com.sun.enterprise.resource.IASNonSharedResourcePool.getResource(IASNonSharedResourcePool.java:520)
at com.sun.enterprise.resource.PoolManagerImpl.getResourceFromPool(PoolManagerImpl.java:263)
at com.sun.enterprise.resource.SystemJdbcDataSource.internalGetConnection(SystemJdbcDataSource.java:226)
at com.sun.enterprise.resource.SystemJdbcDataSource.getConnection(SystemJdbcDataSource.java:154)
at com.sun.jdo.spi.persistence.support.sqlstore.ejb.TransactionHelperImpl.getConnection(TransactionHelperImpl.java:171)
at com.sun.jdo.spi.persistence.support.sqlstore.ejb.EJBHelper.getConnection(EJBHelper.java:169)
at com.sun.jdo.spi.persistence.support.sqlstore.impl.SQLPersistenceManagerFactory.getDBName(SQLPersistenceManagerFactory.java:781)
at com.sun.jdo.spi.persistence.support.sqlstore.impl.SQLPersistenceManagerFactory.getFromPool(SQLPersistenceManagerFactory.java:709)
at com.sun.jdo.spi.persistence.support.sqlstore.impl.SQLPersistenceManagerFactory.getPersistenceManager(SQLPersistenceManagerFactory.java:598)
at com.sun.jdo.spi.persistence.support.sqlstore.impl.PersistenceManagerFactoryImpl.getPersistenceManager(PersistenceManagerFactoryImpl.java:770)
at com.sun.jdo.spi.persistence.support.sqlstore.impl.PersistenceManagerFactoryImpl.getPersistenceManager(PersistenceManagerFactoryImpl.java:660)
at ProductInvServer.ProductInvBean_629131956_ConcreteImpl.jdoGetPersistenceManager(ProductInvBean_629131956_ConcreteImpl.java:713)
at ProductInvServer.ProductInvBean_629131956_ConcreteImpl.ejbFindByPrimaryKey(ProductInvBean_629131956_ConcreteImpl.java:363)
at ProductInvServer.ProductInvBean_629131956_ConcreteImpl_RemoteHomeImpl.findByPrimaryKey(ProductInvBean_629131956_ConcreteImpl_RemoteHomeImpl.java:61)
at ProductInvServer._ProductInvHome_Stub.findByPrimaryKey(Unknown Source)
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.sun.forte4j.j2ee.ejbtest.webtest.InvocableMethod$MethodIM.invoke(InvocableMethod.java:231)
at com.sun.forte4j.j2ee.ejbtest.webtest.EjbInvoker.getInvocationResults(EjbInvoker.java:96)
at com.sun.forte4j.j2ee.ejbtest.webtest.DispatchHelper.getForward(DispatchHelper.java:189)
at jasper.dispatch_jsp._jspService(_dispatch_jsp.java:138)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:107)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.iplanet.ias.web.jsp.JspServlet$JspServletWrapper.service(JspServlet.java:552)
at com.iplanet.ias.web.jsp.JspServlet.serviceJspFile(JspServlet.java:368)
at com.iplanet.ias.web.jsp.JspServlet.service(Js
[03/Dec/2003:15:31:25] WARNING ( 1900): Cannot get database metadata: database product name.
java.sql.SQLException: com.sun.enterprise.repository.J2EEResourceException
java.lang.NoSuchMethodException: setURL
at com.sun.enterprise.resource.SystemJdbcDataSource.internalGetConnection(SystemJdbcDataSource.java:252)
at com.sun.enterprise.resource.SystemJdbcDataSource.getConnection(SystemJdbcDataSource.java:154)
at com.sun.jdo.spi.persistence.support.sqlstore.ejb.TransactionHelperImpl.getConnection(TransactionHelperImpl.java:171)
at com.sun.jdo.spi.persistence.support.sqlstore.ejb.EJBHelper.getConnection(EJBHelper.java:169)
at com.sun.jdo.spi.persistence.support.sqlstore.impl.SQLPersistenceManagerFactory.getDBName(SQLPersistenceManagerFactory.java:781)
at com.sun.jdo.spi.persistence.support.sqlstore.impl.SQLPersistenceManagerFactory.getFromPool(SQLPersistenceManagerFactory.java:709)
at com.sun.jdo.spi.persistence.support.sqlstore.impl.SQLPersistenceManagerFactory.getPersistenceManager(SQLPersistenceManagerFactory.java:598)
at com.sun.jdo.spi.persistence.support.sqlstore.impl.PersistenceManagerFactoryImpl.getPersistenceManager(PersistenceManagerFactoryImpl.java:770)
at com.sun.jdo.spi.persistence.support.sqlstore.impl.PersistenceManagerFactoryImpl.getPersistenceManager(PersistenceManagerFactoryImpl.java:660)
at ProductInvServer.ProductInvBean_629131956_ConcreteImpl.jdoGetPersistenceManager(ProductInvBean_629131956_ConcreteImpl.java:713)
at ProductInvServer.ProductInvBean_629131956_ConcreteImpl.ejbFindByPrimaryKey(ProductInvBean_629131956_ConcreteImpl.java:363)
at ProductInvServer.ProductInvBean_629131956_ConcreteImpl_RemoteHomeImpl.findByPrimaryKey(ProductInvBean_629131956_ConcreteImpl_RemoteHomeImpl.java:61)
at ProductInvServer._ProductInvHome_Stub.findByPrimaryKey(Unknown Source)
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.sun.forte4j.j2ee.ejbtest.webtest.InvocableMethod$MethodIM.invoke(InvocableMethod.java:231)
at com.sun.forte4j.j2ee.ejbtest.webtest.EjbInvoker.getInvocationResults(EjbInvoker.java:96)
at com.sun.forte4j.j2ee.ejbtest.webtest.DispatchHelper.getForward(DispatchHelper.java:189)
at jasper.dispatch_jsp._jspService(_dispatch_jsp.java:138)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:107)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.iplanet.ias.web.jsp.JspServlet$JspServletWrapper.service(JspServlet.java:552)
at com.iplanet.ias.web.jsp.JspServlet.serviceJspFile(JspServlet.java:368)
at com.iplanet.ias.web.jsp.JspServlet.service(JspServlet.java:287)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at org.apache.catalina.core.StandardWrapperValve.invokeServletService(StandardWrapperValve.java:720)
at org.apache.catalina.core.StandardWrapperValve.access$000(StandardWrapperValve.java:118)
at org.apache.catalina.core.StandardWrapperValve$1.run(StandardWrapperValve.java:278)
at java.security.AccessController.doPrivileged(Native Method)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:274)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:505)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:212)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:505)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:203)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:505)
at com.iplanet.ias.web.connector.nsapi.NSAPIProcessor.process(NSAPIProcessor.java:157)
at com.iplanet.ias.web.WebContainer.service(WebContainer.java:598)
[03/Dec/2003:15:31:25] INFO ( 1900): Bean ProductInv method findByPrimaryKey:
com.sun.jdo.api.persistence.support.JDOFatalInternalException: Failed to get the vendor type for the data store.
NestedException: java.sql.SQLException: com.sun.enterprise.repository.J2EEResourceException
java.lang.NoSuchMethodException: setURL
at com.sun.jdo.spi.persistence.support.sqlstore.impl.SQLPersistenceManagerFactory.getDBName(SQLPersistenceManagerFactory.java:802)
at com.sun.jdo.spi.persistence.support.sqlstore.impl.SQLPersistenceManagerFactory.getFromPool(SQLPersistenceManagerFactory.java:709)
at com.sun.jdo.spi.persistence.support.sqlstore.impl.SQLPersistenceManagerFactory.getPersistenceManager(SQLPersistenceManagerFactory.java:598)
at com.sun.jdo.spi.persistence.support.sqlstore.impl.PersistenceManagerFactoryImpl.getPersistenceManager(PersistenceManagerFactoryImpl.java:770)
at com.sun.jdo.spi.persistence.support.sqlstore.impl.PersistenceManagerFactoryImpl.getPersistenceManager(PersistenceManagerFactoryImpl.java:660)
at ProductInvServer.ProductInvBean_629131956_ConcreteImpl.jdoGetPersistenceManager(ProductInvBean_629131956_ConcreteImpl.java:713)
at ProductInvServer.ProductInvBean_629131956_ConcreteImpl.ejbFindByPrimaryKey(ProductInvBean_629131956_ConcreteImpl.java:363)
at ProductInvServer.ProductInvBean_629131956_ConcreteImpl_RemoteHomeImpl.findByPrimaryKey(ProductInvBean_629131956_ConcreteImpl_RemoteHomeImpl.java:61)
at ProductInvServer._ProductInvHome_Stub.findByPrimaryKey(Unknown Source)
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.sun.forte4j.j2ee.ejbtest.webtest.InvocableMethod$MethodIM.invoke(InvocableMethod.java:231)
at com.sun.forte4j.j2ee.ejbtest.webtest.EjbInvoker.getInvocationResults(EjbInvoker.java:96)
at com.sun.forte4j.j2ee.ejbtest.webtest.DispatchHelper.getForward(DispatchHelper.java:189)
at jasper.dispatch_jsp._jspService(_dispatch_jsp.java:138)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:107)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.iplanet.ias.web.jsp.JspServlet$JspServletWrapper.service(JspServlet.java:552)
at com.iplanet.ias.web.jsp.JspServlet.serviceJspFile(JspServlet.java:368)
at com.iplanet.ias.web.jsp.JspServlet.service(JspServlet.java:287)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at org.apache.catalina.core.StandardWrapperValve.invokeServletService(StandardWrapperValve.java:720)
at org.apache.catalina.core.StandardWrapperValve.access$000(StandardWrapperValve.java:118)
at org.apache.catalina.core.StandardWrapperValve$1.run(StandardWrapperValve.java:278)
at java.security.AccessController.doPrivileged(Native Method)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:274)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:505)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:212)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:505)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:203)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:505)
at com.iplanet.ias.web.connector.nsapi.NSAPIProcessor.process(NSAPIProcessor.java:157)
at com.iplanet.ias.web.WebContainer.service(WebContainer.java:598)
Thanks Chris....
that's how I registered jdbc Drivers.
I tested jTDS, and other trial jdbc drivers which are J2EE 1.3 certified, such as GATE3 from i-net software, Jboss from New Atlanta, and jSQLConnect from jnetDirect.
Nothing worked with same error, but jSQLConnect.
I guess some JDBC Drivers are not fully functional in J2EE Environment
Thank you, everybody~
Similar Messages
-
Configure Synchronization Connections An error has occurred while accessing the SQL Server database
Hi,
i am getting following error message
Central Administration --> Synchronization Connections
An error has occurred while accessing the SQL Server database or the SharePoint Server Search service.
If this is the first time you have seen this message, try again later. If this problem persists, contact your administrator.
Central Administration --> Manage Profile Service: User Profile Service Application --> Manage User Properties
Error
An unexpected error has occurred.
Troubleshoot issues with Microsoft SharePoint Foundation.
Correlation ID: 3bce5a11-f2dc-4788
Please tell how to fix it.
iffiEvent ID 5555 -> i have change the Timer jobs recycling time AM to PM
for User profile page not display number of count in the page first check services , connection ,
IISRESET /NOFORCE / timer services restart
Deepesh Yevle MCTS -
Issue while accessing a SQL Server table over OTG
Hi,
I have been learning oracle for about 1.5 years and am just starting to learn some OTG pieces. I am wondering about an issue. The issue is:
"We need help with an issue we are having while accessing a SQL Server table over OTG. We are getting the following error message in Oracle :
ORA-28500: connection from ORACLE to a non-Oracle system returned this message:
[Oracle][ODBC SQL Server Driver]Unicode conversion failed {HY000}
The column it is failing on is "-----------" in the view --------------- in the SQL Server database pointed to by the Oracle DB Link ------------------- thats created in the Oracle instances ---- and -----.
This was working before, but is now failing, we suspect its due to new multi-byte data being added to the base table in the above column."
I took out the details and added ---- instead. I am wondering your guys thoughts on fixing this issue and helping me learn along the way. ThanksHi Mike,
Thanks for the response, here are the details:
1. What is the character set of the Oracle RDBMS being used. What is returned by -
select * from nls_database_parameters;
NLS_CHARACTERSET
AL32UTF8
NLS_NCHAR_CHARACTERSET
UTF8
We get SQL_Latin1_General_CP1_C1_AS and 1252 as Collation Property and Code Page
The datatype of the column in question in SQL Server is nvarchar(100).
When I do a describe on the SQL Server view ( desc CK_DATA_FOR_OPL@------- ), I get the error below;
ERROR: object CK_DATA_FOR_OPL does not exist
Select * from CK_DATA_FOR_OPL@------ where rownum =1 does get me a row.
create table tmp_tab as
Select * from CK_DATA_FOR_OPL@----- where rownum =1;
desc tmp_tab shows the datatype of the said column in the table created in Oracle as NVARCHAR2(150).
Not sure why a column defined with size 100 in SQL Server should come across as 150 when seen over OTG. We see something similar in DB2 tables we access over OTG as well.
Edited by: 993950 on Mar 15, 2013 8:49 AM -
I have SP Server 2010, and when I try to DELETE a rule within an existing Audience, "Property (Account Name) = domain/username", I get this error, "An error has occurred while accessing SQL database or system resources. If this
is the first time you have seen this message, please try again later. If this
problem persists, please contact your administrator." When I try to "MODIFY" the rule I get this error, "One or more values typed on this page are not valid. Check the text for the indicated fields."
The last time I checked it was working, I'm not aware of any new updates installed recently? I did a full Profile Synchronization as well, but still not working, please advise? -- EvenstarlineHi Sara,
First of all thank you very much for your prompt responses. Here are my comments to each of your suggestions below, and just to let you know I am using a Farm Admin account. I
was able to do this way after we upgraded from SP 2007 to SP 2010 as well. I would like to mention I'm not a SP expert, just been given the responsibility due to another person handling it just left, so apologize with some of
my novice questions below?
1. When I change the Operators to "Contains" or "Not Contains" get generates this error below.
Error generating in red towards top of the audience page..."One or more values typed on this page are not valid. Check the text for the indicated fields."
Error occurred where you enter your "Value"..."Could not resolve the user identity. Please re-enter the account name."
2. We have a 3-server-tier topology (SPWeb, SPDB, and SPFarm). Does the updates only apply to where the Central Admin is installed, which is the "SPFarm"? I checked all
3 servers, and NONE of the updates (KB2899494, KB2889845, and KB2883055) you'd mentioned are installed.
3. I'm new to IISRET, I need to be extra cautious of what I run in production, is this safe to run with no problem? What does it do? And How do I run it?
4. I'm also new to viewing the ULS log. I'd just downloaded a viewer for it. I'm assuming the only logs I need to be concern with viewing are within the SPAdmin (where Central
Admin is installed)? There's so many of them, what should I be looking for exactly?
Evenstarline -
Loading issue : Error: sql error in the database while accessing a table
Hello,
where as one of the DTP in the process chain failed due to *Error: sql error in the database while accessing a table*, where as in the short dump it showing as Transaction log of data base is full., but i checked the data base space in DB02, more space is available . once we run the same DTP by manually its successful. its not through any errors.
could u please help me out solve the problem.
Thanks
siva kumar.it might be a lock. do you drop index before loading?
the database might be full at the moment of loading and not later if many loadings happen at the same time on the same system...
when you then rerun your dtp manually, it can go through as it's perhaps the only one running at that moment...
you can try to set the btch parameter to 1...this will help in some cases.
M. -
Error while accessing secure store
Hi Team,
We are on EP 7.0 on SQL server 2005 . Iam facing one problem , in sometimemy IRJ pOrtal site stops giving error " Java iView Runtime " .At this time what happens that in my usr/sap drive , the sap folder is not shown as shared its share goes away and that time when i connect to visual admin tool the authentication fails and that time config tool gives error
#1.5#00188B417A01007E0160B338000008FC00045DE876A4C303#1229152911187#com.sap.engine.services.dbpool.spi.ManagedConnectionFactoryImpl##com.sap.engine.services.dbpool.spi.ManagedConnectionFactoryImpl#Guest#2####f168def0c8c411dd9a2100188b417a01#SAPEngine_Application_Thread[impl:3]_29##0#0#Error##Plain###ManagedConnectionFactoryImpl.createManagedConnection(): SQLException occured while creating ManagedConnection: com.sap.sql.log.OpenSQLException: Error while accessing secure store: File "
musaprd
sapmnt
PWC
SYS
global
security
data
SecStore.properties" does not exist although it should..#
#1.5#00188B417A010085015AAAF5000008FC00045DE876A4C207#1229152911187#com.sap.sql.connect.OpenSQLDataSourceImpl##com.sap.sql.connect.OpenSQLDataSourceImpl#Guest#2####09e36ed0c8c711dd93b200188b417a01#SAPEngine_Application_Thread[impl:3]_39##0#0#Error#1#/System/Database/sql/connect#Java#com.sap.sql_0019##Exception of type com.sap.sql.log.OpenSQLException caught: Error while accessing secure store: File
When i check in this path SecStore.properties is there , also i have checked the permissions .....................please revert the reason of this error .
Main part of this all is that after taking a reboot everything becomes fine , this happens every few days .
Please revert to this .
Regards,
SomyaHi,
This error crops up when the the folder usr/sap folder sharing is lost . We have recently faced this problem this is Windows OS level problem you can ask your OS admin. Applying a security patch will do.
Regards,
Vamshi. -
Error while accessing secure store: File "SecStore.properties" does not exi
Hi ,
I have a java desktop application, and i am trying to get a connection from a datasource deployed on one SAP AS Java, I can get the datasource succsfullly but when i try to get a connection from the DS, it throughs this exception, I put the secstore..properties file in the classpath even after that it is not happy,
any solution/hint/light please!!!!
com.sap.sql.log.OpenSQLException: Error while accessing secure store: File "SecStore.properties" does not exist although it should..
at com.sap.sql.log.Syslog.createAndLogOpenSQLException(Syslog.java:106)
at com.sap.sql.log.Syslog.createAndLogOpenSQLException(Syslog.java:145)
at com.sap.sql.connect.OpenSQLDataSourceImpl.setDataSourceName(OpenSQLDataSourceImpl.java:226)
at com.sap.sql.connect.OpenSQLDataSourceImpl.setDataSourceName(OpenSQLDataSourceImpl.java:197)
at com.sap.customcode.ConflictingActionFixture.(ConflictingActionFixture.java:53)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at java.lang.Class.newInstance0(Unknown Source)
at java.lang.Class.newInstance(Unknown Source)
at fit.FixtureClass.newInstance(Unknown Source)
at fit.FixtureLoader.instantiateFixture(Unknown Source)
at fit.FixtureLoader.instantiateFirstValidFixtureClass(Unknown Source)
at fit.FixtureLoader.disgraceThenLoad(Unknown Source)
at fit.Fixture.loadFixture(Unknown Source)
at fit.Fixture.getLinkedFixtureWithArgs(Unknown Source)
at fit.Fixture.doTables(Unknown Source)
at fit.FitServer.process(Unknown Source)
at fit.FitServer.run(Unknown Source)
at fit.FitServer.main(Unknown Source)
Caused by: com.sap.security.core.server.secstorefs.FileMissingException: File "SecStore.properties" does not exist although it should.
at com.sap.security.core.server.secstorefs.StorageHandler.openExistingStore(StorageHandler.java:372)
at com.sap.security.core.server.secstorefs.SecStoreFS.openExistingStore(SecStoreFS.java:1946)
at com.sap.sql.connect.OpenSQLConnectInfo.getStore(OpenSQLConnectInfo.java:802)
at com.sap.sql.connect.OpenSQLConnectInfo.lookup(OpenSQLConnectInfo.java:783)
at com.sap.sql.connect.OpenSQLDataSourceImpl.setDataSourceName(OpenSQLDataSourceImpl.java:209)
... 18 more
caused bythe SecStore.key file was not there, I changed the passwd and checked the 'Encryption' on, after that my sever instance is not starting.
Any idea?
-Puneet -
Getting ORA-00376 while accessing from application
Hi,
Application team is getting below error while accessing the database.
“ERROR: SQLException, while closing
connection, exception is ==ORA-00376: file 5 cannot be read at this time
ORA-01110: data file 5: '/dborafiles/nGTA/oradata01/smartsgs/tblspcsmarts01.dbf'
Later we renamed the datafile from tblspcsmarts01.dbf to tblspcsmarts_01.dbf, and still getting the same error while accessing the application.
And, the datafiles are in online and READ WRITE mode.
File Status:
SQL> select file#,name,status,ENABLED,CHECKPOINT_CHANGE#,to_char(CHECKPOINT_TIME,'dd-mon-yy hh24:mi:ss') from v$datafile;
FILE# NAME STATUS ENABLED CHECKPOINT_CHANGE# TO_CHAR(CHECKPOINT
1 /dborafiles/nGTA/oradata01/smartsgs/system01.dbf SYSTEM READ WRITE 94950500 23-oct-13 15:41:40
2 /dborafiles/nGTA/oradata01/smartsgs/undo02.dbf ONLINE READ WRITE 94950500 23-oct-13 15:41:40
3 /dborafiles/nGTA/oradata01/smartsgs/sysaux01.dbf ONLINE READ WRITE 94950500 23-oct-13 15:41:40
4 /dborafiles/nGTA/oradata01/smartsgs/users01.dbf ONLINE READ WRITE 94950500 23-oct-13 15:41:40
5 /dborafiles/nGTA/oradata01/smartsgs/tblspcsmarts_01.dbf ONLINE READ WRITE 94950500 23-oct-13 15:41:40
6 /dborafiles/nGTA/oradata01/smartsgs/tblspcsmarts02.dbf ONLINE READ WRITE 94950500 23-oct-13 15:41:40
7 /dborafiles/nGTA/oradata01/smartsgs/tblspcsmarts_03.dbf ONLINE READ WRITE 94950500 23-oct-13 15:41:40
SQL> select FILE_ID,TABLESPACE_NAME,FILE_NAME,BYTES/1024/1024,status from dba_data_files;
FILE_ID TABLESPACE_NAME FILE_NAME BYTES/1024/1024 STATUS
1 SYSTEM /dborafiles/nGTA/oradata01/smartsgs/system01.dbf 1024 AVAILABLE
5 TBLSPCSMARTS /dborafiles/nGTA/oradata01/smartsgs/tblspcsmarts_01.dbf 7000 AVAILABLE
3 SYSAUX /dborafiles/nGTA/oradata01/smartsgs/sysaux01.dbf 1024 AVAILABLE
4 USERS /dborafiles/nGTA/oradata01/smartsgs/users01.dbf 2048 AVAILABLE
6 TBLSPCSMARTS /dborafiles/nGTA/oradata01/smartsgs/tblspcsmarts02.dbf 6144 AVAILABLE
7 TBLSPCSMARTS /dborafiles/nGTA/oradata01/smartsgs/tblspcsmarts_03.dbf 2048 AVAILABLE
2 UNDOTBS1 /dborafiles/nGTA/oradata01/smartsgs/undo02.dbf 1024 AVAILABLE
File permissions at OS level.
[oracle@apt3vl05 smartsgs]$ pwd
/dborafiles/nGTA/oradata01/smartsgs
[oracle@apt3vl05 smartsgs]$ ls -lrt
total 29057944
-rw-r----- 1 oracle dba 7340040192 Oct 23 10:37 tblspcsmarts01.dbf_old
-rw-r----- 1 oracle dba 1073750016 Oct 23 12:37 temp01.dbf
-rw-r----- 1 oracle dba 2147491840 Oct 23 15:41 users01.dbf
-rw-r----- 1 oracle dba 2147491840 Oct 23 15:41 tblspcsmarts_03.dbf
-rw-r----- 1 oracle dba 6442459136 Oct 23 15:41 tblspcsmarts02.dbf
-rw-r----- 1 oracle dba 7340040192 Oct 23 15:41 tblspcsmarts_01.dbf
-rw-r----- 1 oracle dba 1073750016 Oct 23 16:05 sysaux01.dbf
-rw-r----- 1 oracle dba 1073750016 Oct 23 16:25 undo02.dbf
-rw-r----- 1 oracle dba 1073750016 Oct 23 16:25 system01.dbf
-rw-r----- 1 oracle dba 6832128 Oct 23 16:25 control02.ctl
-rw-r----- 1 oracle dba 6832128 Oct 23 16:25 control01.ctl
Even i am able to do switch logfile and every thing fine. Below is the excerpt from alert log.
Wed Oct 23 10:29:59 2013
Starting ORACLE instance (normal)
LICENSE_MAX_SESSION = 0
LICENSE_SESSIONS_WARNING = 0
Picked latch-free SCN scheme 3
Using LOG_ARCHIVE_DEST_1 parameter default value as /dboracle/orabase/product/10.2.0.4/dbs/arch
Autotune of undo retention is turned on.
IMODE=BR
ILAT =97
LICENSE_MAX_USERS = 0
SYS auditing is disabled
ksdpec: called for event 13740 prior to event group initialization
Starting up ORACLE RDBMS Version: 10.2.0.4.0.
System parameters with non-default values:
processes = 800
timed_statistics = TRUE
shared_pool_size = 159383552
large_pool_size = 16777216
java_pool_size = 159383552
streams_pool_size = 16777216
control_files = /dborafiles/nGTA/oradata01/smartsgs/control01.ctl, /dborafiles/nGTA/oradata01/smartsgs/control02.ctl, /dboracle/admin/smartsgs/control03.ctl
db_block_size = 8192
db_cache_size = 16777216
compatible = 10.2.0.4
db_file_multiblock_read_count= 16
fast_start_mttr_target = 300
undo_management = AUTO
undo_tablespace = UNDOTBS1
undo_retention = 10800
O7_DICTIONARY_ACCESSIBILITY= TRUE
remote_login_passwordfile= EXCLUSIVE
db_domain =
instance_name = smartsgs
job_queue_processes = 10
background_dump_dest = /dboracle/admin/smartsgs/bdump
user_dump_dest = /dboracle/admin/smartsgs/udump
core_dump_dest = /dboracle/admin/smartsgs/cdump
sort_area_size = 524288
db_name = smartsgs
open_cursors = 800
star_transformation_enabled= FALSE
query_rewrite_enabled = FALSE
pga_aggregate_target = 25165824
aq_tm_processes = 1
PMON started with pid=2, OS id=9173
PSP0 started with pid=3, OS id=9178
MMAN started with pid=4, OS id=9180
DBW0 started with pid=5, OS id=9187
LGWR started with pid=6, OS id=9194
CKPT started with pid=7, OS id=9200
SMON started with pid=8, OS id=9202
RECO started with pid=9, OS id=9204
CJQ0 started with pid=10, OS id=9206
MMON started with pid=11, OS id=9208
MMNL started with pid=12, OS id=9210
Wed Oct 23 10:30:01 2013
ALTER DATABASE MOUNT
Wed Oct 23 10:30:06 2013
Setting recovery target incarnation to 1
Wed Oct 23 10:30:06 2013
Successful mount of redo thread 1, with mount id 765417449
Wed Oct 23 10:30:06 2013
Database mounted in Exclusive Mode
Completed: ALTER DATABASE MOUNT
Wed Oct 23 10:30:06 2013
ALTER DATABASE OPEN
Wed Oct 23 10:30:06 2013
Thread 1 opened at log sequence 855
Current log# 3 seq# 855 mem# 0: /dborafiles/nGTA/oraredo1/smartsgs/redo01c.log
Current log# 3 seq# 855 mem# 1: /dborafiles/nGTA/oraredo2/smartsgs/redo02c.log
Current log# 3 seq# 855 mem# 2: /dborafiles/nGTA/oraredo3/smartsgs/redo03c.log
Successful open of redo thread 1
Wed Oct 23 10:30:06 2013
SMON: enabling cache recovery
Wed Oct 23 10:30:07 2013
Successfully onlined Undo Tablespace 6.
Wed Oct 23 10:30:07 2013
SMON: enabling tx recovery
Wed Oct 23 10:30:07 2013
Database Characterset is WE8ISO8859P15
Opening with internal Resource Manager plan
where NUMA PG = 1, CPUs = 2
replication_dependency_tracking turned off (no async multimaster replication found)
Starting background process QMNC
QMNC started with pid=14, OS id=9246
Wed Oct 23 10:30:10 2013
Completed: ALTER DATABASE OPEN
Wed Oct 23 10:37:38 2013
alter tablespace TBLSPCSMARTS offline
Wed Oct 23 10:37:38 2013
Completed: alter tablespace TBLSPCSMARTS offline
Wed Oct 23 10:43:58 2013
alter tablespace TBLSPCSMARTS rename datafile '/dborafiles/nGTA/oradata01/smartsgs/tblspcsmarts01.dbf' to '/dborafiles/nGTA/oradata01/smartsgs/tblspcsmarts_01.dbf'
Wed Oct 23 10:43:58 2013
Completed: alter tablespace TBLSPCSMARTS rename datafile '/dborafiles/nGTA/oradata01/smartsgs/tblspcsmarts01.dbf' to '/dborafiles/nGTA/oradata01/smartsgs/tblspcsmarts_01.dbf'
Wed Oct 23 10:44:14 2013
alter tablespace TBLSPCSMARTS online
Wed Oct 23 10:44:15 2013
Completed: alter tablespace TBLSPCSMARTS online
Wed Oct 23 15:02:00 2013
Thread 1 advanced to log sequence 856 (LGWR switch)
Current log# 1 seq# 856 mem# 0: /dborafiles/nGTA/oraredo1/smartsgs/redo01a.log
Current log# 1 seq# 856 mem# 1: /dborafiles/nGTA/oraredo2/smartsgs/redo02a.log
Current log# 1 seq# 856 mem# 2: /dborafiles/nGTA/oraredo3/smartsgs/redo03a.log
Wed Oct 23 15:06:11 2013
Thread 1 advanced to log sequence 857 (LGWR switch)
Current log# 2 seq# 857 mem# 0: /dborafiles/nGTA/oraredo1/smartsgs/redo01b.log
Current log# 2 seq# 857 mem# 1: /dborafiles/nGTA/oraredo2/smartsgs/redo02b.log
Current log# 2 seq# 857 mem# 2: /dborafiles/nGTA/oraredo3/smartsgs/redo03b.log
Thread 1 cannot allocate new log, sequence 858
Checkpoint not complete
Current log# 2 seq# 857 mem# 0: /dborafiles/nGTA/oraredo1/smartsgs/redo01b.log
Current log# 2 seq# 857 mem# 1: /dborafiles/nGTA/oraredo2/smartsgs/redo02b.log
Current log# 2 seq# 857 mem# 2: /dborafiles/nGTA/oraredo3/smartsgs/redo03b.log
Wed Oct 23 15:06:17 2013
Thread 1 advanced to log sequence 858 (LGWR switch)
Current log# 3 seq# 858 mem# 0: /dborafiles/nGTA/oraredo1/smartsgs/redo01c.log
Current log# 3 seq# 858 mem# 1: /dborafiles/nGTA/oraredo2/smartsgs/redo02c.log
Current log# 3 seq# 858 mem# 2: /dborafiles/nGTA/oraredo3/smartsgs/redo03c.log
Wed Oct 23 15:06:17 2013
Thread 1 advanced to log sequence 859 (LGWR switch)
Current log# 1 seq# 859 mem# 0: /dborafiles/nGTA/oraredo1/smartsgs/redo01a.log
Current log# 1 seq# 859 mem# 1: /dborafiles/nGTA/oraredo2/smartsgs/redo02a.log
Current log# 1 seq# 859 mem# 2: /dborafiles/nGTA/oraredo3/smartsgs/redo03a.log
Wed Oct 23 15:09:00 2013
Thread 1 advanced to log sequence 860 (LGWR switch)
Current log# 2 seq# 860 mem# 0: /dborafiles/nGTA/oraredo1/smartsgs/redo01b.log
Current log# 2 seq# 860 mem# 1: /dborafiles/nGTA/oraredo2/smartsgs/redo02b.log
Current log# 2 seq# 860 mem# 2: /dborafiles/nGTA/oraredo3/smartsgs/redo03b.log
Wed Oct 23 15:09:02 2013
Thread 1 advanced to log sequence 861 (LGWR switch)
Current log# 3 seq# 861 mem# 0: /dborafiles/nGTA/oraredo1/smartsgs/redo01c.log
Current log# 3 seq# 861 mem# 1: /dborafiles/nGTA/oraredo2/smartsgs/redo02c.log
Current log# 3 seq# 861 mem# 2: /dborafiles/nGTA/oraredo3/smartsgs/redo03c.log
Wed Oct 23 15:37:37 2013
alter database datafile 5 online
Wed Oct 23 15:37:37 2013
Completed: alter database datafile 5 online
Wed Oct 23 15:37:58 2013
alter database datafile 7 online
Wed Oct 23 15:37:58 2013
Completed: alter database datafile 7 online
Wed Oct 23 15:41:09 2013
Thread 1 advanced to log sequence 862 (LGWR switch)
Current log# 1 seq# 862 mem# 0: /dborafiles/nGTA/oraredo1/smartsgs/redo01a.log
Current log# 1 seq# 862 mem# 1: /dborafiles/nGTA/oraredo2/smartsgs/redo02a.log
Current log# 1 seq# 862 mem# 2: /dborafiles/nGTA/oraredo3/smartsgs/redo03a.log
Wed Oct 23 15:41:10 2013
Thread 1 advanced to log sequence 863 (LGWR switch)
Current log# 2 seq# 863 mem# 0: /dborafiles/nGTA/oraredo1/smartsgs/redo01b.log
Current log# 2 seq# 863 mem# 1: /dborafiles/nGTA/oraredo2/smartsgs/redo02b.log
Current log# 2 seq# 863 mem# 2: /dborafiles/nGTA/oraredo3/smartsgs/redo03b.log
Please advice how can we troubleshoot what could be the issue.
Thanks,
DasarathOutput of the requested commands.
SQL> select * from v$datafile_header;
FILE# STATUS ERROR FORMAT REC FUZ CREATION_CHANGE# CREATION_ TABLESPACE_NAME TS# RFILE# RESETLOGS_CHANGE# RESETLOGS CHECKPOINT_CHANGE# CHECKPOIN CHECKPOINT_COUNT BYTES BLOCKS NAME SPACE_HEADER LAST_DEALLOC_SCN
1 ONLINE 0 NO YES 8 23-JUL-09 SYSTEM 0 1 1 23-JUL-09 94978106 24-OCT-13 913 1073741824 131072 /dborafiles/nGTA/oradata01/smartsgs/system01.dbf
2 ONLINE 0 NO YES 94828823 22-OCT-13 UNDOTBS1 6 2 1 23-JUL-09 94978106 24-OCT-13 37 1073741824 131072 /dborafiles/nGTA/oradata01/smartsgs/undo02.dbf 8388610
3 ONLINE 0 NO YES 7545 23-JUL-09 SYSAUX 2 3 1 23-JUL-09 94978106 24-OCT-13 912 1073741824 131072 /dborafiles/nGTA/oradata01/smartsgs/sysaux01.dbf 12582914
4 ONLINE 0 NO YES 170715 23-JUL-09 USERS 4 4 1 23-JUL-09 94978106 24-OCT-13 907 2147483648 262144 /dborafiles/nGTA/oradata01/smartsgs/users01.dbf 16777218
5 ONLINE 0 NO YES 94891412 22-OCT-13 TBLSPCSMARTS 5 5 1 23-JUL-09 94978106 24-OCT-13 30 7340032000 896000 /dborafiles/nGTA/oradata01/smartsgs/tblspcsmarts_0 20971522
1.dbf
6 ONLINE 0 NO YES 94891511 22-OCT-13 TBLSPCSMARTS 5 6 1 23-JUL-09 94978106 24-OCT-13 28 6442450944 786432 /dborafiles/nGTA/oradata01/smartsgs/tblspcsmarts02 25165826
.dbf
7 ONLINE 0 NO YES 94891933 22-OCT-13 TBLSPCSMARTS 5 7 1 23-JUL-09 94978106 24-OCT-13 29 2147483648 262144 /dborafiles/nGTA/oradata01/smartsgs/tblspcsmarts_0 29360130
3.dbf
7 rows selected.
SQL> select * from v$recover_file;
no rows selected
Thanks,
Dasarath -
How can I develope a native mobile cross platform app that can access an SQL server.
I would do it in html5 as a web app but I also need to access an SQL server and upload data(text) pictures from the camera and
geolocation data etc.
I've developed many web based applications, but this is this first attempt to integrate native device functions AND interact with an SQL database.
So it would have to be able to use form data then add a photo and geolocation and send everything to the database.
A site with examples and/or tutorials would be nice.
To make things worse, I'd also have to be able to work offline and re-sync when networks connections allow.
If a native app would be too complex, then I was thinking I might be able to develope an app that gathers data then
passes the info on to a browser to connect with the database.
But as much as possible I don't want to have to swing back and forth between a browser and an app.
PeteHere is a page a I bookmarked a while back to use jQUERY to access a php scripts sitting on a server that can then interact with the database in the usual way. This means that you will be able to use DW to create the usual HTML CSS and jQuery to make an interactive app.
I havn't yet tried this but a quick look over the script looks good. Make sure you use php that sanitizes input.
http://stackoverflow.com/questions/8246380/adding-a-database-to-jquery-mobile-site
Let me know how you go. -
Error while accessing table from procedure but no error from anonymous plsq
Hi All,
I am getting a strange error while accessing a table from a different schema.
In that concerned schema OWBSYS, i executed the following:
grant Select on wb_rt_audit to ods;In Ods schema i executed:
CREATE OR REPLACE SYNONYM wb_rt_audit FOR OWBSYS.wb_rt_audit;In ODS schema, when i execute:
create or replace
procedure pp_test as
lv_owb_reject number := 0;
lv_filename_1 varchar2(200):= 'asda';
begin
SELECT MAX(aud.rta_iid) into lv_owb_reject
FROM wb_rt_audit aud
WHERE aud.rta_lob_name LIKE Upper(lv_filename_1)
end;
/I get the error:
Warning: execution completed with warning
procedure Compiled.
ORA-00942 - TABLE OR VIEW DOES NOT EXISTHowever, when i execute as an anonymous plsql the same code:
declare
lv_owb_reject number := 0;
lv_filename_1 varchar2(200):= 'asda';
begin
SELECT MAX(aud.rta_iid) lv_owb_reject
FROM wb_rt_audit aud
WHERE aud.rta_lob_name LIKE Upper(lv_filename_1)
end;
anonymous block completedthere is no issue.
Can someone help me understand what I might be missing:
Edited by: Chaitanya on Feb 28, 2012 12:31 AMCheck if have some other steps.
SQL>conn scott1/tiger
Connected.
SQL>create table wb_rt_audit (rta_iid number);
Table created.
SQL>insert into wb_rt_audit values (100);
1 row created.
SQL>insert into wb_rt_audit values (200);
1 row created.
SQL>commit;
Commit complete.
SQL>grant select on wb_rt_audit to scott2;
Grant succeeded.
SQL>conn scott2/tiger
Connected.
SQL>create synonym wb_rt_audit for scott1.wb_rt_audit;
Synonym created.
SQL>create or replace procedure pp_test as
l_number number(10);
begin
SELECT MAX(rta_iid) into l_number
FROM wb_rt_audit;
end pp_test;
Procedure created. -
Error while accessing External table.
Hi All,
While accessing oracle external table. I created the table with the following query.
CREATE OR REPLACE DIRECTORY load_dir AS '\\oraaps\Exceldata\'
CREATE TABLE my_sheet
DEPTNO NUMBER,
DNAME VARCHAR2(14),
LOC VARCHAR2(13)
ORGANIZATION EXTERNAL
TYPE oracle_loader
DEFAULT DIRECTORY load_dir
ACCESS PARAMETERS
RECORDS DELIMITED BY NEWLINE
badfile load_dir:'my_sheet.bad'
logfile load_dir:'my_sheet.log'
FIELDS TERMINATED BY ','
MISSING FIELD VALUES ARE NULL
DEPTNO,
DNAME,
LOC
LOCATION ('my_sheet.csv')
)REJECT LIMIT UNLIMITED;
I am sure that the table and the directory got created because i can see the table in the SQL developer. But whenever i say select * from my_sheet i'm getting the following error in the log file.
LOG file opened at 10/16/06 14:48:21
Field Definitions for table mysheet
Record format DELIMITED BY NEWLINE
Data in file has same endianness as the platform
Rows with all null fields are accepted
Fields in Data Source:
DEPTNO NUMBER Terminated by ","
Trim whitespace same as SQL Loader
DNAME VARCHAR2(14),
Terminated by ","
Trim whitespace same as SQL Loader
LOC VARCHAR2(13)
Terminated by ","
Trim whitespace same as SQL Loader
KUP-04001: error opening file \\oraaps\Exceldata\mysheet.csv
KUP-04017: OS message: The data is invalid.
Please do reply..Its urgent from my project deliverable point of view.
Any help appreciated.
Thanks and Regards.
V.Venkateswara RaoIt is not an Oracle error/problem. The error message is quite specific ito the actual root cause of the problem:
KUP-04001: error opening file \\oraaps\Exceldata\mysheet.csv
KUP-04017: OS message: The data is invalid.
These are operating system errors. The operating system cannot access/open/read the specific UNC and/or file.
Fix it at o/s level and it will work when Oracle needs to make that o/s call. -
"Error while accessing porting layer for ORACLE database via getSessionId()
Hi,
My ejb3.0 Entity is created from Emp table in scott/tiger schema of an Oracle 10g database. I am guessing I made some mistake creating the datasource or uploading the driver, because when I run my application, I get a long exception stack trace. The bottom-most entry in the stack trace is:
Caused by: com.sap.sql.log.OpenSQLException: Error while accessing porting layer for ORACLE database via getSessionId().
at com.sap.sql.log.Syslog.createAndLogOpenSQLException(Syslog.java:148)
at com.sap.sql.jdbc.direct.DirectConnectionFactory.createPooledConnection(DirectConnectionFactory.java:527)
at com.sap.sql.jdbc.direct.DirectConnectionFactory.createDirectPooledConnection(DirectConnectionFactory.java:158)
at com.sap.sql.jdbc.direct.DirectConnectionFactory.createDirectPooledConnection(DirectConnectionFactory.java:118)
at com.sap.sql.connect.factory.PooledConnectionFactory.createPooledConnection(PooledConnectionFactory.java:119)
at com.sap.sql.connect.factory.DriverPooledConnectionFactory.getPooledConnection(DriverPooledConnectionFactory.java:38)
at com.sap.sql.connect.datasource.DBDataSourceImpl.createPooledConnection(DBDataSourceImpl.java:685)
at com.sap.sql.connect.datasource.DBDataSourcePoolImpl.matchPool(DBDataSourcePoolImpl.java:1081)
at com.sap.sql.connect.datasource.DBDataSourcePoolImpl.matchPooledConnection(DBDataSourcePoolImpl.java:919)
at com.sap.sql.connect.datasource.DBDataSourcePoolImpl.getConnection(DBDataSourcePoolImpl.java:67)
at com.sap.engine.core.database.impl.DatabaseDataSourceImpl.getConnection(DatabaseDataSourceImpl.java:36)
at com.sap.engine.services.dbpool.spi.ManagedConnectionFactoryImpl.createManagedConnection(ManagedConnectionFactoryImpl.java:123)
... 90 moreActually, now (after the GRANT described in my reply before) the Exception has changed to:
Caused by: com.sap.sql.log.OpenSQLException: Error while
accessing porting layer for ORACLE database via
<b>getDatabaseHost</b>().
at com.sap.sql.log.Syslog.createAndLogOpenSQLException
(Syslog.java:148)
at com.sap.sql.jdbc.direct.DirectConnectionFactory.
createPooledConnection(DirectConnectionFactory.java:527)
at com.sap.sql.jdbc.direct.DirectConnectionFactory.
createDirectPooledConnection(DirectConnectionFactory.java:158)
at com.sap.sql.jdbc.direct.DirectConnectionFactory.
createDirectPooledConnection(DirectConnectionFactory.java:118)
at com.sap.sql.connect.factory.PooledConnectionFactory.
createPooledConnection(PooledConnectionFactory.java:119)
at com.sap.sql.connect.factory.DriverPooledConnectionFactory.
getPooledConnection(DriverPooledConnectionFactory.java:38)
at com.sap.sql.connect.datasource.DBDataSourceImpl.
createPooledConnection(DBDataSourceImpl.java:685)
at com.sap.sql.connect.datasource.DBDataSourcePoolImpl.
matchPool(DBDataSourcePoolImpl.java:1081)
at com.sap.sql.connect.datasource.DBDataSourcePoolImpl.
matchPooledConnection(DBDataSourcePoolImpl.java:919)
at com.sap.sql.connect.datasource.DBDataSourcePoolImpl.
getConnection(DBDataSourcePoolImpl.java:67)
at com.sap.engine.core.database.impl.DatabaseDataSourceImpl.
getConnection(DatabaseDataSourceImpl.java:36)
at com.sap.engine.services.dbpool.spi.
ManagedConnectionFactoryImpl.createManagedConnection(ManagedConnectionFactoryImpl.java:123)
... 90 more -
Accessing MS Sql Server with Java classes - problem connecting to socket
I found an example at this location which uses java classes to connected to MS Sql Server.
http://search400.techtarget.com/tip/1,289483,sid3_gci1065992,00.html
--bummer - it is a login location - so I will include the article
Anyway, the example is using Websphere, but I am still on Jbuilder (will get wsad soon). So I planted the classes from the example in
C:\Borland\JBuilder\jkd1.4\jre\lib\ext\...the classes
Then I copied the code from the example to my jpx project and got an error that it could not connect to the socket. The only thing I changed in the code was the connection string:
--original string from example:
Connection connection = DriverManager.getConnection("jdbc:microsoft:sqlserver://1433", "");
I was getting an error with the 2 argument version of DriverManager - and the second argument here was empty (properties argument). Here was my connection string:
Connection connection = DriverManager.getConnection("jdbc:microsoft:sqlserver://Myserver:1433;User=sa;Password=");
I am only using the 1 argument version of DriverManager. Note that the password=" is blank because my RnD workstation is standalone - no one accesses the sql server except me - so no password. I also left out the last semicolon I noticed. Any suggestions appreciated how I could fix this.
Thanks
source of article:
http://search400.techtarget.com/tip/1,289483,sid3_gci1065992,00.html
iSeries 400 Tips:
TIPS & NEWSLETTERS TOPICS SUBMIT A TIP HALL OF FAME
Search for: in All Tips All search400 Full TargetSearch with Google
PROGRAMMER
Sample code: Accessing MS SQL Server database from the iSeries
Eitan Rosenberg
09 Mar 2005
Rating: --- (out of 5)
Nowadays with the help of Java the iSeries can be integrated with other databases quite easy. This tip shows you how. The code included here uses the free Microsoft driver that can be downloaded from here. (SQL Server 2000 Driver for JDBC Service Pack 3)
If your SQL server does not include the Northwind Sample Database you can find it here.
http://www.microsoft.com/downloads/details.aspx?familyid=07287b11-0502-461a-b138-2aa54bfdc03a&displaylang=en
The download contains the following files:
msbase.jar
mssqlserver.jar
msutil.jar
Those files needs to be copied to the iSeries directories (/home/r_eitan/ExternalJARs).
Here's the directory structure (on the iSeries) for this sample:
/home/r_eitan/ExternalJARs - Microsoft files (msbase.jar,mssqlserver.jar,msutil.jar)
/home/r_eitan/JdbcTest02 - My code (Main.java,Main.class)
The Java code
import java.sql.*;
import java.io.*;
class Main {
* Connect to Microsoft SQL server and download file northWind.products as tab
* seperated file. (products.txt)
public static void main(String args[]) {
try {
PrintStream outPut = new PrintStream(new BufferedOutputStream(new FileOutputStream("products.txt")));
Class.forName("com.microsoft.jdbc.sqlserver.SQLServerDriver");
//Connection connection = DriverManager.getConnection("jdbc:microsoft:sqlserver://1433", "");
Connection connection = DriverManager.getConnection("jdbc:microsoft:sqlserver://Myserver:1433;User=sa;Password=");
System.out.println("Connection Done");
connection.setCatalog("northWind");
String sqlCmdString = "select * from products";
Statement statement = connection.createStatement();
ResultSet resultSet = statement.executeQuery(sqlCmdString);
ResultSetMetaData resultSetMetaData = resultSet.getMetaData();
int columnCount = resultSetMetaData.getColumnCount();
// Iterate throught the rows in resultSet and
// output the columns for each row.
while (resultSet.next()) {
for (int index = 1; index <=columnCount; ++index)
String value;
switch(resultSetMetaData.getColumnType(index))
case 2 :
case 3 :
value = resultSet.getString(index);
break;
default :
value = """ + resultSet.getString(index) + """;
break;
outPut.print(value + (index < columnCount ? "t" : ""));
outPut.println();
outPut.close();
resultSet.close();
connection.close();
System.out.println("Done");
catch (SQLException exception)
exception.printStackTrace();
catch (Exception exception)
exception.printStackTrace();
--------------------------------------------------------------------------------------------------My guess is that the server's host name isn't right. It necessarily (or even usually) the "windows name" of the computer. Try with the numeric IP address instead (type "ipconfig" to see it).
First aid check list for "connection refused":
- Check host name in connect string.
- Check port number in connect string.
- Try numeric IP address of server host in connect string, in case name server is hosed.
- Are there any firewalls between client and server blocking the port.
- Check that the db server is running.
- Check that the db server is listening to the port. On the server, try: "telnet localhost the-port-number". Or "netstat -an", there should be a listening entry for the port.
- Try "telnet serverhost the-port-number" from the client, to see if firewalls are blocking it.
- If "telnet" fails: try it with the numeric ip address.
- If "telnet" fails: does it fail immediately or after an obvious timeout? How long is the timeout?
- Does the server respond to "ping serverhost" or "telnet serverhost" or "ssh serverhost"? -
Error while accessing Oracle DB through IS
Hi All,
I am facing an issue while accessing any of the database in Oracle. It has successfully created the connection in IS but it throws SQL Syntax error when I try to access that. Can anybody help me who have faced the similar issue? Appreciate the help. I am using Oracle 11g.
Thanks,
MS AnsariHi Ansari,
Have you tried to access the same database through Data Services in IS Server? If not, try to create DataStore to connect the database and create a test ETL job to read data from the table.
If you already have Profiler configuration setup, try to do profiling a table (from this database) in DS, let see how it works. If you not find any issue here, then there will be problem in IS side.
Thanks,
Ramakrishna Kamurthy -
Problem Summary
DG4ODBC: STRING DATA, RIGHT TRUNCATION ERROR WHILE ACCESSING VARCHAR(MAX) COLUMN
Driver
Microsoft® ODBC Driver 11 for SQL Server® - RedHat Linux
Problem Description
When selecting a MS SQL VARCHAR (max) column over a ODBC Gateway database connection I am getting this error from Oracle:
ORA-28500: connection from ORACLE to a non-Oracle system returned this message:
[Microsoft][ODBC Driver 11 for SQL Server]String data, right truncation {01004}
[Microsoft][ODBC Driver 11 for SQL Server]String data, right truncation {01004}
[Microsoft][ODBC Driver 11 for SQL Server]String data, right truncation {01004}
[Microsoft][ODBC Driver 11 for SQL Server]String data, right truncation {01004}
[Microsoft][ODBC Driver 11 for SQL Server]String data, right truncation {01004}
ORA-02063: preceding 2 lines from <LINK_NAME>
The ODBC driver should map the varchar(max) column to SQL_LONGVARCHAR which would be appropriate for Oracle but the column is getting truncated
Issue
By default the SQL Server ODBC driver exposes the varchar(max) data type as a SQL_VARCHAR. When reporting the maximum size of a varchar(max) column, the driver returns 0, which is the Microsoft convention for "unlimited".
[ODBC][25518][1399527750.588980][SQLDescribeCol.c][497]
Exit:[SQL_SUCCESS]
Column Name = [raw_response]
Data Type = 0x7fffe3cbe1a4 -> 12
Column Size = 0x7fffe3cbe158 -> 0
Decimal Digits = 0x7fffe3cbe1ac -> 0
Nullable = 0x7fffe3cbe1b0 -> 1
DG4ODBC is unable to interpret a zero length as an "unlimited" size and returns an error when retrieving varchar(max) data.
FreeTDS and DataDirect ODBC drivers return SQL_LONGVARCHAR instead of SQL_VARCHAR with 0 precision. So there is no problem reported for these drivers.
Is there a fix for this or is the Microsoft ODBC driver team working on a fix for the driver regarding varchar(max)?
Regards,
JamesHi James,
Thank you for your question. I am trying to involve someone more familiar with this topic for a further look at this issue. Sometime delay might be expected from the job transferring. Your patience is greatly appreciated.
If you have any feedback on our support, please click
here.
Regards,
Elvis Long
TechNet Community Support
Maybe you are looking for
-
Can't connect remotely to a PC from my Mac
I'm trying to connect remotely to my computer at work which is a PC. I've downloaded the "remote desktop connection for mac" and put in the correct information. I know I've entered in the correct information because I've been able to connect to the c
-
I have a database named synteldb,which is in oracle 8i.I want to replicate the entire database.I'm planning for multi master replication in 8i(OS windows XP).For that i created another database named synteldbbkup.From this point i need some help on r
-
OIM 11g - OIMAuthenticationProvider is not specified
I'm installing all the components on a single machine : Windows Server 2008 R2 x64 Enterprise Edition. Here are the steps that I followed : 0) I installed Sun JDK version 1.6.0_24 for Windows x64 1) I installed Oracle Database 11g Enterprise Edition
-
It seems the admin server loses contact with some (not all) managed servers, all of these are responsive and work correctly, but you can't use the admin console for monitoring or everything else. In the server list view you can see they show as RUNNI
-
Three-column version of Apple's Mail app under Leopard - is it possible
With OS 10.4 was possible through a plugin have a three column version of Mail... but once in Leopard, this plugin stopped working and I never heard anything similar... Does anyone know is if possible? Thnx