Error executing a Oracle query when connection is fetched from Datasource

Hi Folks,
I am struggling with a rather wierd issue. The DBA of my application has exposed some function based view(not exactly sure what that means) which returns results like any query over a table. I am having a tough time consuming it in my java application. The name of the view is - `networknode_api.get_ftapp_networknode_hrchy` The SQL for it is(syntax might be a bit strange as there is actual word `table` in the query)
view plaincopy to clipboardprint?
Note: Text content in the code blocks is automatically word-wrapped
01.SELECT * FROM table (networknode_api.get_ftapp_networknode_hrchy('19-Feb-2013'));
SELECT * FROM table (networknode_api.get_ftapp_networknode_hrchy('19-Feb-2013'));
The query returns a hierarchical result data, provided below is a sample output (ignore the ouput if the formatting is too werid)
Parent_NODE | Child_NODE | NODE_DISPLAY_NAME | BEGIN_DATE | END_COB_DATE | LVL
null | CCN | Connent Node | 01/20/2013 | 10/19/2013 | 1
CCN | AVT | Avg Vol Turn | 01/20/2013 | 10/19/2013 | 2
AVT | L:2 | L:2 | 01/20/2013 | 10/19/2013 | 3
AVT | L:6 | L:6 | 01/20/2013 | 10/19/2013 | 3
CCN | NUT | Nap Up Turn | 01/20/2013 | 10/19/2013 | 2
I have the following method in my DAO -
public List<NetworkNodeGroupDTO> fetchNetworkNodeHierarchy(Date cobDate) {
try {
InitialContext ic = new InitialContext();
//DataSource ds1 = (DataSource) ic.lookup("jndiDsFlex");
//Connection conn = ds1.getConnection();
/* Using the RmiDataSource class for performance optimizations */
weblogic.jdbc.common.internal.RmiDataSource ds = (weblogic.jdbc.common.internal.RmiDataSource) ic.lookup("jndiDsNex");
Connection conn = ds.getConnection();
Statement stmt = conn.createStatement();
boolean hasRows = stmt.execute("SELECT * FROM table (networknode_api.get_ftapp_networknode_hrchy('19-Feb-2013'))");
rs = stmt.getResultSet();
while(rs.next()) {
System.out.println(rs.getString("parent_node"));
System.out.println(rs.getString("child_node"));
System.out.println(rs.getString("node_display_name"));
stmt.close(); stmt = null;
conn.close(); conn = null;
} catch(Exception ex) {
ex.printStackTrace();
return null; // please ignore the return type for now
Exception is thrown at line - stmt.execute(....)
java.sql.SQLSyntaxErrorException: ORA-00904: : invalid identifier
I debugged through the code and noted the driver and connection details that the connection object has embedded. Using that I wrote a sample java jdbc code-
public static void main(String[] args) throws Exception {
try {
//Class.forName("oracle.jdbc.driver.OracleDriver");
//Class.forName("weblogic.jdbc.rmi.Driver");
Driver myDriver = (Driver) Class.forName("weblogic.jdbc.jts.Driver").newInstance();
} catch (ClassNotFoundException e) {
System.out.println("Where is your Oracle JDBC Driver?");
e.printStackTrace();
return;
Connection connection = null;
try {
connection = DriverManager.getConnection(
"jdbc:oracle:thin:@//ssn20331020-rt.eu.prog.net:1522/NEXSERV",
"sample",
"sample1234");
} catch (SQLException e) {
System.out.println("Connection Failed! Check output console");
e.printStackTrace();
return;
Statement stmt = connection.createStatement();
stmt.execute("SELECT * FROM table (flex_compnode_api.get_ftapp_compnode_hrchy('19-Feb-2013'))");
ResultSet rs = stmt.getResultSet();
int i = 0;
while(rs.next()) {
String pNode = rs.getString("parent_node");
String cNode = rs.getString("child_node");
String dName = rs.getString("node_display_name");
System.out.println("Hello: "+i++);
The above code works perfectly fine. Also tried the above code using normal Oracle JDBC driver and too works fine. I am baffled; what goes wrong when using the connection from a DataSource object. Does the driver treat SQL statements differently based on how the connection object is obtained? Appreciate your inputs/comments for same.
The oracle db version is - Oracle Database 11g Enterprise Edition Release 11.2.0.2.0 - 64bit Production
Application Server - Weblogic 10.3

Below is the stacktrace and the driver details which are same for both the standalone basic Jdbc program and one where connection is fetched through datasource.
Driver name: Oracle JDBC driver
Driver version : 11.2.0.2.0
Driver major ver: 11
Driver minor ver: 2
java.sql.SQLSyntaxErrorException: ORA-00904: : invalid identifier
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:440)
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:396)
at oracle.jdbc.driver.T4C8Oall.processError(T4C8Oall.java:837)
at oracle.jdbc.driver.T4CTTIfun.receive(T4CTTIfun.java:445)
at oracle.jdbc.driver.T4CTTIfun.doRPC(T4CTTIfun.java:191)
at oracle.jdbc.driver.T4C8Oall.doOALL(T4C8Oall.java:523)
at oracle.jdbc.driver.T4CStatement.doOall8(T4CStatement.java:193)
at oracle.jdbc.driver.T4CStatement.executeForDescribe(T4CStatement.java:852)
at oracle.jdbc.driver.OracleStatement.executeMaybeDescribe(OracleStatement.java:1153)
at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1275)
at oracle.jdbc.driver.OracleStatement.executeInternal(OracleStatement.java:1890)
at oracle.jdbc.driver.OracleStatement.execute(OracleStatement.java:1855)
at oracle.jdbc.driver.OracleStatementWrapper.execute(OracleStatementWrapper.java:304)
at weblogic.jdbc.wrapper.Statement.execute(Statement.java:458)
at com.rfs.gs.ggl.nex.persistence.jpa.FlagDao.fetchCompositeNodeHierarchy(FlagDao.java:258)
at com.rfs.gs.ggl.nex.service.mars.GSServiceBean.searchCompositeNode(GSServiceBean.java:192)
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:597)
at com.bea.core.repackaged.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:310)
at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
at com.bea.core.repackaged.springframework.jee.intercept.MethodInvocationInvocationContext.proceed(MethodInvocationInvocationContext.java:104)
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:597)
at com.bea.core.repackaged.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:310)
at com.bea.core.repackaged.springframework.jee.intercept.JeeInterceptorInterceptor.invoke(JeeInterceptorInterceptor.java:69)
at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)
at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
at com.bea.core.repackaged.springframework.jee.spi.MethodInvocationVisitorImpl.visit(MethodInvocationVisitorImpl.java:37)
at weblogic.ejb.container.injection.EnvironmentInterceptorCallbackImpl.callback(EnvironmentInterceptorCallbackImpl.java:55)
at com.bea.core.repackaged.springframework.jee.spi.EnvironmentInterceptor.invoke(EnvironmentInterceptor.java:50)
at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
at com.bea.core.repackaged.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:89)
at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)
at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
at com.bea.core.repackaged.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
at $Proxy119.searchCompositeNode(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at weblogic.ejb.container.internal.RemoteBusinessIntfProxy.invoke(RemoteBusinessIntfProxy.java:73)
at $Proxy92.searchCompositeNode(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at weblogic.wsee.jaxws.WLSInstanceResolver$WLSInvoker.invoke(WLSInstanceResolver.java:101)
at weblogic.wsee.jaxws.WLSInstanceResolver$WLSInvoker.invoke(WLSInstanceResolver.java:83)
at com.sun.xml.ws.server.InvokerTube$2.invoke(InvokerTube.java:152)
at com.sun.xml.ws.server.sei.EndpointMethodHandler.invoke(EndpointMethodHandler.java:264)
at com.sun.xml.ws.server.sei.SEIInvokerTube.processRequest(SEIInvokerTube.java:93)
at weblogic.wsee.jaxws.tubeline.FlowControlTube$FlowControlAwareTube.processRequest(FlowControlTube.java:148)
at weblogic.wsee.jaxws.tubeline.FlowControlTube.processRequest(FlowControlTube.java:99)
at com.sun.xml.ws.api.pipe.Fiber.__doRun(Fiber.java:604)
at com.sun.xml.ws.api.pipe.Fiber._doRun(Fiber.java:563)
at com.sun.xml.ws.api.pipe.Fiber.doRun(Fiber.java:548)
at com.sun.xml.ws.api.pipe.Fiber.runSync(Fiber.java:445)
at com.sun.xml.ws.server.WSEndpointImpl$2.process(WSEndpointImpl.java:275)
at com.sun.xml.ws.transport.http.HttpAdapter$HttpToolkit.handle(HttpAdapter.java:454)
at com.sun.xml.ws.transport.http.HttpAdapter.handle(HttpAdapter.java:250)
at com.sun.xml.ws.transport.http.servlet.ServletAdapter.handle(ServletAdapter.java:140)
at weblogic.wsee.jaxws.HttpServletAdapter$AuthorizedInvoke.run(HttpServletAdapter.java:319)
at weblogic.wsee.jaxws.HttpServletAdapter.post(HttpServletAdapter.java:232)
at weblogic.wsee.jaxws.JAXWSServlet.doPost(JAXWSServlet.java:310)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
at weblogic.wsee.jaxws.JAXWSServlet.service(JAXWSServlet.java:87)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:292)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:175)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3594)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2202)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2108)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1432)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
<Timestamp Fri Feb 22 11:41:19 EST 2013 (1361551279781)>

Similar Messages

  • Error when connecting to portal from some machines

    Hi all,
    Can anyone help me with this.
    I get this jserver error when connecting to portal from some
    client machines.
    I works fine from the others. Any ideas?
    This is the error I get:
    [08/01/2002 17:41:57:618 GMT+00:00] page/Timeout occurred,
    label=73 url=http://odeceixe:81/pls/portal30/!
    PORTAL30.wwpro_app_provider.execute_portlet time=15828ms
    [08/01/2002 17:41:57:618 GMT+00:00] page/ContentFetcher
    Unexpected Exception, name=content-fetcher5
    java.io.EOFException: Premature EOF encountered
         at HTTPClient.StreamDemultiplexor.read
    (StreamDemultiplexor.java, Compiled Code)
         at HTTPClient.RespInputStream.read(RespInputStream.java,
    Compiled Code)
         at java.io.InputStream.read(InputStream.java:95)
         at java.io.InputStreamReader.fill
    (InputStreamReader.java:163)
         at java.io.InputStreamReader.read
    (InputStreamReader.java:239)
         at oracle.webdb.page.ContentFetcher.run
    (ContentFetcher.java, Compiled Code)

    Did you ever find the cause of this, I am receiving the same message, but as you said, only when connecting to the portal via a certain pc.

  • When connect the Database from Toad , Sqlplus giving the error

    when connect the Database from Toad , Sqlplus giving the error
    recent changes 12.1.1 installatiojn
    Oracle SQL plus encountered a problem and needs to close we are sorry for convenienvce
    Oracle Forms Designner has encountered a probloem and needs to close we are sorry for the convenience
    Thanks & Regards,
    sree

    when connect the Database from Toad , Sqlplus giving the error recent changes 12.1.1 installatiojnHave you tried using the same user via simple sqlplus on the database server or apps tier server itself? Please try the same database user/login on the database server using the sqlplus available on the server itself. See what message do you get. If the the login happens, then try with the tns entry e.g. sqlplus username/password@prod and see if that works on the db server. If both of these conditions work the check where is Toad picking up the tns entry from on the client pc/laptop. If first test fails, then check if the account is locked.
    Hope this helps.

  • Help needed, M getting this message sandbox environment error no test user account, when downloading any application from iTunes, friend told me to sign out and sign in iTunes it might solve the problem but instead I cannot login I to my itune account.

    Help needed,
    I am getting this message sandbox environment error no test user account, when downloading any application from iTunes, friend told me to sign out and sign in iTunes it might solve the problem , and i triyed it but still  I cannot login I to my itune account. Same message keeping. Popping up,  this problem started supricly today.

    Take a look at the instructions here.
    http://www.technogal.net/2012/03/this-is-not-test-user-account-please.html

  • "Errors occurred during the extraction" when run RSA3 of EBP datasource 0DO

    "Errors occurred during the extraction" when run RSA3 of EBP datasource 0DOC_NUMBER_ATTR.
    What would be the reason and how to resolve this problem?
    Thanks

    Hi Kevin,
    Generally the installed DS also comes under RSA5 nodes, not only in RSA6.
    Have you activated it earlier before extraction?
    If DS is already active, please try to follow all the steps once more, and check, and let us know if still the same error comes.
    Cheers!!!!!!!!!!!

  • My Mac, all of a sudden, actually says error messages like: "A File couldn't not fetched from the network..."

    All of a sudden my mac starts speaking, but it only reads an error message. "A file could not be fetched from the network" but Voice over is turned off, I double checked it. I don't know what happened, but it's annoying, because it is so random.
    I really need help.
    Chris

    I think I know the culprit now, it is Little Snitch and its Audio Prompts. I found something in their Forum but you can't dectivate it.

  • Error when connecting to RON from Jdev

    Hi,
    I'm getting an error when trying to connect to the Object Repository Navigator from Jdeveloper 3.2... there are other users here that are connecting without a problem, but I am getting the following error: Please help!!!! Thanks in advance.
    An exception was thrown in the JDeveloper (UK) Source code addin.
    The exception was caught and routed to the detailed SCMExceptionHandler.
    There were 1 exceptions in the stack. Stack traces are:
    ===== Exception 0 ============================================
    Name:
    java.lang.NullPointerException
    Message:
    null
    Stack Trace:
    java.lang.NullPointerException
         int oracle.jdbc.oci8.OCIDBAccess.do_open(byte[], int, byte[], int, byte[], int, byte[], int, int)
         oracle.jdbc.dbaccess.DBConversion oracle.jdbc.oci8.OCIDBAccess.logon(java.lang.String, java.lang.String, java.lang.String, java.util.Properties)
         void oracle.jdbc.driver.OracleConnection.<init>(oracle.jdbc.dbaccess.DBAccess, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.util.Properties)
         java.sql.Connection oracle.jdbc.driver.OracleDriver.getConnectionInstance(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.util.Properties)
         java.sql.Connection oracle.jdbc.driver.OracleDriver.connect(java.lang.String, java.util.Properties)
         java.sql.Connection java.sql.DriverManager.getConnection(java.lang.String, java.util.Properties, java.lang.ClassLoader)
         java.sql.Connection java.sql.DriverManager.getConnection(java.lang.String, java.lang.String, java.lang.String)
         int oracle.repos.services.connection.RepositoryConnection.setConnection(oracle.repos.services.connection.RepositoryConnectDetails)
         int oracle.repos.services.connection.RepositoryConnection.setConnection(java.lang.String, java.lang.String, java.lang.String)
         void oracle.repos.services.connection.RepositoryConnection.<init>(java.lang.String, java.lang.String, java.lang.String)
         void oracle.bm.scm.repos.api.RSCReposClientAPI.setConnection(java.lang.String, java.lang.String, java.lang.String, java.lang.String)
         void oracle.bm.scm.repos.api.RSCReposClientAPI.doConnect(oracle.bm.scm.framework.splitclient.Options)
         void oracle.bm.scm.framework.splitclient.SCMSplitUIClient$5.go(oracle.bm.scm.framework.splitclient.Options, java.util.List)
         boolean oracle.bm.scm.framework.splitclient.defaultui.SCMDefaultUI$SCMDefaultUIDialog.finish()
         void oracle.jdeveloper.wizard.common.OracleWizardDialog.doFinish()
         void oracle.bm.scm.framework.SCMWizardDialog$CustomizableButtonBar.actionPerformed(java.awt.event.ActionEvent)
         void javax.swing.AbstractButton.fireActionPerformed(java.awt.event.ActionEvent)
         void javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(java.awt.event.ActionEvent)
         void javax.swing.DefaultButtonModel.fireActionPerformed(java.awt.event.ActionEvent)
         void javax.swing.DefaultButtonModel.setPressed(boolean)
         void javax.swing.AbstractButton.doClick(int)
         void javax.swing.AbstractButton.doClick()
         void oracle.bm.scm.repos.ui.RSCConnectUI$3.actionPerformed(java.awt.event.ActionEvent)
         void javax.swing.JTextField.fireActionPerformed()
         void javax.swing.JTextField.postActionEvent()
         void javax.swing.JTextField$NotifyAction.actionPerformed(java.awt.event.ActionEvent)
         boolean javax.swing.text.JTextComponent.mapEventToAction(java.awt.event.KeyEvent)
         void javax.swing.text.JTextComponent.processComponentKeyEvent(java.awt.event.KeyEvent)
         void javax.swing.JComponent.processKeyEvent(java.awt.event.KeyEvent)
         void java.awt.Component.processEvent(java.awt.AWTEvent)
         void java.awt.Container.processEvent(java.awt.AWTEvent)
         void java.awt.Component.dispatchEventImpl(java.awt.AWTEvent)
         void java.awt.Container.dispatchEventImpl(java.awt.AWTEvent)
         void java.awt.Component.dispatchEvent(java.awt.AWTEvent)
         boolean java.awt.LightweightDispatcher.processKeyEvent(java.awt.event.KeyEvent)
         boolean java.awt.LightweightDispatcher.dispatchEvent(java.awt.AWTEvent)
         void java.awt.Container.dispatchEventImpl(java.awt.AWTEvent)
         void java.awt.Window.dispatchEventImpl(java.awt.AWTEvent)
         void java.awt.Component.dispatchEvent(java.awt.AWTEvent)
         void java.awt.EventQueue.dispatchEvent(java.awt.AWTEvent)
         boolean java.awt.EventDispatchThread.pumpOneEvent()
         void java.awt.EventDispatchThread.pumpEvents(java.awt.Conditional)
         void java.awt.Dialog.show()
         void oracle.jdeveloper.wizard.common.JDeveloperDialog.show()
         void java.awt.Component.show(boolean)
         void java.awt.Component.setVisible(boolean)
         void oracle.jdeveloper.wizard.common.OracleWizardDialog.setVisible(boolean)
         boolean oracle.bm.scm.framework.SCMDialog.showPanel(javax.swing.JPanel)
         void oracle.bm.scm.framework.splitclient.defaultui.SCMDefaultUI.showDialog(javax.swing.JPanel, java.lang.String, oracle.bm.scm.framework.splitclient.APIRunner)
         void oracle.bm.scm.repos.ui.RSCCustomizedUI.displayConnectUI(oracle.bm.scm.framework.splitclient.Options, oracle.bm.scm.framework.splitclient.APIRunner)
         void oracle.bm.scm.framework.splitclient.SCMSplitUIClient.connect()
         void oracle.bm.scm.framework.SCMManager$2.run()
         void javax.swing.SystemEventQueueUtilities.processRunnableEvent(javax.swing.SystemEventQueueUtilities$RunnableEvent)
         void javax.swing.SystemEventQueueUtilities.access$0(javax.swing.SystemEventQueueUtilities$RunnableEvent)
         void javax.swing.SystemEventQueueUtilities$RunnableTarget.processEvent(java.awt.AWTEvent)
         void java.awt.Component.dispatchEventImpl(java.awt.AWTEvent)
         void java.awt.Component.dispatchEvent(java.awt.AWTEvent)
         void java.awt.EventQueue.dispatchEvent(java.awt.AWTEvent)
         boolean java.awt.EventDispatchThread.pumpOneEvent()
         void java.awt.EventDispatchThread.pumpEvents(java.awt.Conditional)
         void java.awt.EventDispatchThread.run()

    Hi Jolene,
    This error indicates a mismatch between the thick client library JDeveloper is using to access repository and the database version.
    Which version / release of Oracle is repository installed on?
    Thanks,
    Brian

  • Error when connecting to MDM from different lan

    Hi,
    I got "Image Server Login Error" when connecting with client to server from different LAN, server is up, and i can connect to it when i in the same LAN. Ports 20003, 20004, 20005 for MDM server discovering and repository port 2345 is accessible through router. Running SP2 5.5.24.06.
    Rem: it's not a port problem, when port 2345 is closed i got "WinSock error on connect"
    PS: When I used MDM SP1 i connected to him properly in the same case.

    Hi Dmitry,
    If your repository is set to port 2345, then 4 subsequent ports should be openned also, i.e. 2346-2349.
    Regards, Lev

  • Connection failure error when generating Report model from datasource

    Hii all,
    I am getting error below when i am generating a Report Model from datasource from Report Manager ..
    Please help me why this error coming .. iam regenerating a Report Model but still error coming..
    Dilip Patil..

    Thanks for reply ..
    i got this at the end 
    semanticmodelgenerator!ReportServer_0-3!ab4!03/24/2015-18:31:22:: w WARN: Semantic Model Generator: MsSqlModelGenerator
    Warning Entity G38e91286-1910-4420-8afc-9858114a05a7 One of the IdentifyingAttributes.AttributeReference.AttributeID properties of the Entity "ALL DEPARTMENT GROWTH PROGRESS" references the Attribute "RID", which is a hidden Attribute. This
    property should reference a non-hidden Attribute.
    semanticmodelgenerator!ReportServer_0-3!ab4!03/24/2015-18:31:22:: w WARN: Semantic Model Generator: MsSqlModelGenerator
    Warning Entity G38e91286-1910-4420-8afc-9858114a05a7 One of the DefaultDetailAttributes.AttributeReference.AttributeID properties of the Entity "ALL DEPARTMENT GROWTH PROGRESS" references the Attribute "RID", which is a hidden Attribute.
    This property should reference a non-hidden Attribute.
    semanticmodelgenerator!ReportServer_0-3!ab4!03/24/2015-18:31:22:: w WARN: Semantic Model Generator: MsSqlModelGenerator
    Warning Entity G78dcea25-930f-4b1f-a80f-95afdef6136a One of the IdentifyingAttributes.AttributeReference.AttributeID properties of the Entity "FILE STAGE LOG" references the Attribute "FILE STAGE LOG ID", which is a hidden Attribute. This
    property should reference a non-hidden Attribute.
    semanticmodelgenerator!ReportServer_0-3!ab4!03/24/2015-18:31:22:: w WARN: Semantic Model Generator: MsSqlModelGenerator
    Warning Entity G78dcea25-930f-4b1f-a80f-95afdef6136a One of the DefaultDetailAttributes.AttributeReference.AttributeID properties of the Entity "FILE STAGE LOG" references the Attribute "FILE STAGE LOG ID", which is a hidden Attribute. This
    property should reference a non-hidden Attribute.
    semanticmodelgenerator!ReportServer_0-3!ab4!03/24/2015-18:31:22:: w WARN: Semantic Model Generator: MsSqlModelGenerator
    Warning Entity Ge9aa23a3-9a03-41e7-a233-86a71c7bc2da One of the IdentifyingAttributes.AttributeReference.AttributeID properties of the Entity "UPLOAD DOCUMENT UID" references the Attribute "UPLOAD DOC UID", which is a hidden Attribute. This
    property should reference a non-hidden Attribute.
    semanticmodelgenerator!ReportServer_0-3!ab4!03/24/2015-18:31:22:: w WARN: Semantic Model Generator: MsSqlModelGenerator
    Warning Entity Ge9aa23a3-9a03-41e7-a233-86a71c7bc2da One of the DefaultDetailAttributes.AttributeReference.AttributeID properties of the Entity "UPLOAD DOCUMENT UID" references the Attribute "UPLOAD DOC UID", which is a hidden Attribute.
    This property should reference a non-hidden Attribute.
    dont understand where it referncing the attributes
    Dilip Patil..

  • Issue when connecting to database from SQL Developer tool

    Hi,
    I was trying to connect to a remote oracle database 10.2.0.5 (hosted at window 2008 R2 server) from my local SQL Developer tool.
    When setting up connection in SQL Developer tool, I was able to connect to the database by selecting TNS (Network Allias).
    However, it does not work when I choose Basic type with the same information (HOST, PORT, SID).
    What is the difference between TNS and Basic setting option? Please advise and assist.
    Thanks.
    Regards,
    Jia

    Hi JimSmith,
    Thanks for reply.
    TNS entry as below:
    ORCL_DB =
    (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)(HOST = 91.198.252.83)(PORT = 1521)) )
    (CONNECT_DATA = (SID = orcl) (SERVER = DEDICATED) ) )
    It works fine if I choose TNS (Network Allias: ORCL_DB).
    For the Basic setting:
    Hostname = 91.198.252.83
    Port = 1521
    SID = orcl
    The error I received when connecting to db based on Basic option is Failure -Io exception: The Network Adapter could not establish the connection.
    Below are the entries of SQLnet.ora. Any entry should I add into sqlnet.ora?
    SQLNET.AUTHENTICATION_SERVICES= (NONE)
    NAMES.DIRECTORY_PATH= (TNSNAMES, EZCONNECT)
    Appreciate your comment.
    Thanks.
    Regards,
    Jia

  • The iTune Remote App has stopped finding my iTunes library when connected to wifi from my main router, but works fine when connected via second wifi router on the same network (different SSID)

    I'm running iTunes Remote App from a couple of iPhone 5's and a first generation iPod Touch. iTunes is running on a PC - Windows 7. My home network runs two Wifi Routers, each with a different SSID. I've had no problems with the Remote app running this set up for the last 8 months but recently the App can only find my iTunes library when the iPhone/iPod is connected via one specific router, when connected to the network via the other router, no iTunes library is found. I'm also running an Apple TV and it's the same as the iTunes Library, only visible via the one SSID.
    Everything else seems to work fine when connected via either router, eg Internet on the iPhones (definitely via wifi)
    I've tried renewing the lease on the iPhone wifi connection, restarting everything.....several times.....
    It used to work fine, this only seems to have been a problem in recent weeks
    Any help or advice would be much appreciated
    Thanks
    Ian

    It turned out to be the firewall settings on our router. Her machine was sending traffic that our router interpreted as a DoS attack and blacklisted her Airport's MAC address. That's why it would work fine if she switched to Ethernet.

  • Possible to detect if a connection was fetched from the connection pool?

    Is there any way to differentiate between newly opened connections and connections that came from the connection pool? It would have to work without requiring a round trip to the server because I'd only use it to optimize away a procedure call that I now have to do for every connection that is opened.
    If the answer is different for the classic provider and the fully managed one, please provide both.

    @Op. What you are trying to do can't be done.

  • Form builder make an error in windows xp sp2 when connecting oracle xe

    i have installed the forms from developer 6i and tried to connect to
    oracle xe using form builder , the problem was that windows show an error and
    it says that an error has occur and we are sorry , do you want to send the message

    Hi Samer,
    sorry, but I haven't done any character set migration yet. Usually I have used exp/imp to move the data to a new database instance that was created with the new target character set. But with XE you only have the choice between WE8MSWIN1252 and AL32UTF8, you cannot easily create a new instance with a different character set.
    This should suffice for most applications. But you have a special case where you run into a problem with a product where you won't get any enhancements for anymore. Forms6i entered extended support on 01/2005.
    Perhaps someone else can help you out with the character set migration.
    Good luck,
    ~Dietmar.

  • Error in DB Oracle to SQL connectivity

    Hi ,
    We have connected Oracle to BI ,BI is on SQL ...Oracle to SQL ..
    But when we checing Orcle data source in BI --> Source System --> Check.
    We are geeting follwoing error..
    Work process restarted ; session terminated.
    We have already installed Oracle shared library and Oracle client on BI server.
    Regards,
    Naween

    what i meant was have you deployed the proper jar file(driver file) in the .sda file in using SDM......your driver parameter is fine just check this below
    download the jdbc driver from url http://download.softagency.net/MySQL/Downloads/Connector-J/
    (mysql-connector-java-3.1.14-bin.jar if you are using mysql 4.0)
    the  your parameter in Dapter
    DBC driver: com.microsoft.jdbc.sqlserver.sqlserverdriver
    connection: jdbc:microsoft:sqlserver://ip:port;databasename
    also check this
    tther option is download JDBC Driver from Microsoft Website
    http://www.microsoft.com/downloads/details.aspx?FamilyID=6D483869-816A-44CB-9787-A866235EFC7C&displaylang=en
    and deploy the JDBC driver using SDM.
    JDBC Driver Deployment Guide...
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/70ffd890-0201-0010-708f-d5dad2dfcf3a
    how to configure drivers:
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/3867a582-0401-0010-6cbf-9644e49f1a10
    also http://www.oracle.com/technology/software/tech/windows/odbc/index.html
    Help Required on File to JDBC scenario
    JDBC Driver?

  • Java sequrity error message when connecting to RDBMS from Forms 9i PJC

    Hi,
    I have a Forms 9i PJC that makes a connection to an Oracle 8i RDBMS. The RDBMS is on the SAME box as the 9iAS application where the application is downloaded from. When I try to get a connection object from the thin JDBC driver manager I get the following error message:
    java.security.AccessControlException: access denied (java.util.PropertyPermission oracle.jdbc.J2EE13Compliant read)
    Does any one have a clue what might be the problem?
    TIA,
    Tamas Szecsy

    Meanwhile I did an other test: added the following line to my JInitiator's java.policy file:
    grant codeBase "http://geoias:7780/-" {
         permission java.security.AllPermission;
    Where the geoias is the application server and the port is for the Forms servlet. This way everything works fine. Do you think that this means tha if I sign my jar file (I can not sign the JInitiator applet) will solve this issue? Or can I set the client side Java policy on the server too?

Maybe you are looking for

  • Processing service request error: QuickTime Error: -50? ***?

    Hey everyone, trying to export a movie from FinalCut Pro X with compressor and when compressor gets to the end I get this error and no file Processing service request error: QuickTime Error: -50 What is going on? Final Cut Pro X version 10.0.7 Compre

  • In iMovie can i layer titles...using more than 1 title on a clip?

    In IMovie can I (or how do I) layer titles ... using more than 1 title on a clip?

  • Invoice Tax print on PO Script

    Hi to All... I want to display Invoice Tax on PO script. Trancation ME23N WHICH TABLE ARE STORE INVOICE TAXES DETALS? I'M TRY TO FINDOUT IN TABLE <b>KONV</b> AND <b>KONP</b> BUT NOT GETTING.. IS THERE ANY TABLE STORE THIS VALUE OR ANY PROCEDURE TO GE

  • Omit sales related info in Materials report

    Hi Experts, I have a Material Master report, which gets fields only from non-sales related tables. But I still see two rows for each material, one ofr each Sales Org. Previously the report had data like Sales Org, Dist Channel nad Repair Cat which we

  • PLD-Xplain why this happens?

    Hi all!       Can any one Xplain me why the following occurs? i started creating PLD in a different way(just a trial),ie. For xample, Sales Quotation document ---> PLD --->Sales Quotation (system) [document type] , after the layout opens along with a