Paulchwd | 1 Jul 02:26
Picon
Favicon

pls help


When i push debug project i get this error:

init:
deps-module-jar:
deps-ear-jar:
deps-jar:
library-inclusion-in-archive:
library-inclusion-in-manifest:
compile:
compile-jsps:
do-dist:
dist:
debug:
Incrementally deploying http://localhost:8084/ConnectionManager
Completed incremental distribution of
http://localhost:8084/ConnectionManager
Non-existing path "F:\Documents and Settings\Paul\My
Documents\NetBeans\ConnectionManager\ConnectionManager\build\ear-module\WEB-INF\classes"
provided.
Attached JPDA debugger to localhost:tomcat_shared_memory_id
debug-display-browser:
Browsing: http://localhost:8084/ConnectionManager/
BUILD SUCCESSFUL (total time: 1 second)

Here is my web.xml file:

<?xml version="1.0" encoding="UTF-8"?>
<web-app version="2.4" xmlns="http://java.sun.com/xml/ns/j2ee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
(Continue reading)

NBLC | 1 Jul 07:30
Picon

Can't edit text after 10 - 30 min.


My system is Linux Ubuntu 7.04, Pentium D 2.8 GHz, 1.5 GB Memory.
After using NetBeans 10 - 30 min. , I can't edit text in the IDE but 
I still can cut & paste component in the IDE.
I have to logout in order to restart XWindow very often.

Anyone has idea about this kind of problem?

Thanks in Advance,
--

-- 
View this message in context: http://www.nabble.com/Can%27t-edit-text-after-10---30-min.-tf4006894.html#a11379309
Sent from the Netbeans - Users mailing list archive at Nabble.com.

domenico | 1 Jul 08:24
Picon

Installation of netbeans 5.5.1

Dear Sirs,

I downloaded and installed "Java SE Development Kit (JDK)6 with Java EE
(14.Dec06) (java_ee_sdk-5_02-linux.bin). This package is correctly
installed on Fedora Core 7 in /opt/SDK/jdk etc.

But, if I try to install netbeans 5.5.1 I get the message "No Java
Development Kit(JDK) was found on this system."

What I have to do to solve the problem?

Thank you

Domenico.

khosro asgharifard | 1 Jul 08:42
Picon
Favicon

NullPointerException Using a Drop Down List to Display Data

Hello,
To some extend i follow the instruction in tutorial Using a Drop Down List to Display Data  .Only thing that i did not do that creating DataProvider ,instead i write hard-coded String.But  i gave  the error java.lang.NullPointerException.
Please help,I can not use Drop Down List.I also bind Drop Down List to listoption.

 public void prerender() {
        listoption[1]=new Option("hello4","he");
        listoption[2]=new Option("hello","hello3");
        listoption[3]=new Option("hello1","hello2");
}

Thanks.

Got a little couch potato?
Check out fun summer activities for kids.
David Beer | 1 Jul 12:45

Netbeans 6.0 M10 Wron download link

All

When you go to download NB6 M10 the link takes you to M9. Yet the 
selection clearly states that it is M10.

When is M10 going to be released? I have downloaded the latest daily for 
now.

David

mfa | 1 Jul 13:26
Picon
Favicon

[#|2007-07-01T13:51:11.391+0500|SEVERE|sun-appserver-pe8.2|javax.enterprise.system.core.classloading|_ThreadID=13;|LDR5203: An error occurred while adding URL [file:/C:/Documents and Settings/Administrator/My Documents/Creator/Projects/WebApplication17/bu


hi master
sir i try to call create pdf in my project when i complied that system not
give me error but when i press button where i write my code and see in view
server log that give me this error

[#|2007-07-01T13:51:10.515+0500|INFO|sun-appserver-pe8.2|javax.enterprise.system.tools.admin|_ThreadID=11;|ADM1042:Status
of dynamic reconfiguration event processing:[runtime_error]|#]
[#|2007-07-01T13:51:10.579+0500|INFO|sun-appserver-pe8.2|javax.enterprise.system.tools.admin|_ThreadID=12;|ADM1041:Sent
the event to instance:[ApplicationDeployEvent -- reference-removed
WebApplication17]|#]
[#|2007-07-01T13:51:10.658+0500|INFO|sun-appserver-pe8.2|javax.enterprise.system.tools.admin|_ThreadID=12;|ADM1042:Status
of dynamic reconfiguration event processing:[success]|#]
[#|2007-07-01T13:51:11.391+0500|SEVERE|sun-appserver-pe8.2|javax.enterprise.system.core.classloading|_ThreadID=13;|LDR5203:
An error occurred while adding URL [file:/C:/Documents and
Settings/Administrator/My
Documents/Creator/Projects/WebApplication17/build/web/WEB-INF/lib/log4j.jar]
to the EJB class loader. Please check the content of this URL. |#]
[#|2007-07-01T13:51:11.391+0500|SEVERE|sun-appserver-pe8.2|javax.enterprise.system.core.classloading|_ThreadID=13;|LDR5200:MalformedURLException.
java.io.IOException

main error is 

[#|2007-07-01T13:51:11.391+0500|SEVERE|sun-appserver-pe8.2|javax.enterprise.system.core.classloading|_ThreadID=13;
|LDR5203: An error occurred while adding URL 
[file:/C:/Documents and Settings/Administrator/My
Documents/Creator/Projects/WebApplication17/build/web/WEB-INF/lib/log4j.jar]
to the EJB class loader. Please check the content of this URL. |#]

why ejb giv me error and whe log4j.jar give me error  that not support to
jsp 

please give me idea how i solve this error

thank's

aamiir
[code][/code]
--

-- 
View this message in context: http://www.nabble.com/--%7C2007-07-01T13%3A51%3A11.391%2B0500%7CSEVERE%7Csun-appserver-pe8.2%7Cjavax.enterprise.system.core.classloading%7C_ThreadID%3D13-%7CLDR5203%3A-An-error-occurred-while-adding-URL--file%3A-C%3A-Documents-and-Settings-Administrator-My-Documents-Creator-Projects-WebApplication17-bu-tf4007507.html#a11380963
Sent from the Netbeans - Users mailing list archive at Nabble.com.

Ralph Bunker | 1 Jul 13:49

Re: NullPointerException Using a Drop Down List to Display Data

My guess is that listoption[0] is the culprit. Arrays start at 0.

At 01:42 AM 7/1/2007, you wrote:
Hello,
To some extend i follow the instruction in tutorial Using a Drop Down List to Display Data  .Only thing that i did not do that creating DataProvider ,instead i write hard-coded String.But  i gave  the error java.lang.NullPointerException.
Please help,I can not use Drop Down List.I also bind Drop Down List to listoption.

 public void prerender() {
        listoption[1]=new Option("hello4","he");
        listoption[2]=new Option("hello","hello3");
        listoption[3]=new Option("hello1","hello2");
}

Thanks.


Got a little couch potato?
Check out fun summer activities for kids.
Axel Künzinger | 1 Jul 14:15
Picon
Picon

Re: FilteredTableDataProvider and JasperReports

In the init method of my page I bind a CachedRowDataProvider to a 
FilteredTableDataProvider and set a TableDataFilter. The 
FilteredTableDataProvider is bound to a table component.

drawingviewDataProvider.setCachedRowSet((javax.sql.rowset.CachedRowSet) 
getValue("#{SessionBean1.drawingviewRowSet}"));
filteredTableDataProvider1.setTableDataProvider((com.sun.data.provider.TableDataProvider) 
getValue("#{drawing$Listdrawings.drawingviewDataProvider}"));
filteredTableDataProvider1.setTableDataFilter((com.sun.data.provider.TableDataFilter)getValue("#{drawing$Listdrawings.basicTableDataFilter}"));

To filter the data I use the following code. phaseid (and some more) is 
a value from a Dropdown Component.

 public String button2_action() {

        ArrayList filters = new ArrayList();

        Integer phaseid = (Integer) ddphaseid.getSelected();

        if (phaseid !=0 & phaseid != null){
            FieldKey comparePhaseid = 
this.getFilteredTableDataProvider1().getFieldKey("drawphaseid");
            FilterCriteria phaseidFilter = new 
CompareFilterCriteria(comparePhaseid,phaseid);
            filters.add(phaseidFilter);
        }

        FilterCriteria[] filterArray = new FilterCriteria[filters.size()];
        filters.toArray(filterArray);

        basicTableDataFilter.setFilterCriteria(filterArray);
        filteredTableDataProvider1.setTableDataFilter(basicTableDataFilter);

       
        return null;
    }

Works perfectly, the data is filtered and displayed. Now I want to pass 
the filtered data to Jasper Reports. I tried to get the filtered data 
with the following code, which doesn´t work.

public String button1_action() {

       
        // Get number of rows from DataProvider
        int noofDBRows = filteredTableDataProvider1.getRowCount();
        log(String.valueOf(noofDBRows));

     
        if (noofDBRows > 0) {

            filteredTableDataProvider1.cursorFirst();
            do {
                String test = (String) 
filteredTableDataProvider1.getValue("drawingkey");
               log (test);

            }
            while (filteredTableDataProvider1.cursorNext());
}

The problems are:

1. the filteredTableDataProvider contains not only the filtered data, it 
contains the complete data of the cachedRowDataProvider.
2. the .cursorNext() method doesn´t work, I get an infinit loop

What would be nice is a .getFilteredRows() method in the 
filteredTableDataProvider.

Axel

Data Virtue schrieb:
>
> Axel Kuenzinger wrote:
>   
>> Hi,
>>
>> in the http://www.netbeans.org/kb/55/vwp-reports.html tutorial the data 
>> from the DataProvider is passed as ResultSet to JasperReports. How can I 
>> pass the filtered data from a FilteredTableDataProvider?
>>
>> thanks, Axel
>>
>>
>>     
>
> can you provide code example?
>
>   

Wade Chandler | 1 Jul 15:08
Picon
Favicon

Re: Can't edit text after 10 - 30 min.

It has been a while, but I think I had a similar
problem on SuSE Linux on a desktop system which was
using a certain graphics card whose manufacture also
makes a proprietary driver which is not shipped with
XWindows. Once I got the driver and used it instead of
the generic XWindows (Xorg) driver things worked like
a charm. It was a higher end graphics card, and I
can't remember specifically which one it was. I do
remember the computer locking up after 10 or 30
minutes of certain Java applications running and I
would have to just kill the system because I couldn't
do anything after that point. Have you looked in your
system log files to see if any errors are being
reported?

Wade

--- NBLC <freebornforever <at> hotmail.com> wrote:

> 
> My system is Linux Ubuntu 7.04, Pentium D 2.8 GHz,
> 1.5 GB Memory.
> After using NetBeans 10 - 30 min. , I can't edit
> text in the IDE but 
> I still can cut & paste component in the IDE.
> I have to logout in order to restart XWindow very
> often.
> 
> Anyone has idea about this kind of problem?
> 
> Thanks in Advance,
> -- 
> View this message in context:
>
http://www.nabble.com/Can%27t-edit-text-after-10---30-min.-tf4006894.html#a11379309
> Sent from the Netbeans - Users mailing list archive
> at Nabble.com.
> 

Richard Sweeney | 1 Jul 15:18
Picon
Gravatar

Tomcat refuses to start when using Xerces 2.9 and Xalan 2.7

Hi,

I'm trying to use Xerces 2.9 and Xalan 2.7 in a web application. I'm 
packaging the following jars into my war file:

xerces.jar
xercesImpl.jar
xalan.jar
xml-apis.jar
serializer.jar

However, when I run my application, Tomcat logs the following error

java.lang.VerifyError: (class: org/apache/xerces/jaxp/SAXParserImpl, method: 
parse signature: (Lorg/xml/sax/InputSource;Lorg/xml/sax/HandlerBase;)V) 
Incompatible object argument for function call
        at org.apache.xerces.jaxp.SAXParserFactoryImpl.newSAXParser(Unknown 
Source)
        at 
org.apache.tomcat.util.digester.Digester.getParser(Digester.java:691)
        at 
org.apache.tomcat.util.digester.Digester.getXMLReader(Digester.java:899)
        at 
org.apache.tomcat.util.digester.Digester.parse(Digester.java:1561)
        at 
org.apache.catalina.startup.ContextConfig.processDefaultWebConfig(ContextConfig.java:676)
        at 
org.apache.catalina.startup.ContextConfig.defaultWebConfig(ContextConfig.java:613)
        at 
org.apache.catalina.startup.ContextConfig.start(ContextConfig.java:1033)
        ...

Does anyone have any suggestions about how I can get Tomcat to play nicely 
with Xerces/Xalan?

I'm using NetBeans 5.5.1 with JDK 1.6.0_01-b06 on Ubuntu (Feisty) Linux

Thanks

Richard

_________________________________________________________________
Win tickets to the sold out Live Earth concert!  http://liveearth.uk.msn.com


Gmane