Canvas problem while adding forms

I use Netbeans Visual Midlets. I use keypressed class and I added buttons at my Canvas class succesfully. But I am not able to add stringfields or images at canvas class. If I insert images,stringfields and choicefields at getform() class then I can not use this class if I use canvas class. I should implement new images,stringfields and choicefields() at my canvas class or I can use the methods of getform() at canvas class. If I use getform() class then I can't use methods of canvas. I hope I could tell you what I meant. To make it easier, you can see my codes below :
public Form getForm1() {
if (form1 == null) {
// write pre-init user code here
Displayable d2=new ShowMapCanvas2();
Display.getDisplay(this).setCurrent(d2);
form1 = new Form("form1", new Item[] { getStringItem() });
form1.addCommand(getCancelCommand());
form1.setCommandListener(this);
// write post-init user code here
smc2.keyPressed(keyCode);
public class ShowMapCanvas2 extends Canvas {
public ShowMapCanvas2() {
public Command getCancelCommand() {
if (cancelCommand == null) {
// write pre-init user code here
cancelCommand = new Command("Cancel", Command.CANCEL, 0);
// write post-init user code here
return cancelCommand;
//</
protected void paint(Graphics g) {
setCommandListener(new CommandListener() {
public void commandAction(Command command, Displayable d) {
System.out.println("canvas icindeyim");
if (command == cancelCommand) {
// write pre-action user code here
switchDisplayable(null, getForm());
protected void keyPressed(int keyCode){
System.out.println("icerde");
if(getGameAction(keyCode)==Canvas.FIRE) {
System.out.println("icerdeyim");
repaint();
}

You are saying that when adding images, strings or choice fields to the form works but when you try ti add items like that to a canvas doesn't?
Canvas and Form classes inherit Displayable. You cannot add an images, strings or choice field like you add them to a form simply because canvas class doesn't have a append method. For this you need to use a graphics object and draw the image,string or what ever your self.
Regards,
David.

Similar Messages

  • Bold 9000: problem while adding email address to TO:

    Hi Guys!!
    I am facing a problem while adding email addresses (whcih are already stored in my BB Bold 9000). while adding "To: or CC:" only 1 email stored contact is displayed. others are not.
    please help me some solution.
    regards
    Thanks & regards
    Ajay Jain

    If I understand you correctly, while adding email addresses to any particular email IDs you're can't see multiple email IDs. Email addresses are stored under the contact names. You can save multiple email address under one contact. Now while putting name in To/CC field you should be typing the names of the contact and when pressing/selecting names you would be prompted with multiple email addresses.
    Try this -
    When you device is POWERED ON, remove the battery for a minute, and then reinsert the battery. This make a reboot to your device which minor issues with the BlackBerry device.
    tanzim                                                                                  
    If your query is resolved then please click on “Accept as Solution”
    Click on the LIKE on the bottom right if the post deserves credit

  • Problem while adding SAP Netweaver 7.3 As Java in Solution Manager 7.1

    Hi All,
    We are facing strange problem while configuring managed system- SAP Netweaver 7.3 As Java in Solution manager 7.1 SP3. We added this system in SLD of solution manager and synchronized it with LMDB. As a result this As Java system is present under Technical systems in SMSY. Now we are assigning Product system to it with Landscape verification tool. But the problem is when we try to save after assigning Product version as SAP Netweaver and Product as SAP Netweaver 7.3. It always gives below error:
    Fatal error trying to update Technical System (UPDATE_TSYSTEMS). Update could not be executed. 
    Product instance 54 not found
    Product instance number error keep on changing depend upon what usage i select like ADS 7.3, Application Server Java 7.3 etc.
    Please suggest if someone has faced this issue.
    Thanks
    Sunny

    Hi Sunny,
    You can refer to my first blog on this topic:
    #sapadmin:: How to assign Product System in SOLMAN 7.1 & How LMDB, SLD, SMSY and Landscape Verification  work in SOLMAN7.1
    Try to select only one product instance in LMDB and saved. After that, you can add more product instance in SMSY.
    Hope it helps.
    Cheers,
    Nicholas Chang

  • Problem while adding subscreen in MM02

    Hi all,
    Thx for ur reply bur while adding the subscreen in my custom program(mm02) saplzmgd1 , what shall i write in the PBO and PAI event?
    or shall i copy the existing screen n make modifications ther?
    what if i have to add another field of my own in the existinh subscreen added to mara by append structure, in that case, what shall be ther at PBO and PAI ??
    Regds
    Gunjan

    The whole procedure what to do is described in detail in the IMG:
    e.g.
    PBO:
      MODULE INIT_SUB.
      MODULE GET_DATEN_SUB.
      MODULE FELDAUSWAHL.
      MODULE SONDERFAUS.
      MODULE SONFAUSW_IN_FGRUPPEN.
      MODULE FELDHISTORIE.                "Aenderungsdienst
      MODULE BILDSTATUS.
      MODULE ZUSREF_VORSCHLAGEN_B.
      MODULE REFDATEN_VORSCHLAGEN.
      MODULE ZUSREF_VORSCHLAGEN_A.
      MODULE INIT_SUB_1000.               "YOUR CODING
      MODULE SET_DATEN_SUB.
    PAI:
      MODULE GET_DATEN_SUB.
    Start YOUR CODING
      FIELD: MARC-....
             MODULE MARC_...
      MODULE OK_CODE....
    End YOUR CODING
      MODULE SET_DATEN_SUB.

  • Problem while adding both Key And Focus Listeners to JTextField

    Hi!
    I have something peculiar while adding Key and Focus Listener to JTextField. Suppose i add just Key Listener then everything's fine and i could keep track of keys being pressed. But as soon as i add a Focus Listener to it with the code to select full text in focusGained() method, it starts reponding wrongly to arrow keys pressed and does not perform desired actions. For let arrow key it moves caret by one for the first time after that it does not resond to that unless caret is changed by using mouse. If right arrow key is pressed the it moves the caret to last position from wherever it is. For UP and DOWN it selects the full text(This should be done when it gets focus)
    public void focusGained(FocusEvent fe)
    setCaretPosition(0);
    moveCaretPosition(getDocument().getLength());
    Can someone help me out on this?
    thanks and regards,
    Amit.

    None of those things will cause your JFrame to resize itself. And this is probably a good thing, because your JFrame shouldn't change size once you have created it. Why not create your JPanel so that it has enough space for you to add the component later? Or why not just add the component to start with and then enable it or make it editable when you decide that's necessary?

  • Facing problem while adding combobox using gridbaglayout

    HI, I have used gridbaglayout in my panel. after adding the gridbaglayout, if i select long value combobox does't display all the value of the selected value. Why?
    This is my code
    cboPrioritySearchValue = new JComboBox();
    cboPrioritySearchValue.setBackground(Color.white);
    cboPrioritySearchValue.addItem("ALL");
    cboPrioritySearchValue.addItem(Priority.NOT.getValue());
    cboPrioritySearchValue.addItem(Priority.ONE.getValue());
    cboPrioritySearchValue.addItem(Priority.TWO.getValue());
    cboPrioritySearchValue.addItem(Priority.THREE.getValue());
    cboPrioritySearchValue.addItem(Priority.FOUR.getValue());
    setConstraints(gbc,gbc.WEST,gbc.NONE,2,1,2,8,new Insets(2,5,5,5),0,0,0,0);
    gbl.setConstraints(cboPrioritySearchValue,gbc);
    panel.add(cboPrioritySearchValue);This is my setConstraints method,
    public GridBagConstraints setConstraints(GridBagConstraints gbc, int anchor,int fill,
                                                 int gridw, int gridh, int gridx, int gridy,
                                                 Insets insets, int ipadx, int ipady,
                                                 int weightx, int weighty)
            gbc.anchor     = anchor;
            gbc.fill       = fill;
            gbc.gridwidth  = gridw;
            gbc.gridheight = gridh;
            gbc.gridx      = gridx;
            gbc.gridy      = gridy;
            gbc.insets     = insets;
            gbc.ipadx      = ipadx;
            gbc.ipady      = ipady;
            gbc.weightx    = weightx;
            gbc.weighty    = weighty;
            return gbc;
        }Edited by: JavaHeroPrince on May 13, 2010 6:58 AM

    Thanks Pete, hopefully its only a temporary problem.Short answer: It is (well ... hopefully).
    Long answer: My server's dying regularly because all the connections fill up in CLOSE_WAIT states. This doesn't seem to have the same root cause as the reported bugs that I can find (issues with older JDKs) so I'm interested in investigating it beyond just upgrading everything to the latest and crossing my fingers. Unfortunately that will take time and I'm a bit pressed for spare time at the moment - so: my apologies; the domain is likely to be down until after the weekend at least.
    After the weekend I'll re-target sscce.org (and .com and .net which I acquired a little while back) to a different server that's not suffering from the problem. Or if Andrew prefers I'll target a server under his control.

  • Problem while adding a new row to the table.

    hello,
    In my ADF form i have a table. and when i click on CreateInsert it add a new to the table but at the first. i want all the new rows to be added at the end of the table in a sequence. how can i do this?....
    Thanks and Regards,
    Rakshitha

    Hi,
    Try this:
    DCIteratorBinding dciter;
    BindingContainer bindings = BindingContext.getCurrent().getCurrentBindingsEntry();
    dciter = (DCIteratorBinding) bindings.get("findAllTestAndryIter");
    ViewObjectImpl vo = dciter.getViewObject();
    if (vo != null)
    Row row = vo.createRow();
    int rangeSize = vo.getRangeSize();
    int rowsInRange = vo.getAllRowsInRange().length;
    int insertPos = rowsInRange < rangeSize? rowsInRange: rangeSize - 1;
    vo.insertRowAtRangeIndex(insertPos, row);
    vo.setCurrentRow(row);
    }

  • Problem while adding a new dimension in a existing cube with data in BW3.5

    Hi,
    We are trying to create a new dimension with new characteristics in a existing cube. But while activating we are getting error that "InfoCube contains data; intentional changes not permitted". Can we add a new dimension in a existing cube with data in BW3.5? If it is not possible then we can take the backup and delete the data from cube and then change the cube. But my question is that, when we will transport the cube with changes to quality then will it transport successfully or same procedure needs to be done there as well.
    Regards,
    Saikat

    hi,
    Adding new infoobject /dimension to the cube containing data in 3.5 is not possible.
    easier solution is create a new cube similar to old and add the new dimension and proceed.
    else you have to drop data and transport.
    Ramesh

  • Problem while running forms in the application server

    Hai,
    My forms were developed using oracle 10g in Windows platform.I have to deploy it in the LINUX application server 10g.I compiled all the forms at AS.One of my form calls another form and it passes parameters to other form.During development I gave the complete path like C:\foldername\formname.fmb in the OPEN_FORM
    statement.Whether it is the problem for the run time error 'FRM 47009' with the error message 'cannot create parameter list' !!! If so how should I give the path in the linux AS.
    I also want to know how to give the path in linux AS to include .mmx menu in my form.
    Thanks.........

    I am using Oracle 10g9.0.4 or 10.1.2 ? There are small differences between them, so it could be helpful to know the exact version.
    or it does nothing.For the moment don't use forms with parameter list, to avoid one more possible cause. Did you check sensitivity ? For example, if a form is called with name 'My_Form.fmx', and its name, on disk, is my_form.fmx or MY_FORM.fmx. or anything different, then it won't work.
    On form property page activate console window, to see errors, if any.
    Of course I'm assuming that test form works correctly....

  • Problem while adding attachment in a custom page

    Hi,
    I have a custom page with a standard attachment table item. On adding an attachment the attachment fails to upload and the blue status bar continues to grow. This is happening only in one particular environment. I am not able to replicate this problem any in other environment. Error Stack shows the following Exception.
    ## Detail 0 ## java.io.EOFException at oracle.cabo.share.util.MultipartFormHandler._readLine(Unknown Source) at
    oracle.cabo.share.util.MultipartFormHandler._readLine(Unknown Source) at oracle.cabo.share.util.MultipartFormHandler._skipBoundary(Unknown Source) at
    oracle.cabo.share.util.MultipartFormHandler.(Unknown Source) at oracle.cabo.share.util.MultipartFormHandler.(Unknown Source) at
    oracle.apps.fnd.framework.webui.OAPageContextImpl.parseMultipartForm(OAPageContextImpl.java) at oracle.apps.fnd.framework.webui.OAPageContextImpl.
    (OAPageContextImpl.java:555) at oracle.apps.fnd.framework.webui.OAPageBean.createPageContext(OAPageBean.java:4458) at
    oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1224) at oracle.apps.fnd.framework.webui.OAPageBean.preparePage
    (OAPageBean.java:509) at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:430) at oa_html._OA._jspService(_OA.java:84) at
    oracle.jsp.runtime.HttpJsp.service(HttpJsp.java:119) at oracle.jsp.app.JspApplication.dispatchRequest(JspApplication.java:417) at oracle.jsp.JspServlet.doDispatch
    (JspServlet.java:267) at oracle.jsp.JspServlet.internalService(JspServlet.java:186) at oracle.jsp.JspServlet.service(JspServlet.java:156) at
    javax.servlet.http.HttpServlet.service(HttpServlet.java:588) at org.apache.jserv.JServConnection.processRequest(JServConnection.java:456) at
    org.apache.jserv.JServConnection.run(JServConnection.java:294) at java.lang.Thread.run(Thread.java:595) java.io.EOFException at
    oracle.cabo.share.util.MultipartFormHandler._readLine(Unknown Source) at oracle.cabo.share.util.MultipartFormHandler._readLine(Unknown Source) at
    oracle.cabo.share.util.MultipartFormHandler._skipBoundary(Unknown Source) at oracle.cabo.share.util.MultipartFormHandler.(Unknown Source) at
    oracle.cabo.share.util.MultipartFormHandler.(Unknown Source) at oracle.apps.fnd.framework.webui.OAPageContextImpl.parseMultipartForm
    (OAPageContextImpl.java) at oracle.apps.fnd.framework.webui.OAPageContextImpl.(OAPageContextImpl.java:555) at
    oracle.apps.fnd.framework.webui.OAPageBean.createPageContext(OAPageBean.java:4458) at oracle.apps.fnd.framework.webui.OAPageBean.preparePage
    (OAPageBean.java:1224) at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:509) at
    oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:430) at oa_html._OA._jspService(_OA.java:84) at
    oracle.jsp.runtime.HttpJsp.service(HttpJsp.java:119) at oracle.jsp.app.JspApplication.dispatchRequest(JspApplication.java:417) at oracle.jsp.JspServlet.doDispatch
    (JspServlet.java:267) at oracle.jsp.JspServlet.internalService(JspServlet.java:186) at oracle.jsp.JspServlet.service(JspServlet.java:156) at
    javax.servlet.http.HttpServlet.service(HttpServlet.java:588) at org.apache.jserv.JServConnection.processRequest(JServConnection.java:456) at
    org.apache.jserv.JServConnection.run(JServConnection.java:294) at java.lang.Thread.run(Thread.java:595)
    Could anyone tell why is this exception raised and what is the solution to this problem?

    The first step to the solution would be for you to post your question to the OA Framework forum; you won't get the specialized help you need in this forum.
    Regards,
    John

  • Problem while install forms 11g

    dear sirs
    when i install forms and report 11g it give me error about jvm, and i try to install java se to solve the problem, but problem still
    pls tell me how to solve or how to install this jvm, known that i use operating system windows 7 64bit

    The problem is that you are trying to install a version of Forms 11g which needs a 64 bits JVM and you have a 32 bits JVM.
    So you should install a 64 bits JDK and a 64 bits Weblogic (because the weblogic that comes with jdeveloper is a 32 bits weblogic).
    Then you will be able to install the Forms you are trying to install, also look at this link to set the JAVA_HOME if you are installing on windows:
    https://confluence.atlassian.com/display/CONF25/Set+JAVA_HOME+variable+in+Windows
    Regards
    Carlos

  • Problem while migrating forms from 5 to 6i. Failed to load objects

    Do I need access to shcema that has all objects like tables, procedures, packages, views, etc.. used in forms during migration form 5 to 6i.
    I'm getting this problem.
    FRM-18108: Failed to load the following objects.

    Yes you can. Take a look at Upgrading from Pre-Forms 6i Applications to Oracle Forms 11g. This document is geared towards upgrading to Forms 11g, but in order to upgrade to Forms 11g you must first upgrade to Forms 10g. This document describes that process.
    Hope this helps,
    Craig B-)
    If someone's response is helpful or correct, please mark it accordingly.

  • Gettin a Problem While Adding  my AddOn to my Sap B1

    hi! Guys and Gals,
    i have created my AddOn  which is ard file.
    i wanted to add my Addon to Sap B1 ,
    while installing my addon , i'm getting an error message that  , Add-On TestingAddOn(Add Name) Add-on %s-unintsall failed

    Hello Shiva,
    I think the problem might because of calling AddonInstallAPI.dll.
    You could try to use B1DE, there is a tool called Simple Add-on Installer inside. It can help you to build up the ard and exe file.
    Here is the link
    Hope this helps,https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/webcontent/uuid/50263aad-0901-0010-cf94-bd71b8a972b0?rid=/library/uuid/1fe00c0a-0701-0010-1e9d-a15e73bddeba [original link is broken]
    Nick

  • Problem while adding a new data source for the demo for mapviewer...

    hello,
    i use oracle 10g enterprise edition. i imported the necessary dump files and get the necessary scripts worked. i want to see the demo results in mapviewer. for that, i have to add a datasource. the XML code in order to realize this purpose is:
    <?xml version="1.0" standalone="yes"?>
    <non_map_request>
    <add_data_source
    name="mvdemo"
    jdbc_host="c-0y5wp0jvd2bf8"
    jdbc_port="1521"
    jdbc_sid="mvdemo"
    jdbc_user="!mvdemo"
    jdbc_password="tiger"
    jdbc_mode="thin"
    number_of_mappers="3" />
    </non_map_request>
    i press the submit button. then it wants me to enter a username and password. the default is admin/welcome. then i see this result on the browser:
    This XML file does not appear to have any style information associated with it. The document tree is shown below.
         <oms_error>
    Message:[MapperConfig] eşleme verileri kaynağı eklenemiyor.
    Sat Feb 26 02:29:19 EET 2005
    Severity: 0
    Description:
         at oracle.lbs.mapserver.core.MapperConfig.addMapDataSource(MapperConfig.java:583)
         at oracle.lbs.mapserver.MapServerImpl.addMapDataSource(MapServerImpl.java:315)
         at oracle.lbs.mapserver.oms.addDataSource(oms.java:1241)
         at oracle.lbs.mapserver.oms.doPost(oms.java:409)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:810)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:322)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:790)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:270)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:112)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:186)
         at java.lang.Thread.run(Thread.java:534)
    </oms_error>
    by the way, the error message on the application server screen:
    05/02/26 02:29:16 INFO [oracle.lbs.mapserver.MapServerImpl] adding a map data sr
    c [name=mvdemo]
    05/02/26 02:29:18 WARN [oracle.sdovis.ds.nods] java.sql.SQLException: G/╟ istisn
    as²: The Network Adapter could not establish the connection
    at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java
    :137)
    at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java
    :174)
    at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java
    :286)
    at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:321)
    at oracle.jdbc.driver.PhysicalConnection.<init>(PhysicalConnection.java:
    414)
    at oracle.jdbc.driver.T4CConnection.<init>(T4CConnection.java:149)
    at oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtensio
    n.java:31)
    at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:551)
    at java.sql.DriverManager.getConnection(DriverManager.java:512)
    at java.sql.DriverManager.getConnection(DriverManager.java:171)
    at oracle.sdovis.ds.NativeOracleDataSource.<init>(NativeOracleDataSource
    .java:120)
    at oracle.sdovis.ds.DSManager.registerOracleJdbcDS(DSManager.java:86)
    at oracle.lbs.mapserver.core.MapperConfig.createMappers(MapperConfig.jav
    a:613)
    at oracle.lbs.mapserver.core.MapperConfig.addMapDataSource(MapperConfig.
    java:582)
    at oracle.lbs.mapserver.MapServerImpl.addMapDataSource(MapServerImpl.jav
    a:315)
    at oracle.lbs.mapserver.oms.addDataSource(oms.java:1241)
    at oracle.lbs.mapserver.oms.doPost(oms.java:409)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletReque
    stDispatcher.java:810)
    at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(Ser
    vletRequestDispatcher.java:322)
    at com.evermind.server.http.HttpRequestHandler.processRequest(HttpReques
    tHandler.java:790)
    at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.ja
    va:270)
    at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.ja
    va:112)
    at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(Relea
    sableResourcePooledExecutor.java:186)
    at java.lang.Thread.run(Thread.java:534)
    05/02/26 02:29:18 WARN [oracle.sdovis.ds.nods] connecting to database using jdbc
    thin driver...
    05/02/26 02:29:19 ERROR [oracle.sdovis.ds.nods] java.sql.SQLException: G/╟ istis
    nas²: The Network Adapter could not establish the connection
    at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java
    :137)
    at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java
    :174)
    at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java
    :286)
    at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:321)
    at oracle.jdbc.driver.PhysicalConnection.<init>(PhysicalConnection.java:
    414)
    at oracle.jdbc.driver.T4CConnection.<init>(T4CConnection.java:149)
    at oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtensio
    n.java:31)
    at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:551)
    at java.sql.DriverManager.getConnection(DriverManager.java:512)
    at java.sql.DriverManager.getConnection(DriverManager.java:171)
    at oracle.sdovis.ds.NativeOracleDataSource.<init>(NativeOracleDataSource
    .java:136)
    at oracle.sdovis.ds.DSManager.registerOracleJdbcDS(DSManager.java:86)
    at oracle.lbs.mapserver.core.MapperConfig.createMappers(MapperConfig.jav
    a:613)
    at oracle.lbs.mapserver.core.MapperConfig.addMapDataSource(MapperConfig.
    java:582)
    at oracle.lbs.mapserver.MapServerImpl.addMapDataSource(MapServerImpl.jav
    a:315)
    at oracle.lbs.mapserver.oms.addDataSource(oms.java:1241)
    at oracle.lbs.mapserver.oms.doPost(oms.java:409)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletReque
    stDispatcher.java:810)
    at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(Ser
    vletRequestDispatcher.java:322)
    at com.evermind.server.http.HttpRequestHandler.processRequest(HttpReques
    tHandler.java:790)
    at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.ja
    va:270)
    at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.ja
    va:112)
    at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(Relea
    sableResourcePooledExecutor.java:186)
    at java.lang.Thread.run(Thread.java:534)
    05/02/26 02:29:19 ERROR [oracle.sdovis.ds.nods] java.sql.SQLException: G/╟ istis
    nas²: The Network Adapter could not establish the connection
    at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java
    :137)
    at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java
    :174)
    at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java
    :286)
    at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:321)
    at oracle.jdbc.driver.PhysicalConnection.<init>(PhysicalConnection.java:
    414)
    at oracle.jdbc.driver.T4CConnection.<init>(T4CConnection.java:149)
    at oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtensio
    n.java:31)
    at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:551)
    at java.sql.DriverManager.getConnection(DriverManager.java:512)
    at java.sql.DriverManager.getConnection(DriverManager.java:171)
    at oracle.sdovis.ds.NativeOracleDataSource.<init>(NativeOracleDataSource
    .java:136)
    at oracle.sdovis.ds.DSManager.registerOracleJdbcDS(DSManager.java:86)
    at oracle.lbs.mapserver.core.MapperConfig.createMappers(MapperConfig.jav
    a:613)
    at oracle.lbs.mapserver.core.MapperConfig.addMapDataSource(MapperConfig.
    java:582)
    at oracle.lbs.mapserver.MapServerImpl.addMapDataSource(MapServerImpl.jav
    a:315)
    at oracle.lbs.mapserver.oms.addDataSource(oms.java:1241)
    at oracle.lbs.mapserver.oms.doPost(oms.java:409)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletReque
    stDispatcher.java:810)
    at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(Ser
    vletRequestDispatcher.java:322)
    at com.evermind.server.http.HttpRequestHandler.processRequest(HttpReques
    tHandler.java:790)
    at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.ja
    va:270)
    at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.ja
    va:112)
    at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(Relea
    sableResourcePooledExecutor.java:186)
    at java.lang.Thread.run(Thread.java:534)
    05/02/26 02:29:19 ERROR [oracle.lbs.mapserver.core.MapperConfig] java.lang.Illeg
    alArgumentException: Error creating NativeOracleDataSource.
    at oracle.sdovis.ds.NativeOracleDataSource.<init>(NativeOracleDataSource
    .java:196)
    at oracle.sdovis.ds.DSManager.registerOracleJdbcDS(DSManager.java:86)
    at oracle.lbs.mapserver.core.MapperConfig.createMappers(MapperConfig.jav
    a:613)
    at oracle.lbs.mapserver.core.MapperConfig.addMapDataSource(MapperConfig.
    java:582)
    at oracle.lbs.mapserver.MapServerImpl.addMapDataSource(MapServerImpl.jav
    a:315)
    at oracle.lbs.mapserver.oms.addDataSource(oms.java:1241)
    at oracle.lbs.mapserver.oms.doPost(oms.java:409)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletReque
    stDispatcher.java:810)
    at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(Ser
    vletRequestDispatcher.java:322)
    at com.evermind.server.http.HttpRequestHandler.processRequest(HttpReques
    tHandler.java:790)
    at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.ja
    va:270)
    at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.ja
    va:112)
    at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(Relea
    sableResourcePooledExecutor.java:186)
    at java.lang.Thread.run(Thread.java:534)
    if someone could help about what to do, i would be grateful..

    when defining a data source through the admin web page, don't add '!' in front of the password.
    ! is needed only when configuring a data source in the mapViewerConfig.xml file.

  • Problem while adding XL-Reporter

    hi All,
    i added the Addon XL-Reporter on the client side and when i started teh Addon , i'm getting that class not registered,Presently i'm using the SBO20042B SP00 PL00
    can anybody help me.
    Thanks & Regards
    shiva shanker.

    No it doesn't. That code cannot possibly give any errors. JNDI doesn't work like that. The error happened later on when you sent the attributes to the LDAP server. Please post the complete exception and stack trace and the code to which the stack trace refers, indicating clearly exactly which line of code threw the exception.

Maybe you are looking for