Recent update: 2008-5-9

Extremely slow Workshop 6.0 ?!?!

402 byte By tommysvensson at 2008-1-3
Hi all,I've just installed Workshop 6.0 on my Sparc with Solaris 2.6.Everything seems to be working...But it is so slooooow.Compiling a trivial program from the commandprompt takes almost 2 minutes!!(prompt> CC test.cpp )And starting up the workshop gui takes also something around 2 ...

Documentation for EJB development with Sun One Studio 3.0 and iAS6.0 ?

464 byte By 706462 at 2007-12-28
Hi All,Is there some documentation on How to develop and deploy EJB with Sun One Studio 3.0 and iPlanet Application Server 6.0 ?I am particularly looking for the documentation which will have simple examples on how to do this using Sun One Studio 3.0 and iAS6.0 and how to develop and debug.So ...

Forte cant find classes !?! HELP !

1606 byte By DanielHellstrand at 2007-12-22
WHen I compile a simple program that imports javax.microedition.lcdui.*;I get error messages saying:example/About.java [21:1] package javax.microedition.lcdui does not existimport javax.microedition.lcdui.*;example/About.java [52:13] cannot resolve symbolsymbol : class Displayable location: ...

Iplanet Console and Iplanet Servers

608 byte By 706915 at 2007-12-19
I installed iplanet directory server , web server and Iplanet Application Server ihave installed Iplanet admin server and console also . When i am opening Servers through iplanet console from actual server where they are installed they are opening very fine . But when i am trying to open ...

numeric_limits<double>::denorm_min bug

668 byte By afabri at 2007-11-16
Hello,The following program shows that there is probably a bug in the numeric_limits:#include <cassert>#include <limits>int main() { assert(std::numeric_limits<double>::denorm_min() != 0); return 0;}> /opt/SUNWspro/bin/CC tt.C> ./ttAssertion failed: ...

Using stlport and Cstd in same application

1318 byte By abiesa at 2007-11-15
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 ...

How to print in a new page?

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

Good pointer-function handling.

813 byte By Joe_Krahna at 2007-11-15
It seems obvious that a function returning a pointer should be valid anywhere that a pointer of the same value is valid. Sun's Fortran is the first one I have tried that gets this right. There are several standards clarifications about pointer functions because the idea seems to be confusing to ...

C compiler -xarch and -xtarget

183 byte By Tommy_Gunsa at 2007-11-15
All, does any have a little better description of the -xarch and -xtarget options for the Sun Compiler? What is the default for both if nothing is specified? Thanks in advance,

Partial specialisation bug in SS11?

1166 byte By neil57a at 2007-11-15
Hi,I think I may have found a bug in SunStudio 11 related to partial specialisation. However the whole concept of partial specialisation is so confusing I can't be sure. Can someone out there tell me whether my code is broken or the compiler is broken.FYI gcc don't seem to have a problem with ...

Custom Component in Sun studio Creator

293 byte By ashishsamanta at 2007-11-15
Dear Everyone,I am Having a problem with creating a custom component in sun Studio Creator, the process is similar to creating custom component in netbeans but gives error while importing.Can anybody help me with it, as soon as possible.Regards,Ashish Samant

Radio buttion

168 byte By JohnnyFlipa at 2007-11-15
Hello everyone,How can i validate a radio button in such a way that when it is clicked ,it should automatically refresh the page without loosing it value.

bug in automatic dependency generator

1069 byte By theMAGEa at 2007-11-15
Hello,I just downloaded the release of SunStudio 12 for Linux and I found a bug -- even worse, a regression from the February 2007 Express edition: the .d files contain an extra \n:Here is a work session:florin@hera $ make CC=sunccsuncc -xMMD -g -xO1 -xdebugformat=dwarf -m64 -xc99=all -xCC -Xc ...

libtool and suncc -shared

475 byte By sinyseea at 2007-11-15
I notice GNU libtool (libtool.m4 serial 47 AC_PROG_LIBTOOL) does not recognize suncc on Linux. The generated libtool script contains pic_flag=-DPIC instead of the correct pic_flag=-Kpic. What would be the best strategy to correct this problem?This manifests itself with the following message ...

how add new table in derby travel database

295 byte By mfa786a at 2007-11-15
sir i use Sun Java Studio Creator with derby sir i want create new table in derby travel database but when i right clickon table not that disable and not give and table create buttonplease give me idea how i add new table in derby travel databasethank's aamir

get generated name of tableColumn ?

300 byte By nightingale2k1a at 2007-11-14
Hi , How to get the ID or Name of rendered tabelColumn in JSC 2 ? If we use browser view source then you could see that the name is like"form1:tabSet1:tab2:tblDetail:tableRowGroup1:0:DTDetailColumn" this name i would like to grab for javascript thing ... ...

need picklist componant or method

230 byte By Fast_Franka at 2007-11-14
Hello,I need to create several picklists that query different tables and load the values chosen on the current form.Is there a componant for this?if not, are there any examples?ThanksFrank

little4 and little8

402 byte By shizoomwanga at 2007-11-14
Hi, everyone:On page 3-75 of Fortran User's Guide for Studio 11(Part No. 819-3686-10), the examples showed both little4 and little8. What are the differences for these two? I tried both for compilation, I still got something like End of File error. I am working with ExpressStudio 3 releas 2 on ...

Hello kl2000

150 byte By scraftera at 2007-11-14
thanks youi have the same problem for insert a date fiel to database, please do you solve this problem? i need solve itthanks you

need urget help

56 byte By rahul2285a at 2007-11-14
how to create login page with sql in java creator

SessionBean1 has disappeared from outline and is read as null

522 byte By CandideEC at 2007-11-14
My Session bean is now lost to the IDE. It is listed in the project view but that is it. It is still correctly listed in the managed-beans.xml but the IDE will not load it. The webapp still launches and runs fine, but I cannot see anything in the ide as it says it can't evaluate properties ...

Data tables and insertRow() method

1336 byte By marcelotmelo at 2007-11-14
I've seen this question a number of times and no answers yet. Is it possible to create a CRUD page with a data table, without creating additional fields outside of the table, I mean, I saw an example with a single page tabular CRUD, but in order to insert a new row, I had to type the new ...

Pre-compiler doesn't replace macro inside a template code

417 byte By jberkovitch at 2007-11-14
Hello,I have a strange problem while using MACRO inside template class/method.The pre-compiler doesn't sreplace the macro inside the code, but leave it without changes.So this code failed to compile, and I have no solution unless I will replace it by myself !!!Is this a wrong/correct behavior ...

Command line arguments

159 byte By ValentineSmith at 2007-11-14
I'm using Java Studio Enterprise 8.I can't seem to find a way to run a Java program that takes command line arguments.Thanx one and all.

Deploy on JRun 4

2177 byte By taoyyz at 2007-11-14
I tried to deploy an web application on JRun 4 but had no luck. I'd appreciater any help. Thanks in advance.If I export a 1.3 WAR file, JRun refuses to deploy it. 1.4 WAR file can be sort of deployed, but when I run any JSP page, I get the following error: javax.servlet.jsp.JspException: ...

>> Assertion:(../lnk/storage.cc, line 99)

316 byte By evgs at 2007-11-14
HiI am using the latest SunStudio11 C++ compiler CC: Sun C++ 5.8 Patch 121017-03 2006/07/19During compilation of some source files I have message:">> Assertion:(../lnk/storage.cc, line 99)while processing ... at line 0."What does this message ...

ClassNotFoundException after refactoring

115 byte By J_e_f_f at 2007-11-14
Has anyone else seen this error after renaming a class? If so, how do you fix it? Thanks, Jeff

To get the object of listbox in Datatable

359 byte By harisree at 2007-11-14
hi all,in my project i have a table component which contain a checkbox,some static text and one listbox.When th page submits i need the selected options of the listbox.I also uses the checkbox to select.I am getting the rows which are checked.I need to get the selected optios also.Can anyone ...

Linux Technology Preview, Build 24 - June 2006

1564 byte By SunCProjectLead at 2007-11-14
[b]Update: Sun Studio Compilers for Linux Technology Preview[/b]We've just made Build 24 - June 2006 available for download visit: http://developers.sun.com/prodtech/cc/downloads/tech_preview.jspSome of the features changes available in this update include:OpenMP support for cc and f95-xipo, ...

Bug Report Interface for Community user

1546 byte By Ngoc-Nguyen at 2007-11-14
Hello,Good news for communitty users of Sun Studio product. If you think you found a bug (defect) or Request for Enhancement (RFE) with Sun Studio, you can report it to us. We are so excited about having another channel to listen to you and to serve you.- How to get to the page:Please bookmark ...

Xdoclet tag not generating the desired code

481 byte By kuldeep.jangra at 2007-11-14
Hi guys,I have defined the following xdoclet comment in my SessionFacadeBean. @weblogic:cache max-beans-in-cache="200" idle-timeout-seconds="3600" session-timeout-seconds="4800" cache-type="NRU"But the problem is that in the weblogic-ejb-jar.xml, it is generating all the tags except ...

SQLJ -tools?

479 byte By spalguru at 2007-11-14
Hi!Is there any tools or plug-ins to translate and compile/profile SQLJ-files for Sun Java Studio? And does SJS edit the .sqlj files?I am searching also the same functionality and I think it is possible to translate and compile with ANT or Netbeans but it would be nice if Studio reads the .sqlj ...

to know the palette

655 byte By myque-ans@soon at 2007-11-14
HI,I am reffering http://www.netbeans.org/kb/50/quickstart-webapps.htmlto develop web application.In that site they provide me some steps to follow.In one of the step they told me to use the Palette.That palette contains 1.HTML2.JSP3.DatabaseThen From this palettethey drag the HTML and ...

Import DukesBank in Java Studio Enterprise

312 byte By iakessle at 2007-11-14
hiI'm using the Sun Java Studio Enterprise and I'm not able to import the Duke's bank application from the J2EE tutorial.I like to compile and deploy the application to the Sun Application Server 8 afterward. But i cannot connet to the EJB's.Ideas are ...

How to access a file?

355 byte By Tobsen at 2007-11-14
Hi,I want my application to read from a xml-file. My question is, where I have to store it and how I can access it in the java-source.I tried to store it in the resources folder of my Web Pages folder and access it via: File f = new File("/resources/myfile.xml");This doesnt work.So could you ...

Code hangs in pl_dlascl_ when calling DGELS in parallel

303 byte By uppsalahenlof at 2007-11-14
Hi,I'm calling DGELS in parallel using OpenMP and there seems to be a problem with a subroutine to DGELS called, pl_dlascl_. Sometimes the code just hangs in this routine. I have compiled the code using the Sun Studio 10 compilers and performance library. Can this be ...

Passing Parameters and Retrieving them

379 byte By ramdsp at 2007-11-14
Hi,I am trying to learn the JSC2 IDE.Would like to pass a parameter from all my JSP pages.I will have to retrieve this parameter and use it for further processing.I have two things here.1.How to pass parameters from say from a hyperlink.2.How to retrieve them and use it fro further ...

garbagecollection doubts(urgent)

3522 byte By satishmca at 2007-11-14
I want the answer for this question ?question no : 11.public class X (2. public object m () {3. object o = new float (3.14F);4. object [] oa = new object [1];5. oa[0]= o;6. o = null;7. return oa[0];8. }9. }When is the float object created in line 3, eligible for garbage collection?A. Just after ...

where the session id is stored in server/JVM in java

131 byte By Kumar_Mohan at 2007-11-14
hi all,please tell me where the session id is stored in server or JVM in java.regardsMohan kumar

Configuring iPlanet Application Server with IIS

256 byte By vvaidu at 2007-11-14
hi all,i want iPlanet Apps SErver to be configured not with iWS but with IIS. I did the necessary stuffs given in the Docs..but still i face problems as far as running the simple Sample Fortune Servlet. Can anyone help me out. on that.

java.lang.OutOfMemoryError on Solaris

877 byte By getanis at 2007-11-14
Hi,I am working on Java 1.2 on Solaris 8 sparc machine.I have a java thread, which opens Raw Java server socket and listens on the port infinitly.Not complicated enough, when a request comes ( accept() method returns from the server socket), it transfers a lot of Data to another Server via ...

how to create folder from webserver (use jsp)

116 byte By kevin881 at 2007-11-14
Hi,how to create folder from webserver to server local disk(used jsp ),thanks for help.

test

21 byte By Guest at 2007-11-14
testing

Sun Studio 11- Now Available (and FREE)

1875 byte By koberoi at 2007-11-14
Howdy,Today, Sun announced the availability of [b]Sun Studio 11[/b], the latest release of our venerable set of optimizing compilers and tools. We are very excited about this release for many reasons, including:* Record-setting optimizing C,C++,Fortran compilers[b]App performance =?Platform + ...

OpenMP thread number

973 byte By bubblecfd at 2007-11-14
Hello,I add OpenMP directives in my code, do "setenv OMP_NUM_THREADS 4", then run the code. When the code is running, I use "top" utility to look at this running job. One column "THR" in the "top" screen shows "6" for this job. I only set to use at most 4 threads, why are there "6" threads? I ...

Bug report with optimizer (-O3)

1332 byte By grodoudou at 2007-11-14
I've a short code to illustrate this bug.f90 -g -C -O3 code.f90 -o codeWithout -O3 option, this code work correctly.With -O3 option, this code can work correctlyif i change len of T_Files array by 500orif i don't use a imbricate loops, but 2 single loopsorif i remove all trim()or if i comment ...

How to know the program execution in which space(Kernel/User)

149 byte By Lokesh_Maremalla at 2007-11-14
Hi,How should i know a program executes in which space (whether it is in kernel space or in user space)Thanks in advance.

What is FCALL with no root error

313 byte By renga_solaris at 2007-11-14
I am new to Solaris environment.I have a source code for shared library.I compiled the code on SPARC/solaris 9 OS using gcc it gets compiled. But using cc it gives compiler error : FCALL with no root.may any one help me to comeout.Advance thanks and regardsRenga.. ...

Finding unused dynamically linked libraries

1017 byte By Stefan_ at 2007-11-14
Hello, I'm working on a very old project which has been maintained for a long time by people with very weak UNIX knowledge, so most of the Makefiles are copied from another directory and edited a bit. The result is that a lot of our binaries are linking (dynamically most of them) with some ...

Compilation error Iterator, Const_Iterator

1579 byte By ccjohnny at 2007-11-14
Hi all, below is my compilation error. looks like there's something wrong with the compiler.I'm using SunOS spf450 5.6 Generic_105181-32 sun4u sparc SUNW,Ultra-4System = SunOSWill that be related to patch 107390 for this? Any input?Error: Cannot use ...