Melongo Annabel | 1 Dec 05:38
Picon
Favicon

Re: NB 6.5 can“t find GlassFish v2 server

Bladu,
Why make your life so hard? you can download the NB 6.7 which is really stable with the bundled server and you won't go through this hassle. Try it. It's really great.

From: bladu <egoibe <at> hotmail.com>
To: nbusers <at> netbeans.org
Sent: Mon, November 30, 2009 1:21:45 PM
Subject: [nbusers] Re: NB 6.5 can´t find GlassFish v2 server


Hi Annabell,

No, NB6.5 didn`t come bundled with any server



----------------

Melongo Annabel wrote:
>
> When you installed NB, did you install the version that comes with a
> bundled Glassfish server?
>
>
>
>
> ________________________________
> From: bladu <egoibe <at> hotmail.com>
> To: nbusers <at> netbeans.org
> Sent: Sat, November 28, 2009 11:12:12 AM
> Subject: [nbusers]  NB 6.5 can´t find GlassFish v2 server
>
>
> Hi,
>
> I want to link the GlassfishServer to Web Application project in Netbeans
> 6.5, but I browse the platform location. It appears to me a red alert
> message that says: "Platform location is not an Glassfish V2 location".
>
> How can I link this Server?
>
>
> Thanks with anticipation.
> --
> View this message in context:
> http://old.nabble.com/NB-6.5-can%C2%B4t-find-GlassFish-v2-server-tp26554264p26554264.html
> Sent from the Netbeans IDE Users mailing list archive at Nabble.com.
>
>
>   
>

--
View this message in context: http://old.nabble.com/NB-6.5-can%C2%B4t-find-GlassFish-v2-server-tp26554264p26580344.html
Sent from the Netbeans IDE Users mailing list archive at Nabble.com.


Melongo Annabel | 1 Dec 05:48
Picon
Favicon

Re: trouble linking JFrame windows

Before using NB, I would advice you to start with the tutorials. Here are great tutorials that will get you going:
    1. http://netbeans.org/kb/60/java/quickstart-gui.html

From: okletsgo <mattison <at> nortel.com>
To: nbusers <at> netbeans.org
Sent: Mon, November 30, 2009 12:43:35 PM
Subject: [nbusers] trouble linking JFrame windows

I am new to Netbeans and Java in general (student). I was told that NetBeans is a great tool and I have come to find it truly is. I have created several GUI windows with ease but I am struggling to get the windows to be linked together. Basically I am trying to get a component of one window to be an event that launches a new window. How can this be done?





Melongo Annabel | 1 Dec 05:50
Picon
Favicon

Re: What do you think about 6.8 RC1?

Thanks Tom for taking the time to test the new version. We'll look into this.

From: Thomas Wolf <twolf <at> netforensics.com>
To: nbusers <at> netbeans.org
Sent: Mon, November 30, 2009 12:16:51 PM
Subject: [nbusers] Re: What do you think about 6.8 RC1?

I just downloaded and started up 6.8rc1.  I was running the 6.8beta before.  So far, no big scanning delays (but then, I think most people had trouble with J2EE-type projects, not on standard J2SE ones like ours), but the scanning still does get in the way.  So far, I've noticed it twice:

- 6.8beta had a bug so it didn't let you set the "labels" on the source roots of the project, so when 6.8rc1 came around, that's the first thing I tried to do - and it works.  But it beats the hell out of me why a label change on the source roots should cause a "Project scanning..." action.  I guess NB's project properties window is not fine-grained enough to know when something is or is not scan-affecting.

- I wanted to try out "Synthetica" L&F on our app, so I modified the source to load this L&F and got the error squigglies under the L&F class (since I hadn't added the library yet).  When I added the library, the "scanning" happened again - understandable since I'm adding a library - but I'm not sure why it needs to take 1-2 minutes!  I'm only adding a single library - but it almost looks like NB is going over all 100+ libraries in my project.  While the scanning is going on, I try to click on the light-bulb to remedy the missing-import issue - only to see a cryptic dialog that merely says: "Refresh Hints" (or some such) with a "OK" button available - the dialog's title says something like "A lengthy operation is in progress..." :-(

I don't know if either of these issues existed in 6.8beta, but the scanning is obviously still getting in the way of development.

Tom


On 11/29/2009 09:39 AM, Louis Botterill wrote:
> >> The old scala-6.8v1.1.0beta may not work under RC1, I'll release another one for RC1 in Monday.
>
> That's great, will you post back on here when it's done and up ready for download? I'd certainly like to try this out! Although slightly concerned about the reports of rc1 taking forever to do class path scanning again...
>
> cheers,
>
> Louis
>
>
> -- www.chillipower.com <http://www.chillipower.com>
> http://louisbotterill.blogspot.com/
>
> Please consider your environmental responsibility before printing this e-mail
>
**********************************************************************************************
IMPORTANT: The contents of this email and any attachments are confidential. T hey are intended for the named recipient(s) only.
If you have received this email in error, please notify the system manager or the sender immediately and do not disclose the contents to anyone or make copies thereof.
*** eSafe scanned this email for viruses, vandals, and malicious content. ***
**********************************************************************************************


Pat Farrell | 1 Dec 05:51
Favicon

Re: NB 6.7 with bundled Glassfish v2.x can't find HttpServletRequestWrapper

Bump,

I really need to find a solution to this.

Thanks
Pat

Pat Farrell wrote:
> I'm using NB 6.7.1 with the bundled JDK and Glassfish v2.1.x servlet
> container.
> 
> When I try to compile code referencing
> 
> javax.servlet.http.HttpServletRequestWrapper:
> 
> the compile fails, as the class is undefined.
> 
> Its as if the Glassfish libraries are not included in the default
> classpath, or perhaps the class is not defined in the standard setup?
> 
> What do I need to do to make this compile (and I hope run)

Melongo Annabel | 1 Dec 05:52
Picon
Favicon

Re: Error Compiling JSP Files in NetBeans IDE 6.7.1

What do you mean? Once you file an issue, a link to that issue is produced. Then paste that issue to this mailing list sending an email to "nbusers <at> netbeans.org" with its link. If it wasn't the expected answer, please let me know. I'm not sure I understand it. Thanks.

From: Edward Mattison <mattison <at> nortel.com>
To: nbusers <at> netbeans.or g
Sent: Mon, November 30, 2009 11:45:40 AM
Subject: [nbusers] Re: Error Compiling JSP Files in NetBeans IDE 6.7.1

DIV { MARGIN:0px;}
Greetings Annabel. How do we post a question to the entire gruop?
 

    Edward J. Mattison II
    NORTEL NETWORKS
    Emergency Recovery Support Engineer
    3000/4000/5000/6500/CPL/TBM/OC48/OC192/LH/DX/Passport
    Phone ) : ESN 355-9645 or 919-905-9645
    Fax   x : ESN 355-8352 or 919-905-8352

        e-mail * : mattison <at> nortel.com
      Company Registration No. 3937799

 

From: Melongo Annabel [mailto:melongo_annabel <at> yahoo.com]
Sent: Saturday, November 28, 2009 7:33 PM
To: nbusers <at> netbeans.org
Subject: [nbusers] Re: Error Compiling JSP Files in NetBeans IDE 6.7.1

Javier,
Can you please paste the issue number here? Thanks.

From: Javier Ortiz <javier.ortiz.78 <at> gmail.com>
To: nbusers <at> netbeans.org
Sent: Fri, November 27, 2009 11:24:47 PM
Subject: [nbusers] Re: Error Compiling JSP Files in NetBeans IDE 6.7.1

Is this the standard action issue?

If it is just remove the comments that netbeans has in the template. I already submmited an issue for that.

On Thu, Nov 26, 2009 at 3:41 AM, Canay <canayozel <at> gmail.com> wrote:
I have the same problem and the problem in my
and the problem line is like that in build ... xml

       <java classname="org.netbeans.modules.web.project.ant.JspCSingle" failonerror="true" fork="true">







Melongo Annabel | 1 Dec 05:55
Picon
Favicon

Re: NB 6.7.1, WSDL and XML Schema problem

Antonio,
Can you please file this at: http://qa.netbeans.org/ . Under "Report A Problem"? Thanks.

From: Antonio Pintus <pintux <at> crs4.it>
To: nbusers <at> netbeans.org
Sent: Mon, November 30, 2009 11:19:54 AM
Subject: [nbusers] Re: NB 6.7.1, WSDL and XML Schema problem

Antonio Pintus ha scritto:
> Hi All,
>
> I'm using NB 6.7.1 with SOA plugin installed.
> I've created a Web Application, then an XML Schema inside it.
> Then, I'm using the wizard for new WSDL file...
>
> In that wizard, When I try to specify the XML types defined in the schema, for example, for part1 in the WSDL operation, only built-in types are shown in the dialog and under the "by-file" folder I can find the name of the Java Web project but no schema is shown...
>
> The XML Schema is valid and it has complexTypes and elements defined...
>
> Any idea? It is a NB 6.7.1 bug?
>
> Thanks,
>
> Antonio
>

...and platform is Mac OS X "Snow Leopard", Java 1.6.0_15

Antonio

- -                

Antonio Pintus

ICT - Network Distributed Applications (NDA)
CRS4, Center for Advanced Studies, Research and Development in Sardinia

e-mail: pintux <at> crs4.it
Phone: +39 0709250268

NDA Home: http://www.crs4.it/ict/nda/

Melongo Annabel | 1 Dec 06:11
Picon
Favicon

Re: How to import XML in to the JAVA applet?

Wirck,,
You will be better off, in situation like this, using the debugger. Just do a step-by-step trace and once you get to the 'builder.parse(file)" enter that function and examine the stack trace. You'll find the cause of why the program stop. Here's how to use the debugger in NB: http://netbeans.org/kb/55/using-netbeans/debug.html

From: Wirck <wisl <at> live.nl>
To: nbusers <at> netbeans.org
Sent: Mon, November 30, 2009 10:45:23 AM
Subject: [nbusers] How to import XML in to the JAVA applet?

Hello,

We're testing with JAVA applet and XML
Goal-> Fill Java textboxes with XML data. The XML file is with the applet located at the same webserver in the same folder.

    How to import XML in to the JAVA applet?

Code fails at: "Document doc = builder.parse(file);" No error, but also no proceed at this line.

Used software: Netbeans 6.7.1

- The implementated XML examples (GetXML.java and employee.xml).
- Our code TEST11.java.
- Both projects run fine if started seperate. But if we implementate XML in our code is wil not work (like written before).

    >>--GetXML.java—<<

import org.w3c.dom.*;
import java.io.File;
import javax.xml.parsers.*;

public class GetXML {
  public static void main(String argv[]) {
  try {
  File file = new File("employee.xml");
  DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance();
  DocumentBuilder builder = factory.newDocumentBuilder();
  Document doc = builder.parse(file);
  doc.getDocumentElement().normalize();
  Textbox1.setText("Root element " + doc.getDocumentElement().getNodeName());
  NodeList list = doc.getElementsByTagName("employee");
  for (int i = 0; i < list.getLength(); i++) {
      Node node1 = list.item(i);
      if (node1.getNodeType() == Node.ELEMENT_NODE) {
      Element element = (Element) node1;
      NodeList firstNodeElementList = element.getElementsByTagName("firstname");
      Element element1 = (Element) firstNodeElementList.item(0);
      NodeList firstNodeList = element1.getChildNodes();
      Textbox2.setText("First Name : "  + ((Node) firstNodeList.item(0)).getNodeValue());
      NodeList lastNodeElementList = element.getElementsByTagName("lastname");
      Element element2 = (Element) lastNodeElementList.item(0);
      NodeList lastNodeList = element2.getChildNodes();
      Textbox3.setText("Last Name : " + ((Node) lastNodeList.item(0)).getNodeValue());
    }
}
  } catch (Exception e) {}
  }
}


    >>--employee.xml--<<

<?xml version="1.0"?>
<company>
    <employee>
        <firstname>Anusmita</firstname>
        <lastname>Singh</lastname>
    </employee>
</company>



  >>--TEST11.java--<<

/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/

/*
* TEST11.java
*
* Created on 12-nov-2009, 16:54:38
*/

/**
*
* <at> author Bart
*/


public class TEST11 extends javax.swing.JApplet {

    /** Initializes the applet TEST11 */
    public void init() {
        try {
            java.awt.EventQueue.invokeAndWait(new Runnable() {
                public void run() {
                   
                    initComponents();

                }
            });
        } catch (Exception ex) {
            ex.printStackTrace();
        }
    }

(...)

private void jButton1ActionPerformed(java.awt.event.ActionEvent evt)

{
  !! THIS FUNCTION NEEDS TO READ ONCE XML DATA
  !! AND WRITE IT TOO jLABEL1.setText(""); !!
}

------------------------
nix





Melongo Annabel | 1 Dec 06:27
Picon
Favicon

Re: Format of numbered output

 The Formatter class will be useful for your scenario. Here's an example:
         
Formatter fmt = new Formatter();
fmt.format("%.2f", 123.1234567)
System.out.println(fmt);

Will produce the following output: 123.12

From: FriQenstein <Friqenstein <at> gmail.com>
To: nbusers <at> netbea ns.org
Sent: Mon, November 30, 2009 8:14:00 AM
Subject: [nbusers] Format of numbered output

Hello all,

Question: If I'm using floats for my values and I want my final values (after calculations) to be formatted with only 2 decimal places, how do I go about doing that?

Info: I recall reading in one of the tutorials (JAVA tutorials not NetBeans tutorials) about formatting output and the like, but I cannot seem to find that tutorial anymore.
Is this something that is to be done inside my code kinda like the formatting of currency? or is there a feature in the properties box somewhere for this setting?
I haven't found anything in the properties box unless I've completely overlooked it... which is highly possible being as tired as I am.

Basically I'd like all my floats to calculate with the full range of decimals they acquire then my final out put be a forma t of: ####.##

If anyone could give me a slight bump in the right direction or an example that would be great.

Any help is greatly appreciated.
Thanks.

------------------------
--== Linux! More configurable than a Mr. Potato Head! ==--





Melongo Annabel | 1 Dec 06:47
Picon
Favicon

Re: Using Selenium-php-client-driver with Netbeans


From: abhi.uppala <abhi.uppala <at> gmail.com>
To: nbusers <at> netbe ans.org
Sent: Sun, November 29, 2009 11:51:18 PM
Subject: [nbusers] Using Selenium-php-client-driver with Netbeans

Hi, I am trying to use selenium with PHP in Netbeans but am not able to find a way to bind the client driver with PHP project. I have googled a bit and found results for binding the driver with PHPUnit and not netbeans.

Would like help in this regards.

Thanks





Melongo Annabel | 1 Dec 06:49
Picon
Favicon

Re: Netbeans crashing.

What's the link you got when you posted it before? Is it a way you can find that link and post it to this list? thanks.

From: Enders_Game <enders_game77777 <at> hotmail.com>
To: nbusers <at> netbeans.org
Sent: Sun, November 29, 2009 11:24:45 PM
Subject: [n busers] Netbeans crashing.

I know ive posted for help before but it seems the problem isnt fixing itself...

[Image: http://i239.photobucket.com/albums/ff50/I_AmLegion/netbeans.jpg ]

Basically anytime i build a C/C++ program netbeans crashes with a java.nullpointerexception or w/e (java works fine).

So I went to the netbeans project to run the application manually and i got that error. I go look for the file thats "missing" and its there, netbeans has cygwin included and everything. And now I'm out of ideas what to do.  I tried putting the dll into the folder but all that does is make the command prompt open up and instantly close.

Any tips?






Gmane