Eduardo from Mexico city

1269 byte By EduardoAvila at 2007-11-25 10:14:45
How can I change de server-user.xml file tomcat that come in integrated with SUNONE studio 4 CE ?I need aggregate a new user in the tomcat server, for deploy an application, this applicattion requiredconfigurate a security domain. The error that send me when I deploy my application is the next. ...

Setting Up To Build and Deploy Tutorial

527 byte By MarkSoule at 2007-11-25 10:15:23
Environent:Win 2K Prosun studio 5Sun Server 7documentation: J2EE tutorial Studio 5 Getting Started GuideI am trying to use studio 5 to build and deploy the tutorials.I am able to use the getting started guide to build the simple hello world sampleThe J2EE tutorial pg.113 to 115 says use the ...

Setting Up To Build and Deploy Tutorial

470 byte By MarkSoule at 2007-11-25 10:15:24
Environent:Win 2K Prosun studio 5Sun Server 7documentation: J2EE tutorial Studio 5 Getting Started GuideI am trying to use studio 5 to build and deploy the tutorials.I am able to use the getting started guide to build the simple hello world sampleThe J2EE tutorial pg.113 to 115 says use the ...

about application debug

956 byte By zebra-ch at 2007-11-25 10:15:44
hi:I have an application , it can connect database correct when it is run,but I want debug my DBBean, it can't connect to database. error message as follows:java.lang.ClassNotFoundException: oracle.jdbc.driver.OracleDriver The running environment is not same as debug environment ? -- And the ...

About debug

635 byte By zebra-ch at 2007-11-25 10:16:28
hi all: I have a appliction to connect database ,Running can connect the database correct , but It is invalid when debuging it .error msg:Wed Sep 10 09:29:40 CST 2003: Failed register JDBC driver: oracle.jdbc.driver.OracleDriver Error: java.lang.ClassNotFoundException: ...

Syncing Source Editor with Explorer

269 byte By kevinhufford at 2007-11-25 10:16:42
Does anyone know of a way to have the Explorer pane stay in sync with the class you're currently editing in the Source Editor pane in Sun One? So that when you begin to edit Class A, the Editor pane highlights Class A in it's pane.-Thanks,

dbx

672 byte By PabloCacho at 2007-11-25 10:17:46
This is off topic, but I dont know where else to ask. I run Solaris 5.7 on an UltraSparc1 with a 2gb HD. I downloaded the 197mb ForteDev promotional package so I could install dbx. I installed dbx just fine, but it doesnt load because it doesnt have a license file/serial.dat. I would install ...

Is Sun One 6.5 supported in Studio 5 ?

341 byte By MadaniBenghia at 2007-11-25 10:17:47
Hello,I am going to developer a J2EE Application using Studio 5 and would like to know if I can deply on Sun One 6.5 server directly from the Studio.If this support is not available, is it possible to develop using Studio 5 and then deply on Servr 6.5 using command line ? Thank you in ...

Problem with SUN ONE STUDIO Update 4

551 byte By Aimreddy at 2007-11-25 10:17:48
Hi,I created a simple entity bean with finder methods and business methods. But when I am trying to test the entity bean by generating the New EJB Client, and at the time executing the EJB client test client the following error as occured. Deploying... EAR Unable to deploy ...

how do I create a exe file?

113 byte By keziamarshall at 2007-11-25 10:18:17
Hello everyone I'm new to Sun One, does anyone know how I can create a executable file in Sun One?

how to deploy the same WebService to multiple servers

352 byte By 705932 at 2007-11-25 10:18:40
HiI have to deploy the same webservice + its clients to multiple servers. However, the WS URL is hardcoded in its descriptor, as well as in the client, so it means that I have to rebuild everything each time I want to deploy it to a new server.How can I set the URL dynamically at runtime?Thanks ...

problem with forte for java 4 -- form editor

344 byte By ThomasKiesche at 2007-11-25 10:19:16
Hello I have class thet extends javax.swing.JFrame. I can not open this class( the java file of this class) with forte form editor. the class look like this : public class SetupGUI extends javax.swing.JFrame { how can i tell forte to open this java file with form editor? TK Thanks ...

problem in moving the code from one computer to other

13275 byte By Aimreddy at 2007-11-25 10:19:27
Hi,I am working on building a webservice. I started building the EJB teir compnents like (Entity beans, Sessions beans, data base schemas) using the SUN ONE STUDIO 5 and SUN ONE App Server 7.0.The problem, if I want to move the same entity beans code from one computer to other computer.I am ...

Entity Beans without a primary key

404 byte By Aimreddy at 2007-11-25 10:20:03
Hi, I am using Sun One Studio 5 with Sun One Applcation server 7.0. And I want to know : Is it possible to develop an entity bean without a primary key? If I want to set the relation ship between two entity beans (ex: one-to-many). And I don't want one of the entity bean in the relation ship ...

Sun One Studio 5 SE vs Netbeans 3.5

98 byte By ErkanUnal at 2007-11-25 10:20:10
What are the differences? Why should one prefer one against the other?Thanks.

JATO 1.2 / 1.1 code generation using S1AF 2.0 in Sun1Studio 4 (update 1)

459 byte By RajeshKamisetty at 2007-11-25 10:20:50
Hi Folks,I just found that using Studio 4 when I generated the ViewBean using RAD tools, the code is just not the code I can use with my existing application written/migrated with Jato 1.2.Is there any way we can generate the code as per the old JATO api with Studio 4 and S1AF 2.0 ?As per some ...

Motorola J2ME emulators with Sun One Studio 5 SE

212 byte By ErkanUnal at 2007-11-25 10:20:58
The emulators in MotorolaSDKv3.1.1forJ2ME won't load into Sun One Studio 5 SE. IDE can't find the emulators in any of the directories. Is there any motorola SDK which works with S1S5?Thanks

debugger hangs

245 byte By RoyMash at 2007-11-25 10:21:02
Just installed j2sdk-1_4_1_02-windows-i586.exe on my Windows Server 2003 machine. -- Walked thru the colorswitch tutorial. Got to the debugger step: Studio 4 hangs at this point. Do I have the right version?thanks,roy

Error Mapping Entity Bean's fields with Postgresql's tables

718 byte By morenomauri at 2007-11-25 10:21:10
Hi all, I have problem using Sun studio 4 to map Entity Bean's fields with Postgresql's tables. First I capture the DB Schema of the two tables that I have to map. Then I create two related Entity Beans. When I try to map beans' fields with DB columns, Sun One prints that one of the two ...

softwares+SDK

267 byte By -- at 2007-11-25 10:21:20
Helloi am doing a work in my school with ejb. I have choosed Sun one studio 5.0 with sun one application server 7.0. I want to be sure about the choice of SDK : 1.4.2.01. Is it a good choice ? is 1.4.1 better for these softwares ?Thank you

Probelm with EJB-QL in Sun one Studio 5

3828 byte By Aimreddy at 2007-11-25 10:21:24
Hi,I am trying a EJB-QL for finding, where I want to compare the given date with the dateofpurchase column in the table: Here is my EJB-QL query SELECTObject (o) FROM Order o WHERE(o.dateofpurchase >= ?1)?1 -> is of java.sql.Date typedateofpurchase -> is of DATE type in Pointbase ...

Problem in EJB-QL queries

3746 byte By Aimreddy at 2007-11-25 10:21:25
Hi,I am trying a EJB-QL for finding, where I want to compare the given date with the dateofpurchase column in the table: Here is my EJB-QL querySELECT Object (o)FROM Order oWHERE (o.dateofpurchase >= ?1)?1 -> is of java.sql.Date typedateofpurchase -> is of DATE type in Pointbase 4.2and ...

linker option: -z rescan failing

304 byte By ErikNordahl at 2007-11-25 10:21:33
I'm building 7 static libs, that are interdependent,but the linker won't accept the linker option -z rescan (as stated in the documentation). I get an error saying 'rescan' is an invalid token.I'm using Solaris 2.7 Forte C++ Version 6 Update 2.Thanks in advance... ...

Sun One Studio 5 - External compiler CLASSPATH Setting

402 byte By 702525 at 2007-11-25 10:24:31
Hi I am using Sun One Studio 5.When I try to set the Classpath in the tools->options->Building->Compiler Types->External Compiler Expert Tab the Compiler seems to ignore it.So I set the classpath directly on the command line for external compiler. Even then it does not recognize the ...

executing servlet in forte for java

224 byte By ramamurthyradhakrishnan at 2007-11-25 10:24:42
In sun one community edition i can compile the servlet program but i am not able to execute it.The external browser is not invoking.please give me a solution to execute the servlet using sunone standard edition

Connecting to MySQL from Sun One Studio

9070 byte By Aimreddy at 2007-11-25 10:24:59
Hi,I am trying to connect to the MySQL from the Sun One Studio 5. I followed these steps.1. I downloaded the MySQL software and installed on my local computer, it was successful.2. I got the drivers mysql-connector-java-3.0.8-stable-bin.jar and placed it in the <stdudio5>/lib/ext/ ...

Remote KVM Debugger

473 byte By TaskinSakarya at 2007-11-25 10:25:17
Using Sun One Studio 5 at the moment only for remote debugging via kdp debug agent. It seems Sun One does not recognize the availability of source files, despite the file source & class directories are already mounted! And so at the moment the debugger pauses only on method breakpoints but ...

Problem in connecting to external databases from Sun 1 Studio 5

18002 byte By Aimreddy at 2007-11-25 10:25:23
Hi,I am trying to connect to either MySQL (which is on my local system), or ORACLE which is on other server. I followes the article:Connecting to External Databases With Sun ONE Studio 5 and Sun ONE Application Server 7 http://developers.sun.com/tools/javatools/tips/tip03-08-22.htmlBut it is ...

Segmentation Fault while installing on Solaris 9

317 byte By 702525 at 2007-11-25 10:25:25
Hi,I was able to install Sun One Studio on Solaris 8 as root and was able to run it.However I am trying to re-install it on Solaris 9 as a user with super user previlages.I keep getting segmentation Fault when i run s1s5se-sol-sparc-en.binAny pointers?thanksSri ...

swing.html file

430 byte By luisaraujo at 2007-11-25 10:25:31
I am trying to do a fresh start on Sun One Studio 5 standard. I am being prevented from deleting the Sun directory because access to this file is denied. My installation is corrupt due to the Ace patch, I assume, and Studio will not run or accept struts.jar and I am stuck with the Sun ...

Talk to us?

427 byte By monicap at 2007-11-25 10:25:44
I'm part of a team in Sun that is looking for ways to find out what developers want in technical articles that we post to the web. Please respond to this posting and tell what you do, where you go for technical information, what you expect to find in technical articles, what major roadblocks ...

Need to regenerate missing *.form files

704 byte By CharlesKuehn at 2007-11-25 10:25:53
Hello,I recently went back to look at some Java code that I wrote and realized that all of my *.form files are gone. I do have a backup of these files, but they are several days older than their corresponding source code. Here's the problem: I can restore the old *.form files, but when I go ...

read-only problem with sun one

465 byte By -- at 2007-11-25 10:27:36
hello i have mounted yestarday a file in which i have created an ejb call Client. Today i have unmounted the file with the ejb Client and i have mounted an other file in which i have created an ejb called Client. Now i can't no more manipulate the first ejb and the second ejb (adding method ...

Sun One Studio 4 update 1 problem

530 byte By GiuseppeSantaniello at 2007-11-25 10:28:18
HiI'm Giuseppea java beginner programmer from italy.Maybe my question is very stupid but I don't understand because when I execute a simple applet with Sun One Studio community edition compiler obtain this message:I/O Exception during reading: ...

Sun ONE Studio 5 Installation problem

428 byte By NicolaJr.Vitto at 2007-11-25 10:29:17
Hi,I have problems to install Sun ONE Studio 5.I download it from the download center (my username is nicola80) and I can't install it in my Linux Mandrake 8.2 version. The problem is that when the InstallShield start, I have the error message: "To install Sun ONE Studio 5 you need to log in ...

Form Editor Disappearing

825 byte By JasonGelfand at 2007-11-25 10:29:42
In Sun ONE Studio 4 (1.4.1_02) with win XP,Me and several other classmates are having trouble with the form editor. If we design our program using the GUI, all the objects show up fine until you close or run your program,after you run it, the form editor window will only display a blank square ...

Using SOAP Message Handlers and Handler Chains in a Client Application

413 byte By Aimreddy at 2007-11-25 10:30:51
I am developing a webservice client in SUN ONE STUDIO 5I am able to write SOAP Message handlers on the server side, and it working.But, How do I write SOAP Message Handlers on the client side. I am developing the client in JSP, I generate the necessary STUB files, and every thing is fine. But ...

Version 2.1 released !

2540 byte By ToddFast at 2007-11-25 10:31:05
Hi all--I wanted to let you know that version 2.1 of the Sun ONE Application Framework, a k a JATO, has just been released and is available for download. JATO is now a standard module in Sun Java Studio (formerly Sun ONE Studio), so in addition to all the Studio's features, you now get JATO as ...

Sun One Studio 4 up1 CE compiler history bug

245 byte By SigmundNessa at 2007-11-25 10:31:38
The compiler in Sun Studio One 4 Upd1 CE (win2000) keeps remembering mistakes already edited, and it will not compile files that had an fault which has been fixed. Really annoying bug!! Is there a way to clear the compiler history?

DataSource error on Win but not Solaris

574 byte By mike_brown_36 at 2007-11-25 10:32:05
I am running Sun 1 Studio 4 CE on Windows. I get this error when compiling a class.C:/Program Files/s1studio/ce/lib/ext/jdbc20x.zip(javax/sql/DataSource.java) [32:1] class DataSource is public, should be declared in a file named DataSource.java(source unavailable)1 errorErrors compiling ...

Unable to create Application Framework

279 byte By garytowns at 2007-11-25 10:32:48
I installed the SunOne Application Framework as per the installation instructions, I began the tutorial but received the following exception when trying to create the Application object:'Creation of the object from template failed'Any ideas anybody?

HTTP Monitor Question

230 byte By jetsons at 2007-11-25 10:33:05
I am wondering whether anyone is using the HTTP Monitor for purposes other than debugging web applications. For example, has anyone used it for performance problems? If so, what do you use it for?Thanks

Sun Studio With App Server Query

256 byte By jtranex at 2007-11-25 10:33:30
Hello,Iam trying out the software, when i try to execute the code it executes under the tomcat server localhost:8081 for JSP pages.I was wondering does the application server has this functionality, say localhost:4848/mypage.jsp

bug? could not access through external browser

412 byte By jtranex at 2007-11-25 10:33:36
Trying to execute a html page within sun one but now and then it says cannot execute throught the external browser, check settings in tools, and check external browser.I have checked that and it seems correct pointing to Microsoft Internet Explorer, so i was wondering is this a bug? Or how can ...

How Do I Consistently Serve Files with Sun One?

574 byte By GeoffRobinson at 2007-11-25 10:33:39
My team at school is using Sun One to create our jsp pages for our web app. It has been working well so far. However, we have run into a major problem.We upload files and have put them into a directory under the main web directory. When we redeploy , those files go to some obscure directory ...

mysql driver error

559 byte By nhpg at 2007-11-25 10:33:47
Hi!I am working on a project using a mysql database, and I had to format my computer.I reinstalled the sun 1 studio 5 again, and now I can't set the mysql db driver.I copied it into the lib/ext/ folder, set the classpath of the server instance but, when I test the driver I keep getting this ...

EJB, web module, debugging

1157 byte By MagdalenaOpanowicz at 2007-11-25 10:34:07
Hi,Has anybody played with web application debugging (with EJB) under Sun ONE Studio? I have simple jsp, I call a method of simple class which call a method of simple EJB (all is simple, no database connection, etc.)EJB module and web module are sitting in application and it is deploying to the ...

J2SE Installing on XP Home Freezing UP

308 byte By JeffNummelin at 2007-11-25 10:34:12
J2SE v1.4.2 and Netbeans IDE 3.5.1 InstallerFreezes up at:Preparing J2SDK 1.4.2 components for installation 8%This occurs either when installing over net "Open" and when installing from hard drive "save"Have disk space and administrrator privledgesPlease help ...

Templates and timesatmps ( __TIME__ macro)

914 byte By 703449 at 2007-11-25 10:34:15
I have two questions related to timestamps in a template. I have been unable to find the answers to these questions in the Help, including in the topic "Using Macros in Templates".1) The various templates such as the "Java Main Class" and "Java Class" are created such that they include a ...

BufferedReader - FileNotFoundException

250 byte By jtranex at 2007-11-25 10:34:22
Hello,Just trying to read in a file using BufferedReader, the file compiles ok, but when i execute it in sun one i get the FileNotFoundException.It however seems to work when i run the program in command prompt, any ideas?