Database disconnected problem

I built a Labwindows project and paste it to the remote desk.But the database cannot connect. Here is my code. They say that it is the problem is relating to different version of CVI. I use Labwindows 2009, but I tried again using Labwindows 8.5, I failed again.
main code:
include <windows.h>//我们需要WINDOWS的API函数
#include <stdio.h>
#include <stdlib.h>
#include <formatio.h>
#include "toolbox.h"
//#include "asynctmr.h"
#include <ansi_c.h>
#include <tcpsupp.h>
#include <cvirte.h> /* Needed if linking in external compiler; harmless otherwise */
#include <userint.h>
#include "cvi_db.h"
#include <utility.h>
#include "server.h"
#define ZUIJIN_200 3000
#define ZUIJIN_125 2800
typedef BOOL DLLEXPORT (*DLLCdeclFunction)(int,int,int);//定义函数指针
typedef BOOL DLLEXPORT (*DLLCdeclFunction2)(float*,int,float,BOOL,int);//定义函数指针
int flg=0;
//static int panel;
static int panelHandle;
int ConnectedHandle;
int resCode;
int resultcode;
static int hdbc;
int j=0;
int i;
unsigned int port=2000;
unsigned char id[11]={0};
unsigned ConnectedHandle1=0;
//unsigned ConnectedHandle2=0;
int *flag1={0} ;
int *flag2={0} ;
int max1=0;
int max2=0;
int flag_1[ZUIJIN_125]={0};
int flag_2[ZUIJIN_125]={0};
//要数队列全局变量
int yaoshuduilie_1[1000]={0}; //hubei_test1表缺数队列
int yaoshu_count1=0; //hubei_test1缺数队列中的数量
int yaoshuduilie_2[1000]={0}; //hubei_test2表缺数队列
int yaoshu_count2=0; //hubei_test2缺数队列中的数量
// 全局变量,存储上一次发送的命令
char buftemp_1[150]={""};
char buftemp_2[150]={""};
//全局变量记录心跳次数
int xintiao_count1=0;
int xintiao_count2=0;
int sscrc=5; //校验用返回值
int cscrc=0; //校验用返回值
//服务器回调函数
int CVICALLBACK ServerCallback1(unsigned handle, int event,
int error, void *callbackData);
//int CVICALLBACK ServerCallback2(unsigned handle, int event,
//int error, void *callbackData);
int send2 (int biaoduan,int ConnectedHandle);
int send1 (int* sflag,int max,int ConnectedHandle);
int dxl_send1 (int* sflag,int max,int ConnectedHandle,int biaoduan);
int csx_send1 (int yaoshu_count,int* yaoshuduilie,int ConnectedHandle,int biaoduan);
int* search (int bd);
unsigned short int crc(unsigned char *ptr,unsigned char len)
unsigned char i;
unsigned short int crc=0;
while((len--)!=0)
for(i=0x80;i!=0;i/=2)
if((crc&0x8000)!=0)
crc*=2;
crc^=0x1021;
else
crc*=2;
if((*ptr&i)!=0)
crc^=0x1021;
ptr++;
return(crc);
int main (int argc, char *argv[])
char barcode[50]={"012345"};
if (InitCVIRTE (0, argv, 0) == 0) /* Needed if linking in external compiler; harmless otherwise */
return -1; /* out of memory */
if ((panelHandle = LoadPanel (0, "server.uir", PANEL)) < 0)
return -1;
DisplayPanel (panelHandle);
RegisterTCPServer (3127, ServerCallback1, 0); //注册服务器,端口6060做好连接准备 //9.4 rectify
// RegisterTCPServer (6061, ServerCallback2, 0); //注册服务器,端口1006好连接准备
//MessagePopup("警告!","没有连接数据库!");
resCode=DBInit(DB_INIT_MULTITHREADED); //连接数据库
hdbc=DBConnect("DSN=WLLTEST");
if(hdbc<=0)
MessagePopup("警告!","数据库连接失败!");
return 0;
RunUserInterface ();
DBDisconnect(hdbc);//关闭数据库
DiscardPanel (panelHandle);
return 0;
errors while running in my computer:
errors while click the exe file in the remote desk:
popup the message:"警告!","数据库连接失败! which means database disconnect in English.
I will be very grateful if anyone can help me solve the problem. Thank U very much!!!

Is your database stored locally?
Do you have the LabWindows/CVI SQL Toolkit installed on the machine running the Application?
John O'C
Staff Test Systems Engineer
Woodward, Inc.
Skokie, Illinois, USA
"Life is not a journey to the grave with the intention of arriving safely
in a pretty and well preserved body, but rather to skid in broadside,
thoroughly used up, totally worn out, and loudly proclaiming...
Wow...What a Ride!"

Similar Messages

  • ORA-00235 Standby Database Controlfile problem

    Dear fellow dbas,
    I am just starting to become acquainted with high availability and have to solve following problem.
    We have a RAC database with a standby database that is out of sync. In fact the standby database is running in async mode but archived redo logs are not applied.
    They are successfully forwarded from the primary instance to the standby db though. Looking at the alert.log I discovered an ORA-00235 error - control file fixed table inconsistent due to concurrent update.
    As a result of this I have a huge gap between the primary and standby database.
    Can you please give me a step to step tutorial, how I can resolve this issue?
    Any help is appreciated!
    Many thanks,
    Sebastian

    Hello Anand,
    I am using 11.1.0.7.0.
    My standby database is a cluster database as well. I shut both instances down using srvctl and created a standby controlfile from my primary instance, which I copied to the respective locations referred to in the spfile of my dataguard database. Afterwards I started up and issued a ALTER DATABASE RECOVER MANAGED STANDBY DATABASE DISCONNECT FROM SESSION;
    The database does not open and the alert.log states ORA-01124 "cannot recover datafile 1 - file is in use or recovery".
    Next, the background media recovery process was shut down.
    What should I do, to get my standby back running?
    Should I place the primary database in backup mode and copy the datafiles to my standby db?
    Afterwards I would create a standby controlfile again and overwrite the standby ones.
    Maybe you assist in pointing at the next steps.
    Many thanks,
    Sebastian

  • Database termination Problem

    Hi every body ..plz help me on this..
    We are facing database termination problem in ECC6 production syste.
    Database: Oracle 10.2, O/S: Windows 2003. Spam  :27, SP level 13.
    Error is:
    Errors in file f:\oracle\p02\saptrace\background\p02_ckpt_6520.trc:
    ORA-00206: error in writing (block 3, # blocks 1) of control file
    ORA-00202: control file: 'D:\ORACLE\P02\ORIGLOGB\CNTRL\CNTRLP02.DBF'
    ORA-27072: File I/O error
    OSD-04008: WriteFile() failure, unable to write to file
    O/S-Error: (OS 33) The process cannot access the file because another process has locked a portion of the file.
    When we are performing backup then data base termination occuring freequently.
    Give right solution as early as possible.
    Thanks,
    Nani.

    Hi,
    Have a look at below snote which actually speaks about the oracle error codes
    Snote :  546006
    within the Snote it says :-
    " If you cannot access a database file (for instance a data file, control file or RedoLog) for whatever reason, an ORA-270xx appears. The actual cause comes from additional error messages (usually in the operating system) that occur on ORA-270xx. "
    And as per your last update
    " ORA-00206: error in writing (block 3, # blocks 1) of control file
    ORA-00202: control file: 'D:\ORACLE\P02\ORIGLOGB\CNTRL\CNTRLP02.DBF' "
    i think there is problem accessing the database control file. Hence you  are facing the above problem.
    I think if you recreate your control file i think, it should resolve the problem.
    Hope it will be helpful to resolve your problem.
    Rgds
    Radhakrishna D S

  • FXO to FXO disconnect problem - Part1

    Hi,
    I have 2 sites connected through an hdlc leased line. Each site has router 1750 with one VIC - 2FXO.
    Once a call is placed both FXO are stuck in the off hook state. So there is no way to make another call unless I shut down and turn on the ViC again.
    I read the "famous" fxo disconnect problem file from Cisco but it didn't help.
    I need to know:
    1) Is this problem a bug on the FXO ports ?
    2) Is this problem from the analog PBX side ?
    3) How to solve this problem?
    Thanks

    Hi,
    you can use FXS cards......you don't have any problem......
    Problem is in disconnect reason....FXO card no detect disconnect tone from PBX....
    Czech firm 2N sell special "disconnect module" fot these card......
    (I'm sorry for my English...:o)

  • Immediate HELP in Tomcat 5 to Postgresql 7.4 database connectivity problem

    Hi,
    I failed to connect Tomcat 5.0.24 with Postgresql
    7.4.2. The files created by me and the changes i had
    made in the existing files are rates.jsp,
    conversionDAO.java, web.xml and server.xml. The error
    message on the top of the rest of it was "The value of
    useBean class attribute converter.conversionDAO is
    invalid". So far I found out that the coding for
    database connectivity purpose in conversionDAO.java
    cause the error. Another thing is Postgresql jdbc
    driver is required to set in the CLASSPATH for the
    java file to access the Postgresql database. I don't
    know where should I put it in Tomcat for web
    application. Anyway, I put it in
    $CATALINA_HOME/shared/lib according the book i
    refered. I do the database connectivity coding refer
    to the Tomcat Kick Start book from Sams Publishing.
    Below are the coding involved, please show me the
    mistake i had made. Thank you.
    ----server.xml----
    <Context path="/database"
    docBase="${catalina.home}/webapps/database" debug="0"
    reload="true">
    <ResourceParams name="jdbc/conversion">
    <parameter>
    <name>username</name>
    <value>myusername</value>
    </parameter>
    <parameter>
    <name>password</name>
    <value>mypassword</value>
    </parameter>
    <parameter>
    <name>driverClassName</name>
    <value>org.postgresql.Driver</value>
    </parameter>
    <parameter>
    <name>url</name>
    <value>jdbc:postgresql://localhost/conversion</value>
    </parameter>
    </ResourceParams>
    </Context>
    ----web.xml----
    <servlet>
    <servlet-name>conversionDAO</servlet-name>
    <servlet-class>converters.conversionDAO</servlet-class>
    </servlet>
    <resource-ref>
    <res-ref-name>jdbc/conversion</res-ref-name>
    <res-type>javax.sql.DataSource</res-type>
    <res-auth>Container</res-auth>
    </resource-ref>
    ----conversionDAO.java----
    public conversionDAO() throws SQLException,
    NamingException
    Context init = new InitialContext();
    Context ctx = (Context)
    init.lookup("java:comp/env");
    DataSource ds = (DataSource)
    ctx.lookup("jdbc/conversion");
    con = ds.getConnection();
    select = con.prepareStatement(
    "SELECT rate FROM Exchange WHERE src= ? AND dst =

    Immediate HELP in Tomcat 5 to Postgresql 7.4 database connectivity problem (cont.)
    Errors log
    2004-06-06 01:07:53 StandardContext[servlets-examples]SessionListener: contextDestroyed()
    2004-06-06 01:07:53 StandardContext[servlets-examples]ContextListener: contextDestroyed()
    2004-06-06 01:07:53 StandardContext[jsp-examples]SessionListener: contextDestroyed()
    2004-06-06 01:07:53 StandardContext[jsp-examples]ContextListener: contextDestroyed()
    2004-06-06 01:07:59 StandardContext[balancer]org.apache.webapp.balancer.BalancerFilter: init(): ruleChain: [org.apache.webapp.balancer.RuleChain: [org.apache.webapp.balancer.rules.URLStringMatchRule: Target string: News / Redirect URL: http://www.cnn.com], [org.apache.webapp.balancer.rules.RequestParameterRule: Target param name: paramName / Target param value: paramValue / Redirect URL: http://www.yahoo.com], [org.apache.webapp.balancer.rules.AcceptEverythingRule: Redirect URL: http://jakarta.apache.org]]
    2004-06-06 01:08:00 StandardContext[jsp-examples]ContextListener: contextInitialized()
    2004-06-06 01:08:00 StandardContext[jsp-examples]SessionListener: contextInitialized()
    2004-06-06 01:08:00 StandardContext[servlets-examples]ContextListener: contextInitialized()
    2004-06-06 01:08:00 StandardContext[servlets-examples]SessionListener: contextInitialized()
    2004-06-06 01:08:01 StandardWrapperValve[jsp]: Servlet.service() for servlet jsp threw exception
    org.apache.jasper.JasperException: /rates/rates.jsp(5,0) The value for the useBean class attribute converters.conversionDAO is invalid.
         at org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:39)
         at org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:357)
         at org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:141)
         at org.apache.jasper.compiler.Generator$GenerateVisitor.visit(Generator.java:1217)
         at org.apache.jasper.compiler.Node$UseBean.accept(Node.java:1116)
         at org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2163)
         at org.apache.jasper.compiler.Node$Visitor.visitBody(Node.java:2213)
         at org.apache.jasper.compiler.Node$Visitor.visit(Node.java:2219)
         at org.apache.jasper.compiler.Node$Root.accept(Node.java:456)
         at org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2163)
         at org.apache.jasper.compiler.Generator.generate(Generator.java:3261)
         at org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:244)
         at org.apache.jasper.compiler.Compiler.compile(Compiler.java:439)
         at org.apache.jasper.compiler.Compiler.compile(Compiler.java:422)
         at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:507)
         at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:274)
         at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
         at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
    ----more----

  • Database configuring problem in setup of managed systems in SMD

    Hello,
    i'm doing the setup of a CRM 5.0 in SMD Abap+Java and the setup results returns following:
    "Database configuration problem"  with the exception:
    java.lang.NullPointerException
         at com.sap.smd.server.manager.SMDPluginProperties.setProperty(SMDPluginProperties.java:114)
         at com.sap.smd.agent.plugins.database.ConfigurationTask.configureCustomProperties(ConfigurationTask.java:242)
         at com.sap.smd.agent.plugins.database.ConfigurationTask.configureProperties(ConfigurationTask.java:370)
         at com.sap.smd.agent.plugins.database.ConfigurationTask.execute(ConfigurationTask.java:124)
         at com.sap.sup.admin.setup.AppCfgTasks.configureDbApp(AppCfgTasks.java:115)
         at com.sap.sup.admin.setup.SetupStep.execute(SetupStep.java:202)
         at com.sap.smd.agent.plugins.remotesetup.SapInstance.setup(SapInstance.java:217)
         at com.sap.sup.admin.setup.SapCluster.setup(SapCluster.java:461)
         at com.sap.sup.admin.setup.SapCluster.access$000(SapCluster.java:26)
         at com.sap.sup.admin.setup.SapCluster$SetupRunner.run(SapCluster.java:669)
         at java.lang.Thread.run(Thread.java:534)
    Anybody knows which can be the problem?
    Thanks a lot
    Carlos

    Hi Shriraj,
    ensure that the installation path is correct. I only put /urs/sap/<SID> and you must put /usr/sap/<SID>/DV***/.
    In my case with that the setup returns all in green.
    I hope it helps you
    Regards
    Carlos

  • SIMPLE Database Design Problem !

    Mapping is a big problem for many complex applications.
    So what happens if we put all the tables into one table called ENTITY?
    I have more than 300 attributeTypes.And there will be lots of null values in the records of that single table as every entityType uses the same table.
    Other than wasting space if I put a clustered index on my entityType coloumn in that table.What kind of performance penalties to I get?
    Definition of the table
    ENTITY
    EntityID > uniqueidentifier
    EntityType > Tells the entityTypeName
    Name >
    LastName >
    CompanyName > 300 attributeTypes
    OppurtunityPeriod >
    PS:There is also another table called RELATION that points the relations between entities.

    >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
    check the coloumn with WHERE _entityType='PERSON'
    as there is is clustered index on entityType...there
    is NO performance decrease.
    there is also a clustered index on RELATION table on
    relationType
    when we say WHERE _entityType ='PERSON' or
    WHERE relationType='CONTACTMECHANISM'.
    it scans the clustered index first.it acts like a
    table as it is physically ordered.I was thinking in terms of using several conditions in the same select, such as
    WHERE _entityType ='PERSON'
      AND LastName LIKE 'A%' In your case you have to use at least two indices, and since your clustered index comes first ...
    >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
    Have you ever thought of using constraints in your
    modell? How would you realize those?
    ...in fact we did.We have arranged the generic object
    model in an object database.The knowledge information
    is held in the object database.So your relational database is used only as a "simple" storage, everything has go through your object database.
    But the data schema is held in the RDBMS with code
    generation that creates a schema to hold data.If you think that this approach makes sense, why not.
    But in able to have a efficent mapping and a good
    performance we have thought about building only one
    table.The problem is we know we are losing some space
    but the thing is harddisk is much cheaper than RAM
    and CPU.So our trade off concerated on the storage
    cost.But I still wonder if there is a point that I
    have missed in terms performance?Just test your approach by using sufficiently data - only you know how many records you have to store in your modell.
    PS: it is not wise effective using generic object
    models also in object databases as CPU cost is a lot
    when u are holding the data.I don't know if I'd have taken your approach - using two database systems to hold data and business logic.
    PS2: RDBMS is a value based system where object
    databases are identity based.we are trying to be in
    the gray area of both worlds.Like I wrote: if your approach works and scales to the required size, why not? I would assume that you did a load test with your approach.
    What I would question though is that your discussing a "SIMPLE Database Design" problem. I don't see anything simple in your approach when it comes to implementation.
    C.

  • Database connection problem when i try store the values in JTable

    Hi Sir,
    I have a database connection problem when i try to store the data's in a JTable.I think the problem is with in the database connection.I have used 3 vectors here.The database which i have used is
    Access.Where the program is compiling well.But when i run it only the first column heading is printed and error message showing that
    "Invalid Cursor State".I need to solve this problem.pls. do help me.
    I will provide u with the code.
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    import javax.swing.event.*;
    import java.util.*;
    import java.sql.*;
    public class DataBaseVector extends JPanel
    //Container contentPane=getContentPane();
    JScrollBar jsb = new JScrollBar(JScrollBar.HORIZONTAL);
    JScrollBar jsb1 = new JScrollBar(JScrollBar.VERTICAL);
    Image i1;
    String url="jdbc:odbc:Ananth";
    Vector col=new Vector();
    Vector rows=new Vector();
    Vector rdata=new Vector();
    Connection conn;
    public DataBaseVector()
    //super("JTable With ScrollBars");
    this.setLayout(new BorderLayout());
    UIManager.put("ScrollBar.track",Color.red);
    UIManager.put("ScrollBar.thumb",Color.blue);
    try
    Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
    conn=DriverManager.getConnection(url); // Is there any problem here?
    Statement st=conn.createStatement();
    ResultSet rs=st.executeQuery("Select * from AccountMaster");
    // rs is the result set obtained
    ResultSetMetaData rsmd=rs.getMetaData();
    int cols=rsmd.getColumnCount();
    for(int i=1;i<=cols;i++)
    col.addElement(rsmd.getColumnName(i));
    rdata.addElement(rs.getString(i));
    rows.addElement(rdata);
    }catch(Exception e)
         System.out.println("The Error Message was:"+e.getMessage());
    JTable jt=new JTable(rows,col);
    int v=ScrollPaneConstants.VERTICAL_SCROLLBAR_AS_NEEDED;
    int h=ScrollPaneConstants.HORIZONTAL_SCROLLBAR_AS_NEEDED;
    JScrollPane jsp=new JScrollPane(jt,v,h);
    this.add(jsp,BorderLayout.CENTER);
    this.add(jsb, BorderLayout.SOUTH);
    this.add(jsb1, BorderLayout.EAST);
    public static void main(String args[])
    JFrame jf=new JFrame();
    JPanel frame=new DataBaseVector();
    jf.getContentPane().add(frame);
    jf.setSize(800,600);
    jf.setVisible(true);
    Thanx,
    m.ananthu

    The problem is ResultSet.next() is not called.
    Try this and modify the table creation as you need.
    ResultSetMetaData rsmd=rs.getMetaData();
    int cols=rsmd.getColumnCount();
         while(rs.next()) {
              for(int i=1;i<=cols;i++)
                        col.addElement(rsmd.getColumnName(i));
                        rdata.addElement(rs.getString(i));
              rows.addElement(rdata);
    Hope this helps

  • FXO Disconnect Problem

    Hello,
    I just would like to ask some ideas on FXO disconnect problem having a setup of FXO to FXO termination on both sites. I am using a VIC-2FXO-M2 on both Cisco 1760-V Router and these fxo ports are terminated to the PABX local.The voice port will disconnect 30minutes (approximately) after the call is terminated or it remainded off-hook although the call is already done.
    We tried some fine tunings like enabling "battery-reversal" command, setting the timeout call disconnect to 5sec, timeout wait-release to 5sec. But the problem is still the same.
    What is really the ideal fxo disconnect solution that we can do to lessen the 30minutes delay from off-hook to on-hook.
    Looking forward for your great ideas.
    Thank you.
    Vivira Alastra

    Dear Vivira,
    The disconnection issue of FXO ports can really produce some gray hairs...
    I have worked integrated to some cheap Panasonic PBX's in Nigeria where documentation is really scarce.
    The solution that worked - but don't ask me how - was to try different combinations of CPTone on the Voice Ports. That did the job in our case.
    You can also try the tedious job of measuring the disconnect tones ans analyse it e.g. in CoolEdit and then set up a Voice Class where you define the tones.
    But try the CPTone settings first.
    Good luck.
    Peter

  • Disconnect problems on FXO Groundstart lines

    Hello all,
    I have a CCME customer, IOS 12.3-11T2. with 6 FXO ground-start lines on a 2821 platform. They are using PVDM2-32’s and two 4Port FXO cards. The call flow goes as follows.
    Incoming call from PSTN, hits fxo port which has a “connection plar” to a number which calls a script in CUE. From the script if you press “0” it calls the reception.
    All the above works fine.
    If the reception hangs up the call and the PSTN party does not right away, the PSTN party hears a repeating click. If the PSTN then hangs up and you do a “show voice port summary” it shows as follows
    IN OUT
    PORT CH SIG-TYPE ADMIN OPER STATUS STATUS EC
    ========= == ============ ===== ==== ======== ======== ==
    0/1/0 -- fxo-gs up up idle on-hook y
    Note that the OPER stat shows “up” and the out status shows “on-hook”
    Until that OPER status changes to “DORM” every call after the first one will get answered by this port and the PSTN party will hear the repeating click in their ear. It takes up to 30-40 seconds for the call to clear.
    If the PSTN party hangs up first the OPER stat will go to “DORM” almost immediately.
    Any thoughts?
    Ryan

    use the following commands to shorten the time the router waits before determining that the call needs to be dropped due to disconnect tones.
    on the voice port
    voice-port 1/1/0
    timeouts call-disconnect 5
    timeouts wait-release 5
    these will shorten the IOS default times of 30 sec & 60 sec down to 5 seconds.
    use the following link for more info on the FXO disconnect problem.
    http://www.cisco.com/en/US/customer/tech/tk652/tk653/technologies_tech_note09186a00800ae2d1.shtml

  • WLI 7.0 samples database setup problem

    I have just installed WL Platform 7.0. I want to run the WLI samples and did the following:
    1. Started "Integration Database Wizard" for WLI samples and performed "SwitchDB"
    - provided valid database properties for oracle. Completed successfully - config.xml
    for samples is updated.
    2. Ran RunSamples script - Gives database connect problems and database is not created.
    The user/pwd/machine name/SID are all correct.
    I observed that as part of "RunSamples", it again invokes "SwitchDB" (command I see
    is "switchdb oracle"). This resets the database properties in config.xml to the defaults
    - so obviously this is causing the connection problem.
    Pls let me know what is going wrong here?
    Thanks

    Garf,
    You are correct in your analysis. When you run the 'RunSamples' script,
    it will call switchdb and this causes the 'defaults' to be set in
    config.xml. Running the wliconfig utility is the customer experience
    BEA would like to have with regard to setting up the database. However,
    the RunSamples script has not been updated to correctly reflect that the
    customer would have already performed this step. When RunSamples calls
    switchdb, it is getting the defaults from the following location:
    <USER_DEFINED_DOMAIN>/dbInfo/<DATABASE>/setDBVars and setDBVarsExt files
    So for example, if you accepted the default user directory and your
    BEA_HOME is C:/bea and you were using the EAI Domain template calling
    your domain eaidomain and your are using Oracle, you should update the
    following files:
    C:\bea\user_projects\eaidomain\dbInfo\oracle\setDBVars.cmd and
    setDBVarsExt.cmd
    Edit these files to reflect your DB connection properties.
    When RunSamples calls switchdb, these properties will be used to update
    the wliPool in config.xml. I hope this helps and sorry for the
    inconvenience.
    Cheers,
    Chris
    Garf wrote:
    I have just installed WL Platform 7.0. I want to run the WLI samples and did the following:
    1. Started "Integration Database Wizard" for WLI samples and performed "SwitchDB"
    - provided valid database properties for oracle. Completed successfully - config.xml
    for samples is updated.
    2. Ran RunSamples script - Gives database connect problems and database is not created.
    The user/pwd/machine name/SID are all correct.
    I observed that as part of "RunSamples", it again invokes "SwitchDB" (command I see
    is "switchdb oracle"). This resets the database properties in config.xml to the defaults
    - so obviously this is causing the connection problem.
    Pls let me know what is going wrong here?
    Thanks

  • Cisco Solution for FXO Disconnect Problem

    I have Panasonic PBX-->FXO-->1751V------WAN-----1751V-->FXO--Panasonic PBX. I am facing a serious problem with FXO on both ends becoming busy after some few initial calls.
    What is the exact Cisco solution for this FXO disconnect problem? I have read and applied some Netpro tips for similar case but none could help.
    Can we have Cisco expert explain this??

    Hello, I think this url may be helpful:
    http://www.cisco.com/en/US/tech/tk652/tk653/technologies_tech_note09186a00800ae2d1.shtml
    Regards.

  • Cisco FXO Disconnect Problem

    we have 2801 router that connected with 2 anloga lines (FXO Card), but now we have a problem with disconnect problem, the phone still connected after the PSTN Caller Disconnect, and our policy tell that the agents shouldn't end the call, so we want when the PSTN caller end the call we need the phone to return to idle state.
    and according for the below link, i configure the custom disconnect tone, and in the attachment you can find tow disconnect tones.
    http://ciscoflair.blogspot.com/2009/05/cisco-fxo-disconnect-issue.html
    the configuration of the custom disconnect tone
    voice class dualtone-detect-params 1
    cadence-variation 3
    voice class custom-cptone Custom1
    dualtone disconnect
      frequency 420
      cadence 245 255 245 255 245 255
    and the below you can find the configuration of the voice port, and you can find the debug vpm port 0/3/0, debug vpm signal, for a call that disconnected immediately, and for a call the take long time to disconnected.
    this is the configuration of the voice port:
    voice-port 0/3/0
    supervisory disconnect dualtone mid-call
    supervisory custom-cptone Custom1
    supervisory dualtone-detect-params 1
    no battery-reversal
    cptone NL
    timeouts call-disconnect 5
    timeouts wait-release 5
    timing hookflash-out 50
    timing guard-out 300
    caller-id enable
    caller-id alerting line-reversal
    caller-id alerting dsp-pre-allocate
    this is the debug of a call that is disconnected immediately:
    Jan 25 11:48:32.262: [0/3/0] htsp_dsm_feature_notify_cb  returns 2 id=DSM_FEATURE_SM_CALLERID_RX
    Jan 25 11:48:32.262: htsp_process_event: [0/3/0, FXOLS_ONHOOK, E_HTSP_CALLERID_RX_DONE]
    Jan 25 11:48:32.262: [0/3/0] htsp_stop_caller_id_rx. message length 11
    Jan 25 11:48:32.262: [0/3/0] htsp_dsm_close_done
    Jan 25 11:48:34.026: htsp_process_event: [0/3/0, FXOLS_ONHOOK, E_DSP_SIG_0000]fxols_onhook_ringing
    Jan 25 11:48:34.026: htsp_timer - 125 msec
    Jan 25 11:48:34.154: htsp_process_event: [0/3/0, FXOLS_WAIT_RING_MIN, E_HTSP_EVENT_TIMER]fxols_wait_ring_min_timer
    Jan 25 11:48:34.154: htsp_timer - 10000 msec
    Jan 25 11:48:35.305: htsp_process_event: [0/3/0, FXOLS_RINGING, E_DSP_SIG_0100]
    Jan 25 11:48:35.305: fxols_ringing_not
    Jan 25 11:48:35.305: htsp_timer_stop
    Jan 25 11:48:35.305: htsp_timer_stop3 htsp_setup_ind
    Jan 25 11:48:35.305: [0/3/0] get_fxo_caller_id:Caller ID received. Message type=129 length=11 checksum=00
    Jan 25 11:48:35.309: [0/3/0] Caller ID String 44 30 36 35 36 37 39 31 34 31
    Jan 25 11:48:35.309: [0/3/0] get_fxo_caller_id calling num=065679141 calling name= calling time=01/25 13:48
    Jan 25 11:48:35.313: htsp_process_event: [0/3/0, FXOLS_WAIT_SETUP_ACK, E_HTSP_SETUP_ACK]
    Jan 25 11:48:35.313: fxols_wait_setup_ack:
    Jan 25 11:48:35.313: [0/3/0] set signal state = 0xC timestamp = 0fxols_check_auto_call
    Jan 25 11:48:35.321: htsp_process_event: [0/3/0, FXOLS_PROCEEDING, E_HTSP_PROCEEDING]fxols_offhook_proc
    Jan 25 11:48:35.321: htsp_timer - 120000 msechtsp_alert_notify
    Jan 25 11:48:35.389: htsp_process_event: [0/3/0, FXOLS_PROCEEDING, E_HTSP_ALERT]fxols_offhook_alerthtsp_call_service_msghtsp_call_service_msg not EFXS (2)
    Jan 25 11:48:35.509: htsp_call_bridged invokedhtsp_call_service_msghtsp_call_service_msg not EFXS (2)
    Jan 25 11:48:35.513: htsp_process_event: [0/3/0, FXOLS_PROCEEDING, E_HTSP_CONNECT]fxols_offhook_connect
    Jan 25 11:48:35.513: htsp_timer_stop
    Jan 25 11:48:35.521: htsp_process_event: [0/3/0, FXOLS_CONNECT, E_HTSP_VOICE_CUT_THROUGH]fxols_connect_proc_voice
    Jan 25 11:48:35.585: htsp_process_event: [0/3/0, FXOLS_CONNECT, E_DSP_SIG_0110]fxols_rvs_battery
    Jan 25 11:48:35.585: htsp_timer_stop2
    sh voice po su
                                               IN       OUT
    PORT            CH   SIG-TYPE   ADMIN OPER STATUS   STATUS   EC
    =============== == ============ ===== ==== ======== ======== ==
    0/3/0           --  fxo-ls      up    up   idle     off-hook y
    0/3/1           --  fxo-ls      up    dorm idle     on-hook  y
    50/0/1          1      efxs     up    up   on-hook  idle     y
    50/0/1          2      efxs     up    up   on-hook  idle     y
    PWR FAILOVER PORT        PSTN FAILOVER PORT
    =================        ==================
    Jan 25 11:48:43.857: htsp_process_event: [0/3/0, FXOLS_CONNECT, E_DSP_SUP_DISCONNECT]fxols_conn_sup_disc
    Jan 25 11:48:43.857: htsp_timer2 - 5000 msec
    Madaba_Maint#
    Jan 25 11:48:48.856: htsp_process_event: [0/3/0, FXOLS_CONNECT, E_HTSP_EVENT_TIMER2]fxols_disc_confirm
    Jan 25 11:48:48.856: htsp_timer_stop
    Jan 25 11:48:48.856: htsp_timer_stop2
    Jan 25 11:48:48.856: htsp_timer_stop3
    Jan 25 11:48:48.860: htsp_timer_stop3
    Jan 25 11:48:48.876: htsp_process_event: [0/3/0, FXOLS_REMOTE_RELEASE, E_HTSP_RELEASE_REQ]fxols_offhook_release
    Jan 25 11:48:48.876: htsp_timer_stop
    Jan 25 11:48:48.876: htsp_timer_stop2
    Jan 25 11:48:48.876: htsp_timer_stop3
    Jan 25 11:48:48.876: [0/3/0] set signal state = 0x4 timestamp = 0
    Jan 25 11:48:48.876: htsp_timer - 300 msec
    Jan 25 11:48:49.148: htsp_process_event: [0/3/0, FXOLS_GUARD_OUT, E_DSP_SIG_0110]
    Jan 25 11:48:49.176: htsp_process_event: [0/3/0, FXOLS_GUARD_OUT, E_HTSP_EVENT_TIMER]fxols_guard_out_timeout
    Jan 25 11:48:49.176: fxols_dsp_prealloc_clid_wait. Line reversal alerting DSP preallocation done
    Jan 25 11:48:49.176: [0/3/0] htsp_start_caller_id_rx:ETSI_DTMF
    Jan 25 11:48:49.176: htsp_start_caller_id_rx create dsp_stream_manager
    Jan 25 11:48:49.176: htsp_process_event: [0/3/0, FXOLS_ONHOOK, E_DSP_SIG_0100]
    Jan 25 11:48:49.176: [0/3/0] htsp_dsm_create_success  returns 1
    Madaba_Maint#sh voice po su
                                               IN       OUT
    PORT            CH   SIG-TYPE   ADMIN OPER STATUS   STATUS   EC
    =============== == ============ ===== ==== ======== ======== ==
    0/3/0           --  fxo-ls      up    dorm idle     on-hook  y
    0/3/1           --  fxo-ls      up    dorm idle     on-hook  y
    50/0/1          1      efxs     up    up   on-hook  idle     y
    50/0/1          2      efxs     up    up   on-hook  idle     y
    this is a debug for a call that is take a long time to disconnected:
    Jan 25 11:49:42.267: [0/3/0] htsp_dsm_feature_notify_cb  returns 2 id=DSM_FEATURE_SM_CALLERID_RX
    Jan 25 11:49:42.267: htsp_process_event: [0/3/0, FXOLS_ONHOOK, E_HTSP_CALLERID_RX_DONE]
    Jan 25 11:49:42.267: [0/3/0] htsp_stop_caller_id_rx. message length 11
    Jan 25 11:49:42.271: [0/3/0] htsp_dsm_close_done
    Jan 25 11:49:43.999: htsp_process_event: [0/3/0, FXOLS_ONHOOK, E_DSP_SIG_0000]fxols_onhook_ringing
    Jan 25 11:49:43.999: htsp_timer - 125 msec
    Jan 25 11:49:44.127: htsp_process_event: [0/3/0, FXOLS_WAIT_RING_MIN, E_HTSP_EVENT_TIMER]fxols_wait_ring_min_timer
    Jan 25 11:49:44.127: htsp_timer - 10000 msec
    Jan 25 11:49:45.279: htsp_process_event: [0/3/0, FXOLS_RINGING, E_DSP_SIG_0100]
    Jan 25 11:49:45.279: fxols_ringing_not
    Jan 25 11:49:45.279: htsp_timer_stop
    Jan 25 11:49:45.279: htsp_timer_stop3 htsp_setup_ind
    Jan 25 11:49:45.279: [0/3/0] get_fxo_caller_id:Caller ID received. Message type=129 length=11 checksum=00
    Jan 25 11:49:45.279: [0/3/0] Caller ID String 44 30 36 35 36 37 39 31 34 31
    Jan 25 11:49:45.279: [0/3/0] get_fxo_caller_id calling num=065679141 calling name= calling time=01/25 13:49
    Jan 25 11:49:45.283: htsp_process_event: [0/3/0, FXOLS_WAIT_SETUP_ACK, E_HTSP_SETUP_ACK]
    Jan 25 11:49:45.283: fxols_wait_setup_ack:
    Jan 25 11:49:45.287: [0/3/0] set signal state = 0xC timestamp = 0fxols_check_auto_call
    Jan 25 11:49:45.291: htsp_process_event: [0/3/0, FXOLS_PROCEEDING, E_HTSP_PROCEEDING]fxols_offhook_proc
    Jan 25 11:49:45.291: htsp_timer - 120000 msechtsp_alert_notify
    Jan 25 11:49:45.379: htsp_process_event: [0/3/0, FXOLS_PROCEEDING, E_HTSP_ALERT]fxols_offhook_alerthtsp_call_service_msghtsp_call_service_msg not EFXS (2)
    Jan 25 11:49:45.495: htsp_call_bridged invokedhtsp_call_service_msghtsp_call_service_msg not EFXS (2)
    Jan 25 11:49:45.503: htsp_process_event: [0/3/0, FXOLS_PROCEEDING, E_HTSP_CONNECT]fxols_offhook_connect
    Jan 25 11:49:45.503: htsp_timer_stop
    Jan 25 11:49:45.507: htsp_process_event: [0/3/0, FXOLS_CONNECT, E_HTSP_VOICE_CUT_THROUGH]fxols_connect_proc_voice
    Jan 25 11:49:45.559: htsp_process_event: [0/3/0, FXOLS_CONNECT, E_DSP_SIG_0110]fxols_rvs_battery
    Jan 25 11:49:45.559: htsp_timer_stop2
    sh voice po su
                                               IN       OUT
    PORT            CH   SIG-TYPE   ADMIN OPER STATUS   STATUS   EC
    =============== == ============ ===== ==== ======== ======== ==
    0/3/0           --  fxo-ls      up    up   idle     off-hook y
    0/3/1           --  fxo-ls      up    dorm idle     on-hook  y
    50/0/1          1      efxs     up    up   on-hook  idle     y
    50/0/1          2      efxs     up    up   on-hook  idle     y
    Jan 25 11:50:30.387: htsp_timer_stop3
    Jan 25 11:50:30.399: htsp_process_event: [0/3/0, FXOLS_CONNECT, E_HTSP_RELEASE_REQ]fxols_offhook_release
    Jan 25 11:50:30.399: htsp_timer_stop
    Jan 25 11:50:30.399: htsp_timer_stop2
    Jan 25 11:50:30.399: htsp_timer_stop3
    Jan 25 11:50:30.399: [0/3/0] set signal state = 0x4 timestamp = 0
    Jan 25 11:50:30.399: htsp_timer - 300 msec
    Jan 25 11:50:30.671: htsp_process_event: [0/3/0, FXOLS_GUARD_OUT, E_DSP_SIG_0110]
    Jan 25 11:50:30.699: htsp_process_event: [0/3/0, FXOLS_GUARD_OUT, E_HTSP_EVENT_TIMER]fxols_guard_out_timeout
    Jan 25 11:50:30.699: fxols_dsp_prealloc_clid_wait. Line reversal alerting DSP preallocation done
    Jan 25 11:50:30.699: [0/3/0] htsp_start_caller_id_rx:ETSI_DTMF
    Jan 25 11:50:30.699: htsp_start_caller_id_rx create dsp_stream_manager
    Jan 25 11:50:30.699: htsp_process_event: [0/3/0, FXOLS_ONHOOK, E_DSP_SIG_0100]
    Jan 25 11:50:30.699: [0/3/0] htsp_dsm_create_success  returns 1
    So what can we do? what is the wronge of my configuration?

    anyone can help?

  • WRT54G disconnect problem

    I have been a loyal Linksys (CISCO) user since buying my 1st Wireless Access Point router/4-port Switch (BEFW1154 v2) in 08/2002. I upgraded to a Linksys Wireless-G Broadband Router (WRT54G v8.00.2) in 11/2007. My home wireless network supports; IBM Thinkpad (Windows XP) and Lenovo Ideapad (Windows VISTA Home Premium). About a month ago I started having disconnect issues with the WRT54G. Both laptops experienced the disconnects. Initially, I unplugged the WRT54G power for about 1 minute then plugged it back in. This did not resolve the disconnect problem. I then tried to unplug the cable modem and WRT54G power. Wait about 1 minute then plug in the cable modem allowing it to reset and sync up. Then I plugged in the WRT54G. This temporarily resolved the problem for a few minutes but the disconnect problem returned eventually. I reset the WRT54G to the factory default configuration and reconfigured it for my home network. The disconnect problem was not resolved by taking this action. I contacted Cablevision who provides my broadband Internet access. They could not identify a root cause for the disconnect problem. To determine if the root cause was something other than the WRT54G, I reinstalled the BEFW1154. I have not had a disconnect problem since taking this action leading me to believe that the WRT54G is bad. I would appreciate any suggestions that might resolve the disconnect problem except for a suggestion to purchase a new router. THANKS
    Solved!
    Go to Solution.

    I too have had the disconnect problem. I am thinking now that my problem started when I moved the Router next to the printer. I think when the printer is on my router disconnects. I have the printer off this morning and have no problems. Last night the printer was on and both my wife's and my Pc's would lose connection to the router until I unplugged it and plugged it back in.
    Is it possible for a printer to throw off the connection? I know my cell phone causes a lot of noise in the speakers if I have it next to the PC.

  • Oracle Database Starting Problem

    Hi all,
    i am having database startup problems.
    my database is working fine but when i try to connect as sysdba then i get the following error
    Connected to an idle instance.
    SQL> select status from v$instance;
    select status from v$instance
    ERROR at line 1:
    ORA-01034: ORACLE not available
    i have also checked the listener and it is also working fine.
    Instance "orcl", status READY, has 3 handler(s) for this service...
    The process is also shown by the pmon command, check through operating system command
    ps -aef |grep pmon
    oracle 3235 2816 0 18:08:15 pts/3 0:00 grep pmon
    oracle 22425 1 0 12:01:57 ? 0:08 ora_pmon_orcl
    Please let me know what to do.
    regards,
    Imran Raza

    Hi Laura,
    Please find below
    bash-3.00$ echo $ORACLE_SID
    orcl
    bash-3.00$ ./lsnrctl status
    LSNRCTL for Solaris: Version 10.1.0.5.0 - Production on 17-FEB-2009 18:58:55
    Copyright (c) 1991, 2004, Oracle. All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=silverApp0)(PORT=1521)))
    STATUS of the LISTENER
    Alias LISTENER
    Version TNSLSNR for Solaris: Version 10.1.0.5.0 - Production
    Start Date 17-FEB-2009 11:51:42
    Uptime 0 days 7 hr. 7 min. 13 sec
    Trace Level off
    Security ON: Local OS Authentication
    SNMP OFF
    Listener Parameter File /oracle/dba/OraHome1/network/admin/listener.ora
    Listener Log File /oracle/dba/OraHome1/network/log/listener.log
    Listening Endpoints Summary...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=silverApp0)(PORT=1521)))
    (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC1521)))
    Services Summary...
    Service "PLSExtProc" has 1 instance(s).
    Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
    Service "orcl.silverapp0.com" has 1 instance(s).
    Instance "orcl", status READY, has 3 handler(s) for this service...
    The command completed successfully

Maybe you are looking for

  • How do I make multiple buttons in my flash animation?

    I am new to flash, and I have no training in it whatsoever. I created a flash animation with flash CS3 for my photography website, and I want to link each of the images to different galleries on my site. When I created my first button it worked fine,

  • IPhone 3Gs rebooting itself now stuck on boot

    Hello, I've had my iPhone 3Gs since February 2010 making it as of this post 1 year old and 3 months over warrantee. Last week my iPhone started randomly turning off and on again and it was happening a few times each day. It began to reboot itself mor

  • Question on infoset/quickviwer

    May I know was it possible to use infoset or quickviwer to extract all the latest sales order, table VBEP, whereby I will filter by the latest schedule line number? For example : salesorder  pos schedule_line 1120 20 1 1120 20 2 so, i need to get dat

  • Sales Opportunities - Filtering by non-primary interest ranges

    Hi experts, I'm trying to create a sales opportunity report that includes the field "interest ranges".  In our case interest ranges are the supplier products that the customer is interested in.  The problem that I am having is that when I filter and

  • Help, MAC vs PC

    My daughter is the only Mac user in her apartment, she has a dual USB iBook with an airport b card. They got a linksys wireless router and all the PC users are up and running but my daughter keeps getting a "incorrect password" message when she tries