Application Server problem!

154 byte By samanila at 2007-11-26 22:55:51
hello! Any one thier i'm having a problem while i'm trying 2 run my project in Tomcat Server it is giving an error (NO such method) .plz help me!

Class not found

720 byte By seema_mega at 2007-11-26 22:57:13
Hi,We are using Sun Java Appln server 8.1.Our ear file had become very huge and was taking an hour to ftp. So we copied all jar files to a directory and added their path to instance classpath. We then deployed the ear file w/o jar files. After this we started getting this error-Exception: ...

Sun Java Studio Enterprise - help.. asap

830 byte By ryanryea at 2007-11-26 23:02:25
can any answer these question asap.. if posible, i need the answers right now. I need the answers for my cse study. pls do answer it asap.1. How long have you worked with J2EE/.Net?2. What are its advantages over the other platform? Which is thegreatest advantage?3. What was one major problem ...

Sun Java Studio Enterprise - Java Studio Installation Problem

400 byte By jmlozaresa at 2007-11-26 23:02:39
This is actually the very first time i'll be dealing with JAVA. And I'm quite excited. Im on my way installing Java Studio Enterprise 8.1.During installation (the portion where an username and password is being asked), I encounter an error that says "Could not save the Application Server ...

Sun Java Studio Creator - autosubmit textfield

241 byte By gio_moria at 2007-11-26 23:03:36
I need to use a textfield with autosubmit: user write something and press returnmy webapp should get this text , store into a session's property and go to next page (without using a confirm button)is it possible?

Sun Java Studio Enterprise - Cannot get connection to SQL Server from servlet

1077 byte By BrotherFlamea at 2007-11-26 23:05:25
(sorry if the question is too simple, I'm novice in Java)I do following (using Java Studio Enterprise 8.1): 1. Create new web application.2. Create package (DBConnectionPackage) and add servlet (DBConnectionServlet).3. Write following into servlet method protected void ...

Sun Java Studio Enterprise - Installation Error

462 byte By Nagireddy_javaDevelopera at 2007-11-26 23:06:22
Hi,I am trying to install Sun java Developer Enterprise 8.1 version.I am getting error.Error is:"Error in Instructions.Invalid jvm file name specified in LUNCH.Invalid variable specification.Line number (4)."I have installed jdk in c: drive.and I am trying to install Sun java developer ...

Sun Java Studio Creator - HyperLink Styles - hover

829 byte By BillVa at 2007-11-26 23:10:04
I have created several hyperlinks within a layout panel. I want the color of the text and the background to change when hovering over the particular link. I have tried to edit the stylesheet.css for the particular layout panel, but I cannot get it to work. My code looks like this:#lm1 a:hover ...

Sun Java Studio Enterprise - Export jsp to PDF (Urgent )

324 byte By RamyaGandeepana at 2007-11-26 23:12:31
HiI need to know if any software (free or low cost) is available for exporting web page(developed using JSP) to PDF. I searched for it and i found the HighWire (CORDA products) but it costs much (about $2999).So , please help me out to get the solution and it is needed ...

Sun Java Studio Enterprise - Error installation JSE 8.1 vista

2406 byte By Bibibeara at 2007-11-26 23:12:44
Hi.I'm trying to install JSE 8.1 on Windows Vista, and each time I got this error during installation :com.sun.tools.ide.installer.actions.ConfigureApplicationServer, err, java.lang.OutOfMemoryError: Java heap spaceSTACK_TRACE: 21java.lang.OutOfMemoryError: Java heap spaceat ...

Sun Java Studio Creator - My action event handler isn't being invoked when I activate a button

122 byte By bill_bartleya at 2007-11-26 23:16:03
The button is of type 'submit' and I have an event handler defined in my Page bean, but it isn't getting called.

Sun Java Studio Creator - Need Help Deploying Creator Project with Derby as Embedded

1517 byte By garffa at 2007-11-26 23:16:23
HI,I have developed a web app using creator and the derby database instance that runs within creator. Now I want to war up the app and include the derby db as an embedded database. I have included the derby jar file in my lib directory and have created a new datasource with the derby embedded ...

Sun Java Studio Creator - Dropdown ValueChange handler is executed every time the page is submit

2849 byte By marissaa at 2007-11-26 23:18:01
Hi all,New to the Creator IDE. I have implemented a valuechange event handler for a dropdownlist component.The handler works as expected (if I change the dropdown value, the code inside the dropdown_processValueChange method is executed), but after the handler is executed once, it is being ...

Sun Java Studio Creator - Get Name from id in Table

822 byte By Longkonga at 2007-11-26 23:22:44
Hi,I created a Table from which I get my data using a DataProvider, this works quite well. Now I have the following problem: One column is just an id (which links to another object)How can I convert this id to the name? It would be just one Java Command, but I don't know how to alter the data ...

Sun Java Studio Creator - Prerender Derby versus Oracle

454 byte By SummerWinea at 2007-11-26 23:23:34
running SJSC2.1 on XPcreating an application (tutorial) -master detail -and using packaged derby and prerender things work.using the same tutorial and prerender code with Oracle 9i fails.The view data, and queries run in the SJSC2.1 query window work fine..Please help The Duke Dollars site says ...

Sun Java Studio Creator - NoClassDefFoundError - any clue why?

2259 byte By burferda at 2007-11-26 23:23:47
I am trying to incorporate Jasper Reports into my JSC project and get the following type of error when I access any of the Jasper classes.In this case, it appears to be complaining that it cannot find the JRXmlLoader.java .load() method.I have the Jasper jar files loaded as a library and can ...

Sun Java Studio Creator - It;s a bug

564 byte By SummerWinea at 2007-11-26 23:25:30
From reading this forum I find that the problem I am experiencing is a BUG between SJSC2.1 and OracleThe suggested solution is to "open the rowset and add CONCUR_READ_ONLY".How to do this?I have tried this In bold and italics) with no luck:private void _init() throws Exception ...

Sun Java Studio Creator - How to avoid a sessionbean conflict while Tabbed Browsing?

1336 byte By Greeneyea at 2007-11-26 23:27:41
Dear Forum and Creator Team,I am searching for a solution to avoid sessionbean parameter conflicts when a user opens a second tab on the same webpage.Let's say as example I would store a Rowkey in the Sessionbean to use the Rowkey on another page for an update or delete process. If the user ...

Sun Java Studio Creator - The requested instance is either invalid or not running.

931 byte By gio_moria at 2007-11-26 23:29:32
I cannot understand : I've added a sqlserver 2000 db to a new webapp, test connection works properly, I can see tables, views, execute queryes, but if i try to run the application I get an this error.....here is the exception:[code]Description: An unhandled exception occurred during the ...

Sun Java Studio Creator - Table - filter by date

367 byte By vcollaka at 2007-11-26 23:32:05
Does anyone know how to filter table content by date? I tried to take the route of changing the command for the RowSet, but had some issues where incorrect rows were being pulled up when I did getValue by the rowKey. I tried using CompareFilterCriteria, but can't seem to get the right dates to ...

How can i find client's ip?

205 byte By epp-665a at 2007-11-26 23:34:22
I use Sun Studio creator developing jsf portlets deploying on Tomcat+JBoss LIferay portal.My problem is that i cannot find how could i get client's ip address?Thanks a lot in advance.

checkboxgroup setSelected() problem

2182 byte By Madana at 2007-11-26 23:35:14
Hi,I have a number items read from a .txt file into a checkboxGroup. I have problem in selecting some of them automatically. Please help me in setSelected() function code: //get selected automatically try { int numOfLines2 = 0;int count2=0;String theLine2 = null;FileReader fr4 = new ...

CMR Error

933 byte By arunmoyala at 2007-11-26 23:35:49
drear friend i need help for container manage relationship in java studio enterprise edition 8.0i have following table on mssql server 2000customers(table) {-> customerid columns (primary key),-> firstname,-> lastname,-> address}orders(table) {->orderid columns (primary ...

access denied (java.io.FilePermission...delete)

2910 byte By dElaya at 2007-11-26 23:36:46
Hello i'm trying to delete a file from JSC application by code.i get access denied (java.io.FilePermission F:\KONEKTOR\KONEKTOR2\build\web\resources\membersDir\delay\the_coliseum01.jpg delete)i did some research and i think i need to edit java.policy file located inC:\Program ...

xyzDataProvider.commitChanges() is not updating db record

1573 byte By MoAsgaria at 2007-11-26 23:41:00
I have searched high and low for answers on this forum and other help content, but unfortunately I have hit a wall. Would appreciate it if someone could help.I am doing a simple retrieve using a dataprovider, updating a couple of the fields, and attempting to commit the changes back to the db ...

about current date display in jsp file(label or text box)

183 byte By mestoganesha at 2007-11-26 23:43:07
hello experts, i am new to Java studio creator..i want to show the current date and time in the static text box or text field....please help me.. thanks in advance......

short cut on tabed menu

188 byte By mestoganesha at 2007-11-26 23:43:45
hello friends,could any one please send, how to set the short cut for tabbed menu like windows application...(ex : Alt + m ) -->MENU tabthanks in advance....

Studio Creator Code Formatting Rule

633 byte By Ingmara at 2007-11-26 23:44:26
How do I tell Studio Creator to use tabs instead of spaces?I open Tools - Options - Editing - Java Editor and setCode Formatting Rule = Java Indentation Engine ...- Expand Tabs to Spaces = false- Number of Spaces per Indent = 4...- Statement Continuation Indent = 4After reformatting the source ...

Need help to add web service client based on WSDL file

228531 byte By Jimmy200012a at 2007-11-26 23:45:21
Hi, I tried to add a salesforce web service reference based on the WSDL file downloaded from salseforce.com and failed. Looks like the IDE can't resolve the salesforce name space (salesforce custom type). Don't know if anybody out there did the same thing and worked. The WSDL ...

Call Java Method From JavaScript Function

696 byte By casper77a at 2007-11-26 23:49:26
hi everyonei need a help in calling Java method from a javaScript method ex:function confirmAddRecord() {cHours =document.getElementById('frmP:ChargeHours').value; cSTime =document.getElementById('frmP:ChargeStartTime').value; var answer = confirm("Are you sure you want to add Record?")if ...

Object Array Data Provider Refresh Possible bug

2817 byte By tibanua at 2007-11-26 23:50:39
HelloI am having a problem with Object Array Data Provider in terms that the table's data is not changed corectly after a request as expected, but after two requests.Steps to reproduce the bug:0. Create a new Visual Web project, call it 'test'. Set 'Bundled Tomcat ' or 'Sun 9' as deploy ...

Servlet initialization

428 byte By BrotherFlamea at 2007-11-26 23:51:03
Using J2EE IDE:1. Run servlet.There is:private boolean var1=true;private String var2 = "";declared in servlet properties section.2. Do some action. Change var1=false;var2="new value"; 3. Close browser.4. Run servlet again. var1 == false;var2 == "new value";I need these values to be initial ...

LOGICAL help required

268 byte By cookie_toma at 2007-11-26 23:53:43
In my web application using JSC, iam not using any database as a source of data. Instead i need to hard code data, to test run the project.Can i use a simple array to store my data say ARR1 [5][5] then how can use this source of data in JSC

server.xml

182 byte By kc8pdra at 2007-11-26 23:56:17
I made a page for my site I upload my war file and reset the server I got a error and they said . I need to up load the server.xml file I can not find it is it the index.xml ?

Once more about File Upload into portlet

219 byte By Master82a at 2007-11-26 23:57:49
Prompt, as I can realize upload files into portlets in Java Studio Creator. If it is possible, give an example.At a forum it is a lot of advice, but has not found an example. Prompt the challenger, please.

converter for converting all HTML tags to JSF tags

338 byte By vsabaria at 2007-11-26 23:59:38
hai all,i am new to JSF. i need a suggestions to convert all my HTML pages to JSF pages bcoz i was already created more pages in HTML and now i want to convert all the pages to JSF. can u give any suggestion plz post it here or send me a mail to mrvsabari@yahoo.co.inthanks in ...

Formatting of Table-Rows

736 byte By Willi2793a at 2007-11-26 23:59:59
Hello,I have a table with several columns. I fill them with a CachedRowSetDataProvider. That works all with no problem. Now I want t o make one Table-Column with more fields of the DP. No problem in general. I create a Column as a "Group Panel" and put all my elemnts in there.But now my problem ...

Cannot update rowset via tabledataprovider

562 byte By discusfisha at 2007-11-27 0:00:03
Have you experienced something like this? I have a cacherowset and I access it via dataprovider. When I try to update the value like this:xxDataProvider.setValue("INVOICENO",lval);the value of lval is not updated to the rowset. I debug it and set a watch over the xxDataProvider. I step on those ...

help- new to JSC

421 byte By cookie_toma at 2007-11-27 0:03:13
I need to display 4 items where each item has 5 properties say ID, color,Height,weight in a tabular format. Which component in studio creator will help me do that....I tried using table coomponent, but it seemed very confusing. when i drop a hypertext or a label in one column, it gets displayed ...

Problem with ValueChange in dropdown

2627 byte By bonizaka at 2007-11-27 0:03:56
I'm having a problem with a valuechange for a dropdown I hope someone can help me solve. I have a single page app used to track golfs scores and handicaps with the data stored in a MYSQL db. The user comes into the page, selects their name from a drop down list ( populated with a query to the ...

Unable to check a checkBox

380 byte By epp-665a at 2007-11-27 0:04:56
I have some checkBoxes in a portletPage and while initializing the page i want to make some of them checked(But without user Action).What i do is to call the: ckeckbox1.setSelected(new Boolean(true)); to make it checked.The problem is that no selection is visible to the UI.Is there any method ...

JavaScript onClick or Java _action()

343 byte By JagXa at 2007-11-27 0:05:40
L.S.I have got an Image Hyperlink and wonder what is the best way to implement its behaviour, double clicking it and replace return null with return "pageXXX" or using the JavaScript onClick option in the Image Hyperlink's properties and add something like ...

List data provider + table

806 byte By walid.ka at 2007-11-27 0:08:20
Hi,i use table binded with list data provider, in table if i change checkbox or text field value and i want to retrieve new value it don't work. I use this code to d this: try{this.getSessionBean1().getZipEntryListDataProvider().cursorFirst();do { String dest = ...

uolaod war file

95 byte By kc8pdra at 2007-11-27 0:08:35
what other files do I need to upload with my war file ? Dose any one run the linux ver ?

Reset Form Submit State

599 byte By k6det6a at 2007-11-27 0:08:45
Is it possible to reset the form submit state? I have a page with many input components, some of which are set to "Auto-Submit on Change". When submitting, a new window is opened with the report results.I need the user to go back to the original input page and change some of the original input ...

Exception in thread "main" java.lang.NoClassDefFoundError: run

694 byte By bPawna at 2007-11-27 0:09:23
Hi all,-I use kubuntu linux 6.10 32bit-uname -a, says:Linux PCNAME 2.6.17-11-generic #2 SMP Thu Feb 1 19:52:28 UTC 2007 i686 GNU/Linux-ls -l, says:-rwxr-xr-x 1 USERNAME USERNAME 276094976 2007-04-05 19:53 creator-2_1-linux-ml.bin-I start the installation:./creator-2_1-linux-ml.bin-the last ...

CMP Mapping bug

403 byte By arunmoyala at 2007-11-27 0:13:21
friends,in sun java enterprise edition 8.1, i create database schema mapped that schame to etitiy beans. at runtime there is problem occured.but when i stat debuging the application, at that time SJEE 8.1 regenerate database schema re-mapping the cmp fields according to the new gen schema.how ...

Why i need to restart the server when i change something in my code

496 byte By p_georgea at 2007-11-27 0:15:39
Hi,Iam developing a web application for cars.While i am developing the site every time i add some new code, i need to restart Sun server in order to see the changes.If i dont restart then the web application does not work at all.That is clicking on the web page which reflects the added code, it ...

New Techtip on Using DropDown list to Display DB Data plus DummyValue

142 byte By kish@suna at 2007-11-27 0:16:44
Hi Folks,Take a look, feel free to give your feedback http://www.netbeans.org/kb/55/dropdowncomp.htmlThanksK

upload with ide

78 byte By kc8pdra at 2007-11-27 0:17:57
I got how to make a war file. Now how do I upload the site to my site ?