voyent
debuging w/ JSC2 update1 and icefaces  XML
Forum Index -> Tools
Author Message
btamiroquai

Joined: 30/Nov/2006 00:00:00
Messages: 13
Offline


Ever since I integrated the icefaces components with my JSC, I can't run in debug mode...
I am getting this error:

Deployment of application ajaxTest completed successfully
/nfs/iil/iec/sws/work/btamir/Creator2/Projects/ajaxTest/nbproject/build-impl.xml:550: org.netbeans.api.debugger.jpda.DebuggerStartException: Connection refused
BUILD FAILED (total time: 9 seconds)

and the relevant line in my build-impl.xml is:

<nbjpdaconnect name="${name}" host="${jpda.host}" address="${jpda.address}" transport="${jpda.transport}">
<classpath>
<path path="${debug.classpath}:${ws.debug.classpaths}"/>
</classpath>
<sourcepath>
<path path="${web.docbase.dir}:${ws.web.docbase.dirs}"/>
</sourcepath>
</nbjpdaconnect>

did anyone encounter this before?
what does the connection refused say?
frank.ye

Joined: 26/Oct/2004 00:00:00
Messages: 709
Offline


Do you have a stack trace that we could look at?

JSC 2 update 1 debug mode works fine. so far I have not seen any problem with connector

You could also turn on the JDK 1.4 style logging under

D:\Program Files\Sun\Creator2_1\java\jre\lib

loggin.properties (same as JDK 1.4 logging options)

Could you attach a simple example that we could look at?

thanks
[Email]
btamiroquai

Joined: 30/Nov/2006 00:00:00
Messages: 13
Offline


Thanks for helping!
It happens to me ever since I installed the icefaces nbm file. it will happen with even the simplest page.
I work on linux.

Not sure I understood how to turn on the logging.
what should I change in logging.properties?

also how can I grab the stack trace?
Thanks,
frank.ye

Joined: 26/Oct/2004 00:00:00
Messages: 709
Offline


Design time logging:

Creator 2 compatible using JDK 1.4 logging, details info:
http://java.sun.com/j2se/1.4.2/docs/guide/util/logging/

Default installation and defaul JRE is here:
/opt/sun/Creator2_1/java/jre/lib/logging.properties


Run time logging:

Two options:

JDK 1.4 logging (turn on logging with Sun Application Server running )
log is available under (default domain creator )
/opt/sun/Creator2_1/SunAppServer8/domains/creator/logs/

Logging with log4j.

A bit of custom work needs to be done.
common-logging.jar (Log4JFactory class is removed). so it actually only common-logging-api.jar

So you need to install a separate
common-logging.jar (download from http://jakarta.apache.org/commons/logging/)

Add log4j. and log4j.properties.


Debug in run time works fine.

If you have any stack trace, I could help with....


thanks,
Frank
[Email]
 
Forum Index -> Tools
Go to:   
Powered by JForum 2.1.7ice © JForum Team