problem with button_action

500 byte By leon82a at 2007-11-26 21:16:17
Hi.I have found some problem with button_action in my jsf. I'm usin a table, filling it with data from database by ObjectArrayDataProvider. For each row of data, I added button, which will allow to remove data from databse. Table is filled in properly (this is done in prerender() ), but button ...

Page Navigation Safari not working

2136 byte By cmainooa at 2007-11-26 21:17:06
Hi,I am using page navigation but this is not working on Safari. Version 1.0 and 2.0.4 have been tested on OSX 10.2 and 10.4.7. I am left with a page with nothing visible that I assume is meant to submit the form.The source of the page follows.Anyone know how to fix this?<body ...

Table with dynamic field-types

249 byte By Willi2793a at 2007-11-26 21:20:24
Hello,I have a table with a datetime field. And according to this field other fields are either input and output (Textfield) or only output (Static Text). Is there any possibility to realise this?Thanks and regards,Thomas

Having problem linking with libm.so on OpenSUSE 10.2, x86_64

2779 byte By libma at 2007-11-26 21:21:04
Hi,I am able to perform all these things:gcc a.c -lmgcc a.c -lm -m32CC a.c -lm -m32However, linking with 64 bit lib fails.CC a.c -lm -v###command line files and options (expanded):### a.c -lm -v ### CC: Note: NLSPATH = ...

Assert has been violated, vector problem?

697 byte By ddavies_xeroxa at 2007-11-26 21:23:14
System: Solaris 10_x86, all of today's patches applied.Testing Sun Studio Express, Feb 07 (downloaded today)I'm compiling a big image processing library. Near the end, suncc -DPC_UNIX_ENV -DPRODUCTION -D__Forte__ -D__SOLARIS2__ -I../include -fast -xtarget=pentium4 -xarch=sse3 -m32 -xunroll=4 ...

How to disable button immediately after pressing

500 byte By anikhindia at 2007-11-26 21:24:03
HiIn my save button there is a code for insertion of data in database.In my application when i press save button first time the IE progress bar shows progress but if suppose the user presses the button againthen the data wil get saved twice.Now if i put a code in button action method to disable ...

sun studio 11 installation failure

2354 byte By theyagarajana at 2007-11-26 21:24:34
hi ,i tried installing sun studio 11 on my SUN BLADE 1500 workstation and it just hangs at 20% . the output in commandl line is as followsInstalling Sun Studio SoftwareException in thread "Thread-23" java.lang.NoClassDefFoundError: com/sun/install/panels/ComponentSelectionListenerat ...

20 issues of porting C++ code on the 64-bit platform

789 byte By Analytic2007a at 2007-11-26 21:29:21
My new article about 64-bit development: 20 issues of porting C++ code on the 64-bit platform.Annotation. Program errors occurring while porting C++ code from 32-bit platforms on 64-bit ones are observed. Examples of the incorrect code and the ways to correct it are given. Methods and means of ...

Help fieldguide Ch8 - UserBuild

2159 byte By maxruffoa at 2007-11-26 21:29:26
Hi everybody,I found a problem with the ObjectListDataProvider and I already read in this forum that is bug.Unfortunately, just few pages ahead I found another problem. I load the pre-made project UserBuild, needed to configure a database, and I can't run it. I added the DerbyClient.JAR ...

Buynow button problem

500 byte By lacus1212a at 2007-11-26 21:30:16
I have a page where the buynow button works like charm.I have a new app, and now whenever I try doing anything with the properties, I get a "Component Error":java.lang.ClassCastException: com.sun.j2ee.blueprints.ui.shopping.BuyNowComponentat ...

Unable to debug java code but able to debug c++

737 byte By neeta_kadam@yahoo.coma at 2007-11-26 21:32:28
How can I debug java code from java applications using sun studio 11? I am able to debug c++ code which is native call from java from the same application.To add, I cannot put breakpoints to the java code it gives "cannot find object file corresponding to ".."whereas sun studio allows me to put ...

There is confusional data when two terminal get the same page?

436 byte By nsqsmilea at 2007-11-26 21:33:05
Hi,AllThe page has a textfield for inputing qualification, a button for performing query (invoking Ejb's method) and a table for putting data.If two terminal invoke the page at the same time,then the second terminal show the same qualification and data at first.When saving one after the ...

Remerks on StudioExpress-linux-2007-2 release

947 byte By PAP_Fortrana at 2007-11-26 21:33:38
Some remarks concerning StudioExpress-linux-2007-2 release:(1) On my Debian Etch amd64 system, the only way to install StudioExpress is by unpacking the tarfile. Both the graphical and the batch installer don't work (I get _lots_ of Java errors). I have JDK 1.6.0-amd64 installed, but I also ...

Problems with the installation!

704 byte By GASREN1a at 2007-11-26 21:34:12
Hello,I have to install the JWSDP-1.3 on a server (Windows 2003) with the Java Version 1.4.2_04 (j2sdk1.4.2_04).I need this applications for a special software. Only these version from your software is able to run my Software.The Java Software Developer Kit 1.4.2_04 isn磘 the problem!If I want ...

mq_open fails with errno EEXIST(17)

391 byte By kushala at 2007-11-26 21:35:46
Hi All,I have code like below:const int MQ_OPEN_FLAGS = O_RDWR; mQueueId = ::mq_open (pName, MQ_OPEN_FLAGS);In this case, mq_open is returning errno 17.I cant understnd the reason of this error as we are tryng to open an exisiting mq. In what situation errno 17 can be returned if called this ...

Password encrypred

352 byte By Willi2793a at 2007-11-26 21:36:37
Hi,I have a table with users and the corresponding Passwords. I know how to access this table and get the correct Password for the User. It's a MySQL-Database and the passwords are stored ancrypted with the MySQL-Password-Function. How can I encrypt the password typed in by the user to compare ...

__attribute__ ((aligned(8))) doesn't work with typedefs

777 byte By StephanePotvina at 2007-11-26 21:36:44
I'm currently using the February 2007 version of Sun Studio Express in order to get support for __attribute__ ((aligned(8))).While trying to create a long long type that would be aligned to an 8 bytes boundary on x86 instead of the usual 4 bytes, I discovered that the __attribute__ ...

Chart component library for SJSC and NB5.5 VWP release 1.0.2

356 byte By alsa at 2007-11-26 21:37:07
I would like to announce new release of chart component library jschart-1.0.2.Add XY, Timeseries Difference and LayeredBar plots.Add Gradient paint for Bar plot.Add GenericDataset.Add Period Axis format.New how-to documentation.Tested to work with NB5.5 VWP.Download at ...

executing

416 byte By logeratora at 2007-11-26 21:37:28
I'm new to studio 11 how do I get the a program to run , I create a make file builds sucessfull then lets say I say enter a number after the number is entered and press enter nothing happens is there a certain way this is done using studio 11, another thing while editing if I hit the backspace ...

Installing bluepriints

195 byte By burferda at 2007-11-26 21:38:16
Can anyone tell me or direct me to instructions on how to install blueprints (google maps in particular) into JSC2 ?I'm using the standard version with JDK1.5 and Sun Appserver 8.2

Reporting segfaults in sun studio express (february 2007)

224 byte By pfarrella at 2007-11-26 21:38:26
Hi,Sun Studio 12 Express (February 2007) is segfaulting on my Fortran code.(I'm running on linux/x86.) To whom should I report bugs? I couldn't see itmentioned anywhere in the docs.Cheers

Problem with Sun Studio 12 EA - C Compiler Under Linux

943 byte By jose-marcioa at 2007-11-26 21:39:02
Hello,I've a problem compiling a C program under Linux (Fedora 6) and SunStudio 12 EA.This code compiles fine under Solaris (both Sparc and X86) with both SunStudio 12EA or SunStudio 11. Under Linux, it works fine with gcc.It stops everytime it founds some structure initializer. This is an ...

JSC IDE startup problem

528 byte By Abrantesa at 2007-11-26 21:40:04
I'm trying Java Studio Creator (JSC) for the first time, but I'm having some trouble after the installation.I'm using SuSE Linux 10.1 on AMD64 (my devel machine). The installation finished without any problem, and I'm able to logon on Sun Java Application Server ( http://localhost:25848).My ...

How to fix the problem of Sun Studio 11 carshed at startup

2964 byte By StevenChanga at 2007-11-26 21:41:20
I used Sun Studio 11 to develop my program for year,but Sun Studio 11 carshed when I run it this morning.Even I uninstalled it and reinstalled it again, the result is the same.Have anyone can help me to resolve this problem?Following is the error messages in popup window:An unexpected exception ...

How to put a number of portlets into a portal

307 byte By feeddya at 2007-11-26 21:42:30
Hi,I have built a number of portlet projects (google serach portlet , log in portlet ,etc).My problem is that my portal contains a number of portlets and I do not how to put all those portlet together in my portal. Do I have to create a project nament portal........HELP ...

How to manage the autogenerated datasource by VWP

276 byte By Jandera at 2007-11-26 21:42:47
Hi, Anyone knows where is the creation code of a datasource, after I perform a "bind to data"?I would like to change this code because if I erase the rowset, the code it's not updated.thank's in advance!Message was edited by: Jander

ar ranlib - where are they?

287 byte By digiboy86a at 2007-11-26 21:44:08
Hello,I'm a long time programmer for linux/windows and would like to port to unix. I'm running a SPARC with Solaris 10 and I've found gcc and got that working.Now I need ar and ranlib.Where can I find there tools?I am not a SDN member.Thanks.

HELP FOR A BEGINNER

713 byte By parceritoa at 2007-11-26 21:44:15
Hi I am a beginner 100% in all of this topics.I have created a table. But the "backgroud" color is always blue (it is a nice blue sky) . I have explored all the properties involved around the table (the grip, table, tableRowGroup and columns). I can change very easily most the colors but i ...

Hyperlink Navigation Problem

1030 byte By k6det6a at 2007-11-26 21:45:33
I have 2 hyperlinks on a page and am using simple page navigation. Link A opens a new window & goes to page X and link B opens a new window goes to page Y. After clicking on link A and going to page X, I go back to the original page with the 2 links. I select link B and it goes to page X ...

If you use -xcode=pic32 for executables... what bad? things happen

659 byte By Mordsitha at 2007-11-26 21:46:02
The man page for CC is quite clear on why you should use pic13 or pic32 when you make .o's for dynamic libraries, however for abs 32/44/64 it just says: use one of those for executables and DONT use pic32 or pic13.The short summary of why I am asking my question is the code/baseline I am ...

Error while transfering Project from PC to PC

318 byte By Willi2793a at 2007-11-26 21:46:35
Hi,I have 2 PCs for developing and therefore I transfer my Project (whole directory) from one PC to the other. When I open the project after transfer I get error-messages that some file .LCKxxxx.xxx~ are missing. But the project itself seems to work. How can I get rid of ...

-xalias_level effect on getting signal SEGV

7744 byte By babakfa at 2007-11-26 21:47:53
Hi,I'm using a third party tool which generates *.pc and *.c source files. The error come from ex_set() which calls 'strncpy' . This is what dbx says:--dbxenv suppress_startup_message 6.2Reading ALL_ACBS_LLOANquery0.exedbx: warning: core object name "ALL_ACBS_LLOANq" matchesobject name ...

DropDowns

565 byte By enskaa at 2007-11-26 21:50:52
Hi all,I have a problem with dropdowns.There is 2 dropdowns and a datatable and they are connected to database. First dropdown puts a parameter to second dropdowns rowset and second dropdown puts a parameter to tables rowset. It works almost fine, only problem is that when I select item from ...

struct cmsghdr alignment on Sparc

1264 byte By Martin_Reindersa at 2007-11-26 21:51:26
I use recvmsg(3XNET) with a message control block to receive a message with ancillary datafrom a socket. On Sparc, this fails if the ancillary data contains more than one data messageand the msg_control buffer is not 8-byte aligned.This is my code:[code]struct msghdr msg;union {struct cmsghdr ...

ld: fatal: relocation error: R_AMD64_32: file on studio11 f95

672 byte By lydia.hecka at 2007-11-26 21:54:20
We have a fortran 90 code which does not link and produces a series of errors as listed in the subject.. The code is linked using -xmodel=medium -xarch=amd64a :ld: fatal: relocation error: R_AMD64_32: file processing.o: symbol grid.headg_: value 0xa29ae95c does not fit...ld: fatal: relocation ...

Deploying to Cluster BEA Servers

1308 byte By Deepakaruna at 2007-11-26 21:55:17
Hi,I have issue in publishing the JSC project in BEA cluster environment. The Application works fine in BEA Stand Alone Server but it throws the following warning when deployed in Cluster environment. <Mar 16, 2007 12:25:47 PM EDT> <Warning> <HTTP Session> <BEA-100062> ...

YASPP: Yet Another Stacksize Problem Post

762 byte By franjesusa at 2007-11-26 21:56:50
Hi,I've just installed the latest community version of Opensolaris, along with the beta of sun studio 12 on a 16-way 32GB amd64 machine. So far this machine has been running with linux+intel 9.1 compilers. When I tried to run our openmp code, after solving a (very few) porting issues, I found ...

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

2423 byte By kish@suna at 2007-11-26 21:57:40
Hi All,DID YOU KNOW?The IDE ships with the following Advanced Components in the Palette. These advanced components are a set of JavaServer Page markup tags for advanced users. The components have no visual appearance and are useful to developers with experience in JSP and JavaServer Faces ...

Can JSC support Sun App Server 9?

232 byte By burferda at 2007-11-26 21:58:03
Does anyone know if JSC can support sun app server 9?Last I heard was that 8.2 is the max version.Along the same line, is there any word of another update to JSCthat will work with app server 9 and jdk 6?

Receiving error - The requested resource is not available

701 byte By VivSa at 2007-11-26 21:58:47
Hi,I am trying to deploy a new Project (WebApplication1) in NB5.0. I started with a very simple index.jsp and a small NewServlet. NB5.0 builds the project successfully. When I try to run, it opens a URL - http://localhost:8080/WebApplication1/WebApplication1, but then displays an error message ...

JDBC ODBC

347 byte By nnv14va at 2007-11-26 22:00:35
Hi,I am pretty new to jcreator. I have always used netbeans so far. One issue I am having is creating a connection to a database which I can only connect to by ODBC. But there does not seem to be a driver available. Anyone can tell me the jar file that containts the sun.jdbc.odbc bridge ...

Compiler options for Linux

208 byte By RaulHuertasa at 2007-11-26 22:01:15
Hello!I have this doubt. In the files "C++ user guide" and "C Users guide" give me options, but it looks are only for Solaris platafroms. Does anyone knows if this moptions also work with Linux?

libc and extern FILE *stdin on Solaris 10

906 byte By mig176a at 2007-11-26 22:02:01
HiI'm trying to use 'stdin' to avoid 'gets' and use 'fgets' instead.Using NASM i would do something like:[section .text] extern sizeof extern stdin ; dont seem to exist in any library on solaris 10 extern fread extern fwrite extern fopen extern fclose extern printf extern fgets then ...

APP Server Problem - HELP!!!!

48291 byte By jbrown636a at 2007-11-26 22:02:48
I've read all the previous postings and can't resolve this after a week of re-installs, deleting files, PATH, Environment Variable changes, etc. Can someone please provide definitive advice on this? I'm installing on XP for now. Server Log File is as ...

Is possible to compile the entire Linux kernel with Sun Compilers?

310 byte By setuid.ha at 2007-11-26 22:02:57
Hi,i just wan't to test performance of theese compilers under Linux. I have a good experience in solaris. But I'm not really sure if i can compile kernel with them.Using Sun Studio Express (12), under gentoo amd64 scratch :-).I set variables CC to "cc -m64" & CXX to "CC ...

identify component invoking action handler?

312 byte By vin_stara at 2007-11-26 22:04:23
Table row contains dynamically generated hyperlinks. They all share common action handler. How do I identify which hyperlink component is invoking it?In general, how to identify which component invokes the action handler? Is there any other solution besides using action ...

Fire! Coredumped...

4473 byte By wliangya at 2007-11-26 22:04:51
Dear friends,A coredumped problem occured some time in a multi-thread as the following:-- lwp# 1 / thread# 1 --fd90b258 _lock_try_adaptive (0, fd91c000, 10018, 8, 0, 0)fe4912bc bool cmgCall::sendEventIn(unsigned long,unsigned char*,unsigned short) (1f3f010, 2, 213c9bb, 8, 10018, 6e1b50) + ...

placement new with Sun CC 6

944 byte By grbSunUsera at 2007-11-26 22:05:42
I'm trying to create the shared hash_map in shared memory for the two different processes to access it.I've implemented the "Shared memory allocator" for the hash_map to place the data dynamically in shared memory.But, now I am facing the problem that, when the server process instantiates ...

GDX on SUSE crach

1664 byte By alex_perla at 2007-11-26 22:05:48
Hello to all!I install Sun Studio 12 EA, cool IDE :)!But! When I try run debugger (gdx) I become some errors:1. dbx: forward reference `basic_string<wchar_t,std::char_traits><wchar_t>,std::allocator< wchar_t> >' not defined, see `help forwardref' I work with Qt4.2.2 (open ...

Creating Theme for JSF applications

495 byte By Whitemerovingiana at 2007-11-26 22:06:24
I was wondering is anybody here already created a custom theme, using Studio Creator? I know that is a tutorial, and i did follow it, but still doing things like that seams a bit rudimentary. i have tried to create a theme like it was a java class library, because after all everything about a ...