Problem with bool data type in overloading

6394 byte By dileepd.kumara at 2007-11-27 11:56:44
Please find the following error.I did following typedef:typedef bool Boolean;typedef signed int Sint32;Problem description:This error is occurring because Sun CC 5.9 or Solaris 9 g++ considers bool data type as signed Integer, when passed as an constructor argument. First, it is overloading the ...

Reading a Encrypted File

399 byte By ashishsamanta at 2007-11-27 11:54:52
Dear Everyone, Anyone, SomeoneI have a files with extension .fs5 along with IDX files, The fs5 files and IDX files are Linked to one another as they both have same name. I want to read the fs5 file which is encoded some how. I tried using all textpad and such other tools along with their properties ...

libg2c or libf2c

274 byte By shizoomwanga at 2007-11-27 11:54:23
<p>Dear Colleague:</p><p>I used to compile Fortran programs on Linux. With Linux, I have to link with either libf2c.a or libg2c.a to get the programs work. What library should I use if I port those codes from Linux to Solaris with Studio? </p><p>Thank you for your help.</p>

When I sort a list with object's pointer, it will be error

2112 byte By w20088a at 2007-11-27 11:53:52
When I sort a list with pointer object it will be error. #include <iostream>#include <string>#include <list>#include <vector>#include <algorithm>#include <functional>using namespace std;/* class Person */class Person { private:string fn;// first namestring ln;// last name ...

-staticlib RW linking

497 byte By Qrioa at 2007-11-27 11:53:46
HiI get the following error while building a shared object:librwtool.a(ctclass.o): symbol RWCollection::__vtbl: relocations based on the ABS44 coding model can not be used in building a shared objectThis happens only in debug mode.The link line has the following compile ...

I need some 64bit lib

137 byte By hupo1982a at 2007-11-27 11:52:42
<p>I compiling our project under Solaris 8, I lost two libs: libxpm.a & libjpeg.a(64bit), where can I find them?</p><p>Thank you!</p>

How use Sun Studio 9 to kick-off shell script that contains debug target

333 byte By denniska at 2007-11-27 11:51:39
Hello,While rhe shell script is marked as executable, the Sun Studio 9 debug mode does not see it that way.Unfortunately, my executable is wrapped inside the shell script.How do I convince the debug mode that the shell script is an ok executable so that I can use the very nice debugger?Thanks ...

Converter question

2487 byte By Futeleufu_Johna at 2007-11-27 11:50:59
I would like to store phone numbers as text in a database without any formatting. That is, if a user enters 111-222-3333 or (111)222-3333 or even 111 222 3333, the number would be stored as 1112223333. The idea is to allow the user enter phone numbers any way he wants, as long as it contains 10 ...

subversion and studio 12

546 byte By screen1984a at 2007-11-27 11:48:37
hello all,i installed subversion module according to: http://forum.java.sun.com/thread.jspa?threadID=5176132ok, i have a new menu subversion, and able to connect to repository to checkout my files.But when i want to commit or update, i can't because all submenus are unavailable, as showed ...

ORA-01031: insufficient privileges

144 byte By Someswaraa at 2007-11-27 11:47:04
<p>While i was creating view for table i am geeting insufficientt privileges.</p><p>ORA-01031: insufficient privileges</p><p>please help me.</p>

Is it a bug if a training 'nX' specifier is ignored with advance='NO'?

448 byte By Joe_Krahna at 2007-11-27 11:45:48
I found that Sun Fortran does not count blanks from an 'nX' specifier when writing with advance='NO'. For example, this code:write(*,'(A,4X)',advance='NO') '1'write(*,'(A)') '2'write(*,'(A,4(" "))',advance='NO') '1'write(*,'(A)') '2'endresults in:1212I recall some discussion ...

problem with sequence of the oracle

988 byte By MohamedEmada at 2007-11-27 11:42:57
in sakthi's weblogin that link http://blogs.sun.com/sakthi/entry/a_scenario_with_oracle_sequence i found that about the sequence of the oracle and how i can use it with creator but sadly it didn't work correctly ..i make all the steps correct but when i trying to enter a name or any string it do ...

Random crashes in programs compiled with sunstudio 11

6194 byte By ScAra at 2007-11-27 11:42:56
Hi all,I am porting some server stuff from Windows to Solaris and have the problem, that I have random crashes of our main server what didn't happen on Windows, Linux or HP with the same code base.I think that there is perhaps a structural problem, what I can't find. Perhaps somebody can look ...

Core dump(abort) due to double free at STL string '='operator,with mtmalloc

1650 byte By miya38a at 2007-11-27 11:42:48
I have a probrem; my program crashes due to SIGABRT.My program is multithreaded (about 600 thread total),and uses libmtmalloc for more performance.By stack trace , when handling of substitution operation ('=' operator) of STL string ,free() and abort() is called like this:-- lwp# 235 / thread# ...

Optimized math library on Linux AMD64

933 byte By Roland_Kaufmanna at 2007-11-27 11:41:50
I have a problem linking with the optimized math library using Sun Studio 12 on Linux with an AMD64 processor. It complains that the pow() function depends on a missing symbol, which I believe comes from the C runtime. This problem does not occur if I am using the regular math library, or the ...

Using stlport and Cstd in same application

1318 byte By abiesa at 2007-11-27 11:39:04
Hello,I have two 3rd party C++ libraries. One of them is using stlport, second classic Cstd library. Is it possible to make application which will use both of them at the same time?I know that easy answer is 'no'. I have contacted both vendors - stlport-based one says "We won't support old ...

Dbx does not work when debugging g++ exes.

3305 byte By petrosysa at 2007-11-27 11:37:19
Hi,We are just getting started building our application on redhat el5 with sunstudio 12.We are compiling and linking our app with gcc 4.1 as we need to be able to link against some 3rd party libraries build on rhel4 that we do not have source for.We now can compile and link fine but dbx does not ...

getting complete full path of a file name

773 byte By jsfNewbiea at 2007-11-27 11:36:26
Greetings Java developer!I am having a problem in my JSF program to get a complete full path of a file name if I runs it using a browser other than IE.Here is the code I used to retrieve the complete full path of a fine name in my program.UploadedFile uploadedFile = fileUpload1.getUploadedFile(); ...

checkbox in a table

985 byte By accs21a at 2007-11-27 11:35:15
hi,i'm using a table to present data.the table is a multiple choice table, using a checkbox.after some rows are marked, a certain action is executed using a button.when the action is over, i want to do the following for each row -1. if there was an error during execution, mark the row's ...

How to submit the form when clicked selectMultipuleButton?

135 byte By nsqsmilea at 2007-11-27 11:33:02
<p>Hi,all</p><p>when clicked selectMultipuleButton on a table,why don't the form submit? How to submit?</p><p>Thanks.</p><p>Smile.</p>

How Can I Retrive A Photo In Oracle with creator 2

314 byte By MohamedEmada at 2007-11-27 11:32:32
How Can I Retrive A Photo In Oracle with creator 2I used the example that sun put in the site using the derby.. and now i need to make it using the oracle but the oracle have no auto number like the example so how can i make it run ... it's hurt me for 3 weeks now can realy any one help ...

Custom Component- Palette not showing contents

490 byte By ashishsamanta at 2007-11-27 11:31:32
Dear Everyone, Anyone, SomeoneI want to create a custom component consisting txtfld, button(For trial).Classes Such as taglib, beaninfoclass, tag handler, etc are necessary.Or the custom component can be created without using those.My one more doubt is My .compib file gets created, it is also ...

Difference Netbeans (+Visual Web Dev) and Sun Studio Creator

85 byte By TimmyTurnera at 2007-11-27 11:31:23
<p>Hi,</p><p>I am Wondering what the differences between this two products are...</p>

question about dynamic positioning of footer and table pagination

379 byte By oolea at 2007-11-27 11:29:10
Hi there,I defined .jspf of footer and tried to make it dynamically show up on the bottom of page. But when I added a pagination button a table on the page, the extended table always overlapped to the footer after clicked that button. And obviouslly, the footer doesn't sit on the bottom of page ...

Installation failed with Windows Vista and JDK1.602

289 byte By excel96la at 2007-11-27 11:28:48
<p>Hi All,</p><p>Appreciate any help to resolve the following installation error on my Windows Vista system with JDK1.602</p><p>Pop-up Error Message:</p><p>The installer is unable to run graphical mode. Please check the value of the DISPLAY environment varibale.</p><p>Thanks,</p><p>CP</p>

Cannot find class CustomerFacadeRemote in NetBeans IDE 5.0 Quick Start Guid

5044 byte By yloua at 2007-11-27 11:28:25
Hi,I am new to Sun Java Studio Enterprise 8.1. I am follwing NetBeans IDE 5.0 Quick Start Guide for J2EE Applications example and got two following errors:C:\SunStudioWS\CustomerBook\CustomerBook-war\src\java\web\CustomerDetail.java:4 1: cannot find symbolsymbol : class ...

Failed deployment

2727 byte By farmboya at 2007-11-27 11:27:44
Using Sun Studio Enterprise 8.1 (Build 2006_12_01)Java 1.5.0_12Have copied the jstl.jar file from the install WEB-INF/lib/ directory to <server-root>/bin/https/jar (and put this path in the classpathsuffix section of the server.xml file)How to resolve?ThanksAttempting to deploy application to ...

why do textField box view different in IE and Firefox/netscape?

399 byte By yukelma at 2007-11-27 11:27:26
Hello All,I use textField in my web page. When i use IE, i saw it like creator design page. But when i use firefox or netscape ,i saw textField box greater than IE.My jsp code are;<ui:textField binding="#{Product.textField1}" columns="1" id="textField1"style="height: 24px; left: 24px; top: ...

Issues after Importing sun java creator2 update1 project to netbeans 5.5.1

193 byte By JohnnyFlipa at 2007-11-27 11:26:45
<p>After Importing my SJC2U1 project into my netbeans 5.5.1 ,my project can see javax.faces.* package.even when i right click to fix import ,it was saying package javax.faces does not exist</p>

why can't I use sunperf?

160 byte By ornamenta at 2007-11-27 11:25:44
<p>I use the command "$cc -dalign -xarch=amd64 -xparrellel test.c -o a.out -xlic_lib=sunperf".</p><p>the it is showed that the sunperf lib can not be found.</p>

Installing Sun Studio Creator in Linux-UBUNTU

150 byte By Samanta at 2007-11-27 11:24:29
<p>Dear Everyone,</p><p>Creator is not getting install in UBUNTU Linux, Has Anybody install.</p><p>Please Help.</p><p>Regards,</p><p>Ashish Samant</p>

Execute java function from javascript onchange?

271 byte By Jandera at 2007-11-27 11:24:20
<p>Hi,</p><p>How I can to call a function implemented in my page1.java from onchange metod of a textfield?</p><p>The idea is to implement a similar situation how in a Java Desktop App we can implement in a textfield the event onKeypressed,keyTiped,etc.</p><p>Thank's</p>

console vs text area

298 byte By abo3ala2a at 2007-11-27 11:20:01
<p><b>i want to add a console window in my gui </p><p>as i can write to and read from it</p><p>for more explanation</p><p>it behaves like dos window </p><p>where i write a command and it give me output on the screen but user can't edit this output</p><p>but he can write a new command only</b></p>

help! i have problems with document.getElementById("form1:textField1")

685 byte By scraftera at 2007-11-27 11:18:58
hellosorry my english my problem that is creator not display in the window alert , the box text content'scomponent button have a event onclick ,where it call the function saludar(" form1:textField") here is my code<script><![CDATA[function saludar(texto) ...

New istallation with problems

546 byte By queenslandera at 2007-11-27 11:18:51
Each time I create a new project, a java application game called BigBang is installed in my project folder. Is this a form of virus or just a sample app being loaded?I have only just installed Sun Java Studio Creator yesterday. To get around my problem I have tried uninstalling Creator, but run ...

checkbox,selectMultipuleButton and footer on a table?

1675 byte By nsqsmilea at 2007-11-27 11:17:21
Hi,AllI want to binding a page's property(Stat. a column value of all selected row) to the table's footer property.Click the checkbox column is ok,but click the selectMultipuleButton it don't Stat.The page's property code as followspublic String getAllUsepowerFooter(){int allusepower = ...

How to print in a new page?

260 byte By nsqsmilea at 2007-11-27 11:17:17
<p>Hi,</p><p>There is a button on a page,the button's function as follows:</p><p> 1)do some database operation </p><p> 2)generate printing String and put into a sessionbean's property</p><p> 3)open a new page</p><p> How to do?</p><p> Thanks</p><p> Smile.</p>

Problem executing programs after instaling Studio 8.1

645 byte By r_honeya at 2007-11-27 11:16:46
I had JDK 1.5 installed on my computer. I earlier used to code my programs either in a text-editor or JCreator & run them from the command prompt.I recently installed Studio Enterprise 8.1. My programs execute successfully from the IDE. They also complie successfully from the command prompt. ...

Linking an entire static library

717 byte By coelurusa at 2007-11-27 11:16:02
I have an application which loads plugins (dynamic libs). The app and the plugins make use of a set of handy functions that I've compiled into a static library. I want to link the static library into the application, otherwise I'd just get a lot of copies everywhere.The problem is that "cc" ...

EJB Local Lookup

1281 byte By javaRulea at 2007-11-27 11:15:48
I keep getting javax.naming.NameNotFoundExceptionContext jndiCtx = new InitialContext();Object obj = jndiCtx.lookup("java:comp/env/ejb/local/MySqlTestBean");<ejb-jar version="2.1" xmlns=" http://java.sun.com/xml/ns/j2ee" xmlns:xsi=" http://www.w3.org/2001/XMLSchema-instance" ...

Who can help me with my solaris version problem?

423 byte By ScAra at 2007-11-27 11:12:37
Hi all,because NOBODY answer me on that topic http://forum.java.sun.com/thread.jspa?threadID=5195679&tstart=0and that is the first time that happend to me, I will ask, what is the reason for this? Is this question wrong in this forum? Or is the attached output to big?I appreciate any hint, what ...

debug doesn't work but run project does.

1405 byte By Perryiera at 2007-11-27 11:12:36
I am developing a project in netBeans that I have been able to run the regular way and also in debug mode. Suddenly this morning the debug mode will not deploy, even though I can get it to work by doing a "run project." Here is the error message I get in my debug output console:Duplicated project ...

Creating .complib file

564 byte By ashishsamanta at 2007-11-27 11:12:15
Dear Everyone, Anyone, SomeoneCan anybody tell me what is procedure for creating a complib file. I don't want the list of files to be added in to complib file. I have already created .complib file using command prompt,> jar -cf sample.complib a.jar b.zip but when using complib file in Sun studio ...

Error: webuijsf not found

1056 byte By Willi2793a at 2007-11-27 11:11:41
Hello,I updated my Develop-PC to JDK 6 Update 2 and use NB with VWP 5.5.1 and SAS. After I upgraded the underlying JDK to 6 Update 2 I get errors in my JSF-Pages. The actions are not performed and I get an "Error on this page" saying that "webuijsf is not found". Comparing an old page with the same ...

Create Menu

49 byte By Sumit@Suna at 2007-11-27 11:09:52
<p>How will i create Pop up menu with creator</p>

Only DTO's bindable to object data providers?

516 byte By jay_dawga at 2007-11-27 11:09:09
I am tryin to bind the array of a data provider to an array of plain old java objects. The object implements serializable and has getter and setters for all vars and public no-argument constructor. However, the array does not show up in "array" options under properties of the Data provider. This ...

data source error

416 byte By tlgraffa at 2007-11-27 11:08:28
I have just installed Studio creator. I created a new project and under the servers view, the datasource Travel has a red x and the connection status is failed, and the message indicates the following java.security.PrivilegedActionException : Error opening socket to server localhost on port 21527 ...

The button reacts once even it gets clicked two or more times

516 byte By jjwwanga at 2007-11-27 11:08:08
I have 2 buttons doing the the iterating of a table, like Previous, Next. It works fine if I click the button, e.g. Next, once, I got the next table row displayed. However, when I click again the same button (previous clicked), Next, it seems like I just got the same page refreshed: I did not get ...

Persuading dbx to use recompiled object files

540 byte By WilliamFultona at 2007-11-27 11:06:25
When loading a core file, I get:dbx: warning: Object file is not the same one that was linked into executable.Skipping stabs. (see `help finding-files')because I recompiled the object files as the originally compiled object files are no longer available. How can I force dbx to use the newly ...

Problem installing sunstudion

471 byte By binjavaa at 2007-11-27 11:05:02
I am new to the UNIX world and am trying to install Sunstudio on my solaris system. I used the tar file. Extraction of the file was successfulWhen I try to run sunstudio using. sunstudio --netbeans /home1/downloads/C++/netbeans-5.5.1I get the following errorUnrecognized option: -clientCould not ...