Java.sql.SQLException: File input/output error: File input/output error: re
Hi,
We are using JCAPS 512. We use oracle eway to connect to Oracle 10g database. But sometimes we are getting the following exception
and suddenly all jcds stop processing. If we restart the server again job continue processing, otherwise server hangs and nothing get processed.
Exception is as follows
java.sql.SQLException: File input/output error: File input/output error: reading: java.io.EOFException in statement [SET TABLE EVENT_STORE INDEX '11183416 55935']
at org.hsqldb.Trace.getError(Unknown Source)
at org.hsqldb.Log.runScript(Unknown Source)
at org.hsqldb.Log.open(Unknown Source)
at org.hsqldb.Database$Logger.openLog(Unknown Source)
at org.hsqldb.Database.open(Unknown Source)
at org.hsqldb.Database.<init>(Unknown Source)
at org.hsqldb.jdbcConnection.openStandalone(Unknown Source)
at org.hsqldb.jdbcConnection.<init>(Unknown Source)
at org.hsqldb.jdbcDriver.connect(Unknown Source)
at java.sql.DriverManager.getConnection(DriverManager.java:525)
at java.sql.DriverManager.getConnection(DriverManager.java:171)
at com.stc.eventmanagement.impl.DBEventStore$EventStoreDB.addNewConnection(DBEventStore.java:359)
at com.stc.eventmanagement.impl.DBEventStore$EventStoreDB.getConnection(DBEventStore.java:444)
at com.stc.eventmanagement.impl.DBEventStore$EventStoreDB.executeParameterizedQuery(DBEventStore.java:777)
at com.stc.eventmanagement.impl.DBEventStore$EventStoreDB.access$000(DBEventStore.java:250)
at com.stc.eventmanagement.impl.DBEventStore.getEventIDsList(DBEventStore.java:133)
at com.stc.eventmanagement.impl.DBEventStore.getEventIDsList(DBEventStore.java:115)
at com.stc.eventmanagement.impl.EventForwarderMBean.cachePersistedEvents(EventForwarderMBean.java:728)
at com.stc.eventmanagement.impl.EventForwarderMBean.setup(EventForwarderMBean.java:334)
at com.stc.eventmanagement.impl.EventForwarderMBean.invoke(EventForwarderMBean.java:565)
at com.sun.jmx.mbeanserver.DynamicMetaDataImpl.invoke(DynamicMetaDataImpl.java:213)
at com.sun.jmx.mbeanserver.MetaDataImpl.invoke(MetaDataImpl.java:220)
at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:815)
at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:784)
at com.stc.eventmanagement.impl.EventManagementService.setupEventForwarderMbean(EventManagementService.java:270)
at com.stc.eventmanagement.impl.EventManagementService.registerMBean(EventManagementService.java:147)
at com.stc.eventmanagement.impl.EventManagementService.startService(EventManagementService.java:96)
at com.stc.eventmanagement.impl.EventManagementResourceAdapter.start(EventManagementResourceAdapter.java:75)
at com.sun.enterprise.connectors.ActiveInboundResourceAdapter.<init>(ActiveInboundResourceAdapter.java:94)
at com.sun.enterprise.connectors.ActiveRAFactory.createActiveResourceAdapter(ActiveRAFactory.java:74)
at com.sun.enterprise.connectors.ResourceAdapterAdminServiceImpl.createActiveResourceAdapter(ResourceAdapterAdminServiceImpl.java:269)
at com.sun.enterprise.connectors.ResourceAdapterAdminServiceImpl.createActiveResourceAdapter(ResourceAdapterAdminServiceImpl.java:372)
at com.sun.enterprise.connectors.ConnectorRuntime.createActiveResourceAdapter(ConnectorRuntime.java:204)
at com.sun.enterprise.server.ConnectorModuleLoader.load(ConnectorModuleLoader.java:87)
at com.sun.enterprise.server.ConnectorModuleLoader.load(ConnectorModuleLoader.java:108)
at com.sun.enterprise.server.AbstractManager.load(AbstractManager.java:216)
at com.sun.enterprise.server.AbstractManager.load(AbstractManager.java:106)
at com.sun.enterprise.server.ApplicationLifecycle.onStartup(ApplicationLifecycle.java:183)
at com.sun.enterprise.server.ApplicationServer.onStartup(ApplicationServer.java:295)
at com.sun.enterprise.server.PEMain.run(PEMain.java:238)
at com.sun.enterprise.server.PEMain.main(PEMain.java:186)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.apache.commons.launcher.ChildMain.run(ChildMain.java:269)
|#]
Please provide some suggestions to overcome this error
Regards
Venkatesh.S
Delete the EventStoreDb.data file (its somewhere in your logical host) and restart the logical host.
Similar Messages
-
Good Day,
I'm encountering this problem
java.sql.SQLException: Listener refused the connection with the following error:
ORA-12514, TNS:listener does not currently know of service requested in connect descriptor
here's the java code
Class.forName("oracle.jdbc.driver.OracleDriver").newInstance();
String url = "jdbc:oracle:thin:@//10.143.85.21/UCSL";
String userName = "mssoriano";
String passWord = "mssoriano_4319";
conn = DriverManager.getConnection(url, userName, passWord);
and here's my tnsnames.ora
UCSL =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = 10.143.85.21)(PORT = 1521))
(CONNECT_DATA =
(SID = psusldb11)
Please do let me know if what may the cause of the problem and how to solve this. Thank you and God bless.Hi,
see this example
Connect to Oracle DB via JDBC driver
Frank -
ODI Agent error: java.sql.SQLException: Invalid column name
When running a scenairo on a standalone ODI agent, it hangs on "Wait" state. The ODI agent's log is logging the following errors over and over again.
We are in Fusion Application Development and are using Middleware D8B4A RC5.
[2011-01-07T14:35:16.381-08:00] [odi] [WARNING] [] [oracle.odi.agent] [tid: 4215] [ecid: 0000IpYbCrKE8TQRyaJ7D01D8^zE00009o,0] /oraclediagent/invoke.do[[
oracle.odi.core.security.SecurityManager.doODIInternalAuthentication(SecurityManager.java:356)
oracle.odi.core.security.SecurityManager.createAuthentication(SecurityManager.java:331)
oracle.odi.runtime.agent.servlet.AgentServlet.doPost(AgentServlet.java:418)
javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:503)
org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:389)
org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181)
org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:765)
org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:417)
org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
org.mortbay.jetty.Server.handle(Server.java:326)
org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:534)
org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:879)
org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:749)
org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:219)
org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404)
org.mortbay.jetty.bio.SocketConnector$Connection.run(SocketConnector.java:228)
org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:520)
[2011-01-07T14:35:18.341-08:00] [] [ERROR] [ODI-1131] [] [tid: 4214] [ecid: 0000IpYaiZCE8TQRyaJ7D01D8^zE00009n,0] [arg: OracleDiAgent] [arg: java.sql.SQLException: Invalid column name] Agent OracleDiAgent encountered an error: java.sql.SQLException: Invalid column nameAre you sure the datasources point to the right master/work configuration, and that your repository is correctly up-to-date? This looks like the agent trying to connect a repository, but the repository is not updated correctly, or misses some columns. The whole stack (and the name of the missing column) would help of course.
-
Java.sql.SQLException:listener refused the connection with the error
hi my problem is in repository assistant IN 2ND STEP
After i enter the
Repository User name sindhu
Repository User Password tiger (As i kept the password of Oracle 10g)
SYSDBA User name SYS
SYSDBA Password tiger (As i kept the password of Oracle 10g)
Host name Local Host
Port number 1521 (default)
Oracle Service name OracleServiceXE
and i am not clicking the SQL* Plus
and clicking on " Next "
then my prob is
INS0009:Unable to connect to the database with the user SYS
java.sql.SQLException : Listener refused the connection with the following error
ORA-12514, TNS: listener dosenot currently know of service requested in connect descriptor
The Connection Descriptor used by the client was
(DESCRIPTION=(ADDRESS=(HOST=LOCALHOST)(PROTOCOL=tcp)(PORT=1521))(CONNECT_DATA=
(SERVICE_NAME=ORACLESERVICEXE)))
hope some one will give me a gud solution
Waiting for ur reply
Sindhu...OWB repository cannot be installed into Oracle XE.
Cheers
David -
Java.sql.SQLException: User: fusionEJB3, failed to be authenticated
Dear experts,
My intention was to call a pojo, (ProductCatalog) from a servlet (SimpleRestServlet) in order to query a db entity for products in xml form.
The original thought was to be able to get the products via a servlet, but the entity manager is null:
Thus, what I get is:
Target URL -- http://localhost:7101/example8-1/products.jsp
DoGet invoked on RESTful service.
<Aug 22, 2011 7:12:09 AM GMT> <Error> <HTTP> <BEA-101020> <[ServletContext@335926353[app:chapter8 module:example8-1 path:/example8-1 spec-version:2.5]] Servlet failed with Exception
java.lang.NullPointerException
at com.soacookbook.ProductCatalog$beaVersion0_15.getAllProducts(ProductCatalog.java:38)
at com.soacookbook.ProductCatalog.getAllProducts(ProductCatalog.java)
at com.soacookbook.ProductCatalog.<init>(ProductCatalog.java:29)
at com.soacookbook.web.SimpleRestServlet$beaVersion0_14.doGet(SimpleRestServlet.java:45)
at com.soacookbook.web.SimpleRestServlet.doGet(SimpleRestServlet.java)
Truncated. see log file for complete stacktrace
However, if I create a stateless session bean, the generated java SE client is working well!
I start with the error logs; the full code will follow.
If i use the servlet to access the product entity I get:
<Aug 21, 2011 1:48:07 PM GMT> <Alert> <EclipseLink> <BEA-2005000> <2011-08-21 13:48:07.826--ServerSession(2081428224)--Local Exception Stack:
Exception [EclipseLink-4002] (Eclipse Persistence Services - 2.1.3.v20110304-r9073): org.eclipse.persistence.exceptions.DatabaseException
Internal Exception: java.sql.SQLException: User: fusionEJB3, failed to be authenticated.
Error Code: 0
at org.eclipse.persistence.exceptions.DatabaseException.sqlException(DatabaseException.java:309)
at org.eclipse.persistence.sessions.JNDIConnector.connect(JNDIConnector.java:138)
at org.eclipse.persistence.sessions.JNDIConnector.connect(JNDIConnector.java:94)
at org.eclipse.persistence.sessions.DatasourceLogin.connectToDatasource(DatasourceLogin.java:162)
at org.eclipse.persistence.internal.databaseaccess.DatasourceAccessor.connectInternal(DatasourceAccessor.java:327)
at org.eclipse.persistence.internal.databaseaccess.DatabaseAccessor.connectInternal(DatabaseAccessor.java:291)
at org.eclipse.persistence.internal.databaseaccess.DatasourceAccessor.connect(DatasourceAccessor.java:415)
at org.eclipse.persistence.sessions.server.ConnectionPool.buildConnection(ConnectionPool.java:155)
at org.eclipse.persistence.sessions.server.ExternalConnectionPool.startUp(ExternalConnectionPool.java:118)
at org.eclipse.persistence.sessions.server.ServerSession.connect(ServerSession.java:495)
at org.eclipse.persistence.internal.sessions.DatabaseSessionImpl.login(DatabaseSessionImpl.java:627)
at org.eclipse.persistence.internal.jpa.EntityManagerFactoryProvider.login(EntityManagerFactoryProvider.java:230)
at org.eclipse.persistence.internal.jpa.EntityManagerSetupImpl.deploy(EntityManagerSetupImpl.java:389)
at org.eclipse.persistence.internal.jpa.EntityManagerFactoryImpl.getServerSession(EntityManagerFactoryImpl.java:164)
at org.eclipse.persistence.internal.jpa.EntityManagerFactoryImpl.createEntityManagerImpl(EntityManagerFactoryImpl.java:221)
at org.eclipse.persistence.internal.jpa.EntityManagerFactoryImpl.createEntityManager(EntityManagerFactoryImpl.java:209)
at com.soacookbook.ProductCatalog.getAllProducts(ProductCatalog.java:46)
at com.soacookbook.ProductCatalog.<init>(ProductCatalog.java:27)
at com.soacookbook.SimpleRestServlet.doGet(SimpleRestServlet.java:41)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
<?xml version="1.0" encoding="UTF-8" ?>
<persistence xmlns="http://java.sun.com/xml/ns/persistence"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/persistence http://java.sun.com/xml/ns/persistence/persistence_2_0.xsd"
version="1.0">
<persistence-unit name="example8-1">
<provider>org.eclipse.persistence.jpa.PersistenceProvider</provider>
<!--jta-data-source>jdbc/fusionEJB3</jta-data-source>
<non-jta-data-source>jdbc/fusionEJB3</non-jta-data-source-->
<class>com.soacookbook.entities.Product</class>
<properties>
<property name="eclipselink.target-server" value="WebLogic_10"/>
<property name="javax.persistence.jtaDataSource"
value="jdbc/fusionEJB3"/>
<property name="javax.persistence.jdbc.driver"
value="oracle.jdbc.OracleDriver"/>
<property name="javax.persistence.jdbc.url"
value="jdbc:oracle:thin:@localhost:1521:orcl"/>
<property name="javax.persistence.jdbc.user" value="fusionEJB3"/>
<property name="javax.persistence.jdbc.password"
value="57DAF0ADC12F7C37C6EC6D357C70ABD33754E34C120EB192D80F6E3B564BA6C8"/>
<property name="eclipselink.logging.level" value="ALL"/>
<property name="eclipselink.target-database" value="Oracle11"/>
</properties>
</persistence-unit>
<persistence-unit name="JavaSEClient" transaction-type="RESOURCE_LOCAL">
<provider>org.eclipse.persistence.jpa.PersistenceProvider</provider>
<class>com.soacookbook.entities.Product</class>
<properties>
<property name="eclipselink.target-server" value="WebLogic_10"/>
<property name="eclipselink.target-database" value="Oracle"/>
<property name="javax.persistence.jdbc.driver" value="oracle.jdbc.OracleDriver"/>
<property name="javax.persistence.jdbc.password" value="fusionEJB3"/>
<property name="javax.persistence.jdbc.user" value="fusionEJB3"/>
<property name="eclipselink.logging.level" value="ALL"/>
<property name="eclipselink.orm.validate.schema" value="true"/>
<property name="javax.persistence.jdbc.url" value="jdbc:oracle:thin:@hera:1521:orcl"/>
</properties>
</persistence-unit>
</persistence>
package com.soacookbook;
import com.soacookbook.entities.Product;
import java.util.ArrayList;
import java.util.Hashtable;
import java.util.Iterator;
import java.util.List;
import javax.persistence.EntityManager;
import javax.persistence.EntityManagerFactory;
import javax.persistence.Persistence;
import javax.persistence.Query;
import javax.xml.bind.annotation.XmlRootElement;
@XmlRootElement
public class ProductCatalog {
private EntityManager entityManager;
private Hashtable emProps = new Hashtable();
private List<Product> products;
public ProductCatalog() {
super();
products= this.getAllProducts();
public List<Product> getAllProducts(){
EntityManagerFactory entityManagerFactory = Persistence.createEntityManagerFactory("example8-1");
entityManager= entityManagerFactory.createEntityManager(emProps);
Query query= entityManager.createNamedQuery("Product.findAll");
System.out.println(" Results number: " + query.getMaxResults());
return query.getResultList();
public void setProducts(List<Product> products) {
this.products = products;
package com.soacookbook;
import java.io.IOException;
import javax.servlet.ServletConfig;
import javax.servlet.ServletException;
import javax.servlet.ServletOutputStream;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import javax.xml.bind.JAXBContext;
import javax.xml.bind.JAXBException;
import javax.xml.bind.Marshaller;
import javax.xml.parsers.DocumentBuilder;
import javax.xml.parsers.DocumentBuilderFactory;
import javax.xml.parsers.ParserConfigurationException;
import javax.xml.transform.Source;
import javax.xml.transform.Transformer;
import javax.xml.transform.TransformerFactory;
import javax.xml.transform.dom.DOMSource;
import javax.xml.transform.stream.StreamResult;
import org.w3c.dom.Document;
public class SimpleRestServlet extends HttpServlet {
private static final String CONTENT_TYPE = "text/xml; charset=UTF-8";
private static final String DOC_TYPE = null;
public void init(ServletConfig config) throws ServletException {
super.init(config);
public SimpleRestServlet() {
super();
protected void doGet(HttpServletRequest request,
HttpServletResponse response) throws ServletException,
IOException {
System.out.println("DoGet invoked on RESTful service.");
ProductCatalog catalog = new ProductCatalog();
Source xmlSource = asXml(catalog);
ServletOutputStream out = response.getOutputStream();
response.setContentType("text/xml");
StreamResult st = new StreamResult(out);
try {
Transformer t = TransformerFactory.newInstance().newTransformer();
t.transform(xmlSource, st);
} catch (Exception e) {
throw new ServletException(e);
System.out.println("All done.");
private static Source asXml(ProductCatalog pc) throws ServletException {
System.out.println("Marshalling...");
Source source = null;
Document doc = null;
try {
JAXBContext ctx = JAXBContext.newInstance(ProductCatalog.class);
Marshaller m = ctx.createMarshaller();
DocumentBuilder parser =
DocumentBuilderFactory.newInstance().newDocumentBuilder();
doc = parser.newDocument();
System.out.println("Products=" + pc);
m.marshal(pc, doc);
System.out.println("Marshalled catalog to XML.");
} catch (JAXBException je) {
throw new ServletException(je);
} catch (ParserConfigurationException pce) {
throw new ServletException(pce);
source = new DOMSource(doc);
System.out.println("Returning XML source.");
return source;
protected void doPost(HttpServletRequest request,
HttpServletResponse response) throws ServletException,
IOException {
doGet(request, response);
package com.soacookbook.entities;
import java.io.Serializable;
import java.math.BigDecimal;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.NamedQueries;
import javax.persistence.NamedQuery;
import javax.xml.bind.annotation.XmlType;
@XmlType
@Entity
@NamedQueries( { @NamedQuery(name = "Product.findAll",
query = "select o from Product o") })
public class Product implements Serializable {
private String id;
private String name;
private BigDecimal price;
public Product() {
public Product(String id, String name, BigDecimal price) {
this.id = id;
this.name = name;
this.price = price;
@Id
@Column(nullable = false)
public String getId() {
return id;
public void setId(String id) {
this.id = id;
public String getName() {
return name;
public void setName(String name) {
this.name = name;
public BigDecimal getPrice() {
return price;
public void setPrice(BigDecimal price) {
this.price = price;
Finally, the perfectly working java SE client:
package com.soacookbook.client;
import com.soacookbook.ProductCatalog;
import com.soacookbook.entities.Product;
import java.util.ArrayList;
import java.util.Hashtable;
import java.util.Iterator;
import java.util.List;
import javax.persistence.EntityManager;
import javax.persistence.EntityManagerFactory;
import javax.persistence.Persistence;
import javax.persistence.Query;
public class ProductCatalogSEClient {
private EntityManager entityManager;
private Hashtable emProps = new Hashtable();
public ProductCatalogSEClient() {
super();
public static void main(String[] args) {
ProductCatalogSEClient productCatalogSEClient = new ProductCatalogSEClient();
List<Product> products = productCatalogSEClient.getAllProducts();
Iterator i = products.iterator();
while (i.hasNext())
Product product = (Product) i.next();
System.out.println("Id:"+ product.getId() +" Name:"+product.getName() + " price " + product.getPrice());
public List<Product> getAllProducts(){
EntityManagerFactory entityManagerFactory = Persistence.createEntityManagerFactory("JavaSEClient");// not the same with example8-1 !
entityManager= entityManagerFactory.createEntityManager(emProps);
Query query= entityManager.createNamedQuery("Product.findAll");
System.out.println(" Results number: " + query.getMaxResults());
return query.getResultList();
Thanks in advance for any help!
NA
Edited by: NA on Aug 22, 2011 10:56 AMThank you for your reply!
It ran successfully having the following modifications:
<?xml version="1.0" encoding="UTF-8" ?>
<persistence xmlns="http://java.sun.com/xml/ns/persistence"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/persistence http://java.sun.com/xml/ns/persistence/persistence_2_0.xsd"
version="1.0">
<persistence-unit name="example8-1">
<provider>org.eclipse.persistence.jpa.PersistenceProvider</provider>
<jta-data-source>jdbc/fusionEJB3</jta-data-source>
<class>com.soacookbook.entities.Product</class>
<properties>
<property name="eclipselink.target-server" value="WebLogic_10"/>
<property name="eclipselink.target-database" value="Oracle"/>
<property name="eclipselink.logging.level" value="ALL"/>
</properties>
</persistence-unit>
<persistence-unit name="JavaSEClient" transaction-type="RESOURCE_LOCAL">
<provider>org.eclipse.persistence.jpa.PersistenceProvider</provider>
<class>com.soacookbook.entities.Product</class>
<properties>
<property name="eclipselink.target-server" value="WebLogic_10"/>
<property name="eclipselink.target-database" value="Oracle"/>
<property name="javax.persistence.jdbc.driver" value="oracle.jdbc.OracleDriver"/>
<property name="javax.persistence.jdbc.password" value="fusionEJB3"/>
<property name="javax.persistence.jdbc.user" value="fusionEJB3"/>
<property name="eclipselink.logging.level" value="ALL"/>
<property name="eclipselink.orm.validate.schema" value="true"/>
<property name="javax.persistence.jdbc.url" value="jdbc:oracle:thin:@hera:1521:orcl"/>
</properties>
</persistence-unit>
</persistence>
Strangely, the password string fusionEJB3, however changed to:
<property name="javax.persistence.jdbc.password"
value="57DAF0ADC12F7C37C6EC6D357C70ABD33754E34C120EB192D80F6E3B564BA6C8"/>
Edited by: NA on Aug 23, 2011 9:48 AM -
Java.sql.SQLException: Listener refused the connection
hi everybody!
i'm new in oracle and java and have a problem working in Oracle 11g ExpressEdition.
i have the next error when i'm trying to start java project using oracle:
incorrect login or password
and the next:
java.sql.SQLException: Listener refused the connection with the following error:
ORA-12505, TNS:listener does not currently know of SID given in connect descript
or
at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:412)
at oracle.jdbc.driver.PhysicalConnection.<init>(PhysicalConnection.java:
+531)+
at oracle.jdbc.driver.T4CConnection.<init>(T4CConnection.java:221)
at oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtensio
n.java:32)
at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:503)
at java.sql.DriverManager.getConnection(Unknown Source)
at java.sql.DriverManager.getConnection(Unknown Source)
at tools.db.ConnectionFactory.getOracleConnection(ConnectionFactory.java
+:30)+
at tools.db.DatabaseTools.checkAuthorizationInfo(DatabaseTools.java:24)
at mainforms.LoginForm.jButton1ActionPerformed(LoginForm.java:112)
at mainforms.LoginForm.access$000(LoginForm.java:16)
at mainforms.LoginForm$1.actionPerformed(LoginForm.java:52)
at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Sour
ce)
at java.awt.Component.processMouseEvent(Unknown Source)
at javax.swing.JComponent.processMouseEvent(Unknown Source)
at java.awt.Component.processEvent(Unknown Source)
at java.awt.Container.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Window.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
at java.awt.EventQueue.access$000(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Sour
ce)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Sour
ce)
at java.awt.EventQueue$4.run(Unknown Source)
at java.awt.EventQueue$4.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Sour
ce)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
Caused by: oracle.net.ns.NetException: Listener refused the connection with the
following error:
ORA-12505, TNS:listener does not currently know of SID given in connect descript
or
at oracle.net.ns.NSProtocol.connect(NSProtocol.java:385)
at oracle.jdbc.driver.T4CConnection.connect(T4CConnection.java:1042)
at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:301)
+... 47 more+
my listener.ora file content:
SID_LIST_LISTENER =
+(SID_LIST =+
+(SID_DESC =+
+(SID_NAME = PLSExtProc)+
+(ORACLE_HOME = D:\oraclexe\app\oracle\product\11.2.0\server)+
+(PROGRAM = extproc)+
+)+
+(SID_DESC =+
+(SID_NAME = CLRExtProc)+
+(ORACLE_HOME = D:\oraclexe\app\oracle\product\11.2.0\server)+
+(PROGRAM = extproc)+
+)+
+)+
LISTENER =
+(DESCRIPTION_LIST =+
+(DESCRIPTION =+
+(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))+
+(ADDRESS = (PROTOCOL = TCP)(HOST = Home)(PORT = 1521))+
+)+
+)+
DEFAULT_SERVICE_LISTENER = (XE)
and tnsnames.ora file content:
XE =
+(DESCRIPTION =+
+(ADDRESS = (PROTOCOL = TCP)(HOST = Home)(PORT = 1521))+
+(CONNECT_DATA =+
+(SERVER = DEDICATED)+
+(SERVICE_NAME = XE)+
+)+
+)+
EXTPROC_CONNECTION_DATA =
+(DESCRIPTION =+
+(ADDRESS_LIST =+
+(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))+
+)+
+(CONNECT_DATA =+
+(SID = PLSExtProc)+
+(PRESENTATION = RO)+
+)+
+)+
ORACLR_CONNECTION_DATA =
+(DESCRIPTION =+
+(ADDRESS_LIST =+
+(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))+
+)+
+(CONNECT_DATA =+
+(SID = CLRExtProc)+
+(PRESENTATION = RO)+
+)+
+)+
and results of commands:
C:\Users\Admin>lsnrctl service
LSNRCTL for 32-bit Windows: Version 11.2.0.2.0 - Production on 06-╠└╔-2012
+:13+
Copyright (c) 1991, 2010, Oracle. All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1)))
Services Summary...
Service "CLRExtProc" has 1 instance(s).
Instance "CLRExtProc", status UNKNOWN, has 3 handler(s) for this service.
Handler(s):
+"DEDICATED" established:0 refused:0+
LOCAL SERVER
+"ORACLE SERVER" established:0 refused:0 current:0 max:25 state:ready+
CLRExtProc
+(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\NTN_C54_1CECCED2_7DC8.OR+
+"ORACLE SERVER" established:0 refused:0 current:0 max:25 state:ready+
CLRExtProc
+(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\NTN_C54_1CECCED2_B57B.OR+
Service "PLSExtProc" has 1 instance(s).
Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service.
Handler(s):
+"DEDICATED" established:0 refused:0+
LOCAL SERVER
Service "XEXDB" has 1 instance(s).
Instance "xe", status READY, has 1 handler(s) for this service...
Handler(s):
+"D000" established:0 refused:0 current:0 max:1022 state:ready+
DISPATCHER <machine: HOME, pid: 3280>
+(ADDRESS=(PROTOCOL=tcp)(HOST=Home)(PORT=56207))+
Service "xe" has 1 instance(s).
Instance "xe", status READY, has 1 handler(s) for this service...
Handler(s):
+"DEDICATED" established:1 refused:0 state:ready+
LOCAL SERVER
The command completed successfully
and
C:\Users\Admin>tnsping XE
TNS Ping Utility for 32-bit Windows: Version 11.2.0.2.0 - Production on 06-╠└╔-2
+012 13:22:40+
Copyright (c) 1997, 2010, Oracle. All rights reserved.
Used parameter files:
D:\oraclexe\app\oracle\product\11.2.0\server\network\ADMIN\sqlnet.ora
Used TNSNAMES adapter to resolve the alias
Attempting to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = Home)(PO
RT = 1521)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = XE)))
OK (10 msec)
dont understand what the reason of problem. read many forums and try this and that but can't resolve it (haven't enough knowledges :( ).
will be very thankful for a help everybody.<msg time='2012-05-06T16:58:11.735+04:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='HOME'
host_addr='fe80::cd1d:33c3:f2cc:7ca0%17'>
<txt>06-МАЙ-2012 16:58:11 * service_update * xe * 0
</txt>
</msg>
<msg time='2012-05-06T16:58:44.738+04:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='HOME'
host_addr='fe80::cd1d:33c3:f2cc:7ca0%17'>
<txt>06-МАЙ-2012 16:58:44 * service_update * xe * 0
</txt>
</msg>
<msg time='2012-05-06T17:00:02.856+04:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='HOME'
host_addr='fe80::cd1d:33c3:f2cc:7ca0%17'>
<txt>06-МАЙ-2012 17:00:02 * service_update * xe * 0
</txt>
</msg>
<msg time='2012-05-06T17:00:14.900+04:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='HOME'
host_addr='fe80::cd1d:33c3:f2cc:7ca0%17'>
<txt>06-МАЙ-2012 17:00:14 * service_update * xe * 0
</txt>
</msg>
<msg time='2012-05-06T17:00:45.008+04:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='HOME'
host_addr='fe80::cd1d:33c3:f2cc:7ca0%17'>
<txt>06-МАЙ-2012 17:00:45 * service_update * xe * 0
</txt>
</msg>
<msg time='2012-05-06T17:00:48.018+04:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='HOME'
host_addr='fe80::cd1d:33c3:f2cc:7ca0%17'>
<txt>06-МАЙ-2012 17:00:48 * service_update * xe * 0
</txt>
</msg>
<msg time='2012-05-06T17:02:18.460+04:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='HOME'
host_addr='fe80::cd1d:33c3:f2cc:7ca0%17'>
<txt>System parameter file is D:\oraclexe\app\oracle\product\11.2.0\server\network\ADMIN\listener.ora
</txt>
</msg>
<msg time='2012-05-06T17:02:18.819+04:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='HOME'
host_addr='fe80::cd1d:33c3:f2cc:7ca0%17'>
<txt>Log messages written to D:\oraclexe\app\oracle\diag\tnslsnr\Home\listener\alert\log.xml
</txt>
</msg>
<msg time='2012-05-06T17:02:18.819+04:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='HOME'
host_addr='fe80::cd1d:33c3:f2cc:7ca0%17'>
<txt>Trace information written to D:\oraclexe\app\oracle\diag\tnslsnr\Home\listener\trace\ora_108_424.trc
</txt>
</msg>
<msg time='2012-05-06T17:02:18.819+04:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='HOME'
host_addr='fe80::cd1d:33c3:f2cc:7ca0%17'>
<txt>Trace level is currently 0
</txt>
</msg>
<msg time='2012-05-06T17:02:18.819+04:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='HOME'
host_addr='fe80::cd1d:33c3:f2cc:7ca0%17'>
<txt>
</txt>
</msg>
<msg time='2012-05-06T17:02:18.835+04:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='HOME'
host_addr='fe80::cd1d:33c3:f2cc:7ca0%17'>
<txt>Started with pid=108
</txt>
</msg>
<msg time='2012-05-06T17:02:18.928+04:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='HOME'
host_addr='fe80::cd1d:33c3:f2cc:7ca0%17'>
<txt>Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC1ipc)))
</txt>
</msg>
<msg time='2012-05-06T17:02:18.944+04:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='HOME'
host_addr='fe80::cd1d:33c3:f2cc:7ca0%17'>
<txt>Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=Home)(PORT=1521)))
</txt>
</msg>
<msg time='2012-05-06T17:02:20.582+04:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='HOME'
host_addr='fe80::cd1d:33c3:f2cc:7ca0%17'>
<txt>Listener completed notification to CRS on start
</txt>
</msg>
<msg time='2012-05-06T17:02:20.629+04:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='HOME'
host_addr='fe80::cd1d:33c3:f2cc:7ca0%17'>
<txt>
TIMESTAMP * CONNECT DATA [* PROTOCOL INFO] * EVENT [* SID] * RETURN CODE
</txt>
</msg>
<msg time='2012-05-06T17:02:48.865+04:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='HOME'
host_addr='fe80::cd1d:33c3:f2cc:7ca0%17'>
<txt>Dynamic address is already listened on (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=Home)(PORT=1521)))
</txt>
</msg>
<msg time='2012-05-06T17:02:48.880+04:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='HOME'
host_addr='fe80::cd1d:33c3:f2cc:7ca0%17'>
<txt>06-МАЙ-2012 17:02:48 * service_register * xe * 0
</txt>
</msg>
<msg time='2012-05-06T17:02:51.876+04:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='HOME'
host_addr='fe80::cd1d:33c3:f2cc:7ca0%17'>
<txt>06-МАЙ-2012 17:02:51 * service_update * xe * 0
</txt>
</msg>
<msg time='2012-05-06T17:03:02.062+04:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='HOME'
host_addr='fe80::cd1d:33c3:f2cc:7ca0%17'>
<txt>06-МАЙ-2012 17:03:02 * service_update * xe * 0
</txt>
</msg>
<msg time='2012-05-06T17:03:16.508+04:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='HOME'
host_addr='fe80::cd1d:33c3:f2cc:7ca0%17'>
<txt>06-МАЙ-2012 17:03:16 * service_update * xe * 0
</txt>
</msg>
<msg time='2012-05-06T17:03:22.545+04:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='HOME'
host_addr='fe80::cd1d:33c3:f2cc:7ca0%17'>
<txt>Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=Home)(PORT=8080))(Presentation=HTTP)(Session=RAW))
</txt>
</msg>
<msg time='2012-05-06T17:03:22.545+04:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='HOME'
host_addr='fe80::cd1d:33c3:f2cc:7ca0%17'>
<txt>06-МАЙ-2012 17:03:22 * service_update * xe * 0
</txt>
</msg>
<msg time='2012-05-06T17:03:25.541+04:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='HOME'
host_addr='fe80::cd1d:33c3:f2cc:7ca0%17'>
<txt>06-МАЙ-2012 17:03:25 * service_update * xe * 0
</txt>
</msg>
<msg time='2012-05-06T17:03:49.620+04:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='HOME'
host_addr='fe80::cd1d:33c3:f2cc:7ca0%17'>
<txt>06-МАЙ-2012 17:03:49 * service_update * xe * 0
</txt>
</msg>
<msg time='2012-05-06T17:03:58.590+04:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='HOME'
host_addr='fe80::cd1d:33c3:f2cc:7ca0%17'>
<txt>06-МАЙ-2012 17:03:58 * service_update * xe * 0
</txt>
</msg>
<msg time='2012-05-06T17:04:01.616+04:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='HOME'
host_addr='fe80::cd1d:33c3:f2cc:7ca0%17'>
<txt>06-МАЙ-2012 17:04:01 * service_update * xe * 0
</txt>
</msg>
<msg time='2012-05-06T17:04:19.656+04:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='HOME'
host_addr='fe80::cd1d:33c3:f2cc:7ca0%17'>
<txt>06-МАЙ-2012 17:04:19 * service_update * xe * 0
</txt>
</msg>
<msg time='2012-05-06T17:07:14.278+04:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='HOME'
host_addr='fe80::cd1d:33c3:f2cc:7ca0%17'>
<txt>06-МАЙ-2012 17:07:14 * service_update * xe * 0
</txt>
</msg>
<msg time='2012-05-06T17:09:59.872+04:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='HOME'
host_addr='fe80::cd1d:33c3:f2cc:7ca0%17'>
<txt>06-МАЙ-2012 17:09:59 * service_update * xe * 0
</txt>
</msg>
<msg time='2012-05-06T17:10:32.991+04:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='HOME'
host_addr='fe80::cd1d:33c3:f2cc:7ca0%17'>
<txt>06-МАЙ-2012 17:10:32 * service_update * xe * 0
</txt>
</msg>
<msg time='2012-05-06T17:12:45.466+04:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='HOME'
host_addr='fe80::cd1d:33c3:f2cc:7ca0%17'>
<txt>06-МАЙ-2012 17:12:45 * service_update * xe * 0
</txt>
</msg>
<msg time='2012-05-06T17:13:24.607+04:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='HOME'
host_addr='fe80::cd1d:33c3:f2cc:7ca0%17'>
<txt>06-МАЙ-2012 17:13:24 * service_update * xe * 0
</txt>
</msg>
<msg time='2012-05-06T17:16:37.298+04:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='HOME'
host_addr='fe80::cd1d:33c3:f2cc:7ca0%17'>
<txt>06-МАЙ-2012 17:16:37 * service_update * xe * 0
</txt>
</msg>
<msg time='2012-05-06T17:21:38.379+04:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='HOME'
host_addr='fe80::cd1d:33c3:f2cc:7ca0%17'>
<txt>06-МАЙ-2012 17:21:38 * service_update * xe * 0
</txt>
</msg>
<msg time='2012-05-06T17:23:26.768+04:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='HOME'
host_addr='fe80::cd1d:33c3:f2cc:7ca0%17'>
<txt>06-МАЙ-2012 17:23:26 * service_update * xe * 0
</txt>
</msg>
<msg time='2012-05-06T17:25:03.114+04:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='HOME'
host_addr='fe80::cd1d:33c3:f2cc:7ca0%17'>
<txt>06-МАЙ-2012 17:25:03 * service_update * xe * 0
</txt>
</msg>
<msg time='2012-05-06T17:25:33.222+04:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='HOME'
host_addr='fe80::cd1d:33c3:f2cc:7ca0%17'>
<txt>06-МАЙ-2012 17:25:33 * service_update * xe * 0
</txt>
</msg>
<msg time='2012-05-06T17:30:01.183+04:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='HOME'
host_addr='fe80::cd1d:33c3:f2cc:7ca0%17'>
<txt>06-МАЙ-2012 17:30:01 * service_update * xe * 0
</txt>
</msg>
<msg time='2012-05-06T17:30:25.270+04:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='HOME'
host_addr='fe80::cd1d:33c3:f2cc:7ca0%17'>
<txt>06-МАЙ-2012 17:30:25 * service_update * xe * 0
</txt>
</msg>
<msg time='2012-05-06T17:30:34.302+04:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='HOME'
host_addr='fe80::cd1d:33c3:f2cc:7ca0%17'>
<txt>06-МАЙ-2012 17:30:34 * service_update * xe * 0
</txt>
</msg>
<msg time='2012-05-06T17:30:58.389+04:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='HOME'
host_addr='fe80::cd1d:33c3:f2cc:7ca0%17'>
<txt>06-МАЙ-2012 17:30:58 * service_update * xe * 0
</txt>
</msg>
<msg time='2012-05-06T17:33:28.929+04:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='HOME'
host_addr='fe80::cd1d:33c3:f2cc:7ca0%17'>
<txt>06-МАЙ-2012 17:33:28 * service_update * xe * 0
</txt>
</msg>
<msg time='2012-05-06T17:34:17.102+04:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='HOME'
host_addr='fe80::cd1d:33c3:f2cc:7ca0%17'>
<txt>06-МАЙ-2012 17:34:17 * service_update * xe * 0
</txt>
</msg>
<msg time='2012-05-06T17:37:35.815+04:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='HOME'
host_addr='fe80::cd1d:33c3:f2cc:7ca0%17'>
<txt>06-МАЙ-2012 17:37:35 * service_update * xe * 0
</txt>
</msg>
<msg time='2012-05-06T17:38:42.053+04:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='HOME'
host_addr='fe80::cd1d:33c3:f2cc:7ca0%17'>
<txt>06-МАЙ-2012 17:38:42 * service_update * xe * 0
</txt>
</msg>
<msg time='2012-05-06T17:40:33.452+04:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='HOME'
host_addr='fe80::cd1d:33c3:f2cc:7ca0%17'>
<txt>06-МАЙ-2012 17:40:33 * service_update * xe * 0
</txt>
</msg>
<msg time='2012-05-06T17:43:31.090+04:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='HOME'
host_addr='fe80::cd1d:33c3:f2cc:7ca0%17'>
<txt>06-МАЙ-2012 17:43:31 * service_update * xe * 0
</txt>
</msg>
<msg time='2012-05-06T17:45:31.522+04:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='HOME'
host_addr='fe80::cd1d:33c3:f2cc:7ca0%17'>
<txt>06-МАЙ-2012 17:45:31 * service_update * xe * 0
</txt>
</msg>
<msg time='2012-05-06T17:50:32.603+04:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='HOME'
host_addr='fe80::cd1d:33c3:f2cc:7ca0%17'>
<txt>06-МАЙ-2012 17:50:32 * service_update * xe * 0
</txt>
</msg>
<msg time='2012-05-06T17:53:33.251+04:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='HOME'
host_addr='fe80::cd1d:33c3:f2cc:7ca0%17'>
<txt>06-МАЙ-2012 17:53:33 * service_update * xe * 0
</txt>
</msg>
<msg time='2012-05-06T17:58:31.321+04:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='HOME'
host_addr='fe80::cd1d:33c3:f2cc:7ca0%17'>
<txt>06-МАЙ-2012 17:58:31 * service_update * xe * 0
</txt>
</msg>
<msg time='2012-05-06T18:00:01.645+04:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='HOME'
host_addr='fe80::cd1d:33c3:f2cc:7ca0%17'>
<txt>06-МАЙ-2012 18:00:01 * service_update * xe * 0
</txt>
</msg>
<msg time='2012-05-06T18:00:31.753+04:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='HOME'
host_addr='fe80::cd1d:33c3:f2cc:7ca0%17'>
<txt>06-МАЙ-2012 18:00:31 * service_update * xe * 0
</txt>
</msg>
<msg time='2012-05-06T18:00:46.807+04:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='HOME'
host_addr='fe80::cd1d:33c3:f2cc:7ca0%17'>
<txt>06-МАЙ-2012 18:00:46 * service_update * xe * 0
</txt>
</msg>
<msg time='2012-05-06T18:03:35.412+04:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='HOME'
host_addr='fe80::cd1d:33c3:f2cc:7ca0%17'>
<txt>06-МАЙ-2012 18:03:35 * service_update * xe * 0
</txt>
</msg>
<msg time='2012-05-06T18:05:32.833+04:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='HOME'
host_addr='fe80::cd1d:33c3:f2cc:7ca0%17'>
<txt>06-МАЙ-2012 18:05:32 * service_update * xe * 0
</txt>
</msg>
<msg time='2012-05-06T18:10:33.914+04:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='HOME'
host_addr='fe80::cd1d:33c3:f2cc:7ca0%17'>
<txt>06-МАЙ-2012 18:10:33 * service_update * xe * 0
</txt>
</msg>
<msg time='2012-05-06T18:12:55.531+04:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='HOME'
host_addr='fe80::cd1d:33c3:f2cc:7ca0%17'>
<txt>06-МАЙ-2012 18:12:55 * service_update * xe * 0
</txt>
</msg>
<msg time='2012-05-06T18:13:04.554+04:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='HOME'
host_addr='fe80::cd1d:33c3:f2cc:7ca0%17'>
<txt>06-МАЙ-2012 18:13:04 * service_update * xe * 0
</txt>
</msg>
<msg time='2012-05-06T18:13:37.674+04:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='HOME'
host_addr='fe80::cd1d:33c3:f2cc:7ca0%17'>
<txt>06-МАЙ-2012 18:13:37 * service_update * xe * 0
</txt>
</msg>
<msg time='2012-05-06T18:14:44.029+04:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='HOME'
host_addr='fe80::cd1d:33c3:f2cc:7ca0%17'>
<txt>06-МАЙ-2012 18:14:44 * service_update * xe * 0
</txt>
</msg>
<msg time='2012-05-06T18:15:18.183+04:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='HOME'
host_addr='fe80::cd1d:33c3:f2cc:7ca0%17'>
<txt>06-МАЙ-2012 18:15:18 * service_update * xe * 0
</txt>
</msg>
<msg time='2012-05-06T18:15:36.949+04:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='HOME'
host_addr='fe80::cd1d:33c3:f2cc:7ca0%17'>
<txt>06-МАЙ-2012 18:15:36 * service_update * xe * 0
</txt>
</msg>
<msg time='2012-05-06T18:15:51.962+04:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='HOME'
host_addr='fe80::cd1d:33c3:f2cc:7ca0%17'>
<txt>06-МАЙ-2012 18:15:51 * service_update * xe * 0
</txt>
</msg>
<msg time='2012-05-06T18:16:25.322+04:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='HOME'
host_addr='fe80::cd1d:33c3:f2cc:7ca0%17'>
<txt>06-МАЙ-2012 18:16:25 * service_update * xe * 0
</txt>
</msg>
<msg time='2012-05-06T18:17:32.063+04:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='HOME'
host_addr='fe80::cd1d:33c3:f2cc:7ca0%17'>
<txt>06-МАЙ-2012 18:17:32 * service_update * xe * 0
</txt>
</msg>
<msg time='2012-05-06T18:18:05.088+04:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='HOME'
host_addr='fe80::cd1d:33c3:f2cc:7ca0%17'>
<txt>06-МАЙ-2012 18:18:05 * service_update * xe * 0
</txt>
</msg>
<msg time='2012-05-06T18:18:35.113+04:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='HOME'
host_addr='fe80::cd1d:33c3:f2cc:7ca0%17'>
<txt>06-МАЙ-2012 18:18:35 * service_update * xe * 0
</txt>
</msg>
<msg time='2012-05-06T18:22:56.145+04:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='HOME'
host_addr='fe80::cd1d:33c3:f2cc:7ca0%17'>
<txt>06-МАЙ-2012 18:22:56 * service_update * xe * 0
</txt>
</msg>
<msg time='2012-05-06T18:28:05.164+04:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='HOME'
host_addr='fe80::cd1d:33c3:f2cc:7ca0%17'>
<txt>06-МАЙ-2012 18:28:05 * service_update * xe * 0
</txt>
</msg>
<msg time='2012-05-06T18:32:56.183+04:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='HOME'
host_addr='fe80::cd1d:33c3:f2cc:7ca0%17'>
<txt>06-МАЙ-2012 18:32:56 * service_update * xe * 0
</txt>
</msg>
<msg time='2012-05-06T18:40:32.214+04:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='HOME'
host_addr='fe80::cd1d:33c3:f2cc:7ca0%17'>
<txt>06-МАЙ-2012 18:40:32 * service_update * xe * 0
</txt>
</msg>
<msg time='2012-05-06T18:42:56.223+04:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='HOME'
host_addr='fe80::cd1d:33c3:f2cc:7ca0%17'>
<txt>06-МАЙ-2012 18:42:56 * service_update * xe * 0
</txt>
</msg>
<msg time='2012-05-06T18:50:32.253+04:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='HOME'
host_addr='fe80::cd1d:33c3:f2cc:7ca0%17'>
<txt>06-МАЙ-2012 18:50:32 * service_update * xe * 0
</txt>
</msg>
<msg time='2012-05-06T18:52:56.264+04:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='HOME'
host_addr='fe80::cd1d:33c3:f2cc:7ca0%17'>
<txt>06-МАЙ-2012 18:52:56 * service_update * xe * 0
</txt>
</msg>
<msg time='2012-05-06T18:55:32.367+04:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='HOME'
host_addr='fe80::cd1d:33c3:f2cc:7ca0%17'>
<txt>06-МАЙ-2012 18:55:32 * service_update * xe * 0
</txt>
</msg>
<msg time='2012-05-06T18:59:11.545+04:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='HOME'
host_addr='fe80::cd1d:33c3:f2cc:7ca0%17'>
<txt>06-МАЙ-2012 18:59:11 * service_update * xe * 0
</txt>
</msg>
<msg time='2012-05-06T19:00:29.688+04:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='HOME'
host_addr='fe80::cd1d:33c3:f2cc:7ca0%17'>
<txt>06-МАЙ-2012 19:00:29 * service_update * xe * 0
</txt>
</msg>
<msg time='2012-05-06T19:00:44.689+04:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='HOME'
host_addr='fe80::cd1d:33c3:f2cc:7ca0%17'>
<txt>06-МАЙ-2012 19:00:44 * service_update * xe * 0
</txt>
</msg>
<msg time='2012-05-06T19:01:23.703+04:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='HOME'
host_addr='fe80::cd1d:33c3:f2cc:7ca0%17'>
<txt>06-МАЙ-2012 19:01:23 * service_update * xe * 0
</txt>
</msg>
<msg time='2012-05-06T19:02:56.736+04:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='HOME'
host_addr='fe80::cd1d:33c3:f2cc:7ca0%17'>
<txt>06-МАЙ-2012 19:02:56 * service_update * xe * 0
</txt>
</msg>
<msg time='2012-05-06T19:03:47.752+04:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='HOME'
host_addr='fe80::cd1d:33c3:f2cc:7ca0%17'>
<txt>06-МАЙ-2012 19:03:47 * service_update * xe * 0
</txt>
</msg>
<msg time='2012-05-06T19:04:53.767+04:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='HOME'
host_addr='fe80::cd1d:33c3:f2cc:7ca0%17'>
<txt>06-МАЙ-2012 19:04:53 * service_update * xe * 0
</txt>
</msg>
<msg time='2012-05-06T19:05:59.798+04:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='HOME'
host_addr='fe80::cd1d:33c3:f2cc:7ca0%17'>
<txt>06-МАЙ-2012 19:05:59 * service_update * xe * 0
</txt>
</msg>
<msg time='2012-05-06T19:07:39.042+04:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='HOME'
host_addr='fe80::cd1d:33c3:f2cc:7ca0%17'>
<txt>06-МАЙ-2012 19:07:39 * service_update * xe * 0
</txt>
</msg>
<msg time='2012-05-06T19:08:15.113+04:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='HOME'
host_addr='fe80::cd1d:33c3:f2cc:7ca0%17'>
<txt>06-МАЙ-2012 19:08:15 * service_update * xe * 0
</txt>
</msg>
<msg time='2012-05-06T19:09:54.206+04:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='HOME'
host_addr='fe80::cd1d:33c3:f2cc:7ca0%17'>
<txt>06-МАЙ-2012 19:09:54 * service_update * xe * 0
</txt>
</msg>
<msg time='2012-05-06T19:11:36.299+04:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='HOME'
host_addr='fe80::cd1d:33c3:f2cc:7ca0%17'>
<txt>06-МАЙ-2012 19:11:36 * service_update * xe * 0
</txt>
</msg>
<msg time='2012-05-06T19:12:00.312+04:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='HOME'
host_addr='fe80::cd1d:33c3:f2cc:7ca0%17'>
<txt>06-МАЙ-2012 19:11:59 * (CONNECT_DATA=(SID=xe)(CID=(PROGRAM=SQL Developer)(HOST=__jdbc__)(USER=Admin))) * (ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=50478)) * establish * xe * 0
</txt>
</msg>
<msg time='2012-05-06T19:12:57.354+04:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='HOME'
host_addr='fe80::cd1d:33c3:f2cc:7ca0%17'>
<txt>06-МАЙ-2012 19:12:57 * service_update * xe * 0
</txt>
</msg>
<msg time='2012-05-06T19:13:51.913+04:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='HOME'
host_addr='fe80::cd1d:33c3:f2cc:7ca0%17'>
<txt>06-МАЙ-2012 19:13:51 * service_update * xe * 0
</txt>
</msg>
<msg time='2012-05-06T19:14:24.936+04:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='HOME'
host_addr='fe80::cd1d:33c3:f2cc:7ca0%17'>
<txt>06-МАЙ-2012 19:14:24 * service_update * xe * 0
</txt>
</msg>
<msg time='2012-05-06T19:14:51.721+04:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='HOME'
host_addr='fe80::cd1d:33c3:f2cc:7ca0%17'>
<txt>06-МАЙ-2012 19:14:51 * (CONNECT_DATA=(SID=LogistDB)(CID=(PROGRAM=JDBC Thin Client)(HOST=__jdbc__)(USER=Admin))) * (ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=50621)) * establish * LogistDB * 12505
</txt>
</msg>
<msg time='2012-05-06T19:14:51.750+04:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='HOME'
host_addr='fe80::cd1d:33c3:f2cc:7ca0%17'>
<txt>TNS-12505: TNS:listener does not currently know of SID given in connect descriptor
</txt>
</msg>
<msg time='2012-05-06T19:15:15.587+04:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='HOME'
host_addr='fe80::cd1d:33c3:f2cc:7ca0%17'>
<txt>06-МАЙ-2012 19:15:15 * (CONNECT_DATA=(CID=(PROGRAM=)(HOST=)(USER=Admin))(COMMAND=status)(ARGUMENTS=64)(SERVICE=LISTENER)(VERSION=186647040)) * status * 0
</txt>
</msg>
<msg time='2012-05-06T19:17:10.428+04:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='HOME'
host_addr='fe80::cd1d:33c3:f2cc:7ca0%17'>
<txt>06-МАЙ-2012 19:17:10 * service_update * xe * 0
</txt>
</msg>
<msg time='2012-05-06T19:18:22.597+04:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='HOME'
host_addr='fe80::cd1d:33c3:f2cc:7ca0%17'>
<txt>06-МАЙ-2012 19:18:22 * service_update * xe * 0
</txt>
</msg>
<msg time='2012-05-06T19:19:09.605+04:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='HOME'
host_addr='fe80::cd1d:33c3:f2cc:7ca0%17'>
<txt>06-МАЙ-2012 19:19:09 * (CONNECT_DATA=(CID=(PROGRAM=)(HOST=)(USER=Admin))(COMMAND=services)(ARGUMENTS=64)(SERVICE=LISTENER)(VERSION=186647040)) * services * 0
</txt>
</msg>
<msg time='2012-05-06T19:20:31.674+04:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='HOME'
host_addr='fe80::cd1d:33c3:f2cc:7ca0%17'>
<txt>06-МАЙ-2012 19:20:31 * service_update * xe * 0
</txt>
</msg>
<msg time='2012-05-06T19:21:40.732+04:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='HOME'
host_addr='fe80::cd1d:33c3:f2cc:7ca0%17'>
<txt>06-МАЙ-2012 19:21:40 * service_update * xe * 0
</txt>
</msg>
<msg time='2012-05-06T19:22:13.988+04:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='HOME'
host_addr='fe80::cd1d:33c3:f2cc:7ca0%17'>
<txt>06-МАЙ-2012 19:22:13 * service_update * xe * 0
</txt>
</msg>
<msg time='2012-05-06T19:22:46.995+04:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='HOME'
host_addr='fe80::cd1d:33c3:f2cc:7ca0%17'>
<txt>06-МАЙ-2012 19:22:46 * service_update * xe * 0
</txt>
</msg>
<msg time='2012-05-06T19:22:58.999+04:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='HOME'
host_addr='fe80::cd1d:33c3:f2cc:7ca0%17'>
<txt>06-МАЙ-2012 19:22:58 * service_update * xe * 0
</txt>
</msg>
<msg time='2012-05-06T19:25:32.370+04:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='HOME'
host_addr='fe80::cd1d:33c3:f2cc:7ca0%17'>
<txt>06-МАЙ-2012 19:25:32 * service_update * xe * 0
</txt>
</msg>
<msg time='2012-05-06T19:26:44.417+04:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='HOME'
host_addr='fe80::cd1d:33c3:f2cc:7ca0%17'>
<txt>06-МАЙ-2012 19:26:44 * service_update * xe * 0
</txt>
</msg>
<msg time='2012-05-06T19:27:50.575+04:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='HOME'
host_addr='fe80::cd1d:33c3:f2cc:7ca0%17'>
<txt>06-МАЙ-2012 19:27:50 * service_update * xe * 0
</txt>
</msg>
<msg time='2012-05-06T19:28:11.590+04:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='HOME'
host_addr='fe80::cd1d:33c3:f2cc:7ca0%17'>
<txt>06-МАЙ-2012 19:28:11 * service_update * xe * 0
</txt>
</msg>
<msg time='2012-05-06T19:31:12.568+04:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='HOME'
host_addr='fe80::cd1d:33c3:f2cc:7ca0%17'>
<txt>06-МАЙ-2012 19:31:12 * service_update * xe * 0
</txt>
</msg>
<msg time='2012-05-06T19:31:48.599+04:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='HOME'
host_addr='fe80::cd1d:33c3:f2cc:7ca0%17'>
<txt>06-МАЙ-2012 19:31:48 * service_update * xe * 0
</txt>
</msg>
<msg time='2012-05-06T19:33:00.647+04:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='HOME'
host_addr='fe80::cd1d:33c3:f2cc:7ca0%17'>
<txt>06-МАЙ-2012 19:33:00 * service_update * xe * 0
</txt>
</msg>
<msg time='2012-05-06T19:35:30.764+04:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='HOME'
host_addr='fe80::cd1d:33c3:f2cc:7ca0%17'>
<txt>06-МАЙ-2012 19:35:30 * service_update * xe * 0
</txt>
</msg>
<msg time='2012-05-06T19:38:15.875+04:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='HOME'
host_addr='fe80::cd1d:33c3:f2cc:7ca0%17'>
<txt>06-МАЙ-2012 19:38:15 * service_update * xe * 0
</txt>
</msg>
<msg time='2012-05-06T19:42:55.204+04:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='HOME'
host_addr='fe80::cd1d:33c3:f2cc:7ca0%17'>
<txt>06-МАЙ-2012 19:42:55 * service_update * xe * 0
</txt>
</msg>
<msg time='2012-05-06T19:43:01.206+04:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='HOME'
host_addr='fe80::cd1d:33c3:f2cc:7ca0%17'>
<txt>06-МАЙ-2012 19:43:01 * service_update * xe * 0
</txt>
</msg>
<msg time='2012-05-06T19:43:28.485+04:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='HOME'
host_addr='fe80::cd1d:33c3:f2cc:7ca0%17'>
<txt>06-МАЙ-2012 19:43:28 * service_update * xe * 0
</txt>
</msg>
<msg time='2012-05-06T19:44:35.170+04:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='HOME'
host_addr='fe80::cd1d:33c3:f2cc:7ca0%17'>
<txt>06-МАЙ-2012 19:44:35 * service_update * xe * 0
</txt>
</msg>
<msg time='2012-05-06T19:45:08.144+04:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='HOME'
host_addr='fe80::cd1d:33c3:f2cc:7ca0%17'>
<txt>06-МАЙ-2012 19:45:08 * service_update * xe * 0
</txt>
</msg>
<msg time='2012-05-06T19:45:32.165+04:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='HOME'
host_addr='fe80::cd1d:33c3:f2cc:7ca0%17'>
<txt>06-МАЙ-2012 19:45:32 * service_update * xe * 0
</txt>
</msg>
<msg time='2012-05-06T19:45:41.176+04:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='HOME'
host_addr='fe80::cd1d:33c3:f2cc:7ca0%17'>
<txt>06-МАЙ-2012 19:45:41 * service_update * xe * 0
</txt>
</msg>
<msg time='2012-05-06T19:46:14.280+04:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='HOME'
host_addr='fe80::cd1d:33c3:f2cc:7ca0%17'>
<txt>06-МАЙ-2012 19:46:14 * service_update * xe * 0
</txt>
</msg>
<msg time='2012-05-06T19:46:47.320+04:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='HOME'
host_addr='fe80::cd1d:33c3:f2cc:7ca0%17'>
<txt>06-МАЙ-2012 19:46:47 * service_update * xe * 0
</txt>
</msg>
<msg time='2012-05-06T19:47:20.333+04:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='HOME'
host_addr='fe80::cd1d:33c3:f2cc:7ca0%17'>
<txt>06-МАЙ-2012 19:47:20 * service_update * xe * 0
</txt>
</msg>
<msg time='2012-05-06T19:53:02.663+04:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='HOME'
host_addr='fe80::cd1d:33c3:f2cc:7ca0%17'>
<txt>06-МАЙ-2012 19:53:02 * service_update * xe * 0
</txt>
</msg> -
JBO-27122 java.sql.SQLException: Invalid column type
Dear All
I extended an standard LOV view object and added 2 where clauses. Where clauses are working very good but problem is when I submit any criteria fist time and press GO button its working if I put 2nd time criteria or just press GO Button it showing me error.
JBO-27122 java.sql.SQLException: Invalid column type
I guse if any error in sql then it should display error at first GO button, but displaying error when changing criteria it showing error
Please help.Thank you Guyan
Here is the automatically putted where clause
Initial
WHERE (current_organization_id = :2)
First Go click
WHERE (current_organization_id = :2
AND (UPPER (INSTANCE_NUMBER) LIKE UPPER (:3)
AND (INSTANCE_NUMBER LIKE :4
OR INSTANCE_NUMBER LIKE :5
OR INSTANCE_NUMBER LIKE :6
OR INSTANCE_NUMBER LIKE :7)))
Second Go click when displaying error
WHERE (current_organization_id = :2
AND (UPPER (INSTANCE_NUMBER) LIKE UPPER (:3)
AND (INSTANCE_NUMBER LIKE :4
OR INSTANCE_NUMBER LIKE :5
OR INSTANCE_NUMBER LIKE :6
OR INSTANCE_NUMBER LIKE :7)))
There is not difference in fist run and second run.
Edited by: Aamir Mughal on Mar 2, 2011 9:01 PM -
I am deploying my application components on Oracle RAC database, when i install my app component i will run a script which creates a user and tablespace on bot rac-nodes(node1 and node2)
as database is clustered, the user are created on 2 nodes and tablespace is stored in a shared location for two rac nodes
i am able to successfully run my script on rac-node1 and and installed my component and when i started installing the app component on node2 getting error
java.sql.SQLException: ORA-01157: cannot identify/lock data file 7 - see DBWR trace file
ORA-01110: data file 7: '/db/db/db/ora10g/10.2.0/admin/dbadmin_01.dbf'
ORA-06512: at "ADMIN.XL_SP_DBCHECK", line 48
ORA-06512: at line 1
"dbadmin_01.dbf is the custom tablespace which created by me"
i a mgetting error while installing the app component on rac-node2You should not create database files outside of the ASM.
I'm not sure you can move the datafile, I would export the data from the tablespace (if there is data you need there), delete the tablespace and recreate it in the ASM, then import the data back.
If you want to move the datafile, you can try using RMAN (from node1).
First connect to the database with sqlplus and execute:
alter tablespace <tbs_name> offline;Then start RMAN: rman target /
BACKUP AS COPY DATAFILE '<file>' FORMAT '+<ASM_DG>';Then in sqlplus, execute:
alter tablespace <tbs_name> online;I'm not sure it will work, and I hope I got the commands right because I can't check it right now.
Good luck
Liron Amitzi
Senior DBA consultant
[www.dbsnaps.com]
[www.orbiumsoftware.com] -
My datafiles are in ASM file system, however the only one file ACIPEN_DATA is the one, which is not in ASM file system, and this the file which is in concern.
We are getting the following exception in the lxkratgas1.lex1.lexmark.com when connecting to ACIPEN_DATA.
This exception is coming up sometimes and the sometimes the file is getting processed successfully
Caused by: java.sql.SQLException: ORA-01157: cannot identify/lock data file 9 - see DBWR trace file
ORA-01110: data file 9: '/oracle/SE/product/10.2.0/db_1/dbs/ACIPEN_DATA'
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:112)
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:331)
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:288)
at oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:743)
at oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:216)
at oracle.jdbc.driver.T4CPreparedStatement.executeForRows(T4CPreparedStatement.java:955)
at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1169)
at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3285)
at oracle.jdbc.driver.OraclePreparedStatement.executeUpdate(OraclePreparedStatement.java:3368)
at org.jboss.resource.adapter.jdbc.WrappedPreparedStatement.executeUpdate(WrappedPreparedStatement.java:278)
at atg.adapter.gsa.SQLStatement.executeUpdate(SQLStatement.java:725)
at atg.adapter.gsa.Table.insert(Table.java:1378)
at atg.adapter.gsa.GSAItemDescriptor.addItem(GSAItemDescriptor.java:6272)
... 61 more
====================================================================
We have checked the datafile, it is absolutely online.
Can some expert jump in and resolve this issue Please.01157, 00000, "cannot identify/lock data file %s - see DBWR trace file"
// *Cause: The background process was either unable to find one of the data
// files or failed to lock it because the file was already in use.
// The database will prohibit access to this file but other files will
// be unaffected. However the first instance to open the database will
// need to access all online data files. Accompanying error from the
// operating system describes why the file could not be identified.
// *Action: Have operating system make file available to database. Then either
// open the database or do ALTER SYSTEM CHECK DATAFILES.is this a RAC database? -
Error in simple SOA Composite - "java.sql.SQLException: No suitable driver"
I have created a sample project that reads XML files using a file adapter and inserts into the database using a database adapter.
When I run the composite, I get the following error:
Dec 11, 2008 10:44:06 AM oracle.integration.platform.blocks.adapter.fw.log.LogManagerImpl log
WARNING: JCABinding=> JCABinding=> ReadEmpLoaction:InsertData [InsertData_ptt::insert(EmployeeTrackingCollection)|http://forums.oracle.com/forums/]JNDI lookup of 'eis/DB/Connection1' failed due to: eis/DB/Connection1 not found
Dec 11, 2008 10:44:09 AM oracle.integration.platform.blocks.adapter.fw.log.LogManagerImpl log
WARNING: Database Adapter ReadEmpLoaction:InsertData [InsertData_ptt::insert(EmployeeTrackingCollection)|http://forums.oracle.com/forums/]
java.sql.SQLException: No suitable driver
bq. at java.sql.DriverManager.getConnection(DriverManager.java:545) \\ at java.sql.DriverManager.getConnection(DriverManager.java:140) \\ at oracle.toplink.sessions.DefaultConnector.connect(DefaultConnector.java:76) \\ at oracle.toplink.sessions.DatasourceLogin.connectToDatasource(DatasourceLogin.java:153) \\ at oracle.toplink.internal.databaseaccess.DatasourceAccessor.connectInternal(DatasourceAccessor.java:273) \\ at oracle.toplink.internal.databaseaccess.DatabaseAccessor.connectInternal(DatabaseAccessor.java:230) \\ at oracle.toplink.internal.databaseaccess.DatasourceAccessor.connect(DatasourceAccessor.java:350) \\ at oracle.toplink.threetier.ConnectionPool.buildConnection(ConnectionPool.java:117) \\ at oracle.toplink.threetier.ConnectionPool.startUp(ConnectionPool.java:354) \\ at oracle.toplink.threetier.ServerSession.connect(ServerSession.java:425) \\ at oracle.toplink.internal.sessions.DatabaseSessionImpl.login(DatabaseSessionImpl.java:607) \\ at oracle.tip.adapter.db.DBManagedConnectionFactory.createServerSession(DBManagedConnectionFactory.java:1185) \\ at oracle.tip.adapter.db.DBManagedConnectionFactory.acquireSession(DBManagedConnectionFactory.java:505) \\ at oracle.tip.adapter.db.transaction.DBTransaction.getSession(DBTransaction.java:458) \\ at oracle.tip.adapter.db.DBConnection.getSession(DBConnection.java:235) \\ at oracle.tip.adapter.db.DBInteraction.executeOutboundWrite(DBInteraction.java:726) \\ at oracle.tip.adapter.db.DBInteraction.execute(DBInteraction.java:226) \\ at oracle.integration.platform.blocks.adapter.fw.jca.cci.JCAInteractionInvoker.executeJcaInteraction(JCAInteractionInvoker.java:298) \\ at oracle.integration.platform.blocks.adapter.fw.jca.cci.JCAInteractionInvoker.invokeJcaReference(JCAInteractionInvoker.java:509) \\ at oracle.integration.platform.blocks.adapter.fw.jca.cci.JCAInteractionInvoker.invokeAsyncJcaReference(JCAInteractionInvoker.java:493) \\ at oracle.integration.platform.blocks.adapter.fw.jca.cci.JCAEndpointInteraction.performAsynchronousInteraction(JCAEndpointInteraction.java:429) \\ at oracle.integration.platform.blocks.adapter.AdapterReference.post(AdapterReference.java:193) \\ at oracle.integration.platform.blocks.mesh.AsynchronousMessageHandler.doPost(AsynchronousMessageHandler.java:153) \\ at oracle.integration.platform.blocks.mesh.MessageRouter.post(MessageRouter.java:152) \\ at oracle.integration.platform.blocks.mesh.MeshImpl.post(MeshImpl.java:159) \\ at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) \\ at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) \\ at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) \\ at java.lang.reflect.Method.invoke(Method.java:585) \\ at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:296) \\ at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:177) \\ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:144) \\ at oracle.integration.platform.metrics.PhaseEventAspect.invoke(PhaseEventAspect.java:71) \\ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:166) \\ at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) \\ at $Proxy70.post(Unknown Source) \\ at oracle.tip.mediator.serviceEngine.MediatorServiceEngine.post2Mesh(MediatorServiceEngine.java:705) \\ at oracle.tip.mediator.service.BaseActionHandler.requestProcess(BaseActionHandler.java:164) \\ at oracle.tip.mediator.service.BaseActionHandler.requestProcess(BaseActionHandler.java:79) \\ at oracle.tip.mediator.service.BaseActionHandler.requestProcess(BaseActionHandler.java:53) \\ at oracle.tip.mediator.service.OneWayActionHandler.oneWayRequestProcess(OneWayActionHandler.java:67) \\ at oracle.tip.mediator.service.OneWayActionHandler.process(OneWayActionHandler.java:34) \\ at oracle.tip.mediator.service.ActionProcessor.onMessage(ActionProcessor.java:61) \\ at oracle.tip.mediator.dispatch.MessageDispatcher.executeCase(MessageDispatcher.java:103) \\ at oracle.tip.mediator.dispatch.InitialMessageDispatcher.processCase(InitialMessageDispatcher.java:465) \\ at oracle.tip.mediator.dispatch.InitialMessageDispatcher.processCases(InitialMessageDispatcher.java:361) \\ at oracle.tip.mediator.dispatch.InitialMessageDispatcher.processCases(InitialMessageDispatcher.java:254) \\ at oracle.tip.mediator.dispatch.InitialMessageDispatcher.dispatch(InitialMessageDispatcher.java:149) \\ at oracle.tip.mediator.serviceEngine.MediatorServiceEngine.process(MediatorServiceEngine.java:533) \\ at oracle.tip.mediator.serviceEngine.MediatorServiceEngine.post(MediatorServiceEngine.java:634) \\ at oracle.integration.platform.blocks.mesh.AsynchronousMessageHandler.doPost(AsynchronousMessageHandler.java:138) \\ at oracle.integration.platform.blocks.mesh.MessageRouter.post(MessageRouter.java:152) \\ at oracle.integration.platform.blocks.mesh.MeshImpl.post(MeshImpl.java:159) \\ at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) \\ at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) \\ at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) \\ at java.lang.reflect.Method.invoke(Method.java:585) \\ at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:296) \\ at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:177) \\ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:144) \\ at oracle.integration.platform.metrics.PhaseEventAspect.invoke(PhaseEventAspect.java:59) \\ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:166) \\ at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) \\ at $Proxy70.post(Unknown Source) \\ at oracle.integration.platform.blocks.adapter.fw.jca.mdb.AdapterServiceMDB.onMessage(AdapterServiceMDB.java:574) \\ at oracle.integration.platform.blocks.adapter.fw.jca.messageinflow.MessageEndpointImpl.onMessage(MessageEndpointImpl.java:295) \\ at oracle.tip.adapter.file.inbound.ProcessWork.publishMessage(ProcessWork.java:2127) \\ at oracle.tip.adapter.file.inbound.ProcessWork.doTranslation(ProcessWork.java:1719) \\ at oracle.tip.adapter.file.inbound.ProcessWork.translateAndPublish(ProcessWork.java:677) \\ at oracle.tip.adapter.file.inbound.ProcessWork.run(ProcessWork.java:320) \\ at oracle.integration.platform.blocks.adapter.fw.jca.work.WorkerJob.go(WorkerJob.java:51) \\ at oracle.integration.platform.blocks.adapter.fw.common.ThreadPool.run(ThreadPool.java:283) \\ at java.lang.Thread.run(Thread.java:595)
I have created ADF projects using the same database (Oracle XE) and they work fine. Its only this composite, which is complaining of "No suitable driver" exception.
I found a post very similar to mine -> Composite is failing
So I went and checked my parameters. Here's what I found:-
SQL> show parameter sessions
NAME TYPE VALUE
java_max_sessionspace_size integer 0
java_soft_sessionspace_limit integer 0
license_max_sessions integer 0
license_sessions_warning integer 0
logmnr_max_persistent_sessions integer 1
sessions integer 170
shared_server_sessions integer
SQL> show parameter processes
NAME TYPE VALUE
aq_tm_processes integer 0
db_writer_processes integer 1
gcs_server_processes integer 0
job_queue_processes integer 4
log_archive_max_processes integer 2
processes integer 150
So parameters is not the issue here.
Edited by: user8028667 on Dec 11, 2008 10:52 AM
Edited by: user8028667 on Dec 11, 2008 11:40 AMI ran the sample that you pointed out and unfortunately got the same error in the log: "java.sql.SQLException: No suitable driver" along with a bunch of others as well. You will have to scroll down to see the No suitable driver exception.
But here's the weird part - the output is as expected: VALID and INVALID depending on the Credit card number I supply. Which means the database is reachable.
The only difference is that the example performs a SELECT operation, whereas I am trying to perform an INSERT operation. Also I have a for-each node in the XSL and I am inserting multiple records from an XML to the Database.
Here's the log for your inspection:
bq. SEVERE: Exception creating custom component loader \\ java.lang.IllegalStateException: ClassLoader "default.composite.ReadEmpLoaction.2008-12-07_16-00-12_609" (from Application component in user-defined-origin): A loader with this name and version already exists, from Application component in user-defined-origin. \\ at oracle.classloader.util.ClassLoadAsserts.fail(ClassLoadAsserts.java:167) \\ at oracle.classloader.PolicyClassLoaderSet$LoaderList.insert(PolicyClassLoaderSet.java:164) \\ at oracle.classloader.PolicyClassLoaderSet.add(PolicyClassLoaderSet.java:294) \\ at oracle.classloader.ConfigurationPolicy.configure(ConfigurationPolicy.java:447) \\ at oracle.classloader.PolicyClassLoader.<init>(PolicyClassLoader.java:466) \\ at oracle.classloader.PolicyClassLoader.<init>(PolicyClassLoader.java:417) \\ at oracle.classloader.util.ClassLoaderUtilities.createClassLoader(ClassLoaderUtilities.java:155) \\ at oracle.fabric.composite.CompositePolicyClassLoaderImpl.<init>(CompositePolicyClassLoaderImpl.java:28) \\ at oracle.fabric.composite.model.CompositeModel.getCompositeClassloader(CompositeModel.java:241) \\ at oracle.integration.platform.blocks.deploy.DeploymentConnection.deploy(DeploymentConnection.java:58) \\ at oracle.integration.platform.blocks.deploy.CompositeDeployerImpl.deploy(CompositeDeployerImpl.java:90) \\ at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) \\ at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) \\ at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) \\ at java.lang.reflect.Method.invoke(Method.java:585) \\ at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:296) \\ at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:177) \\ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:144) \\ at oracle.integration.platform.blocks.deploy.DeploymentEventPublisher.invoke(DeploymentEventPublisher.java:30) \\ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:166) \\ at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:107) \\ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:166) \\ at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) \\ at $Proxy71.deploy(Unknown Source) \\ at oracle.integration.platform.blocks.deploy.DeployedCompositesManagerImpl.makeDeploymentChanges(DeployedCompositesManagerImpl.java:376) \\ at oracle.integration.platform.blocks.deploy.DeployedCompositesManagerImpl.processDeployedCompositesModel(DeployedCompositesManagerImpl.java:232) \\ at oracle.integration.platform.blocks.deploy.DeployedCompositesManagerImpl.processDeployedCompositesModel(DeployedCompositesManagerImpl.java:238) \\ at oracle.integration.platform.blocks.deploy.OC4JApplicationListener.documentChanged(OC4JApplicationListener.java:135) \\ at oracle.integration.platform.blocks.deploy.OC4JApplicationListener.documentAdded(OC4JApplicationListener.java:85) \\ at oracle.as.config.notification.oc4j.OC4JWatchingDocumentChangeNotifier$OC4JChangeListener.documentAdded(OC4JWatchingDocumentChangeNotifier.java:154) \\ at oracle.as.config.notification.filesystem.WatchingDocumentChangeNotifier.checkUsingListeners(WatchingDocumentChangeNotifier.java:197) \\ at oracle.as.config.notification.filesystem.WatchingDocumentChangeNotifier.checkFiles(WatchingDocumentChangeNotifier.java:125) \\ at oracle.as.config.notification.filesystem.WatchingDocumentChangeNotifier.run(WatchingDocumentChangeNotifier.java:114) \\ at java.lang.Thread.run(Thread.java:595) \\ 08/12/12 13:55:27 SEVERE: HttpRequestHandler.run Exception: java.lang.IllegalStateException: This DMSMetricController is not started.Phase event info: WEBs:processRequest soa-console:processRequest \\ at com.evermind.server.http.DMSMetricController.abort(DMSMetricController.java:115) \\ at com.evermind.server.http.EvermindHttpServletRequest.dmsAbort(EvermindHttpServletRequest.java:268) \\ at com.evermind.server.http.HttpRequestHandler.dmsProcRequestDone(HttpRequestHandler.java:358) \\ at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:425) \\ at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:189) \\ at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:163) \\ at oracle.oc4j.network.ServerSocketReadHandler$ClientRunnable.run(ServerSocketReadHandler.java:275) \\ at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650) \\ at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675) \\ at java.lang.Thread.run(Thread.java:595) \\ Dec 12, 2008 1:55:29 PM oracle.classloader.util.ClassLoaderUtilities createClassLoader \\ SEVERE: Exception creating custom component loader \\ java.lang.IllegalStateException: ClassLoader "default.composite.ReadEmpLoaction.2008-12-07_16-00-12_609" (from Application component in user-defined-origin): A loader with this name and version already exists, from Application component in user-defined-origin. \\ at oracle.classloader.util.ClassLoadAsserts.fail(ClassLoadAsserts.java:167) \\ at oracle.classloader.PolicyClassLoaderSet$LoaderList.insert(PolicyClassLoaderSet.java:164) \\ at oracle.classloader.PolicyClassLoaderSet.add(PolicyClassLoaderSet.java:294) \\ at oracle.classloader.ConfigurationPolicy.configure(ConfigurationPolicy.java:447) \\ at oracle.classloader.PolicyClassLoader.<init>(PolicyClassLoader.java:466) \\ at oracle.classloader.PolicyClassLoader.<init>(PolicyClassLoader.java:417) \\ at oracle.classloader.util.ClassLoaderUtilities.createClassLoader(ClassLoaderUtilities.java:155) \\ at oracle.fabric.composite.CompositePolicyClassLoaderImpl.<init>(CompositePolicyClassLoaderImpl.java:28) \\ at oracle.fabric.composite.model.CompositeModel.getCompositeClassloader(CompositeModel.java:241) \\ at oracle.integration.platform.blocks.deploy.DeploymentConnection.deploy(DeploymentConnection.java:58) \\ at oracle.integration.platform.blocks.deploy.CompositeDeployerImpl.deploy(CompositeDeployerImpl.java:90) \\ at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) \\ at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) \\ at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) \\ at java.lang.reflect.Method.invoke(Method.java:585) \\ at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:296) \\ at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:177) \\ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:144) \\ at oracle.integration.platform.blocks.deploy.DeploymentEventPublisher.invoke(DeploymentEventPublisher.java:30) \\ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:166) \\ at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:107) \\ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:166) \\ at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) \\ at $Proxy71.deploy(Unknown Source) \\ at oracle.integration.platform.blocks.deploy.DeployedCompositesManagerImpl.makeDeploymentChanges(DeployedCompositesManagerImpl.java:376) \\ at oracle.integration.platform.blocks.deploy.DeployedCompositesManagerImpl.processDeployedCompositesModel(DeployedCompositesManagerImpl.java:232) \\ at oracle.integration.platform.blocks.deploy.DeployedCompositesManagerImpl.processDeployedCompositesModel(DeployedCompositesManagerImpl.java:238) \\ at oracle.integration.platform.blocks.deploy.OC4JDeploymentListener.documentChanged(OC4JDeploymentListener.java:124) \\ at oracle.as.config.notification.oc4j.OC4JWatchingDocumentChangeNotifier$OC4JChangeListener.documentChanged(OC4JWatchingDocumentChangeNotifier.java:172) \\ at oracle.as.config.notification.filesystem.WatchingDocumentChangeNotifier.checkUsingListeners(WatchingDocumentChangeNotifier.java:182) \\ at oracle.as.config.notification.filesystem.WatchingDocumentChangeNotifier.checkFiles(WatchingDocumentChangeNotifier.java:125) \\ at oracle.as.config.notification.filesystem.WatchingDocumentChangeNotifier.run(WatchingDocumentChangeNotifier.java:114) \\ at java.lang.Thread.run(Thread.java:595) \\ Dec 12, 2008 1:55:29 PM oracle.classloader.util.ClassLoaderUtilities createClassLoader \\ 08/12/12 13:55:45 SEVERE: HttpRequestHandler.run Exception: java.lang.IllegalStateException: This DMSMetricController is not started.Phase event info: WEBs:processRequest soa-console:processRequest \\ at com.evermind.server.http.DMSMetricController.abort(DMSMetricController.java:115) \\ at com.evermind.server.http.EvermindHttpServletRequest.dmsAbort(EvermindHttpServletRequest.java:268) \\ at com.evermind.server.http.HttpRequestHandler.dmsProcRequestDone(HttpRequestHandler.java:358) \\ at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:425) \\ at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:189) \\ at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:163) \\ at oracle.oc4j.network.ServerSocketReadHandler$ClientRunnable.run(ServerSocketReadHandler.java:275) \\ at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650) \\ at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675) \\ at java.lang.Thread.run(Thread.java:595) \\ Dec 12, 2008 1:56:05 PM oracle.integration.platform.blocks.adapter.fw.log.LogManagerImpl log \\ WARNING: JCABinding=> JCABinding=> validationForCC:getCreditValidation getCreditValidation_ptt::getCreditValidationSelect(getCreditValidationSelect_inputParameters,CreditcardinfoCollection) JNDI lookup of 'eis/DB/soademoDatabase' failed due to: eis/DB/soademoDatabase not found \\ Dec 12, 2008 1:56:05 PM oracle.integration.platform.blocks.adapter.fw.log.LogManagerImpl log \\ WARNING: Database Adapter validationForCC:getCreditValidation getCreditValidation_ptt::getCreditValidationSelect(getCreditValidationSelect_inputParameters,CreditcardinfoCollection) \\ java.sql.SQLException: No suitable driver \\ at java.sql.DriverManager.getConnection(DriverManager.java:545) \\ at java.sql.DriverManager.getConnection(DriverManager.java:140) \\ at oracle.toplink.sessions.DefaultConnector.connect(DefaultConnector.java:76) \\ at oracle.toplink.sessions.DatasourceLogin.connectToDatasource(DatasourceLogin.java:153) \\ at oracle.toplink.internal.databaseaccess.DatasourceAccessor.connectInternal(DatasourceAccessor.java:273) \\ at oracle.toplink.internal.databaseaccess.DatabaseAccessor.connectInternal(DatabaseAccessor.java:230) \\ at oracle.toplink.internal.databaseaccess.DatasourceAccessor.connect(DatasourceAccessor.java:350) \\ at oracle.toplink.threetier.ConnectionPool.buildConnection(ConnectionPool.java:117) \\ at oracle.toplink.threetier.ConnectionPool.startUp(ConnectionPool.java:354) \\ at oracle.toplink.threetier.ServerSession.connect(ServerSession.java:425) \\ at oracle.toplink.internal.sessions.DatabaseSessionImpl.login(DatabaseSessionImpl.java:607) \\ at oracle.tip.adapter.db.DBManagedConnectionFactory.createServerSession(DBManagedConnectionFactory.java:1185) \\ at oracle.tip.adapter.db.DBManagedConnectionFactory.acquireSession(DBManagedConnectionFactory.java:505) \\ at oracle.tip.adapter.db.transaction.DBTransaction.getSession(DBTransaction.java:458) \\ at oracle.tip.adapter.db.DBConnection.getSession(DBConnection.java:235) \\ at oracle.tip.adapter.db.DBInteraction.executeOutboundRead(DBInteraction.java:317) \\ at oracle.tip.adapter.db.DBInteraction.execute(DBInteraction.java:219) \\ at oracle.integration.platform.blocks.adapter.fw.jca.cci.JCAInteractionInvoker.executeJcaInteraction(JCAInteractionInvoker.java:298) \\ at oracle.integration.platform.blocks.adapter.fw.jca.cci.JCAInteractionInvoker.invokeJcaReference(JCAInteractionInvoker.java:509) \\ at oracle.integration.platform.blocks.adapter.fw.jca.cci.JCAInteractionInvoker.invokeSyncJcaReference(JCAInteractionInvoker.java:484) \\ at oracle.integration.platform.blocks.adapter.fw.jca.cci.JCAEndpointInteraction.performSynchronousInteraction(JCAEndpointInteraction.java:411) \\ at oracle.integration.platform.blocks.adapter.AdapterReference.request(AdapterReference.java:123) \\ at oracle.integration.platform.blocks.mesh.SynchronousMessageHandler.doRequest(SynchronousMessageHandler.java:155) \\ at oracle.integration.platform.blocks.mesh.MessageRouter.request(MessageRouter.java:137) \\ at oracle.integration.platform.blocks.mesh.MeshImpl.request(MeshImpl.java:101) \\ at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) \\ at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) \\ at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) \\ at java.lang.reflect.Method.invoke(Method.java:585) \\ at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:296) \\ at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:177) \\ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:144) \\ at oracle.integration.platform.metrics.PhaseEventAspect.invoke(PhaseEventAspect.java:71) \\ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:166) \\ at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) \\ Dec 12, 2008 1:56:05 PM oracle.integration.platform.blocks.adapter.fw.log.LogManagerImpl log \\ WARNING: Database Adapter validationForCC:getCreditValidation getCreditValidation_ptt::getCreditValidationSelect(getCreditValidationSelect_inputParameters,CreditcardinfoCollection) \\ java.sql.SQLException: No suitable driver \\ at java.sql.DriverManager.getConnection(DriverManager.java:545) \\ at java.sql.DriverManager.getConnection(DriverManager.java:140) \\ at oracle.toplink.sessions.DefaultConnector.connect(DefaultConnector.java:76) \\ at oracle.toplink.sessions.DatasourceLogin.connectToDatasource(DatasourceLogin.java:153) \\ at oracle.toplink.internal.databaseaccess.DatasourceAccessor.connectInternal(DatasourceAccessor.java:273) \\ at oracle.toplink.internal.databaseaccess.DatabaseAccessor.connectInternal(DatabaseAccessor.java:230) \\ at oracle.toplink.internal.databaseaccess.DatasourceAccessor.connect(DatasourceAccessor.java:350) \\ at oracle.toplink.threetier.ConnectionPool.buildConnection(ConnectionPool.java:117) \\ at oracle.toplink.threetier.ConnectionPool.startUp(ConnectionPool.java:354) \\ at oracle.toplink.threetier.ServerSession.connect(ServerSession.java:430) \\ at oracle.toplink.internal.sessions.DatabaseSessionImpl.login(DatabaseSessionImpl.java:607) \\ at oracle.tip.adapter.db.DBManagedConnectionFactory.createServerSession(DBManagedConnectionFactory.java:1185) \\ at oracle.tip.adapter.db.DBManagedConnectionFactory.acquireSession(DBManagedConnectionFactory.java:505) \\ at oracle.tip.adapter.db.transaction.DBTransaction.getSession(DBTransaction.java:458) \\ at oracle.tip.adapter.db.DBConnection.getSession(DBConnection.java:235) \\ at oracle.tip.adapter.db.DBInteraction.executeOutboundRead(DBInteraction.java:317) \\ at oracle.tip.adapter.db.DBInteraction.execute(DBInteraction.java:219) \\ at oracle.integration.platform.blocks.adapter.fw.jca.cci.JCAInteractionInvoker.executeJcaInteraction(JCAInteractionInvoker.java:298) \\ at oracle.integration.platform.blocks.adapter.fw.jca.cci.JCAInteractionInvoker.invokeJcaReference(JCAInteractionInvoker.java:509) \\ at oracle.integration.platform.blocks.adapter.fw.jca.cci.JCAInteractionInvoker.invokeSyncJcaReference(JCAInteractionInvoker.java:484) \\ at oracle.integration.platform.blocks.adapter.fw.jca.cci.JCAEndpointInteraction.performSynchronousInteraction(JCAEndpointInteraction.java:411) \\ at oracle.integration.platform.blocks.adapter.AdapterReference.request(AdapterReference.java:123) \\ at oracle.integration.platform.blocks.mesh.SynchronousMessageHandler.doRequest(SynchronousMessageHandler.java:155) \\ at oracle.integration.platform.blocks.mesh.MessageRouter.request(MessageRouter.java:137) \\ at oracle.integration.platform.blocks.mesh.MeshImpl.request(MeshImpl.java:101) \\ at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) \\ at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) \\ at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) \\ at java.lang.reflect.Method.invoke(Method.java:585) \\ at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:296) \\ at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:177) \\ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:144) \\ at oracle.integration.platform.metrics.PhaseEventAspect.invoke(PhaseEventAspect.java:71) \\ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:166) \\ at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) -
Hi
I'm migrate from MS SQL 2005 to Oracle 11g using SQL Developer V3.0.04
Trying to use the batch file migration.bat. Found the documentation with migration -help=guide
Every action I start results in the SQLException below:
D:\oracle\product\sqldeveloper_3.0.04\sqldeveloper\sqldeveloper\bin>migration -actions=mkconn -connDetails=super_oracle:oracle:system/manager@xxxxxxxx:1521/mps
Error: java.sql.SQLException: Invalid connection information specified.
Verify the URL format for the specified driver.
HELP:
Running the command with -output=d:\migr creates a logfile with the same error message.
If I run the login credential with sqlplus system/manager@xxxxxxxx:1521/mps, I manage to connect to the database.
I assume the help is wrong specifying host:port:sid. I think host:port/sid is correct, at least with sqlplus this works
If I do a migration with sqldeveloper it works too.
I'm lost at this point. Any advise is appreciated.
Thanks a lot
BeatHi
In SQL Developer, did you already create a connection to the Oracle database storing the Migration Repository?
Yes
I do:
migration -action=init -conn=MyRepositoryDB
HELP:
Syntax:
Migration -help|-h=<actions> to get help on one or more actions.
where
+<actions> could be one or more (comma separated list) actions or guide+
guide provides a walk through of a typical migration
Examples:
Migration -help=capture
Migration -h=capture,convert
Migration -h=guide
The message: init completed successfully is missing. Only HELP:.......... is showing up
The same if I do now:
D:\oracle\product\sqldeveloper_3.0.04\sqldeveloper\sqldeveloper\bin>migration -action=lsconn
HELP:
Syntax:
Migration -help|-h=<actions> to get help on one or more actions.
where
+<actions> could be one or more (comma separated list) actions or guide+
guide provides a walk through of a typical migration
Examples:
Migration -help=capture
Migration -h=capture,convert
Migration -h=guide
Valid actions:
capture, convert, datamove, delcaptured, delconn, delconverted, driver, generate, guide, idmap, info, init, ls
m, runsql, scan and translate
D:\oracle\product\sqldeveloper_3.0.04\sqldeveloper\sqldeveloper\bin>
Only HELP:.......... is showing up -
Java.sql.SQLException: Error while trying to retrieve text for error ORA-24
Hi All,
Am having serious problem with ORA-24327 and the behavior is very very unpredictable. I have couple of environment where the same error comes in different context. The recent one was surprising. I have describe bellow the environment configuration and the stack trace. The error which surprised me was when I use type � 3 driver while starting weblogic I get ORA �24327 but when I use Type �4 it starts properly. If you could kindly provide solution it would be great help. I would also appreciate if u can provide information which driver to use where performance is the major concern. I would also appreciate if u could provide feed-back from the industry about booth the driver. Apart from that I have couple have environment where it occurs when 10/12 user access simultaneously. All the open connection is closed in program properly still am getting the error.
Thanks in anticipation.
Cheers,
Tapas
Environment
OS - SunOS 5.8 Generic_108528-07 sun4u sparc SUNW,Ultra-Enterprise
JDK - Solaris VM (build Solaris_JDK_1.2.2_07, native threads, sunwjit)
Weblogic - 5.1.0 Service Pack 9 04/05/2001 14:59:53 #105983
Oracle � 8.1.6
Delaying 10 seconds before making a beuatpool pool connection.
Pool 1 (Type �3 )
weblogic.jdbc.connectionPool.beuatpool=\
url=jdbc:weblogic:oracle,\
driver=weblogic.jdbc.oci.Driver,\
loginDelaySecs=10,\
initialCapacity=10,\
maxCapacity=20,\
capacityIncrement=2,\
allowShrinking=true,\
shrinkPeriodMins=10,\
refreshMinutes=10,\
testTable=dual,\
props=user=xxx;password=xxx;server=xxxx
Pool 2(Type �4)
weblogic.jdbc.connectionPool.thinPool=\
url=jdbc:oracle:thin:@xxx:1521:xxx,\
driver=oracle.jdbc.driver.OracleDriver,\
loginDelaySecs=1,\
initialCapacity=1,\
maxCapacity=10,\
capacityIncrement=1,\
allowShrinking=true,\
shrinkPeriodMins=15,\
refreshMinutes=15,\
testTable=dual,\
props=user=xxx;password=xxx;server=xxx:1521:xxx
allow=everyone
---------- LOGIN ERROR CODE: 24327
java.sql.SQLException: Error while trying to retrieve text for error ORA-24327 �
at java.lang.Throwable.fillInStackTrace(Native Method)
at java.lang.Throwable.fillInStackTrace(Compiled Code)
at java.lang.Throwable.<init>(Compiled Code)
at java.lang.Exception.<init>(Compiled Code)
at java.sql.SQLException.<init>(SQLException.java:43)
at weblogic.db.oci.OciConnection.getLDAException(OciConnection.java:143)
at weblogic.jdbcbase.oci.Driver.connect(Driver.java:157)
at weblogic.jdbc.common.internal.ConnectionEnvFactory.makeConnection(Con
nectionEnvFactory.java:149)
at weblogic.jdbc.common.internal.ConnectionEnvFactory.createResource(Con
nectionEnvFactory.java:109)
at weblogic.common.internal.ResourceAllocator.makeResources(Compiled Cod
e)
at weblogic.common.internal.ResourceAllocator.<init>(Compiled Code)
at weblogic.jdbc.common.internal.ConnectionPool.startup(ConnectionPool.j
ava:330)
at weblogic.jdbc.common.internal.JdbcInfo.initPools(Compiled Code)
at weblogic.jdbc.common.internal.JdbcInfo.startup(JdbcInfo.java:200)
at weblogic.jdbc.common.internal.JdbcStartup.main(JdbcStartup.java:11)
at java.lang.reflect.Method.invoke(Native Method)
at weblogic.t3.srvr.StartupThread.runMain(StartupThread.java:219)
at weblogic.t3.srvr.StartupThread.doWork(Compiled Code)
at weblogic.t3.srvr.PropertyExecuteThread.run(PropertyExecuteThread.java
:62)
---------- LOGIN ERROR CODE: 24327
---------- LOGIN ERROR CODE: 24327
Fri Aug 31 00:57:22 GMT-05:00 2001:<I> <JDBC Pool> Sleeping in createResource()
Fri Aug 31 00:57:23 GMT-05:00 2001:<E> <JDBC Pool> Failed to create connection p
ool "beuatpool"
weblogic.common.ResourceException: weblogic.common.ResourceException:
Could not create pool connection. The DBMS driver exception was:
java.sql.SQLException: Error while trying to retrieve text for error ORA-24327 -
at java.lang.Throwable.fillInStackTrace(Native Method)
at java.lang.Throwable.fillInStackTrace(Compiled Code)
at java.lang.Throwable.<init>(Compiled Code)
at java.lang.Exception.<init>(Compiled Code)
at java.sql.SQLException.<init>(SQLException.java:43)
at weblogic.db.oci.OciConnection.getLDAException(OciConnection.java:143)
at weblogic.jdbcbase.oci.Driver.connect(Driver.java:157)
at java.sql.DriverManager.getConnection(Compiled Code)
at java.sql.DriverManager.getConnection(DriverManager.java:137)
at weblogic.jdbc.common.internal.ConnectionEnvFactory.makeConnection(Con
nectionEnvFactory.java:172)
at weblogic.jdbc.common.internal.ConnectionEnvFactory.createResource(Con
nectionEnvFactory.java:109)
at weblogic.common.internal.ResourceAllocator.makeResources(Compiled Cod
e)
at weblogic.common.internal.ResourceAllocator.<init>(Compiled Code)
at weblogic.jdbc.common.internal.ConnectionPool.startup(ConnectionPool.j
ava:330)
at weblogic.jdbc.common.internal.JdbcInfo.initPools(Compiled Code)
at weblogic.jdbc.common.internal.JdbcInfo.startup(JdbcInfo.java:200)
at weblogic.jdbc.common.internal.JdbcStartup.main(JdbcStartup.java:11)
at java.lang.reflect.Method.invoke(Native Method)
at weblogic.t3.srvr.StartupThread.runMain(StartupThread.java:219)
at weblogic.t3.srvr.StartupThread.doWork(Compiled Code)
at weblogic.t3.srvr.PropertyExecuteThread.run(PropertyExecuteThread.java
:62)
at java.lang.Throwable.fillInStackTrace(Native Method)
at java.lang.Throwable.fillInStackTrace(Compiled Code)
at java.lang.Throwable.<init>(Compiled Code)
at java.lang.Exception.<init>(Compiled Code)
at weblogic.common.ResourceException.<init>(ResourceException.java:18)
at weblogic.jdbc.common.internal.ConnectionEnvFactory.makeConnection(Con
nectionEnvFactory.java:182)
at weblogic.jdbc.common.internal.ConnectionEnvFactory.createResource(Con
nectionEnvFactory.java:109)
at weblogic.common.internal.ResourceAllocator.makeResources(Compiled Cod
e)
at weblogic.common.internal.ResourceAllocator.<init>(Compiled Code)
at weblogic.jdbc.common.internal.ConnectionPool.startup(ConnectionPool.j
ava:330)
at weblogic.jdbc.common.internal.JdbcInfo.initPools(Compiled Code)
at weblogic.jdbc.common.internal.JdbcInfo.startup(JdbcInfo.java:200)
at weblogic.jdbc.common.internal.JdbcStartup.main(JdbcStartup.java:11)
at java.lang.reflect.Method.invoke(Native Method)
at weblogic.t3.srvr.StartupThread.runMain(StartupThread.java:219)
at weblogic.t3.srvr.StartupThread.doWork(Compiled Code)
at weblogic.t3.srvr.PropertyExecuteThread.run(PropertyExecuteThread.java
:62)
at java.lang.Throwable.fillInStackTrace(Native Method)
at java.lang.Throwable.fillInStackTrace(Compiled Code)
at java.lang.Throwable.<init>(Compiled Code)
at java.lang.Exception.<init>(Compiled Code)
at weblogic.common.ResourceException.<init>(ResourceException.java:18)
at weblogic.jdbc.common.internal.ConnectionEnvFactory.createResource(Con
nectionEnvFactory.java:125)
at weblogic.common.internal.ResourceAllocator.makeResources(Compiled Cod
e)
at weblogic.common.internal.ResourceAllocator.<init>(Compiled Code)
at weblogic.jdbc.common.internal.ConnectionPool.startup(ConnectionPool.j
ava:330)
at weblogic.jdbc.common.internal.JdbcInfo.initPools(Compiled Code)
at weblogic.jdbc.common.internal.JdbcInfo.startup(JdbcInfo.java:200)
at weblogic.jdbc.common.internal.JdbcStartup.main(JdbcStartup.java:11)
at java.lang.reflect.Method.invoke(Native Method)
at weblogic.t3.srvr.StartupThread.runMain(StartupThread.java:219)
at weblogic.t3.srvr.StartupThread.doWork(Compiled Code)
at weblogic.t3.srvr.PropertyExecuteThread.run(PropertyExecuteThread.java
:62)Hi,
I guess you can try some of these:
- Make sure you're not missing an entry inside your tnsnames.ora file. Thin driver does not require the information inside that file, as opposed to Weblogic's OCI driver. If you are able to connect to the DB using a thin driver, then the problem is most probably (WL)driver-related.
- Make sure you've properly configured the DB user / password inside your weblogic.properties (config.xml if WL6+).
- Make sure you're able to access all drivers and classes required (PATH, CLASSPATH, etc...)
- Make sure the OCI driver version you are using is fully compatible with the Oracle (server) version you are pointing to.
- Try to access the DB user through some other client (for instance, SQLPlus*).
Hope this is of some help,
Freddy. -
Java.sql.SQLException: Error in allocating a connection
hi,
I have developed enterprise application using net beans IDE 5.5.I created one enity bean using sql server database.When i tried deploy this project i am getting following error...
Internal Exception: java.sql.SQLException: Error in allocating a connection.
Cause: Class name is wrong or classpath is not set for : com.microsoft.jdbc.sqlserver.SQLServerDataSourceError
can anybody please help me.....where i went wrong...i am new to netbeans IDE
regrds
patelu need to download the three jar files.
download the following jar files and add in ur classpath.
msutil-2000.sp2-lib.jar
msbase-2000.sp2-lib.jar
mssqlserver-2000.sp2-lib.jar
This is sample program...
u can test in standalone first and do in netbeans....
import java.sql.*;
public class querybean {
public String getdata(String sql) {
try {
System.out.println("testing connection ");
Class.forName("com.microsoft.jdbc.sqlserver.SQLServerDriver");
Connection connection = DriverManager.getConnection("jdbc:microsoft:sqlserver://localhost:1433;databaseName=master;user=sa;password=userpass;");
Statement statement = connection.createStatement();
ResultSet rs = statement.executeQuery(sql);
System.out.println("testing connection pooling");
while(rs.next()) {
System.out.println(rs.getString(1));
} catch(Exception e1) {
System.out.println("exception caught" + e1);
return "";
public static void main (String args[]) throws Exception {
querybean qb = new querybean();
qb.getdata("select * from sampletable");
I belive it will work now -
Error While viewing data on XML model- java.sql.SQLException: constante num
I am trying to read an XML file and I keep getting an error. At first it worked, and the it stopped working. I re-did everthing exactly as first time and I cannot get it work
Here is what I do :
1) Create Physical Architecture under the XML Technology.
a) we create a Data Server with these data:
Name: XML_SERIVA_TM_DES
Technology: XML
JDBC Driver: com.sunopsis.jdbc.driver.xml.SnpsXmlDriver
JDBC Url: jdbc:snps:xml?file=c:\Temp\hoy\CRM_CR_CURRENCY.xml&dtd=c:\Temp\hoy\ServiciosSerivaConsultasTypes0.xsd
b) We place the files xml and xsd files according to the JDBC provided in previous point.
We click on "Test Connection" and Connection is correct
c) We create a physical schema under the Data Server created in point a) , with these data:
Name: XML_SERIVA_TM_DES (After created the name is replaced by XML_SERIVA_TM_DES.Esquema)
Schema (Schema) : <No Definido> ( not sure of english value, it should be <Undefined>)
Schema (Work Schema) : <No Definido> ( not sure of english value, it should be <Undefined>)
Default :It is a checkbox , and it is ticked.
Under the "Context" tab, we add a logical schema named XML_SERIVA_TM for the "Desarrollo" Context
2) Create a Model On the Designer Navigator, we expand the "Models" panel
a) For Organization, We create a "Folder" Model. It is named "XML"
b) Under the Folder created in a), we create a new Model , with these data:
Name: XML_SERIVA_TM
Code: XML_SERIVA_TM
Technology: XML
Logical Schema: XML_SERIVA_TM
c) Do reverse-engineering.
In the Reverse tab of the model,
+ "Standard" is selected
+ Context: "Desarrollo"
+ The types of objects to reverse-engineer are: Table
In the Selective reverse tab, we select : New Datastores, Existing Datastores, Objects to reverse.
All the datastores that appear are checked
We click on Reverse Engineer in the toolbar menu
And the reverse engineer is done successfully and the datastores appear in the model panel
d) We try to test the reverse engineering by clicking on the datastores and select "View Data",
after click we get the folloging exception (running with Local agent) :
See com.borland.dx.dataset.DataSetException error code: BASE+66
com.borland.dx.dataset.DataSetException: constante numérica mal escrita
Chained exception:
java.sql.SQLException: constante numérica mal escrita
at org.hsqldb.jdbc.Util.sqlException(Unknown Source)
at org.hsqldb.jdbc.JDBCPreparedStatement.<init>(Unknown Source)
at org.hsqldb.jdbc.JDBCConnection.prepareStatement(Unknown Source)
at com.sunopsis.jdbc.driver.xml.SnpsXmlConnection.prepareStatement(SnpsXmlConnection.java:1192)
at sun.reflect.GeneratedMethodAccessor65.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at oracle.odi.core.datasource.dwgobject.support.OnConnectOnDisconnectDataSourceAdapter$OnDisconnectCommandExecutionHandler.invoke(OnConnectOnDisconnectDataSourceAdapter.java:200)
at $Proxy2.prepareStatement(Unknown Source)
at com.borland.dx.sql.dataset.Database.createPreparedStatement(Unknown Source)
at com.borland.dx.sql.dataset.o.a(Unknown Source)
at com.borland.dx.sql.dataset.o.d(Unknown Source)
at com.borland.dx.sql.dataset.o.f(Unknown Source)
at com.borland.dx.sql.dataset.QueryProvider.e(Unknown Source)
at com.borland.dx.sql.dataset.JdbcProvider.provideData(Unknown Source)
at com.borland.dx.dataset.StorageDataSet.refresh(Unknown Source)
at com.borland.dx.sql.dataset.QueryDataSet.refresh(Unknown Source)
at com.sunopsis.graphical.frame.edit.AbstractEditFrameGridBorland.initialize(AbstractEditFrameGridBorland.java:624)
at com.sunopsis.graphical.frame.edit.AbstractEditFrameGridBorland.<init>(AbstractEditFrameGridBorland.java:864)
at com.sunopsis.graphical.frame.edit.EditFrameTableData.<init>(EditFrameTableData.java:50)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
at oracle.odi.ui.editor.AbstractOdiEditor$1.run(AbstractOdiEditor.java:153)
at oracle.ide.dialogs.ProgressBar.run(ProgressBar.java:655)
at java.lang.Thread.run(Thread.java:662)
Caused by: org.hsqldb.HsqlException: constante numérica mal escrita
at org.hsqldb.error.Error.error(Unknown Source)
at org.hsqldb.error.Error.error(Unknown Source)
at org.hsqldb.ParserBase.read(Unknown Source)
at org.hsqldb.ParserBase.readThis(Unknown Source)
at org.hsqldb.ParserDQL.XreadFromClause(Unknown Source)
at org.hsqldb.ParserDQL.XreadTableExpression(Unknown Source)
at org.hsqldb.ParserDQL.XreadQuerySpecification(Unknown Source)
at org.hsqldb.ParserDQL.XreadSimpleTable(Unknown Source)
at org.hsqldb.ParserDQL.XreadQueryPrimary(Unknown Source)
at org.hsqldb.ParserDQL.XreadQueryTerm(Unknown Source)
at org.hsqldb.ParserDQL.XreadQueryExpressionBody(Unknown Source)
at org.hsqldb.ParserDQL.XreadQueryExpression(Unknown Source)
at org.hsqldb.ParserDQL.compileCursorSpecification(Unknown Source)
at org.hsqldb.ParserCommand.compilePart(Unknown Source)
at org.hsqldb.ParserCommand.compileStatement(Unknown Source)
at org.hsqldb.Session.compileStatement(Unknown Source)
at org.hsqldb.StatementManager.compile(Unknown Source)
at org.hsqldb.Session.execute(Unknown Source)
... 26 more
We also try to create an interface with the datastore of the model as source of the interface, and
get the same exact exception as above, when interfaces in executed either with no-agent(local) or with an agent.
Bellow I pasted the xsd schema and XML data:
CRM_CR_CURRENCY.xml
<?xml version = '1.0' encoding = 'UTF-8'?>
<m:indicadoresResponse xmlns:m="http://co/com/bancodecredito/eai/serviciosLinea/seriva">
<ns0:WS_ResultadoConsultaIndicadores xmlns:ns0="http://co/com/bancodecredito/eai/serviciosLinea/seriva/impl">
<ns0:Error>0</ns0:Error>
<ns0:Descripcion>Transacción exitosa</ns0:Descripcion>
<ns0:indicadores>
<ns0:fecha>2011-08-10 00:00:00.0</ns0:fecha>
<ns0:descripcion>VALORACION (TRM VIGENTE) UVR/UVR</ns0:descripcion>
<ns0:tipoIndicador>3</ns0:tipoIndicador>
<ns0:codigoIndicador>312</ns0:codigoIndicador>
<ns0:codigoVertice>0</ns0:codigoVertice>
<ns0:plazo>0</ns0:plazo>
<ns0:valor>196.9975</ns0:valor>
<ns0:comportamiento>1</ns0:comportamiento>
<ns0:formato>3</ns0:formato>
</ns0:indicadores>
</ns0:WS_ResultadoConsultaIndicadores>
</m:indicadoresResponse>
ServiciosSerivaConsultasTypes0.xsd
<?xml version="1.0" encoding="UTF-8"?>
<xs:schema attributeFormDefault="unqualified" elementFormDefault="qualified" targetNamespace="http://co/com/bancodecredito/eai/serviciosLinea/seriva" xmlns:s0="http://schemas.xmlsoap.org/wsdl/" xmlns:s1="http://co/com/bancodecredito/eai/serviciosLinea/seriva" xmlns:s2="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:s3="http://www.openuri.org/2006/12/wsdl/upgradedJWS" xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xs:import namespace="http://co/com/bancodecredito/eai/serviciosLinea/seriva/impl" schemaLocation="resultado.xsd" />
<xs:element name="indicadoresResponse">
<xs:complexType>
<xs:sequence>
<xs:element ref="impl:WS_ResultadoConsultaIndicadores" xmlns:impl="http://co/com/bancodecredito/eai/serviciosLinea/seriva/impl" />
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:schema>
resultado.xsd
<?xml version="1.0" encoding="UTF-8"?>
<xs:schema attributeFormDefault="unqualified" elementFormDefault="qualified" targetNamespace="http://co/com/bancodecredito/eai/serviciosLinea/seriva/impl" xmlns:s0="http://schemas.xmlsoap.org/wsdl/" xmlns:s1="http://co/com/bancodecredito/eai/serviciosLinea/seriva" xmlns:s2="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:s3="http://www.openuri.org/2006/12/wsdl/upgradedJWS" xmlns:tns="http://co/com/bancodecredito/eai/serviciosLinea/seriva/impl" xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xs:element name="WS_ResultadoConsultaIndicadores">
<xs:complexType>
<xs:sequence>
<xs:element name="Error" type="xs:string" />
<xs:element name="Descripcion" type="xs:string" />
<xs:sequence maxOccurs="unbounded" minOccurs="0">
<xs:element name="indicadores">
<xs:complexType>
<xs:sequence>
<xs:element name="fecha" type="xs:string" />
<xs:element name="descripcion" type="xs:string" />
<xs:element name="tipoIndicador" type="xs:int" />
<xs:element name="codigoIndicador" type="xs:int" />
<xs:element name="codigoVertice" type="xs:int" />
<xs:element name="plazo" type="xs:int" />
<xs:element name="valor" type="xs:double" />
<xs:element name="comportamiento" type="xs:int" />
<xs:element name="formato" type="xs:int" />
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:schema>
I really don't have any clue about what is happening. I have made sure files are in UTF-8 encoding. I don't know if any jar might be corrupted.You may sure have found the answer but it can help futur visitors:
Did you specified a Schema name for your physical schema ?
I had the same problem and no schema was set in my physical schema, when setting it, it must be OK. -
I am getting Error! java.sql.SQLException:General error
hi every body,
I struck with this error , can any one suggest in solving this.
I had a table in oracledatabase ,i have successfully created a table and inserted clob column with an attachment like xxx.txt.
table format----> id and text columns
Now my question is to retrieve that data and store it in local disk i am getting this error
import java.io.*;
import java.sql.*;
//import java.sql.SQLException;
public class Cread {
public static void main(String[] args) throws ClassNotFoundException,IOException,SQLException {
try {
Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
Connection cn=DriverManager.getConnection("jdbc:odbc:sivadsn","scott","tiger");
Statement s = cn.createStatement();
ResultSet rs=s.executeQuery("Select text from ram where id=10");
if(rs.next()){
FileOutputStream file=new FileOutputStream("c:/store.txt");
InputStream fin=rs.getBinaryStream(1);
int c;
while((c=fin.read())!=-1){
file.write(c);
fin.close();
s.close();
rs.close();
catch(IOException e){
e.printStackTrace();
System.out.println("Err:"+e);
I am getting the error as
java.sql.SQLException: General error
at sun.jdbc.odbc.JdbcOdbc.createSQLException(Unknown Source)
at sun.jdbc.odbc.JdbcOdbc.standardError(Unknown Source)
at sun.jdbc.odbc.JdbcOdbc.SQLExecDirect(Unknown Source)
at sun.jdbc.odbc.JdbcOdbcStatement.execute(Unknown Source)
at sun.jdbc.odbc.JdbcOdbcStatement.executeQuery(Unknown Source)Error! java.sql.SQLException: General error
at attach.Clobread.main(Clobread.java:30)That usually means something is wrong with the syntax of your sql.
As a guess 'text' is probably a keyword and shouldn't be used as a field name. It is possible that the same is true for 'id'
Maybe you are looking for
-
Printing document on multiple pages in Preview
I have a very long document which is a list of folders. If I print it on one 8 1/2 x 11 sheet it is unreadable. Is there a way to have this very long document print out on 8 1/2 x 11 sheets so that - basically the width fills up the 8 1/2 but the len
-
hello, looking into purchasing an ssd for soon arriving mac pro. already purchased a 16g memory and a 2T HHD upgrade. i came across the speed tests for ssd on start up and the ssd's seems pretty impressive. (OWC site) I'm going to be using the new ma
-
Code working in 32 bit environment but fails in 64 bit environment
Hi, I am trying to compile my code in 64 bit environment which was perfectly working fine in 32 bit environment. But the following message gets displayed. "Retrieving the COM class factory for component with CLSID {632F4591-AA62-4219-8FB6-22BCF5F6200
-
when i i design something in a file i have it aligned how i want it, however when i load the page into another, although the loader component is aligned, the content inside the loaded swf file is no longer where it should be. why is that? how can i f
-
How to setup automatic sync to mobileme gallery from iphoto?
i uploaded an album from iphoto to my gallery and the next day i added 2 pictures to that album in iphoto and they were not synced to my gallery?