Overflow Exception trying to bind NaN

Hello,
Can somebody help me? I'm just trying to use MapViewer to see the results of a spatial query on an predifined Image Theme. I've done all that's explained in the MapViwer documentation but it seems to be a problem with the Image Theme. Here is the part of the log file where the error appears:
05/10/26 16:12:41 [oracle.sdovis.ImageTheme, Wed Oct 26 16:12:41 CEST 2005, FINEST] [ImageTheme p] query=SELECT ROWID, raster
FROM Base_map WHERE MDSYS.SDO_FILTER(raster, MDSYS.SDO_GEOMETRY(2003, 327680, NULL, MDSYS.SDO_ELEM_INFO_ARRAY(1, 1003, 3), MDSYS.SDO_ORDINATE_ARRAY(?, ?, ?, ?)), 'querytype=WINDOW') = 'TRUE'
05/10/26 16:12:41 [oracle.sdovis.ImageTheme, Wed Oct 26 16:12:41 CEST 2005, ERROR] java.sql.SQLException: Overflow Exception trying to bind NaN
at oracle.jdbc.driver.DoubleBinder.bind(OraclePreparedStatement.java:13793)
at oracle.jdbc.driver.OraclePreparedStatement.setupBindBuffers(OraclePreparedStatement.java:2871)
at oracle.jdbc.driver.OraclePreparedStatement.processCompletedBindRow(OraclePreparedStatement.java:2156)
at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3285)
at oracle.jdbc.driver.OraclePreparedStatement.executeQuery(OraclePreparedStatement.java:3334)
at oracle.sdovis.ImageTheme.loadImagesFromDBCached(ImageTheme.java:390)
at oracle.sdovis.ImageTheme.prepareData(ImageTheme.java:281)
at oracle.sdovis.DBMapMaker$LoadThemeData.run(DBMapMaker.java:1300)
05/10/26 16:12:41 [oracle.sdovis.DBMapMaker, Wed Oct 26 16:12:41 CEST 2005, DEBUG] LoadThemeData running thread: Thread-9
Thanks for your help.

Here is the sql file I use (with the fefinition of the predefined image theme):
DROP TABLE Base_map CASCADE CONSTRAINTS ;
commit ;
CREATE TABLE Base_map (
     Base_map_ID NUMBER(15) NOT NULL,
     Image BLOB
commit ;
ALTER TABLE Base_map ADD CONSTRAINT PK_Base_map
PRIMARY KEY (Base_map_ID) ;
commit ;
CREATE OR REPLACE DIRECTORY MYDIR as 'c:\Temp\Data' ;
commit ;
DECLARE
     l_blob BLOB ;
     l_bfile BFILE ;
BEGIN
     INSERT INTO Base_map VALUES(1, empty_blob())
     RETURNING Image INTO l_blob ;
     l_bfile := bfilename('MYDIR', 'Base_map.jpg') ;
     dbms_lob.fileopen(l_bfile) ;
     dbms_lob.loadfromfile(l_blob, l_bfile, dbms_lob.getlength(l_bfile)) ;
     dbms_lob.fileclose(l_bfile) ;
     UPDATE Base_map SET Image = l_blob WHERE Base_map_ID = 1 ;
END ;
commit ;
ALTER TABLE Base_map
ADD (raster MDSYS.SDO_GEOMETRY) ;
UPDATE Base_map
SET raster = MDSYS.SDO_GEOMETRY(2003, 327680, NULL, MDSYS.SDO_ELEM_INFO_ARRAY(1,1003,1), MDSYS.SDO_ORDINATE_ARRAY(950,16249.500015000056,305950.06099999999,266250.000015))
WHERE Base_map_ID = 1 ;
INSERT INTO USER_SDO_GEOM_METADATA VALUES (
'Base_map',
'raster',
MDSYS.SDO_DIM_ARRAY(MDSYS.SDO_DIM_ELEMENT('X', 950, 305950.06099999999, 0.001), MDSYS.SDO_DIM_ELEMENT('Y', 16249.500015000056, 266250.000015, 0.001)),
327680) ;
commit ;
CREATE INDEX Base_map_raster_index
ON Base_map(raster)
INDEXTYPE IS MDSYS.SPATIAL_INDEX ;
commit ;
INSERT INTO USER_SDO_THEMES VALUES (
'BASE_MAP_THEME',
'Base_map_theme',
'Base_map',
'raster',
'<?xml version="1.0" standalone="yes"?>
     <styling_rules theme_type="image" caching="ALL" image_column="Image" image_format="JPEG">
          <rule >
               <features style="C.BCK"/>
          </rule>
     </styling_rules>' );
commit ;
INSERT INTO USER_SDO_MAPS VALUES (
'BASE_MAP',
'Base_map',
'<?xml version="1.0" standalone="yes"?>
     <map_definition>
          <theme name="BASE_MAP_THEME"/>
     </map_definition>' );
commit ;
And here is the complete log file:
05/10/26 16:11:46 [oracle.lbs.mapserver.oms, INFO] oms servlet document-root path: C:\oracle\product\10.2.0\db_1\lbs\mapviewer\web\
05/10/26 16:11:46 [oracle.lbs.mapserver.oms, INFO] No init parameter "oms_config". Will use default.
05/10/26 16:11:46 Oracle Application Server Containers for J2EE 10g (9.0.4.1.0) initialized
05/10/26 16:11:46 [oracle.lbs.mapserver.core.MapperConfig, INFO] using default config file: C:\oracle\product\10.2.0\db_1\lbs\mapviewer\conf\mapViewerConfig.xml
05/10/26 16:11:46 [oracle.lbs.mapserver.core.MapperPool, WARN] destroying ALL mapmaker instances.
05/10/26 16:11:46 [oracle.lbs.mapserver.core.MapperConfig, INFO] setting logging level to finest
05/10/26 16:11:46 [oracle.lbs.mapserver.core.MapperConfig, Wed Oct 26 16:11:46 CEST 2005, FINEST]
Allowed IPs:
Excluded IPs:
05/10/26 16:11:48 [oracle.sdovis.DBMapMaker, Wed Oct 26 16:11:48 CEST 2005, FINEST] setting style table name to: ALL_SDO_STYLES
05/10/26 16:11:49 [oracle.sdovis.CacheMgr, Wed Oct 26 16:11:49 CEST 2005, INFO] Setting disk path for cache to: C:\oracle\product\10.2.0\db_1\lbs\mapviewer\cache
05/10/26 16:11:49 [oracle.sdovis.CacheMgr, Wed Oct 26 16:11:49 CEST 2005, INFO] Java Object Cache opened. Region=SDOVIS_DATA.
05/10/26 16:11:49 [oracle.sdovis.CacheMgr, Wed Oct 26 16:11:49 CEST 2005, INFO] max_cache_size=32 M, max_disk_cache_size=1024 M.
05/10/26 16:11:49 [oracle.sdovis.CacheMgr, Wed Oct 26 16:11:49 CEST 2005, INFO] sub region sdovis_subreg_damien_jdbc:oracle:thin:@DGPL_8143:1521:INFRA created in cache.
05/10/26 16:11:49 [oracle.lbs.mapserver.core.MapperPool, Wed Oct 26 16:11:49 CEST 2005, INFO] added a mapper instance to thepool [data src=INFRA_map_data_source]
05/10/26 16:11:49 [oracle.sdovis.DBMapMaker, Wed Oct 26 16:11:49 CEST 2005, FINEST] setting style table name to: ALL_SDO_STYLES
05/10/26 16:11:49 [oracle.lbs.mapserver.core.MapperPool, Wed Oct 26 16:11:49 CEST 2005, INFO] added a mapper instance to thepool [data src=INFRA_map_data_source]
05/10/26 16:11:50 [oracle.sdovis.DBMapMaker, Wed Oct 26 16:11:50 CEST 2005, FINEST] setting style table name to: ALL_SDO_STYLES
05/10/26 16:11:50 [oracle.lbs.mapserver.core.MapperPool, Wed Oct 26 16:11:50 CEST 2005, INFO] added a mapper instance to thepool [data src=INFRA_map_data_source]
05/10/26 16:11:50 [oracle.lbs.mapserver.core.MapperConfig, Wed Oct 26 16:11:50 CEST 2005, INFO] Map Recycling thread started.
05/10/26 16:11:50 [oracle.lbs.mapserver.oms, Wed Oct 26 16:11:50 CEST 2005, INFO] *** Oracle Map Viewer is successfully started. ***
05/10/26 16:12:38 [oracle.lbs.mapserver.oms, Wed Oct 26 16:12:38 CEST 2005, FINEST] request.getRemoteUser = null
05/10/26 16:12:38 [oracle.lbs.mapserver.oms, Wed Oct 26 16:12:38 CEST 2005, FINEST] request= <?xml version="1.0" encoding="UTF-8" ?>
<map_request datasource="INFRA_map_data_source" basemap="BASE_MAP" antialiasing="TRUE" imagescaling="FALSE" format="GIF_STREAM" bgcolor="#FFFFFF" >
<themes>
<theme name="t1">
<jdbc_query spatial_column ="shape" >
SELECT shape
FROM Adresse, REL_Site_Adr, Site, Infrastructure, Amenagement, Amenagement_sportif, REL_Ame_spo_D_PRATIQUEE, Discipline
WHERE Adresse.Adresse_ID = REL_Site_Adr.Adresse_ID
AND REL_Site_Adr.Site_ID = Site.Site_ID
AND Site.Site_ID = Infrastructure.Site_ID
AND Infrastructure.Infrastructure_ID = Amenagement.Infrastructure_ID
AND Amenagement.Amenagement_ID = Amenagement_sportif.Amenagement_sportif_ID
AND Amenagement_sportif.Amenagement_sportif_ID = REL_Ame_spo_D_PRATIQUEE.Amenagement_sportif_ID
AND REL_Ame_spo_D_PRATIQUEE.Discipline_ID = Discipline.Discipline_ID
AND Discipline.Denomination = 'golf'
</jdbc_query>
</theme>
</themes >
</map_request>
05/10/26 16:12:38 [oracle.lbs.mapserver.core.XMLHelper4Mapper, Wed Oct 26 16:12:38 CEST 2005, INFO] no center or box specified in map request.
05/10/26 16:12:38 [oracle.lbs.mapserver.core.RealWorker, Wed Oct 26 16:12:38 CEST 2005, FINEST] RealWorker.generateMapImage(): MapRequest=MapRequest=
title=null
center=null
size=0.0
verbose=true
queryWindow=null
imageFormat=7
backgroundColor=java.awt.Color[r=255,g=255,b=255]
bgImageURL=null
antialise=true
deviceSize=java.awt.Dimension[width=500,height=375]
srs=null
geoFeatures=null
mapDefinition= MapDefinition=
baseMap=BASE_MAP
mapDataSource=INFRA_map_data_source
title=null
theme [0]=
ThemeDescriptor=
name=t1
type=2
minScale=Infinity
maxScale=-Infinity
srid=0
host=
sid=
port=
user=
mode=oci8
query=SELECT shape
FROM Adresse, REL_Site_Adr, Site, Infrastructure, Amenagement, Amenagement_sportif, REL_Ame_spo_D_PRATIQUEE, Discipline
WHERE Adresse.Adresse_ID = REL_Site_Adr.Adresse_ID
AND REL_Site_Adr.Site_ID = Site.Site_ID
AND Site.Site_ID = Infrastructure.Site_ID
AND Infrastructure.Infrastructure_ID = Amenagement.Infrastructure_ID
AND Amenagement.Amenagement_ID = Amenagement_sportif.Amenagement_sportif_ID
AND Amenagement_sportif.Amenagement_sportif_ID = REL_Ame_spo_D_PRATIQUEE.Amenagement_sportif_ID
AND REL_Ame_spo_D_PRATIQUEE.Discipline_ID = Discipline.Discipline_ID
AND Discipline.Denomination = 'golf'
spatialColumn=shape
renderStyleName=
labelColumn=
labelStyleName=
renderStyleDef=null
labelStyleDef=null
localThem=null
05/10/26 16:12:38 [oracle.lbs.mapserver.core.MapperPool, Wed Oct 26 16:12:38 CEST 2005, DEBUG] getMapper(INFRA_map_data_source) begins...
05/10/26 16:12:38 [oracle.lbs.mapserver.core.MapperPool, Wed Oct 26 16:12:38 CEST 2005, DEBUG] getMapper() succeeded.
05/10/26 16:12:39 [oracle.sdovis.DBMapMaker, Wed Oct 26 16:12:39 CEST 2005, FINEST] adding predefined theme [name=BASE_MAP_THEME]
05/10/26 16:12:39 [oracle.sdovis.DBMapMaker, Wed Oct 26 16:12:39 CEST 2005, FINEST] retriving predefined theme from database.
05/10/26 16:12:40 [oracle.sdovis.ThemeTable, Wed Oct 26 16:12:40 CEST 2005, FINEST] key_column using default: ROWID
05/10/26 16:12:40 [oracle.sdovis.ThemeTable, Wed Oct 26 16:12:40 CEST 2005, FINEST] Loading image theme BASE_MAP_THEME[image_column is: Image] [image_resolution is: null].
05/10/26 16:12:40 [oracle.sdovis.CacheMgr, Wed Oct 26 16:12:40 CEST 2005, INFO] creating an image cache group: sdovis_subreg_damien_jdbc:oracle:thin:@DGPL_8143:1521:INFRA : Base_map_IMAGE_PDT_IMG.
05/10/26 16:12:40 [oracle.lbs.mapserver.core.RealWorker, Wed Oct 26 16:12:40 CEST 2005, FINEST] adding additional themes...
05/10/26 16:12:40 [oracle.lbs.mapserver.core.RealWorker, Wed Oct 26 16:12:40 CEST 2005, FINEST] adding a JDBCTheme:
ThemeDescriptor=
name=t1
type=2
minScale=Infinity
maxScale=-Infinity
srid=0
host=
sid=
port=
user=
mode=oci8
query=SELECT shape
FROM Adresse, REL_Site_Adr, Site, Infrastructure, Amenagement, Amenagement_sportif, REL_Ame_spo_D_PRATIQUEE, Discipline
WHERE Adresse.Adresse_ID = REL_Site_Adr.Adresse_ID
AND REL_Site_Adr.Site_ID = Site.Site_ID
AND Site.Site_ID = Infrastructure.Site_ID
AND Infrastructure.Infrastructure_ID = Amenagement.Infrastructure_ID
AND Amenagement.Amenagement_ID = Amenagement_sportif.Amenagement_sportif_ID
AND Amenagement_sportif.Amenagement_sportif_ID = REL_Ame_spo_D_PRATIQUEE.Amenagement_sportif_ID
AND REL_Ame_spo_D_PRATIQUEE.Discipline_ID = Discipline.Discipline_ID
AND Discipline.Denomination = 'golf'
spatialColumn=shape
renderStyleName=
labelColumn=
labelStyleName=
renderStyleDef=null
labelStyleDef=null
localThem=null
05/10/26 16:12:40 [oracle.lbs.mapserver.core.ConnectionManager, Wed Oct 26 16:12:40 CEST 2005, DEBUG] getting pooled connection [key=DGPL_8143_INFRA_1521_damien_thin]
05/10/26 16:12:40 [oracle.lbs.mapserver.core.ConnectionManager, Wed Oct 26 16:12:40 CEST 2005, INFO] connection cache on jdbc:oracle:thin:@DGPL_8143:1521:INFRA
05/10/26 16:12:40 [oracle.lbs.mapserver.core.ConnectionManager, Wed Oct 26 16:12:40 CEST 2005, INFO] adding a OracleConnectionCache:DGPL_8143,INFRA,thin,tcp,damien
05/10/26 16:12:41 [oracle.sdovis.JDBCTheme, Wed Oct 26 16:12:41 CEST 2005, FINEST] created a new JDBCTheme [name=T1,query=SELECT shape
FROM Adresse, REL_Site_Adr, Site, Infrastructure, Amenagement, Amenagement_sportif, REL_Ame_spo_D_PRATIQUEE, Discipline
WHERE Adresse.Adresse_ID = REL_Site_Adr.Adresse_ID
AND REL_Site_Adr.Site_ID = Site.Site_ID
AND Site.Site_ID = Infrastructure.Site_ID
AND Infrastructure.Infrastructure_ID = Amenagement.Infrastructure_ID
AND Amenagement.Amenagement_ID = Amenagement_sportif.Amenagement_sportif_ID
AND Amenagement_sportif.Amenagement_sportif_ID = REL_Ame_spo_D_PRATIQUEE.Amenagement_sportif_ID
AND REL_Ame_spo_D_PRATIQUEE.Discipline_ID = Discipline.Discipline_ID
AND Discipline.Denomination = 'golf',spatialCol=shape, srid=0, featureStyleName=, labelCol=, labelStyleName=, passthrough=false
05/10/26 16:12:41 [oracle.sdovis.SRS, Wed Oct 26 16:12:41 CEST 2005, INFO] loadding SRS information from MDSYS.cs_srs (srid=327680).
05/10/26 16:12:41 [oracle.sdovis.SRS, Wed Oct 26 16:12:41 CEST 2005, DEBUG] Registering srs 327680, isGeodetic=false, unit=METER
05/10/26 16:12:41 [oracle.sdovis.SRS, Wed Oct 26 16:12:41 CEST 2005, FINEST] got srs object for :327680
05/10/26 16:12:41 [oracle.sdovis.DBMapMaker, Wed Oct 26 16:12:41 CEST 2005, DEBUG] LoadThemeData running thread: Thread-8
05/10/26 16:12:41 [oracle.sdovis.ImageTheme, Wed Oct 26 16:12:41 CEST 2005, FINEST] [ImageTheme p] query=SELECT ROWID, raster
FROM Base_map WHERE MDSYS.SDO_FILTER(raster, MDSYS.SDO_GEOMETRY(2003, 327680, NULL, MDSYS.SDO_ELEM_INFO_ARRAY(1, 1003, 3), MDSYS.SDO_ORDINATE_ARRAY(?, ?, ?, ?)), 'querytype=WINDOW') = 'TRUE'
05/10/26 16:12:41 [oracle.sdovis.ImageTheme, Wed Oct 26 16:12:41 CEST 2005, ERROR] java.sql.SQLException: Overflow Exception trying to bind NaN
at oracle.jdbc.driver.DoubleBinder.bind(OraclePreparedStatement.java:13793)
at oracle.jdbc.driver.OraclePreparedStatement.setupBindBuffers(OraclePreparedStatement.java:2871)
at oracle.jdbc.driver.OraclePreparedStatement.processCompletedBindRow(OraclePreparedStatement.java:2156)
at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3285)
at oracle.jdbc.driver.OraclePreparedStatement.executeQuery(OraclePreparedStatement.java:3334)
at oracle.sdovis.ImageTheme.loadImagesFromDBCached(ImageTheme.java:390)
at oracle.sdovis.ImageTheme.prepareData(ImageTheme.java:281)
at oracle.sdovis.DBMapMaker$LoadThemeData.run(DBMapMaker.java:1300)
05/10/26 16:12:41 [oracle.sdovis.DBMapMaker, Wed Oct 26 16:12:41 CEST 2005, DEBUG] LoadThemeData running thread: Thread-9
05/10/26 16:12:41 [oracle.sdovis.JDBCTheme, Wed Oct 26 16:12:41 CEST 2005, INFO] [JDBCTheme] query: SELECT shape
FROM Adresse, REL_Site_Adr, Site, Infrastructure, Amenagement, Amenagement_sportif, REL_Ame_spo_D_PRATIQUEE, Discipline
WHERE Adresse.Adresse_ID = REL_Site_Adr.Adresse_ID
AND REL_Site_Adr.Site_ID = Site.Site_ID
AND Site.Site_ID = Infrastructure.Site_ID
AND Infrastructure.Infrastructure_ID = Amenagement.Infrastructure_ID
AND Amenagement.Amenagement_ID = Amenagement_sportif.Amenagement_sportif_ID
AND Amenagement_sportif.Amenagement_sportif_ID = REL_Ame_spo_D_PRATIQUEE.Amenagement_sportif_ID
AND REL_Ame_spo_D_PRATIQUEE.Discipline_ID = Discipline.Discipline_ID
AND Discipline.Denomination = 'golf'
05/10/26 16:12:42 [oracle.sdovis.JDBCTheme, Wed Oct 26 16:12:42 CEST 2005, FINEST] Found mSpatialColumn=shape
05/10/26 16:12:42 [oracle.sdovis.MapMaker, Wed Oct 26 16:12:42 CEST 2005, FINEST] mbr of all themes: java.awt.geom.Rectangle2D$Double[x=63253.07695,y=112510.49285,w=209918.47070249997,h=51353.527207499996]
05/10/26 16:12:42 [oracle.sdovis.DBMapMaker, Wed Oct 26 16:12:42 CEST 2005, INFO] **** time spent on loading features: 859ms.
05/10/26 16:12:42 [oracle.sdovis.RE, Wed Oct 26 16:12:42 CEST 2005, FINEST] rendering image theme: BASE_MAP_THEME
05/10/26 16:12:42 [oracle.sdovis.ImageRenderer, Wed Oct 26 16:12:42 CEST 2005, DEBUG] format of image theme data: JPEG
05/10/26 16:12:42 [oracle.sdovis.VectorRenderer, Wed Oct 26 16:12:42 CEST 2005, FINEST] Theme isClickable=false
05/10/26 16:12:43 [oracle.sdovis.VectorRenderer, Wed Oct 26 16:12:43 CEST 2005, DEBUG] time to render theme T1 with 55 styled features: 1187ms
05/10/26 16:12:43 [oracle.sdovis.VectorRenderer, Wed Oct 26 16:12:43 CEST 2005, DEBUG] time to label theme T1 with 55 styled features: 0ms
05/10/26 16:12:43 [oracle.sdovis.DBMapMaker, Wed Oct 26 16:12:43 CEST 2005, INFO] **** time spent on rendering: 1406ms
05/10/26 16:12:43 [oracle.sdovis.util.GIFMaker, Wed Oct 26 16:12:43 CEST 2005, FINEST] Time spent on quantitizing map image:203ms
05/10/26 16:12:43 [oracle.sdovis.util.GIFMaker, Wed Oct 26 16:12:43 CEST 2005, FINEST] Time spent on generating GIF image:63ms
05/10/26 16:12:43 [oracle.lbs.mapserver.core.RealWorker, Wed Oct 26 16:12:43 CEST 2005, FINEST] Timestamp on grabing pixels:1130335963890
05/10/26 16:12:43 [oracle.lbs.mapserver.core.RealWorker, Wed Oct 26 16:12:43 CEST 2005, FINEST] releasing pooled connectionsused by JDBCThemes
05/10/26 16:12:43 [oracle.lbs.mapserver.core.MapperPool, Wed Oct 26 16:12:43 CEST 2005, DEBUG] freeMapper() begins...
05/10/26 16:12:43 [oracle.lbs.mapserver.core.RealWorker, Wed Oct 26 16:12:43 CEST 2005, DEBUG] [RealWorker] preparation time: 2593ms
05/10/26 16:12:43 [oracle.lbs.mapserver.core.RealWorker, Wed Oct 26 16:12:43 CEST 2005, DEBUG] [RealWorker] querying/rendering time: 2500ms
05/10/26 16:12:43 [oracle.lbs.mapserver.core.RealWorker, Wed Oct 26 16:12:43 CEST 2005, DEBUG] [RealWorker] packing time: 313ms
05/10/26 16:12:43 [oracle.lbs.mapserver.core.RealWorker, Wed Oct 26 16:12:43 CEST 2005, DEBUG] [RealWorker] --------------- total time: 5406ms
***********************************************************************************************

Similar Messages

  • Underflow Exception when trying to bind small double to BINARY_DOUBLE

    I get exception when trying to insert small double value (1.0E-131) into BINARY_DOUBLE column via jdbc.
    The exception I get:
    Exception in thread "main" java.sql.SQLException: Underflow Exception trying to bind 1.0000000000000001E-131
    at oracle.jdbc.driver.DoubleBinder.bind(OraclePreparedStatement.java:13856)
    at oracle.jdbc.driver.OraclePreparedStatement.setupBindBuffers(OraclePreparedStatement.java:2866)
    at oracle.jdbc.driver.OraclePreparedStatement.processCompletedBindRow(OraclePreparedStatement.java:2151)
    at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3280)
    at oracle.jdbc.driver.OraclePreparedStatement.execute(OraclePreparedStatement.java:3390)
    at dbAccess.main(dbAccess.java:18)
    According to oracle documentation the smallest positive number the BINARY_DOUBLE column can store is 2.22507485850720E-308.
    I'm using oracle 10g r2 and thin jdbc driver.
    Any ideas?

    That is expected since a double is converted to a Oracle NUMBER before passing it to the database and Oracle NUMBER does not support 1.0e-131, the range is 1E-130 .. 10E125.
    Look at the SQL output below,
    SQL> select to_char(to_number(1.0e-131)) from dual;
    T
    0
    SQL> select to_char(to_number(1.0e-130)) from dual;
    TO_CHAR(TO_NUMBER(1.0E-130))
    1.000000000000000000000000000000000E-130
    ==
    Use oracle.sql.BINARY_DOUBLE for numbers like this.
    eg:
    preparedStatement.setBINARY_DOUBLE(1, new oracle.sql.BINARY_DOUBLE(1.0e-131));
    ==
    hope this helps.
    Ashok

  • Getting stack overflow exception whilst reading from HashMap

    hi,
    We are getting stack oveflow exception exception whilst reading from the HashMap.
    Following are few details about the code
    We have a swing based client and Session beans and Entity beans deployed on Weblogic Server.
    When the server is started, a session bean method queries to data base and creates a java object for each row in the data base.This java object is then stored in HashMap. These java objects have all get/set methods . and it has attributes of primitive data type as well as other java objects.This Hahsmap is then returned to client.
    When client calls this method and the method processes succesfuly , but when tries to return the HashMap, it gives Stack overflow exception.
    Looking at the stack trace i think this exception is thrown when the HashMap.readObject() methods is being invoked.
    does any body have any idea about this ? a quick help is much appriciated.

    Stack overflow is often caused by infinity loops No, an infinite loop would be like while (true) {
        // stuff
    } That doesn't cause stack overflow.
    or
    recursive method calls.Bingo.

  • RE: (forte-users) FW: (forte-users) Overflow Exception thatI can't catc

    Nat,
    As I feared, This forces the user to enter decimals even if there are none.
    The Users Don't want this.
    So, i'm afraid i am back at beginning.. Trying to catch this exception..
    Thank you for your input.
    I would be happy to try anyone elses solution to this annoying issue.
    Regards,
    Dave Campbell
    Consultant,
    Caro Systems Inc.
    Mailto:Dave.CampbellCaroSys.com
    Dave
    If you use #,##0.00 template, forte won't allow you to enter more than
    28 numbers.
    Nat
    "Campbell, Dave" <DCampbellpurolator.com> 01/28 10:49 AM >>>Thanks Zenon,
    You mean... that without the aftervaluechange event, I could catch this?
    Because by no means is my exception block anchored to that event.
    I am looking for advice of where I could put this exception block...if there
    is another possible place at all.
    Thanks.
    Dave
    Regards,
    Dave Campbell
    Consultant,
    Caro Systems Inc.
    Mailto:Dave.CampbellCaroSys.com
    -----Original Message-----
    Hi Dave,
    You have no chance to catch this exception in aftervaluechange block.
    This event is triggered if the value in DataField is OK.
    You get only Arithmetic exception without the aftervaluechange event if the
    length of the decimal is greater as 28.
    Regards
    Zenon Adamek
    Forte Developer
    Purolator Courier Ltd.
    ZAdamekpurolator.com
    -----Original Message-----
    From: Campbell, Dave [SMTP:DCampbellpurolator.com]
    Sent: Friday, January 28, 2000 8:19 AM
    To: 'kamranaminyahoo.com'
    Subject: (forte-users) Overflow Exception that I can't
    catch...
    The problem is:
    I have a DataField, mapped type :DecimalNullable
    the input mask is set to Template ( #,##0;;;;)
    Because it is Template I can't validate on keystroke and
    I can't set the max characters in the properties sheet.
    This works great until, Someone enters over 28 characters into the
    field.
    It then displays the errors:
    USER ERROR: Operation caused arithmetic overflow
    Class: qqsp_ArithmeticException
    Error #: [301, 7]
    Deteced at: DecimalData.SetScale at 1
    ErrorTime: Thu Jan 27 15:50:48
    Exception occurred (locally) on partition
    "PurolatorApplications_CL0_Client" ,(partitionId =
    DEB96B60-AA27-11D1-82A8-23E82A0FAA77:0X6f98:0x7, TASKiD =
    [DEB96B60-AA27-11D1-82A8-23E82A0FAA77:0X6f98:0x7.492] in
    application
    "FTLaunch_c10",pid 279 on node W5300109 in environment centrale
    This is the first bit of code that executes when I leave the field
    and the
    value has changed:
    when <est_daily_rev_amt>.aftervaluechange do
    Begin
    sys_upd_usr_nam = aUserProfileBO.user_nam;
    aCPVDetailItem.SetState(base_detailItem.CHANGED_STATE);
    Exception
    when ex:ArithmeticException Do
    Task.ErrMgr.Clear();
    Window.MessageDialog(
    messageText='Revenue amount can not exceed
    100,000,000',
    MessageType=MT_WARNING);
    Self.Window.PurgeEvents();
    End;
    This is what I do:
    I put a debugging stop on the "when line" and the "Exception line"
    I also set the debugger to stop on all exceptions and posts.
    It never reaches the above code!?
    Is this a forte bug?
    I need the template and I need it to be a decimalnullable.
    Is there any suggestions for where else I may catch this
    Exception???
    Thanks in advance
    Regards,
    Dave Campbell
    Consultant,
    Caro Systems Inc.
    Mailto:Dave.CampbellCaroSys.com
    Regards,
    Dave Campbell
    Consultant,
    Caro Systems Inc.
    Mailto:Dave.CampbellCaroSys.com

    Nat,
    As I feared, This forces the user to enter decimals even if there are none.
    The Users Don't want this.
    So, i'm afraid i am back at beginning.. Trying to catch this exception..
    Thank you for your input.
    I would be happy to try anyone elses solution to this annoying issue.
    Regards,
    Dave Campbell
    Consultant,
    Caro Systems Inc.
    Mailto:Dave.CampbellCaroSys.com
    Dave
    If you use #,##0.00 template, forte won't allow you to enter more than
    28 numbers.
    Nat
    "Campbell, Dave" <DCampbellpurolator.com> 01/28 10:49 AM >>>Thanks Zenon,
    You mean... that without the aftervaluechange event, I could catch this?
    Because by no means is my exception block anchored to that event.
    I am looking for advice of where I could put this exception block...if there
    is another possible place at all.
    Thanks.
    Dave
    Regards,
    Dave Campbell
    Consultant,
    Caro Systems Inc.
    Mailto:Dave.CampbellCaroSys.com
    -----Original Message-----
    Hi Dave,
    You have no chance to catch this exception in aftervaluechange block.
    This event is triggered if the value in DataField is OK.
    You get only Arithmetic exception without the aftervaluechange event if the
    length of the decimal is greater as 28.
    Regards
    Zenon Adamek
    Forte Developer
    Purolator Courier Ltd.
    ZAdamekpurolator.com
    -----Original Message-----
    From: Campbell, Dave [SMTP:DCampbellpurolator.com]
    Sent: Friday, January 28, 2000 8:19 AM
    To: 'kamranaminyahoo.com'
    Subject: (forte-users) Overflow Exception that I can't
    catch...
    The problem is:
    I have a DataField, mapped type :DecimalNullable
    the input mask is set to Template ( #,##0;;;;)
    Because it is Template I can't validate on keystroke and
    I can't set the max characters in the properties sheet.
    This works great until, Someone enters over 28 characters into the
    field.
    It then displays the errors:
    USER ERROR: Operation caused arithmetic overflow
    Class: qqsp_ArithmeticException
    Error #: [301, 7]
    Deteced at: DecimalData.SetScale at 1
    ErrorTime: Thu Jan 27 15:50:48
    Exception occurred (locally) on partition
    "PurolatorApplications_CL0_Client" ,(partitionId =
    DEB96B60-AA27-11D1-82A8-23E82A0FAA77:0X6f98:0x7, TASKiD =
    [DEB96B60-AA27-11D1-82A8-23E82A0FAA77:0X6f98:0x7.492] in
    application
    "FTLaunch_c10",pid 279 on node W5300109 in environment centrale
    This is the first bit of code that executes when I leave the field
    and the
    value has changed:
    when <est_daily_rev_amt>.aftervaluechange do
    Begin
    sys_upd_usr_nam = aUserProfileBO.user_nam;
    aCPVDetailItem.SetState(base_detailItem.CHANGED_STATE);
    Exception
    when ex:ArithmeticException Do
    Task.ErrMgr.Clear();
    Window.MessageDialog(
    messageText='Revenue amount can not exceed
    100,000,000',
    MessageType=MT_WARNING);
    Self.Window.PurgeEvents();
    End;
    This is what I do:
    I put a debugging stop on the "when line" and the "Exception line"
    I also set the debugger to stop on all exceptions and posts.
    It never reaches the above code!?
    Is this a forte bug?
    I need the template and I need it to be a decimalnullable.
    Is there any suggestions for where else I may catch this
    Exception???
    Thanks in advance
    Regards,
    Dave Campbell
    Consultant,
    Caro Systems Inc.
    Mailto:Dave.CampbellCaroSys.com
    Regards,
    Dave Campbell
    Consultant,
    Caro Systems Inc.
    Mailto:Dave.CampbellCaroSys.com

  • Computer name being show as "localhost" when trying to bind to directory

    I am trying to bind my computer (OS 10.4.11) to my server (10.4.11) but each time I go to bind it the computer name is shown as "localhost" rather than the computer's real name. The computer's name is shown as r2.local in the Sharing pane of System Prefs, also confirmed by the output of hostname. I am also getting this in my system log during bootup:
    May 5 12:33:52 localhost usbmuxd[66]: usbmuxd-176 built for iTunesNineDot on Sep 24 2009 at 16:11:04, running 32 bit
    *May 5 12:33:53 localhost mDNSResponder: Couldn't read user-specified Computer Name; using default “Macintosh-000000000000” instead*
    *May 5 12:33:53 localhost mDNSResponder: Couldn't read user-specified local hostname; using default “Macintosh-000000000000.local” instead*
    May 5 12:33:54 localhost kernel[0]: BCM5701Enet: Ethernet address 00:14:51:64:5e:36
    May 5 12:33:54 localhost kernel[0]: BCM5701Enet: Ethernet address 00:14:51:64:5e:37
    May 5 12:33:54 localhost mDNSResponder: Adding browse domain local.
    May 5 12:33:56 localhost kernel[0]: NVDA,Display-A: vram [90020000:10000000]
    May 5 12:33:56 localhost kernel[0]: NVDA,Display-B: vram [00000000:01000000]
    May 5 12:34:00 localhost launchd: com.logmein.logmeinserver: exited abnormally: Bus error
    May 5 12:34:00 localhost launchd: com.logmein.logmeinserver: 9 more failures without living at least 60 seconds will cause job removal
    May 5 12:34:00 localhost launchd: com.logmein.logmeinserver: exited abnormally: Bus error
    May 5 12:34:00 localhost launchd: com.logmein.logmeinserver: respawning too quickly! throttling
    May 5 12:34:00 localhost launchd: com.logmein.logmeinserver: 8 more failures without living at least 60 seconds will cause job removal
    May 5 12:34:00 localhost launchd: com.logmein.logmeinserver: will restart in 10 seconds
    May 5 12:34:03 localhost lookupd[97]: lookupd (version 369.8) starting - Wed May 5 12:34:03 2010
    May 5 12:34:05 localhost /System/Library/CoreServices/loginwindow.app/Contents/MacOS/loginwindow: Login Window Application Started
    *May 5 12:34:05 r2 configd[68]: setting hostname to "r2.local"*
    May 5 12:34:07 r2 loginwindow[99]: Login Window Started Security Agent
    May 5 12:34:08 r2 kernel[0]: AppleBCM5701Ethernet - en0 link active, 1000-Mbit, full duplex, flow control disabled
    May 5 12:34:08 r2 configd[68]: AppleTalk startup
    May 5 12:34:10 r2 configd[68]: executing /System/Library/SystemConfiguration/Kicker.bundle/Contents/Resources/enable-net work
    May 5 12:34:10 r2 configd[68]: posting notification com.apple.system.config.network_change
    May 5 12:34:10 r2 lookupd[110]: lookupd (version 369.8) starting - Wed May 5 12:34:10 2010
    May 5 12:34:15 r2 configd[68]: target=enable-network: disabled
    *May 5 12:34:16 r2 mDNSResponder: HostnameCallback: Error -65557 for registration of r2. IP 192.168.1.122*
    May 5 12:34:16 r2 configd[68]: AppleTalk startup complete
    Thoughts?

    I think Directory Utility is in 10.5+, it's called Directory Access in previous versions (at least in 10.4). I have an OD running on the Mac server that I am trying to bind to, the AD/windows server is just for the PCs.
    I did find this though about the mDNSresponder error I'm getting:
    (from http://lists.apple.com/archives/bonjour-dev/2005/Aug/msg00020.html)
    -65557 means NAT Traversal error. You need to be using a router that
    supports NAT-PMP or UPnP if you want to register your hostname
    successfully using DNS Update.
    I enabled UPnP on my router/firewall but it did not help.

  • Trying to bind XML data and form fields

    I have a fairly simple PDF - and I am trying to bind XML data to he form fields.
    In the designer I can bring up the data connection and
    select Global - for the binding method - and as I understand it - this will link Form Fields and XML data fields with the same name - (sounds logical to me)
    but all that happens is :
    I see the name of the field in the form field rahter than seeing the actual data
    should I select : None as the binding or normal ....
    but Normal doesnt show Anything - even after i select it .
    I can't quite seem to make this work -
    Any help here would be appreciated
    Thanks :)

    This is on a stand - alone system
    Using Designer ES ......
    I saved the Form as an xdp form
    and it seems as if all goes well until
    View the data and nothing appears - or
    just the names of the fields appear

  • Re: (forte-users) FW: (forte-users) Overflow Exception thatIcan't catch

    Dave
    If you use #,##0.00 template, forte won't allow you to enter more than 28 numbers.
    Nat
    "Campbell, Dave" <DCampbellpurolator.com> 01/28 10:49 AM >>>Thanks Zenon,
    You mean... that without the aftervaluechange event, I could catch this?
    Because by no means is my exception block anchored to that event.
    I am looking for advice of where I could put this exception block...if there
    is another possible place at all.
    Thanks.
    Dave
    Regards,
    Dave Campbell
    Consultant,
    Caro Systems Inc.
    Mailto:Dave.CampbellCaroSys.com
    -----Original Message-----
    Hi Dave,
    You have no chance to catch this exception in aftervaluechange block.
    This event is triggered if the value in DataField is OK.
    You get only Arithmetic exception without the aftervaluechange event if the
    length of the decimal is greater as 28.
    Regards
    Zenon Adamek
    Forte Developer
    Purolator Courier Ltd.
    ZAdamekpurolator.com
    -----Original Message-----
    From: Campbell, Dave [SMTP:DCampbellpurolator.com]
    Sent: Friday, January 28, 2000 8:19 AM
    To: 'kamranaminyahoo.com'
    Subject: (forte-users) Overflow Exception that I can't
    catch...
    The problem is:
    I have a DataField, mapped type :DecimalNullable
    the input mask is set to Template ( #,##0;;;;)
    Because it is Template I can't validate on keystroke and
    I can't set the max characters in the properties sheet.
    This works great until, Someone enters over 28 characters into the
    field.
    It then displays the errors:
    USER ERROR: Operation caused arithmetic overflow
    Class: qqsp_ArithmeticException
    Error #: [301, 7]
    Deteced at: DecimalData.SetScale at 1
    ErrorTime: Thu Jan 27 15:50:48
    Exception occurred (locally) on partition
    "PurolatorApplications_CL0_Client" ,(partitionId =
    DEB96B60-AA27-11D1-82A8-23E82A0FAA77:0X6f98:0x7, TASKiD =
    [DEB96B60-AA27-11D1-82A8-23E82A0FAA77:0X6f98:0x7.492] in
    application
    "FTLaunch_c10",pid 279 on node W5300109 in environment centrale
    This is the first bit of code that executes when I leave the field
    and the
    value has changed:
    when <est_daily_rev_amt>.aftervaluechange do
    Begin
    sys_upd_usr_nam = aUserProfileBO.user_nam;
    aCPVDetailItem.SetState(base_detailItem.CHANGED_STATE);
    Exception
    when ex:ArithmeticException Do
    Task.ErrMgr.Clear();
    Window.MessageDialog(
    messageText='Revenue amount can not exceed
    100,000,000',
    MessageType=MT_WARNING);
    Self.Window.PurgeEvents();
    End;
    This is what I do:
    I put a debugging stop on the "when line" and the "Exception line"
    I also set the debugger to stop on all exceptions and posts.
    It never reaches the above code!?
    Is this a forte bug?
    I need the template and I need it to be a decimalnullable.
    Is there any suggestions for where else I may catch this
    Exception???
    Thanks in advance
    Regards,
    Dave Campbell
    Consultant,
    Caro Systems Inc.
    Mailto:Dave.CampbellCaroSys.com
    For the archives, go to: http://lists.xpedior.com/forte-users and use
    the login: forte and the password: archive. To unsubscribe, send in a new
    email the word: 'Unsubscribe' to: forte-users-requestlists.xpedior.com

    Dave
    If you use #,##0.00 template, forte won't allow you to enter more than 28 numbers.
    Nat
    "Campbell, Dave" <DCampbellpurolator.com> 01/28 10:49 AM >>>Thanks Zenon,
    You mean... that without the aftervaluechange event, I could catch this?
    Because by no means is my exception block anchored to that event.
    I am looking for advice of where I could put this exception block...if there
    is another possible place at all.
    Thanks.
    Dave
    Regards,
    Dave Campbell
    Consultant,
    Caro Systems Inc.
    Mailto:Dave.CampbellCaroSys.com
    -----Original Message-----
    Hi Dave,
    You have no chance to catch this exception in aftervaluechange block.
    This event is triggered if the value in DataField is OK.
    You get only Arithmetic exception without the aftervaluechange event if the
    length of the decimal is greater as 28.
    Regards
    Zenon Adamek
    Forte Developer
    Purolator Courier Ltd.
    ZAdamekpurolator.com
    -----Original Message-----
    From: Campbell, Dave [SMTP:DCampbellpurolator.com]
    Sent: Friday, January 28, 2000 8:19 AM
    To: 'kamranaminyahoo.com'
    Subject: (forte-users) Overflow Exception that I can't
    catch...
    The problem is:
    I have a DataField, mapped type :DecimalNullable
    the input mask is set to Template ( #,##0;;;;)
    Because it is Template I can't validate on keystroke and
    I can't set the max characters in the properties sheet.
    This works great until, Someone enters over 28 characters into the
    field.
    It then displays the errors:
    USER ERROR: Operation caused arithmetic overflow
    Class: qqsp_ArithmeticException
    Error #: [301, 7]
    Deteced at: DecimalData.SetScale at 1
    ErrorTime: Thu Jan 27 15:50:48
    Exception occurred (locally) on partition
    "PurolatorApplications_CL0_Client" ,(partitionId =
    DEB96B60-AA27-11D1-82A8-23E82A0FAA77:0X6f98:0x7, TASKiD =
    [DEB96B60-AA27-11D1-82A8-23E82A0FAA77:0X6f98:0x7.492] in
    application
    "FTLaunch_c10",pid 279 on node W5300109 in environment centrale
    This is the first bit of code that executes when I leave the field
    and the
    value has changed:
    when <est_daily_rev_amt>.aftervaluechange do
    Begin
    sys_upd_usr_nam = aUserProfileBO.user_nam;
    aCPVDetailItem.SetState(base_detailItem.CHANGED_STATE);
    Exception
    when ex:ArithmeticException Do
    Task.ErrMgr.Clear();
    Window.MessageDialog(
    messageText='Revenue amount can not exceed
    100,000,000',
    MessageType=MT_WARNING);
    Self.Window.PurgeEvents();
    End;
    This is what I do:
    I put a debugging stop on the "when line" and the "Exception line"
    I also set the debugger to stop on all exceptions and posts.
    It never reaches the above code!?
    Is this a forte bug?
    I need the template and I need it to be a decimalnullable.
    Is there any suggestions for where else I may catch this
    Exception???
    Thanks in advance
    Regards,
    Dave Campbell
    Consultant,
    Caro Systems Inc.
    Mailto:Dave.CampbellCaroSys.com
    For the archives, go to: http://lists.xpedior.com/forte-users and use
    the login: forte and the password: archive. To unsubscribe, send in a new
    email the word: 'Unsubscribe' to: forte-users-requestlists.xpedior.com

  • Trying to Bind Matrix to DBDatasource

    Hi,
    I cannot seem to get my matrix bound to a system datasource (POR1)
    The Error I get is "Data Source - Not  A User Datasource"
    This occurs when trying to bind the first column.
    (  colItem.DataBind.SetBound(True, "POR1", "ItemCode" )
    I am trying to do this in a new tab in the purchase order form (142)
    odbs is a variable with class scope.
    Please help :
            odbs = oform.DataSources.DBDataSources.Add("POR1")
            oNewItem = oform.Items.Add("Lmat", SAPbouiCOM.BoFormItemTypes.it_MATRIX)
            oItem = oform.Items.Item("38")
            oNewItem.Left = oitem.Left
            oNewItem.Width = oItem.Width
            oNewItem.Top = oitem.Top
            oNewItem.Height = oitem.Height
            oNewItem.AffectsFormMode = False
            oNewItem.FromPane = 15
            oNewItem.ToPane = 15
            omat = oNewItem.Specific
            Dim colItem As SAPbouiCOM.Column
            Dim colItemD As SAPbouiCOM.Column
            Dim colQty As SAPbouiCOM.Column
            Dim colQtyO As SAPbouiCOM.Column
            Dim colSO As SAPbouiCOM.Column
            Dim l As SAPbouiCOM.LinkedButton
            Dim l2 As SAPbouiCOM.LinkedButton
            colItem = omat.Columns.Add("colItem", SAPbouiCOM.BoFormItemTypes.it_LINKED_BUTTON)
            colItem.Width = "125"
            colItem.TitleObject.Caption = "Item"
            colItem.DataBind.SetBound(True, "POR1", "ItemCode")
            colItem.Visible = True
            l = colItem.ExtendedObject
            l.LinkedObject = SAPbouiCOM.BoLinkedObject.lf_Items
            colItemD = omat.Columns.Add("colItemTxt", SAPbouiCOM.BoFormItemTypes.it_EDIT)
            colItemD.Width = "225"
            colItemD.TitleObject.Caption = "Item Name"
            colItemD.DataBind.SetBound(True, "POR1", "Dscription")
            colItemD.Visible = True
            colQty = omat.Columns.Add("colQty", SAPbouiCOM.BoFormItemTypes.it_EDIT)
            colQty.Width = "75"
            colQty.TitleObject.Caption = "Qty"
            colQty.DataBind.SetBound(True, "POR1", "Quantity")
            colQty.Visible = True
            colQtyO = omat.Columns.Add("colQtyO", SAPbouiCOM.BoFormItemTypes.it_EDIT)
            colQtyO.Width = "75"
            colQtyO.TitleObject.Caption = "Qty"
            colQtyO.DataBind.SetBound(True, "POR1", "OpenQty")
            colQtyO.Visible = True
            colSO = omat.Columns.Add("colSO", SAPbouiCOM.BoFormItemTypes.it_LINKED_BUTTON)
            colSO.Width = "125"
            colSO.TitleObject.Caption = "Sales Order"
            colSO.DataBind.SetBound(True, "POR1", "U_SONumber")
            colSO.Visible = True
            l2 = colSO.ExtendedObject
            l2.LinkedObject = SAPbouiCOM.BoLinkedObject.lf_Order

    Nick,
    Yes, you can add link button in grid column. There are 4 type of GridColumn, CheckBoxColumn, ComboBoxColumn, EditTextColumn, PictureColumn objects.  And you can set the linkobjecttype for EditTextColumn
    Please refer to BoGridColumnType for more info.
    sample code:
    oItem = oItems.Add("My_Grid", SAPbouiCOM.BoFormItemTypes.it_GRID)
                oItem.Top = 30
                oItem.Left = 10
                oItem.Width = 200
                oItem.Height = 100
                Dim oGrid As SAPbouiCOM.Grid = oItem.Specific
                Dim oDataTable = oForm.DataSources.DataTables.Add("POLines")
                oGrid.DataTable = oDataTable
                oDataTable.ExecuteQuery("SELECT ItemCode AS 'Item Code', Dscription AS 'Item Name', Quantity FROM POR1 WHERE DocEntry = 1")
                Dim colItemCode As SAPbouiCOM.GridColumn = oGrid.Columns.Item(0)
                colItemCode.Type = SAPbouiCOM.BoGridColumnType.gct_EditText           
                Dim editColItemCode As SAPbouiCOM.EditTextColumn = CType(colItemCode, SAPbouiCOM.EditTextColumn)
                editColItemCode.LinkedObjectType = 4
    Regards, Yatsea

  • What are solutions to the "Unexpected error while attempting to bind.  Operation cancelled." message when trying to bind

    What are solutions to the "Unexpected error while attempting to bind.  Operation cancelled." message when trying to bind and i alreeady cheack my DNS settings and everything

    Has this worked before, or is this a new configuration?
    On the server, launch Terminal.app from Applications > Utilities and post the output of the following harmless diagnostic command — and you'll need to enter an administrative password when requested:
    sudo changeip -checkhostname
    On the OS X (presumably) Mavericks client, please post the IP address(es) of the DNS server(s) you're referencing.  These are available via the System Preferences > Network > Advanced > DNS settings.
    To check the console logs, launch Console.app from Applications > Utilities on both the client and the server, and then attempt the binding, and then post a (short! no more than ~25 to 50 lines!) of any errors related to the binding error.
    If you're not in a position to post configuration details here — which is perfectly reasonable, and entirely your prerogative — or if I'm getting too confusing or too technical with some of the questions here, which would be my error of course — then (assuming these systems are under warranty) I'd suggest contacting the folks at the local Apple Store and having a chat with the local Geniuses about this, or checking directly with the Apple Support folks via telephone.

  • Fold down window just disappears when trying to bind to AD

    We're switching back to Macs!!
    In preparation I'm trying to bind my MacBook (10.5.6) to the Windows server (I've done this successfully at another school).
    When I go to Directory Access, click the + , put in the info, the fold down window goes away and nothing happens, I'm pretty ignorant so be gentle.

    AD is already enabled, I'm bound at another location. Just when when I click the + to add this one, fill it out and click OK,it folds away and nothing happens, I tried putting in rubbish and I get the same, no error messages, it just folds up and ignores me. I did create a computer for this Macbook on the AD server.

  • "Protocol family unavailable" when trying to bind to an IPv6 address

    Hi,
    When trying to bind to an IPv6 address using the Socket class, I get "Protocol family unavailable". Is there a fix to that?
    Thanks,
    Ronen

    read:
    http://search.msdn.microsoft.com/search/Default.aspx?
    query=IPv6&brand=msdn&locale=en-us&refinement=00&lang=en-us

  • Error when trying to bind without "cn=" prefix

    I am trying to bind a java object, via jndi, into an LDAP server and
    am getting an error.
    We have already bound jms.topics using IBM's JMSAdmin tool (a java
    tool), and they are in with names like "bucks" and "dela". Now, we
    want to put objects in from another tool instead of using the IBM
    tool.
    I am able to get the objects in, but I am forced to use "cn=myObject"
    instead of "myObject". For programic reasons, the later is what I
    need to do.
    Here is the code:
    // create the ctx
    InitialDirContext ctx = new InitialDirContext(env);
    // create the topic object with topic name of myTopic
    Topic q = new com.ibm.mq.jms.MQTopic("myTopic");
    // bind the object to the LDAP with the name == the topic name
    ctx.bind(new CompositeName("myTopic"),q);
    This results in
    javax.naming.directory.SchemaViolationException: [LDAP: error code 65
    - Object Class Violation]; remaining name 'myTopic'
    at com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCtx.java:903)
    at com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCtx.java:657)
    at com.sun.jndi.ldap.LdapCtx.c_bind(LdapCtx.java:1428)
    at com.sun.jndi.ldap.LdapCtx.c_bind(LdapCtx.java:459)
    at com.sun.jndi.toolkit.ComponentContext.p_bind(ComponentContext.java:594)
    at com.sun.jndi.toolkit.PartialCompositeContext.bind(PartialCompositeContext.java:185)
    at javax.naming.InitialContext.bind(InitialContext.java:366)
    at JNDITool.main(JNDITool.java:74)
    But, if I use
    ctx.bind(new CompositeName("cn=myTopic"),q);
    it works fine, but appears as "cn=myTopic" in the naming directory.
    In order to be backward compatible with another application, I need to
    have the name be merely "myTopic".
    Anybody know what IBM's JMSAdmin tool is doing differenctly to achieve
    this?
    TIA,
    Gonzo

    So the answer is you need to create some attributes to use when binding:
    // create the attributes for the binding.
    BasicAttributes basicattributes = new BasicAttributes();
    basicattributes.put("objectclass", "javaContainer");
    basicattributes.put("cn", topicName);
    // do the binding
    ((DirContext)ctx).bind(topicName, newTopic, basicattributes);
    Gonzo

  • Overflow exception

    Everytime a transaction try to commit occurs the overflow exception:
    java.rmi.ServerException: RemoteException occurred in server thread;
    nested exception is:
         java.rmi.RemoteException: Erro na grava____o do planejamento; nested
    exception is:
         kodo.util.FatalDataStoreException: kodo.util.FatalDataStoreException:
    Overflow Exception
    NestedThrowables:
    java.sql.SQLException: Overflow Exception
    NestedThrowables:
    java.sql.SQLException: Overflow Exception
    I'm using Oracle 9i.
    Can someone explain me why it happens and what should I do to avoid it?
    Thanks,
    Alexander.

    I've removed all toString() implementations of all persistence class, but
    the problem continues...
    The stack trace of the overflow exception generated is the follow:
    java.rmi.ServerException: RemoteException occurred in server thread;
    nested exception is:
         java.rmi.RemoteException: Erro na grava____o do planejamento; nested
    exception is:
         kodo.util.FatalDataStoreException: kodo.util.FatalDataStoreException:
    Overflow Exception
    NestedThrowables:
    java.sql.SQLException: Overflow Exception
    NestedThrowables:
    java.sql.SQLException: Overflow Exception
         at sun.rmi.server.UnicastServerRef.dispatch(Unknown Source)
         at sun.rmi.transport.Transport$1.run(Unknown Source)
         at java.security.AccessController.doPrivileged(Native Method)
         at sun.rmi.transport.Transport.serviceCall(Unknown Source)
         at sun.rmi.transport.tcp.TCPTransport.handleMessages(Unknown Source)
         at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(Unknown
    Source)
         at java.lang.Thread.run(Unknown Source)
         at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(Unknown
    Source)
         at sun.rmi.transport.StreamRemoteCall.executeCall(Unknown Source)
         at sun.rmi.server.UnicastRef.invoke(Unknown Source)
         at
    com.cflex.supervision.trains.servidor.RMIServerImpl_Stub.gravaPlanejamentoNaoOficial(Unknown
    Source)
         at
    com.cflex.supervision.trains.cliente.ControladorCliente.gravaPlanejamentoNaoOficial(ControladorCliente.java:206)
         at
    com.cflex.supervision.trains.cliente.gui.ClientGUI$MainMenuAdapter.actionPerformed(ClientGUI.java:106)
         at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
         at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(Unknown
    Source)
         at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
         at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
         at javax.swing.AbstractButton.doClick(Unknown Source)
         at javax.swing.plaf.basic.BasicMenuItemUI.doClick(Unknown Source)
         at
    javax.swing.plaf.basic.BasicMenuItemUI$MouseInputHandler.mouseReleased(Unknown
    Source)
         at java.awt.Component.processMouseEvent(Unknown Source)
         at java.awt.Component.processEvent(Unknown Source)
         at java.awt.Container.processEvent(Unknown Source)
         at java.awt.Component.dispatchEventImpl(Unknown Source)
         at java.awt.Container.dispatchEventImpl(Unknown Source)
         at java.awt.Component.dispatchEvent(Unknown Source)
         at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
         at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
         at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
         at java.awt.Container.dispatchEventImpl(Unknown Source)
         at java.awt.Window.dispatchEventImpl(Unknown Source)
         at java.awt.Component.dispatchEvent(Unknown Source)
         at java.awt.EventQueue.dispatchEvent(Unknown Source)
         at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
         at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
         at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
         at java.awt.EventDispatchThread.run(Unknown Source)
    Caused by: java.rmi.RemoteException: Erro na grava____o do planejamento;
    nested exception is:
         kodo.util.FatalDataStoreException: kodo.util.FatalDataStoreException:
    Overflow Exception
    NestedThrowables:
    java.sql.SQLException: Overflow Exception
    NestedThrowables:
    java.sql.SQLException: Overflow Exception
         at
    com.cflex.supervision.trains.servidor.RMIServerImpl.gravaPlanejamentoNaoOficial(RMIServerImpl.java:268)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
         at java.lang.reflect.Method.invoke(Unknown Source)
         at sun.rmi.server.UnicastServerRef.dispatch(Unknown Source)
         at sun.rmi.transport.Transport$1.run(Unknown Source)
         at java.security.AccessController.doPrivileged(Native Method)
         at sun.rmi.transport.Transport.serviceCall(Unknown Source)
         at sun.rmi.transport.tcp.TCPTransport.handleMessages(Unknown Source)
         at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(Unknown
    Source)
         at java.lang.Thread.run(Unknown Source)
    Caused by: kodo.util.FatalDataStoreException:
    kodo.util.FatalDataStoreException: Overflow Exception
    NestedThrowables:
    java.sql.SQLException: Overflow Exception
    NestedThrowables:
    java.sql.SQLException: Overflow Exception
         at
    kodo.util.FatalDataStoreException.writeReplace(FatalDataStoreException.java:54)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
         at java.lang.reflect.Method.invoke(Unknown Source)
         at java.io.ObjectStreamClass.invokeWriteReplace(Unknown Source)
         at java.io.ObjectOutputStream.writeObject0(Unknown Source)
         at java.io.ObjectOutputStream.defaultWriteFields(Unknown Source)
         at java.io.ObjectOutputStream.writeSerialData(Unknown Source)
         at java.io.ObjectOutputStream.writeOrdinaryObject(Unknown Source)
         at java.io.ObjectOutputStream.writeObject0(Unknown Source)
         at java.io.ObjectOutputStream.defaultWriteFields(Unknown Source)
         at java.io.ObjectOutputStream.writeSerialData(Unknown Source)
         at java.io.ObjectOutputStream.writeOrdinaryObject(Unknown Source)
         at java.io.ObjectOutputStream.writeObject0(Unknown Source)
         at java.io.ObjectOutputStream.writeObject(Unknown Source)
         ... 7 more
    Caused by: java.sql.SQLException: Overflow Exception
         at oracle.sql.LnxLibThin.lnxren(LnxLibThin.java:6137)
         at oracle.sql.NUMBER.toBytes(NUMBER.java:939)
         at
    oracle.jdbc.dbaccess.DBConversion.DoubleToNumberBytes(DBConversion.java:2990)
         at
    oracle.jdbc.driver.OraclePreparedStatement.setDouble(OraclePreparedStatement.java:1514)
         at
    com.solarmetric.jdbc.DelegatingPreparedStatement.setDouble(DelegatingPreparedStatement.java:417)
         at
    com.solarmetric.jdbc.PoolConnection$PoolPreparedStatement.setDouble(PoolConnection.java:454)
         at
    com.solarmetric.jdbc.DelegatingPreparedStatement.setDouble(DelegatingPreparedStatement.java:417)
         at
    com.solarmetric.jdbc.DelegatingPreparedStatement.setDouble(DelegatingPreparedStatement.java:417)
         at
    com.solarmetric.jdbc.DelegatingPreparedStatement.setDouble(DelegatingPreparedStatement.java:417)
         at
    com.solarmetric.jdbc.LoggingConnectionDecorator$LoggingConnection$LoggingPreparedStatement.setDouble(LoggingConnectionDecorator.java:848)
         at
    com.solarmetric.jdbc.DelegatingPreparedStatement.setDouble(DelegatingPreparedStatement.java:417)
         at kodo.jdbc.sql.DBDictionary.setDouble(DBDictionary.java:1495)
         at kodo.jdbc.sql.AbstractRow.toSQL(AbstractRow.java:631)
         at kodo.jdbc.runtime.RowImpl.flush(RowImpl.java:250)
         at
    kodo.jdbc.runtime.PreparedStatementManager.flush(PreparedStatementManager.java:125)
         at kodo.jdbc.runtime.UpdateManagerImpl.flush(UpdateManagerImpl.java:361)
         at kodo.jdbc.runtime.UpdateManagerImpl.flush(UpdateManagerImpl.java:155)
         at kodo.jdbc.runtime.UpdateManagerImpl.flush(UpdateManagerImpl.java:73)
         at kodo.jdbc.runtime.JDBCStoreManager.flush(JDBCStoreManager.java:588)
         at
    kodo.runtime.DelegatingStoreManager.flush(DelegatingStoreManager.java:152)
         at
    kodo.runtime.PersistenceManagerImpl.flushInternal(PersistenceManagerImpl.java:969)
         at
    kodo.runtime.PersistenceManagerImpl.beforeCompletion(PersistenceManagerImpl.java:814)
         at kodo.runtime.LocalManagedRuntime.commit(LocalManagedRuntime.java:69)
         at
    kodo.runtime.PersistenceManagerImpl.commit(PersistenceManagerImpl.java:543)
         at
    com.cflex.supervision.trains.dbase.espelho.malhaferroviaria.EspelhoListaDeConexoes.persisteListaDeConexoes(EspelhoListaDeConexoes.java:99)
         at
    com.cflex.supervision.trains.dbase.espelho.malhaferroviaria.EspelhoVia.persisteVia(EspelhoVia.java:86)
         at
    com.cflex.supervision.trains.dbase.espelho.EspelhoTempoMedioMovimento.persisteTempoMedioMovimento(EspelhoTempoMedioMovimento.java:82)
         at
    com.cflex.supervision.trains.dbase.espelho.EspelhoListaTemposMediosMovimento.persisteListaTemposMediosMovimento(EspelhoListaTemposMediosMovimento.java:96)
         at
    com.cflex.supervision.trains.dbase.espelho.EspelhoTremTipo.persisteTremTipo(EspelhoTremTipo.java:95)
         at
    com.cflex.supervision.trains.dbase.espelho.EspelhoTrem.persisteTrem(EspelhoTrem.java:92)
         at
    com.cflex.supervision.trains.dbase.espelho.modelo.EspelhoProgramacaoDeTrens.persisteProgramacaoDeTrens(EspelhoProgramacaoDeTrens.java:84)
         at
    com.cflex.supervision.trains.dbase.espelho.modelo.EspelhoModeloFerroviario.persisteModeloFerroviario(EspelhoModeloFerroviario.java:85)
         at
    com.cflex.supervision.trains.dbase.espelho.modelo.EspelhoPlanejamento.persistePlanejamento(EspelhoPlanejamento.java:98)
         at
    com.cflex.supervision.trains.dbase.BaseDeDados.setPlanejamento(BaseDeDados.java:470)
         at
    com.cflex.supervision.trains.servidor.RMIServerImpl.gravaPlanejamentoNaoOficial(RMIServerImpl.java:264)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
         at java.lang.reflect.Method.invoke(Unknown Source)
         ... 7 more
    Does anybody have another suggestion to help me?
    Thanks,
    Alexander.

  • Conflict start: You tried to bind an object under the name abc.Scheduler

    I have deployed my application on the WLS which is configured for clustred with 2 managed server and one admin server in the same machine. I see the below error on both of the managedServer consoles. can any one please help me resolving this issue.
    <Conflict start: You tried to bind an object under the name abc.Scheduler in the JNDI tree. The object from -2433108061996587758S:192.168.0.61:[7014,7014,-1,-1,-1,-1,-1]:SingleDomainClusterTake2:ManagedServer1 is non-clusterable, and you have tried to bind more than once from two or more servers. Such objects can only be deployed from one server.>
    Regards
    Suresh.

    Hi Jay,
    Below is the code snippet where I am binding the Schedular Object to a JNDI abc.Schedular and I got the above error message when I trying to deploy the application in clustered environment.
    Code Snippet where binding the Schedular Object
    private static final String JNDI_NAME = "abc/Scheduler";
    Hashtable ht=new Hashtable ();
    InitialContext context = new InitialContext();
    scheduler = new Scheduler();
    scheduler.setStorage(new DatabaseSchedulerStorage());
    context.bind(JNDI_NAME, scheduler);
    Code Snippet for looking up the schedular object
    protected Scheduler getScheduler() throws NamingException {
    if (scheduler != null) {
    return scheduler;
    Scheduler s=null;
    if(workaround){
    s=((ThreadManager)SchedulingServlet.getThreadManager()).getScheduler();
    }else{
    InitialContext context = new InitialContext();
    s = (Scheduler) context.lookup("reactor/Scheduler");
    if (s.getStorage() == null) {
    s.setStorage(new DatabaseSchedulerStorage());
    scheduler=s;
    return scheduler;
    I have added "ht.put(WLContext.REPLICATE_BINDINGS, "false");" to get rid of the conflict error but I what this object to be clustrable and you please let me know how do I make this object clustrable.
    I am using quartz schedular.
    Regards
    Suresh.

  • JNDI naming exception: Naming exception trying to connect to:help !!!!!!!!!

    Hi,
    Iam getting this exception and i have no clue what is this exception means.....and how to resolve this Naming Exceptions problem.
    what iam doing is.....Iam trying to deploy a war file from my unix system to a win2000 machine(amasdqyt095).
    This is where and how my script(myscript.sh) looks like:
    java -classpath /xyz/bea/wlserver6.1/lib/weblogic.jar weblogic.deploy -port 7001 -host amasdqyt095 -component myWebApp:myserver update weblogic myWebApp /export/home/applications/xyz.war
    i have created this script at: /xyz/bea/wlserver6.1/config/scripts/myscript.sh
    then i did chmod +x myscript.sh
    and the i did:
    ./myscript.sh
    and then iam getting this exception:
    JNDI naming exception: Naming exception trying to connect to: t3://amasdqyt095:7001 as: system: weblogic
    please help ????
    -sangita

    I had the same problem because the weblogic.jar's version in the server was diferent from my machine (SP2 and SP4). I stops when I updated the server to SP4.
    But now I'm having the same problem in another server, and the versions are ok. If anybody knows something else, please let me know.
    I'm using Weblogic 6.1
    []s
    Leonardo

Maybe you are looking for

  • How do I stream music to airport express from my iPhone

    I have installed airport express on my macbook pro and can now play music on my stereo system using itunes from my laptop, but I also ant to steam music from my iphone4 to the stereo as well, I have some radio apps on my iphone four that I would like

  • How can i centre a single image within a page in the print module?

    I am using LR5 and am trying to print a single image using print package in the centre of the page, equal borders on all 4 sides. There has got to be an easy way of doing this?

  • Moving toward a click-less OS: a suggestion for improving the Mac interface

    This is a long post, so if you have a short attention span, or are not interested in UI design, have a nice day and move on to the next post! A little history first. Back in the days of OS 7 and earlier, I recall a feature lacking from the OS that wa

  • Making a Scan Visible on screen

    I have scanned a handwritten document, but the pdf appears too light onscreen to use.  How can I increase the contrast on screen so the drawings appear darker?

  • Disable Apache Plugin Load Balancing

    When proxying requests with the Weblogic Apache Proxy Plugin, can load balancing be disabled? We do not want to load balance between Weblogic servers since the Apache server is running on the same box as Weblogic. However, we still very much want the