Need suggestion regarding configuring listener.ora

I have a prolem with External proceduere uses C as language
i placed the dll file in oracle_home/bin directory
and run the procedure, then i got an error which is given below
SQL> exec shell('dir')
BEGIN shell('dir'); END;
ERROR at line 1:
ORA-28595: Extproc agent : Invalid DLL Path
ORA-06512: at "ENCORA.SHELL", line 0
ORA-06512: at line 1
Then,
i configured the listener.ora with (ENVS="EXTPROC_DLLS=ANY")
then i got the following error
.SQL> exec shell('dir')
BEGIN shell('dir'); END;
ERROR at line 1:
ORA-06520: PL/SQL: Error loading external library
ORA-06522: Unable to load DLL
ORA-06512: at "ENCORA.SHELL", line 0
ORA-06512: at line 1
if,i tried with out setting (ENVS="EXTPROC_DLLS=ANY") then got Extproc agent : Invalid DLL Path.
if, i set the environment variable , then got unable to load the external library.
can any one suggest me how can i solve this?

I have a prolem with External proceduere uses C as language
i placed the dll file in oracle_home/bin directory
and run the procedure, then i got an error which is given below
SQL> exec shell('dir')
BEGIN shell('dir'); END;
ERROR at line 1:
ORA-28595: Extproc agent : Invalid DLL Path
ORA-06512: at "ENCORA.SHELL", line 0
ORA-06512: at line 1
Then,
i configured the listener.ora with (ENVS="EXTPROC_DLLS=ANY")
then i got the following error
.SQL> exec shell('dir')
BEGIN shell('dir'); END;
ERROR at line 1:
ORA-06520: PL/SQL: Error loading external library
ORA-06522: Unable to load DLL
ORA-06512: at "ENCORA.SHELL", line 0
ORA-06512: at line 1
if,i tried with out setting (ENVS="EXTPROC_DLLS=ANY") then got Extproc agent : Invalid DLL Path.
if, i set the environment variable , then got unable to load the external library.
can any one suggest me how can i solve this?

Similar Messages

  • GC 10gR3 - Edit Oracle Listener Configuration - listener.ora is DOS-Format

    RDBMS Version:: 9i / 10g
    Operating System and Version:: Unix / RHEL 4
    Error Number (if applicable):: NL-00278
    Product (i.e. Trace, DB Diff, Expert, etc):: Listener Configuration
    Product Version:: 10.2.0.3
    OEM Console Operating System and Version:: Windows 2003
    GC 10gR3 - Edit Oracle Listener Configuration - listener.ora is DOS-Format under Unix
    Hello everyone,
    during an demo of Grid Control 10gR3 for an customer I found the following issue:
    When the Grid Control Server is running under Windows and the listener.ora file of an target is edited with GC the resulting file is in DOS-Format even if the target is a Unix system. This can cause the listener to fail during the restart.
    To reproduce that problem you have to do the following steps:
    1. You need GC under Windows and a Listener target under Unix/Linux
    2. Go to the edit page of the listener-target and use the "Edit" Button
    3. Go to the "Logging & Tracing" Tab and enable Logging
    4. Change the Logfile to a new filename e.g. LISTENER2.log
    5. Apply that change with the "OK" button
    6. Let the Listener get restarted on the next screen
    Result:
    You receive an error message:
    LSNRCTL> Starting /opt/oracle/ora10g/bin/tnslsnr: please wait...
    TNSLSNR for Linux: Version 10.2.0.1.0 - Production
    NL-00280: error creating log stream /opt/oracle/ora10g/network/log
    /listener2.log
    .log
    NL-00278: cannot open log file
    SNL-00016: snlfohd: error opening file
    Linux Error: 2: No such file or directory
    Listener failed to start. See the error message(s) above...
    Analysis:
    The listener.ora file is in DOS-Format and the Listener seams to have some problems to create a new log-file in that case. If the listener.ora file is converted manually with the tool dos2unix to be in Unix-Format the Listener starts without problems.
    I can reproduce that behavior on two grid control installations. Can someone also reproduce that problem? I have not found an Bug or Patch for that issue.
    Best Regards
    Frank

    Hello,
    well, the listener.ora file is correct - the only problem is that it is in DOS-Format. When I use the tool dos2unix to convert listener.ora to be in unix format there are no problems to restart the listener.
    Bye
    Frank

  • I am facing problem when configuring listener.ora and tnsnamess.ora in listener side it is showing The listener supports no services The command completed successfully  and in when i cross check with listener from tns it is showing the error

    i am facing problem when configuring listener.ora and tnsnamess.ora in listener side it is showing The listener supports no services The command completed successfully  and in when i cross check with listener from tns it is showing the error
    ORA-12514: TNS:listener does not currently know of service requested in connect
    descriptor
    here is my listener file
    lsn =
      (DESCRIPTION_LIST =
        (DESCRIPTION =
          (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC))
          (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.125.128)(PORT = 1575))
    #ADR_BASE_LISTENER = /u01/app/oracle
    (SID_LIST_LISTENER=
    (SERVICE_NAME=kull)
    (ORACLE_HOME=/u01/app/oracle/product/11.2.0/db_1)
    tnsnames.ora
    to_lsn=
      (DESCRIPTION =
        (ADDRESS = (PROTOCOL = TCP)(HOST = server1)(PORT = 1575))
        (CONNECT_DATA =
          (SERVER = DEDICATED)
          (SERVICE_NAME = kull )
    my database name is kull
    please somebody help

    Biswaranjan wrote:
    i have two database one is kull and another is kk
    i configured listener.ora in kull
    and tnsnames.ora in kk
    when i am running lsnrctl start listener in database kull
    This makes no sense.  You don't configure a listener nor a tnsnames.ora "in a database".   I hope this is just a language issue and not reflective of a fundamental misunderstanding of how tns works.
    read: http://edstevensdba.wordpress.com/2011/02/09/sqlnet_overview/ Help! I can’t connect to my database 
    read: http://edstevensdba.wordpress.com/2011/02/16/sqlnet_client_cfg/ Help! I can’t connect to my database (part duex)
    it is showing the message
    Alias                     lsn
    Version                   TNSLSNR for Linux: Version 11.2.0.1.0 - Production
    Start Date                05-JUL-2013 19:08:06
    Uptime                    0 days 0 hr. 0 min. 0 sec
    Trace Level               off
    Security                  ON: Local OS Authentication
    SNMP                      OFF
    Listener Parameter File   /u01/app/oracle/product/11.2.0/db_1/network/admin/listener.ora
    Listener Log File         /u01/app/oracle/product/11.2.0/db_1/log/diag/tnslsnr/server1/lsn/alert/log.xml
    Listening Endpoints Summary...
      (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC1575)))
      (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=server1)(PORT=1575)))
    The listener supports no services
    The command completed successfully
    and in another database in kk when i am giving the command tnsping to_lsn
    it is giving this message
    Used TNSNAMES adapter to resolve the alias
    Attempting to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = server1)(PORT = 1575)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = kull)))
    OK (0 msec)
    but when i am cross check sqlplus system/manager@ to_lsn
    it is giving the following error
    ORA-12514: TNS:listener does not currently know of service requested in connect
    descriptor

  • Virtual address configure listener.ora and tnsnames.ora files on Solaris10

    Hi,
    I have installed Oracle 10g R2 on Solaris 10 U4 SPARC.
    I need to configure Oracle 10g to work with Storage Foundation for Oracle v5.0.
    After Oracle installation listener.ora listens on host IP address.
    So I have changed to listens on the Virtual IP address. This is a requirement:
    All listeners to be configured must listen to the same virtual IP address
    Could you please tell what to correct to have my Oracle working correctly?
    listener.ora:
    -bash-3.00$ cat listener.ora
    # listener.ora Network Configuration File: /export/home/u01/app/oracle/product/10.2.0/Db_1/network/admin/listener.ora
    # Generated by Oracle configuration tools.
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = PLSExtProc)
    (ORACLE_HOME = /export/home/u01/app/oracle/product/10.2.0/Db_1)
    (PROGRAM = extproc)
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 10.160.19.64)(PORT = 1521))
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC0))
    tnsnames.ora:
    -bash-3.00$ cat tnsnames.ora
    # tnsnames.ora Network Configuration File: /export/home/u01/app/oracle/product/10.2.0/Db_1/network/admin/tnsnames.ora
    # Generated by Oracle configuration tools.
    ORCL =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 10.160.19.64)(PORT = 1158))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = orcl)
    EXTPROC_CONNECTION_DATA =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC0))
    (CONNECT_DATA =
    (SID = PLSExtProc)
    (PRESENTATION = RO)
    Also connecting by web browser http://10.160.19.64:1158/em I am not able to start listener:
    Details TNS-12541: TNS:no listener
    Using the command listener start it starts successfully.
    Kind regards,
    Daniel

    The port in listener.ora nad tnsnames.ora are now the same - 1521
    After this trying logining by Web page there is an error:
    Error
    Io exception: The Network Adapter could not establish the connection
    When I run netca tool and I reconfigure listener netca change the IP address to sun3 which has 10.160.19.49. After this listener works fine and I am able to connect by Web page.
    bge0 10.160.19.49 - is the base IP address
    bge0:2 10.160.19.64 - is the virtual IP address
    I want listener to listen on 10.160.19.64.

  • Need suggestion regarding File compression and splititng

    Hi,
    I want to split and compress the big files into small chucks. On later any standard zip utility i.e. winzip, 7z etc can merge(extract) all the chunks to generate the original file. I am looking for any java library which provide the split and compression functionality.
    As Java also supports in built compression utility. Should I use those library or any other open source is available to do this? I welcome your suggestion regarding how can I start.
    Thanks

    If you're just looking for something to be used internally, it'd be pretty simple:
    1. Open your source InputStream.
    2. Create a standard read/write loop to pump the stream.
    3. Add a counter that determines how much you've pushed into your current target. After you reach a certain value, close your current target, create a new target stream, and reset the counter.
    4. Conclude by closing your source and your current target.
    For compression, you can use the built-in GZIPOutputStream or a third-party library of your choice. I usually find GZIP sufficient for my needs.
    Of course, if you want the output to be compatible with other programs like 7-Zip, you've got a lot more work on your hands complying with the file format spec. :)

  • Need suggestion regarding drop RAC database of 11g

    Hi All,
    I have 11gR2 RAC environment setup. Database required recovery and I have no backup, based on support engineer guidance I restore the database using some hidden parameters though its a corrupted db so I need to rebuild. For rebuild purpose I took expdp of entire database and then drop it. I had drop through "dbca" , db was open and I run "dbca" and select drop database option, at one time it showing me warning/error ORA-01586:database must be mounted EXCLUSIVE and not open for this operation but after that drop was run perfectly.
    but when I check the ASM disk status , it still show as it is , I mean no change in their free_space column, I also verified through asmcmd command and all the Datafiles are still there.
    I want to cleanup asm disk which are still fillup with dbfs and I thought that would be cleared by dropping database but no my assumption was wrong.
    can any one suggest me what to do if I want to make free space in asm disk which was allocated for dbf files?
    Thanks in advance.

    Hi Forstmann,
    Please find both the commands output below:
    ASMCMD> lsdg
    State Type Rebal Sector Block AU Total_MB Free_MB Req_mir_free_MB Usable_file_MB Offline_disks Voting_files Name
    MOUNTED NORMAL N 512 4096 1048576 14004 13208 0 6604 0 N ASM_FOR_CRS/
    MOUNTED NORMAL N 512 4096 1048576 75069 19755 18440 657 0 N ORADATA/
    MOUNTED NORMAL N 512 4096 1048576 200060 199773 74 99849 0 N ORADATA_PROD/
    MOUNTED EXTERN N 512 4096 1048576 99998 48689 0 48689 0 N ORAFLASH_AREA/
    MOUNTED NORMAL N 512 4096 1048576 106013 105823 0 52911 0 N TEST/
    ASMCMD> find + *
    +ASM_FOR_CRS/
    +ASM_FOR_CRS/RWCORA-cluster/
    +ASM_FOR_CRS/RWCORA-cluster/ASMPARAMETERFILE/
    +ASM_FOR_CRS/RWCORA-cluster/ASMPARAMETERFILE/REGISTRY.253.725970931
    +ASM_FOR_CRS/RWCORA-cluster/OCRFILE/
    +ASM_FOR_CRS/RWCORA-cluster/OCRFILE/REGISTRY.255.725970933
    +ORADATA/
    +ORADATA/ASM/
    +ORADATA/ASM/CONTROLFILE/
    +ORADATA/ASM/CONTROLFILE/ctlbkp-23FEB.334.743838771
    +ORADATA/ASM/DATAFILE/
    +ORADATA/ASM/DATAFILE/SYSAUX.260.726054695.bkp.336.746443183
    +ORADATA/ASM/DATAFILE/SYSTEM.259.726054677.bkp.335.746443047
    +ORADATA/ASM/DATAFILE/UNDOTBS1.261.726054711.bkp.338.746443879
    +ORADATA/ASM/DATAFILE/UNDOTBS2.263.726054721.bkp.339.746444613
    +ORADATA/ASM/DATAFILE/USERS.264.726054727.bkp.337.746443729
    +ORADATA/ASM/PARAMETERFILE/
    +ORADATA/ASM/PARAMETERFILE/spfile.267.726056723.orig.324.731752409
    +ORADATA/ASM/PARAMETERFILE/spfileracdb_08DEC.ora.333.737181947
    +ORADATA/ASM/TEMPFILE/
    +ORADATA/ASM/TEMPFILE/TEMP.262.726054713.bkp.340.746444645
    +ORADATA/CMDOC
    +ORADATA/CMDOC702
    +ORADATA/CMDOC702RAC
    +ORADATA/DM_CMDOC702RAC_INDEX
    +ORADATA/DM_CMDOC702_INDEX
    +ORADATA/DM_CMDOC_INDEX
    +ORADATA/RACDB/
    +ORADATA/RACDB/CONTROLFILE/
    +ORADATA/RACDB/CONTROLFILE/Current.256.726054673
    +ORADATA/RACDB/DATAFILE/
    +ORADATA/RACDB/DATAFILE/JISPCARS.dbf
    +ORADATA/RACDB/ONLINELOG/
    +ORADATA/RACDB/ONLINELOG/group_1.257.746533235
    +ORADATA/RACDB/ONLINELOG/group_2.258.746533237
    +ORADATA/RACDB/ONLINELOG/group_3.265.746533239
    +ORADATA/RACDB/ONLINELOG/group_4.266.746533241
    +ORADATA/RACDB/PARAMETERFILE/
    +ORADATA/RACDB/PARAMETERFILE/spfile.267.726056723.orig
    +ORADATA/RACDB/PARAMETERFILE/spfile.267.737185455
    +ORADATA/RACDB/PARAMETERFILE/spfile.325.731754029
    +ORADATA/RACDB/PARAMETERFILE/spfileracdb.ora
    +ORADATA/RACDB/TEMPFILE/
    +ORADATA/RACDB/TEMPFILE/TEMP.262.726054713
    +ORADATA/RACDB/TEMPFILE/TEMP.262.726054713.bkp
    +ORADATA/RACDB/TEMPFILE/TEMPS1.341.746954959
    +ORADATA/RACDB/TEMPFILE/temps1
    +ORADATA/RACDB/ctlbkp-23FEB
    +ORADATA/RACDB/spfileracdb.ora
    +ORADATA/RACDB/spfileracdb_08DEC.ora
    +ORADATA_PROD/
    +ORAFLASH_AREA/
    +TEST/
    total 68 dbfs.

  • Need suggestions regarding a system design for incremental load

    Hi,
    Our client has  a set of SQL Server tables which are being fully refreshed daily using views from DB2 source tables. We need to design an approach to load them incrementally.
    We have a third party application 'XXX' which will provide us the changed records in the underlying DB2 tables into SQL Server tables daily. Let us call them CDC_<tbl>. This table will have the same schema of source and have a flag to indicate whether
    it is an insert, update or delete record. From these CDC tables, we have to do the required transformations and do the insert/update/delete from the target table accordingly.
    This approach would work easily for cases where there is only one source table. But when we have multiple tables joined together to load the target table, we are unable to design an approach. If on a particular day, an insert record comes in only one of
    the source CDC tables, we will not be getting that row in the target since the other CDC table doesn't have a record for that particular key. We cannot join the SQL Server CDC table with source DB2 table since that will cause performance issues.
    Please share your thoughts on how we can design an approach which will work in cases of join, union, group by etc. between source tables. We are open to suggestions on changes in CDC tables also since the third party tool is to be configured as per our design
    needs.
    Thanks in advance,
    KP

    If on a particular day, an insert record comes in only one of the source CDC tables, we will not be getting that row in the target since the other CDC table doesn't have a record for that particular key.
    If I understand correctly, you extract data using DB2 views (some with joins) and then use third party CDC software to capture all changes made to the underlying DB2 tables.  These changes are then applied to a transformed version of data extracted
    from the views.  If my understanding is correct, why use DB2 views at all?  It seems to me the transformation process must have intimate knowledge of the underlying DB2 tables anyway in order to apply the CDC data properly.
    Are you saying you are not getting the other CDC table row at all, or is it just that the CDC tables are not transactionally consistent at the time the changes are applied to the target?  I think transactional inconsistencies should be addressed by
    the third party CDC application. The other alternative as I see it is to query DB2 for a each CDC key to make sure you have the latest data during the transformation process.
    Dan Guzman, SQL Server MVP, http://www.dbdelta.com

  • Need help regarding configuring the WebService Call from RTD to Siebel

    Hi All,
    Can someone help me with the information on how do i configure a Webservice Call from RTD to Siebel?
    Any high-level or granular details on this would be very helpful as I am new working on this product. How can a jax-ws be utilized to achieve the same?
    Thanks in advance.
    Best Regards,
    Hariharan

    If you actually need a portal service though, this will not work. However, you could have the portal service return a Document object, which is basically the text of the HTML file you want to display. Then, when calling the portal service, you can simply output the text to the IPortalComponentResponse object
    I hope this helps
    Darrell

  • Need Help regarding TNS listener

    ORA-12514: TNS: No listener .
    in Dev_W0 i got this error also
    OCI-call 'OCIServerAttach' failed: rc = 12541
    Please Advice

    Hi Jafer,
    Please check in services whether TNSListener is running or not.
    If it is not running Start listener.
    If it is running and still you are getting No listener may be you have logged on with other than <SID>adm. Try to login with <SID>adm and check.
    Refer Note 563574 - Composite SAP note ORA-12514
    If your problem is not solved send us DEV_W0 logfile.
    Regards,
    Suraj

  • Need suggestions regarding creation of a UDT

    Dear All,
    Our client is into Chemicals Trading and deals with Units of Measurements with huge variations.
    For example, they stock the items in G but when they purchase, they may purchase in any of Kg,G, MG, micrograms, nanograms or peckograms or pounds based on the their sales requirement. However, their price calculation is based on the price list from the vendor which is again linked with the uit of measurment. A supplier may be supplying 200 peckograms of a chemical based on $100 per 200g. So, we are planning to create 3 UDFs in marketing docs to enter the base price and base units on which the vendor is quoting the price as well as 3 UDFs to enter the required  packing size, packing quantity and the packing UoM. Based on the 6 inputs, we want to calculate the quantity, unit price and Total price.   
    One area of concern for us is that the Standard "Weight UoM" of SAP B1 will not solve the purpose as the base in SAP B1 is always on mg and the system is not calculating correct value when the vase Unit as well as the required Unit are different from mg.
    So, if the client wants in nanograms and the suppliers' base unit is g, the conversion is not provided by SAP B1. We have to capture all the conversions between the individual units and get the results. We think it is better to solve the issue through a UDT for Units Of Measurement and define all the linkages between the various UoMs.
    I would like to know if there is any workaround for this scenario without creating a UDT and if we need to create a UDT, the structure of the table.
    Regards,
    Bharath S

    Dear Bharath,
    In your case, I think creating an UDT might be the most efficient way. The columns in UDT should be as simple as possible such as:
    1. BP UoM from BP
    2. Standard UoM from Item Master
    3. Conversion factor
    In this way, you can make sure the conversion is correct. Your UDF in the marketing document could have FMS link to this UDT.
    What is your B1 version and PL? 8.8 support multiple UoM better than old version.
    Thanks,
    Gordon

  • Forte Migration - Need Suggestion regarding Forte Migration.

    Hi friends,
    I need some suggestion in designing GUI.
    we have an application designed on mainframes and also in forte. And lots of users life the mainframes, since they have been using for long time and it is easy for data entry and it is faster and by hitting F2/F4 keys the data entry people finish the work fast and they is incentive to do fast and more.
    And we have the same application in Forte too, Forte GUI design is also great, it provides lots of data compared to mainframes, but little slower and it cannot be done in the same speed as mainframes.
    In such a situation, if you have to migrate what technology would you opt and how to think about converting the console based forte application, which also provides in data entry and provides lots of information.
    And it is process oriented, where we could like complete one step before going to other step and also go and modify the data entered in step1. Example, while entering the telephone order, after validating customer details, we would like to provide telephone services. But we should be also able to modify the customer information.
    The reason I gave the example before, if you think about using J2EE and provide Web browser interface, which would be best and cut lots of cost and time on deployment (usually in case of Forte console based application), but major draw back would be we cannot control the users activity and you cannot back and forth and update the data. (Think about lot of Tab in Forte application.).
    So, the need is for thin client and lots of Tabs and user should be able to go back and forth and real fast application client like mainframes to enter lots of data fast and provider look up for validations.
    How would you do migration for such a application ?
    1.     J2EE, how would you think about providing user interface. (web browser or java console application using swing) ? Did any body of you done using swing.
    2.     .NET application. (client using ASP.NET with C# for business logic/middle tier)
    Please give me some suggestion and how did you migrate under such circumstances.
    I know, it is difficult to suggest without seeing the application, but please give me the high level idea. May be you much also faced similar situation.
    Thanks in advance.

    NET, Swing, Web - all provide options to allow back and forth moving from one tab to the other.
    However, No matter how fast the screens are in web, they are a fraction of a second slower when the browser renders the screen.
    This is not controlled by programming and it is the browser that takes time. In such scenario, going for Swing may be a better option
    All of them support the shortcut keys- Going to Web - you may need to forgo some of the function keys - like f5 for refresh.
    You can also introduce numbers in front of values in combos - for easy input of data.
    We have experience in migrating thick client to web and thick client to thick client. Please contact me if you need more info.
    Amit Raj
    [email protected]

  • Need suggestion regarding Layout Manager using Swing in Java

    I have developed a swing application where i am having problem with selecting the right layout manager.
    I am attaching the file where it contains the method for addingComponents to the Content Pane. But, the code that i have written
    contains lot of spaces between first panel and second panel and so forth.
    Please suggest.
    <<Code>>
    public void addComponentsToPane(Container contentPane) {
              this.contentPane = contentPane;
    //          File Panel
              JPanel jfile1panel = new JPanel(new FlowLayout(FlowLayout.CENTER));
              JPanel jfile2panel = new JPanel(new FlowLayout(FlowLayout.CENTER));
              JPanel jfile3panel = new JPanel(new FlowLayout(FlowLayout.CENTER));
              JLabel jfile1 = new JLabel("Select File:");
              jtfile1 = new JTextField(50);
              jbfile1 = new JButton("Button1");
              jfile1panel.add(jfile1);
              jfile1panel.add(jtfile1);
              jfile1panel.add(jbfile1);
              jbfile1.addActionListener(this);
              JLabel jfile2 = new JLabel("Select File:");
              jtfile2 = new JTextField(50);
              jbfile2 = new JButton("Button2");
              jfile2panel.add(jfile2);
              jfile2panel.add(jtfile2);
              jfile2panel.add(jbfile2);
              jbfile2.addActionListener(this);
              JLabel jfile3 = new JLabel("Select File:");
              jtfile3 = new JTextField(50);
              jbfile3 = new JButton("Button3");
              jfile3panel.add(jfile3);
              jfile3panel.add(jtfile3);
              jfile3panel.add(jbfile3);
              jbfile3.addActionListener(this);
              //Button Panel
              JPanel jbuttonpanel = new JPanel();
              jbuttonpanel.setLayout(new FlowLayout(FlowLayout.CENTER));
              JButton jbcmd1 = new JButton("Submit");
              JButton jbcmd2 = new JButton("Cancel");
              jbuttonpanel.add(jbcmd1);
              jbuttonpanel.add(jbcmd2);
              jbcmd1.addActionListener(this);
              jbcmd2.addActionListener(this);
              //Content Pane               
              contentPane.setLayout(new BoxLayout(contentPane, BoxLayout.Y_AXIS));
              contentPane.add(jfile1panel);
              contentPane.add(jfile2panel);
              contentPane.add(jfile3panel);
              contentPane.add(jbuttonpanel);
    }

    But, the code that i have written contains lot of spaces between first panel and second panel and so forth.use pack(), see if it makes a difference
    as you're using FlowLayout, make the frame not resizable

  • Need suggestion to configure role in CRM in a particular scenario.

    Dear All,
    There are 2 business units under root business unit let say B1 and B2. A user (U1) belongs to business unit B1 and other user (U2) belongs to business unit B2. Both users (U1 and U2) are associated to a security role “Branch Users”.
    The scenario is users can assigned record (Lead) to the users belongs to their business unit only but can share the record (Lead) to all the users of organization.
    Now the problem is for “Branch Users” role if I am giving organization level read permission on “Users” entity then users (U1 and U2) can share lead to all users of the organization but the same time users(U1 and U2) also can assigned lead to all organization
    users. If I am giving business unit level read permission on “Users” entity then users (U1 and U2) can only see users of their business unit at the time of assignment but they are not able to see all users of organization at the time of sharing a lead.
    Please suggest how to implement this particular scenario to resolve this conflict of read permission on User entity.
    Thanks
    Sartaj

    Hi,
        What you are trying to achieve contradicts each other. You will not be able to achieve both with OOTB security roles. Use the function which will be used most with OOTB roles and for other one, write custom code. Like plug-in to restrict
    the change if it is outside the default business unit.
    Hope this helps.
     Minal Dahiya
     blog : http://minaldahiya.blogspot.com.au/
     If this post answers your question, please click "Mark As Answer" on the post and "Vote as Helpful"

  • Need suggestion regarding simulation of Java Card using a floppy

    Hi All,
    I am working on a project wherein I have to simulate a Java Card application using a floppy. I am writing my own Card Terminal and CardTerminalFactory. Thats what I have started working on. Will that serve the purpose or do I have to think about some other approach like just overriding the cardInserted method of CTListener class? I want to achieve communication between the host application and the floppy(which is my java card) Please advise.
    I would like to thank DurangoVa and Nilesh for helping me out sorting out the error in running the converter.
    Thanks in advance

    Are you referring to a Floppy diskette drive ?

  • Need suggestion regarding drop down...

    hi ,
    i have a dropdown list having some values.I wana compare the length of the values of dropdown list to null.
    i tried this
    for (var i=0 ; i<=DropDownList1.length;i++);
    var s = DropDownList1.getDispalyItem(i);
    if(s.length ==null)xfa.host.messageBox("the length of the selected value is null");
    else xfa.host.messageBox(" Not NULL\n in this case i have written a piece of code to execute");
    thing is i am using Live Cycle Designer ES but that length function is not giving the length of the drop down list...
    Please suggetst any idea what to do ?????
    Thanks in advance.....

    The length function works fine you have a typo
    incorrect var s = DropDownList1.getDispalyItem(i);
    correct var s = DropDownList1.getDisplayItem(i);

Maybe you are looking for