DID YOU KNOW? - ABOUT DATAPROVIDER COMPONENTS IN THE PALETTE?

2870 byte By kish@suna at 2007-11-27 1:40:46
Hi All,DID YOU KNOW?Practically all applications entail accessing data of some sort, often data stored in a relational database table or some sort of list, such as a vector or an array. Usually you need to read in data from the data source, but many times you have to update that data, too. The ...

Getting following error when running gmake command

17027 byte By supplya at 2007-11-27 1:41:26
"/appl/SUNWspro/prod/include/CC/rw7/rw/rstream.h", line 46: Error: The name istream is ambiguous, istream and std::istream."/appl/SUNWspro/prod/include/CC/rw7/rw/rstream.h", line 46: Error: The name istream is ambiguous, istream and ...

CheckBox

348 byte By dsva at 2007-11-27 1:41:45
OK - This is probably a very simple question but I have not been able to find the answer myself.I have a checkbox that I want to test.if (headersCheckBox().isChecked()) {// Write code here to unselect the checkbox}I'm looking for a method that will uncheck the box (or check it) on the ...

how use next record or how use vcr button next prev. butt

270 byte By mfa786a at 2007-11-27 1:43:31
hi master 1.sir how i use vcr button for record navigation 2. sir how i use hyperlink both use in this link sample http://blogs.sun.com/divas/entry/links_in_tablesplease give me idea and sample thank's aamir

Display text w/i Static Text Field

260 byte By farmboya at 2007-11-27 1:45:58
Running SJSC2.1 on XPHow can I get the text within a static text field to display on multiple lines.It works within a text area field - using "\n" but not a static text field. The text is fed from a database (Derby/Oracle)?Thanks...

Bad "Getting Started Tutorial" Link, SunStudio Feb 2007 Express

189 byte By jslotta at 2007-11-27 1:46:39
When clicking on the "Getting Started Tutorial" link on the Resources tab of the "Start Page", I get the following link, which I recognize as Sun internal:www.dscpreview.sfbay

Can't find CC when install to non-standard location

381 byte By jslotta at 2007-11-27 1:46:43
When I installed Sun Studio Express February 2007 to a non-standard location via the installer program, upon start of the IDE, it says it can't find the CC program. I have set my path properly.I fixed this problem by just mounting: mount -F lofs /export/sunstudio/SUNWspro /opt/SUNWspro and ...

Does Java Studio Enterprise replace Netbeans ?

390 byte By paul_chanceya at 2007-11-27 1:47:33
Two questions really, (1) If you minimize the Project, Files, and Runtime tabs, how do you get them back up in the same tabbed pane they were in when you first opened Netbeans? (2) If I download Java Studio Enterprise can I just remove netbeans and not worry about it. While I'm asking. (3) The ...

Calendar component. Number of conflicts while synchronizing: 1 SyncResolve

931 byte By Yaquea at 2007-11-27 1:48:18
Hello, I hope somebody could help me... I'm developing a web application using JSF and MS SQL but I have a problem with a calendar component. I set minDate and maxDate in init() method:calendar1.setMinDate(new GregorianCalendar(2006, 0, 1).getTime());calendar1.setMaxDate(new ...

Help on ArrayList of Objects

2212 byte By virkofa at 2007-11-27 1:48:50
Hello everyone, I am doing a project for university and I抦 having troubles with a method. I try to explain what it is?br>I have two classes, one is a book class and the other is a catalogue which uses an ArrayList. Each book has a String description and a borrower number. I have to do a method ...

Urgent-Plz Help

410 byte By samanila at 2007-11-27 1:50:13
Hello Every one, I'm having problem with tables that I'm not able to Add data from One table to another in a jsf page while the same coding is working fine for another page in the same poject****************************************************************************************Some one plz ...

Find out which navigation case

339 byte By Eke_nya at 2007-11-27 1:52:17
Hi folks,Assume that there are two pages; Page A and Page B. Page A has two buttons and both buttons cause the navigation handler to direct Page B depending on the case. Button 1 returns "case1" and Button 2 returns "case2". How can I find depending on what navigation case cause Page B to be ...

Sun Studio Express Feb 2007 freezes upon "collect"

693 byte By jslotta at 2007-11-27 1:55:02
When I try to analyze a program (via any of the features under the "Advanced" menu) Sun Studio Express Feb 2007 freezes (aparently forever). It seems to spawn a slew of "/bin/mail" processes presumably to send email back to Sun about usage. When I run "collect" from the command line, I ...

Enable memory checks by default in Sun Studio Express Feb 2007

286 byte By jslotta at 2007-11-27 1:55:03
When I ran "Advanced -> Runtime Checking" for the first time, I was surprised when it did nothing. I only realized later that I first needed to do "Configure" on them to enable memory access and leak detection.I believe the default values for these should be "enabled".

Sun Studio Express Feb 2007, lingering dialog box upon Debug

275 byte By jslotta at 2007-11-27 1:55:23
When I try to debug a project (say the Freeway sample application) in Sun Studio Express Feb 2007 on Solaris x86, Ultra 20, the following dialog box lingers. I am able to close it manually and debug normally however:Loading library/usr/lib/liblayout.so.1

Bad "&FixAll" label for "Fix and Continue dialog box

254 byte By jslotta at 2007-11-27 1:55:24
In Sun Studio Express Feb 2007, when I edit a line of code, save, and continue debugging through a program (the "Fix and continue" feature), the dialog box which appears seems to have an invalid label named "&FixAll". On Solaris x86, Ultra 20.

Deployment Server Will not Start

644 byte By rfencla at 2007-11-27 1:56:25
I don't know what happened. I was working through the tutorials and had just finished populating the database. When I tried to run the example again I get the error The Sun Java Application Server 8.2 could not start. Possible reasons include: Port Conflicts, Incorrect Server Configuration, ...

sql server and tomcat

1151 byte By gio_moria at 2007-11-27 1:58:18
my webapp reads data from a sql server 2000 db, everithing works fine, but if I try to export in tomcat it doesn't workI've set with tomcat administration datasource information, downloaded a jdbc driver from msn and copyed jars into webapp lib directory and commo lib directory , but doesn't ...

How to suppress warning selectively in Sun8 CC6.0

5670 byte By muktipadaa at 2007-11-27 1:58:23
Hello, I am using CC: Sun WorkShop 6 update 2 C++ 5.3 Patch 111685-14 2003/03/24 compiler.Machine Sun8.Getting a lot of waring from libC++(ostream/iosteam/map etc).Is there anyway to suppress selectively these warnings.Urgent!! ...

Using Java Persistence API with JSC/VWP

327 byte By Sabira at 2007-11-27 2:01:47
In Java BluePrints for Java EE 5, Sun is promoting Java Persistence API (JPA) for object persistence. However, in all the tutorials and documentation on JSC / Visual Web Pack, they are using direct JDBC without JPA. SUN, please update the tutorials and documentation to reflect your own new ...

cg: assertion failed error with Studio 11 and 120760-12

279 byte By twwchinaa at 2007-11-27 2:02:39
Anyone with Studio 11 and patch #120760-12 getting an error similar to:cg: assertion failed in file ../src/delay_slot/delay_slot.cc at line 5136cg: delay_slot.hoist_exit: bad xform #2acg: 1 errorsI backed out to 120760-11 and things work again.

Empty struct in C ?

134 byte By langusera at 2007-11-27 2:03:54
Is the empty struct legal under C99?struct S {};int main(void){struct S s;...}

Sun Creator Table

9236 byte By HoBaa at 2007-11-27 2:08:31
i neeed some help in the following Problem :-how can i bind data to Sun Creator table here is the problem:-i have table with 2 columns "PID" "PName" and i have 2 ArrayList pid & pname how can i put in each cell in PID column just only one value from the pid ArrayList then in the 2nd cell ...

4.2 pthread_rwlock_* support

476 byte By AnkurGargia at 2007-11-27 2:08:54
Does Sun CC compiler below supports the pthread_rwlock_* calls? CC: WorkShop Compilers 4.2 16 Jun 1998 C++ 4.2 patch 104631-07The errors reported are:"file.cxx", line 42: Error: The function pthread_rwlock_init must have a prototype."file.cxx", line 42: Error: rwHdrLock is not ...

administration console

532 byte By bemmya at 2007-11-27 2:10:39
I can open the administration console. The problem is when I want to open the link "Web applications". I receveid this message:A "com.sun.enterprise.tools.guiframework.exception.FrameworkError" was caught. The message from the exception: "Unable to get View for ViewDescriptor ...

Converting between two different data providers

304 byte By RonLa at 2007-11-27 2:10:46
Does anyone know how to put data from one type of data provider (ObjectListDataProvider) into another, say (TableDataProvider)? I guess my issue is that I do not understand the structure of these data providers that well. I have read some articles, but an example would help me ...

Shared Objects

393 byte By RameshACSTSa at 2007-11-27 2:12:38
My application depends on the following shared objects:libthread.so.1libnsl.so.1libodbcinst.soThese shared objects are latest in the development environment.But they are old in the production server.Where can I get the latest shared objects ( mentioned above ) .......which patches need to be ...

Could not compile (generics are not supported)

689 byte By Jacona at 2007-11-27 2:13:30
I've got 3 platforms in Platform Manager:JDK 1.6.0 (default)Hotspot 1.5.xHotspot 1.4.xi tried to compile a "ProgressBarSample.java" of the online-tutorial, but the studio returns me error in line:class Task extends SwingWorker<Void, Void> {@Overrideand on the out says:generics are not ...

Strange error message with Linux and Studio 12

229 byte By BradHardsa at 2007-11-27 2:15:41
I'm trying out Sun Studio 12 on Linux. If I use the -xlang=c99 option, I get:CC: -xlang=c99 is unavailable on Solaris 6This is with $ CC -VCC: Sun C++ 5.9 Linux_i386 Build40_1 2007/02/09

mod_jk binaries or Studio11 FTP dowload

248 byte By gmeinia at 2007-11-27 2:19:17
I need compile mod_jk.so for Soalris10 and SPARC.So i ma two ways: the sorter: download mod_jk.so for SPARC from somewhere.the longer: install studio11 and then compile. Someone know from where i can download studio11 via FTP ?

Where does JSC store user/password for connecting to a database

467 byte By PDeva1a at 2007-11-27 2:20:28
When writing my webapp in JSC i test it on a local mysql database, but when i want to deploy to a production server, it has a different database name, user name and password.How do i modify this in the war file that java studio creator generates. I can see no file that contains any reference to ...

Change URL of web service client in code

254 byte By cmainooa at 2007-11-27 2:21:57
Hi,How do I change the URL of a web service client in code.i.e. I want to read the location of the web service from the deployment descriptor to easily switch between test and live versions.How do I do it?ThanksK

Specify aggregation generated type?

573 byte By ambrosia08a at 2007-11-27 2:22:15
Hello forum -Due to a lack of documentation on UML to code mapping (see this bug http://www.netbeans.org/issues/show_bug.cgi?id=79555), I am having to learn by trial and error. I would like to model an aggregation that is translated into a HashMap. Now, I see that I can change the UML ...

DATE field problem in JSF code

1085 byte By jsfNewbiea at 2007-11-27 2:22:44
Hi,I am a newbie on JSF and working with a JSF application development. I have a problem with a data type: DATE. Here is what had happened; I tried to write a new record to a table, in my "write" paragraphs I have the following codes:.....tabelOneDataProvider.setValue("joindate", rowKey, ...

Performing Inserts, Updates, and Deletes tutorial on Oracle database

529 byte By Rradhikaa at 2007-11-27 2:23:16
Noticed quite a few threads on this. Tried the tutorial on oracle database. The workaround was simple. To exclude the table namefirstPersonId = ...

Sun Studio & NetBeans not working

921 byte By tigersteina at 2007-11-27 2:23:42
Hi,I'm using Solaris Express CE b60 and some days ago Sun Studio and NetBeans is refusing to start.When run from a terminal Sun Studio writes this messages:"Warning: Missing charsets in String to FontSet conversionWarning: Cannot convert string ...

Core dump while call void*std::__node_alloc<true,0>::_M_allocate(unsigned l

895 byte By wliangya at 2007-11-27 2:24:54
Hi,My process runs on multi-CPU solaris 10 platform.But some times it was coredumped and the pstack file always has:void*std::__node_alloc<true,0>::_M_allocate(unsigned long)For details, please refer to the below:terminated by signal SEGV (Segmentation Fault). ffffffff789c9ad0 kill (b, ...

C++ code (v5.7) link to C library (v5.8) on SunOS 5.10

1886 byte By Menger_Subscribesa at 2007-11-27 2:27:02
Hello,I have a 3rd party shared library compiled using Sun C v5.8 (on SunOS 5.10). It comes in 2 flavors: shared object and static lib.I compile my C test code using Sun C++ v5.7 (also on SunOS 5.10). Regardless of whether I link to the shared object or static lib, the result is the same: the ...

RDT_assertion failed: 0, file ../src/rde/lockset.c, line 493

5862 byte By markw22a at 2007-11-27 2:28:31
The following assertion occurs with the Feb 2007 thread analyzer(Sun Solaris 10 11/06 SPARC with all the patches required bySun Studio C++ Feb 2007)% collect -r all tntnet -c tntnet.confWARNING: Target `tntnet' is not instrumented for datarace detection;reported datarace data may be ...

Rogue Wave C++ standardstdcomp.h

2940 byte By markw22a at 2007-11-27 2:28:41
It is really neat that Sun C++ Studio 11 has been enhanced with thelatest patches to compile Boost (without ICU). To obtain the fullbenefits, it seems necessary to tweak the Rogue Wave C++ standardlibrary header stdcomp.h to avoid compiler errors like:% CC -DHAVE_CONFIG_H -I. ...

basic_istream constructor dereferences unitialized streambuf

3332 byte By markw22a at 2007-11-27 2:29:00
Sun Studio C++ 11, Solaris 10 SPARC.The Rogue Wave C++ standard library documentation describes howto connect iostream and streambuf objects: http://www.roguewave.com/support/docs/sourcepro/edition9/html/stdlibug/39-3.htm lSo I make a little program out of the example from theRogue Wave ...

Build question

984 byte By bwootena at 2007-11-27 2:30:01
Using NetBeans 5.5:Let's say I have created an Enterprise Application with an EJB called MyEJB.I have also created a Web Application that is a client or consumer of MyEJB. While editing the Web Application I can right click inside my java file and select Enterprise Resources->call ...

roguewave compilation issue - at some point include path breaks

1857 byte By LeoHa at 2007-11-27 2:32:37
I am trying to port our code from solaris 2.5.1 / sunwspro4 to solaris 8 / sun studio 11 C++ / make 3.81. We want to leave things non-ansi, so I am using the -compat=4 switch. When I try to build, the compile fails because it can't find some code we've added to one of the rw include source ...

roguewave compilation issue - at some point include path breaks

1861 byte By LeoHa at 2007-11-27 2:33:10
I am trying to port our code from solaris 2.5.1 / sunwspro4 to solaris 8 / sun studio 11 C++ / make 3.81. We want to leave things non-ansi, so I am using the -compat=4 switch. When I try to build, the compile fails because it can't find some code we've added to one of the rw include source ...

Proprietary Software

203 byte By kylema at 2007-11-27 2:33:27
I am not a legal guru. If I create software using the Sun Java Studio Enterprise am I able to sell the software? Also is there is any requirements like providing source code, license requirements?

How to move up & down in datatable?

3342 byte By nsqsmilea at 2007-11-27 2:35:07
Hi,AllI want to move focus by direction key in datatable,now,left & right be ok,up or down be not,code as folloing:<ui:table augmentTitle="false" binding="#{inputData.table1}" id="table1"style="left: 195px; top: 155px; position: absolute; width: 805px" ...

Also "RDT_assertion failed: 0, file ../src/rde/lockset.c, line 493"

583 byte By Ivory_chena at 2007-11-27 2:35:36
Dear experts:I'm a newcomer here, also a freshman for Sun development tools. I met one error during debuging my programme by DRDT. It's the first time to use this tool for me, I just refered the user guide to configure. After I executed "collect -r on ./xxx", the process can run as normal at ...

visibility problem with the path. Sun Java Studio Enterprise UML

430 byte By retelaba at 2007-11-27 2:36:50
HelloI have a little problem with Sun Java Studio Enterprise 8.1. I am doing a UML diagrams but If I make a Use case in some level diagram and after I use the Use case in a different level. It will be represented with the use case name plus its "path", for example.."From UML project". I don't ...

Installing HPC Cluster Tools on a Pentium D computer

360 byte By vctrmariana at 2007-11-27 2:38:23
Can I use HPC Cluster Tools 7 on a Pentium D computer?On the Sun website it says it supports only opteron processors.I installed it, however I wonder if it will work.For HPC Cluster Tools 6 it says it supports x64 processors.Is the Pentim D a x64 processor or is it not included in this category ...

-xipo option problem

425 byte By clabra01a at 2007-11-27 2:39:13
Hi, I'm trying to use the interprocedural optimization option, but I have a problem with the temporal file:f95 -xipo=2 -xO4 -m64 -c test1_f.F90 Compression: No such file or directoryreading file: No such file or directory/opt/sun/sunstudio12/prod/bin/ipo: FAILED: File open failed ...