Unused java source code clean up in a project

86 byte By PEEKAYa at 2007-11-27 2:14:59
Is there any tool so that I can clean up unused java source code in my project?

Web Server with Eclipse

442 byte By jamesEstona at 2007-11-27 1:21:08
Hello All,I'm fairly new to Eclipse, but have used the commercial Websphere products for years. My question is what is the best webserver to use with Eclipse 3.2 for running web apps locally for development? I've seen Tomcat listed, AS JBoss, a JBoss plugin, etc... , but what I'm looking for ...

Running Tomcat server in Debug mode?

266 byte By w4ca at 2007-11-27 0:27:31
Hi..I am using Eclipse IDE to develop a Portal project.. I am also using Tomcat server for the same without using the default servers provided by eclipse.. My question is how do I run the Tomcat server in the "debug" mode?Please help me..

GUI in Eclipse

419 byte By javaOraa at 2007-11-27 0:20:07
Hi I have downloaded the software by three segments;Eclipse build eclipse-SDK-3.2 (extracted first)EMF build 2.2.0: (plugings & features for main esclipse)GEF Build 3.2: (plugings & features for main esclipse)for MS Windows XPso,I run the program and it is OKthe problem is I can't ...

Confused about IDEs

336 byte By javaOraa at 2007-11-27 0:17:58
Dears,I want one to tell me what is the better Borland Jbuilder 2005 enterprise OR Eclipse IDEs for java development which is flexible for updating jdks .that most and popular for programmers?which one has higher percentage?Sorry PALs, my English is not so good, i hope you got ...

Debugging Tools and Techniques - JUnit test gives ClassCastException

2305 byte By haydnwa at 2007-11-26 23:03:46
I'm trying to migrate some JUnit 3.8 tests to 4.3. At the moment my tests run fine in Eclipse, but when I try to run them from the command line they fall over with a "ClassCastException" error. This happens even when all the actual tests are ignored, e.g.:package ac.nott.chem.lattice;import ...

One log file for each class with log4j

751 byte By a_potroa at 2007-11-26 21:25:54
Hello I want create one file for each class in my project. I have 2 paCkages with 2 class.p1|--class1_1|--class1_2p2|-- class2_1 |-- class2_2I wont create the next result with the logslog/p1|class1_1.log|class1_2.loglog/p2|class2_1.log|class2_2.log Well, I don't wont write one appender for ...

How to attach Source Code to Jprofiler?

442 byte By seemada at 2007-11-26 19:39:59
Hi,I am using Jprofiler to profile local application. But i am unable to map source code to deployed application.Is there any specific directory structure to be followed to save the source code so that at runtime jProfiler can point it to?I have tried specifying the external path in Source Path ...

Netbeans - Debugging client server application

688 byte By Jay-Suna at 2007-11-26 19:11:57
Hello,I am new to Java and netbeans. I am writing a Java NIO, client/server application. Trying to run and debug the same. I have two projects, one client and the other server. I start the server in debug mode, enable a breakpoint, switch the project so that client project is active. Then run ...

help! Eclipse can't debug.

650 byte By fans@javaa at 2007-11-26 19:00:55
hi, everybody.I can run my application program in the Eclipse 3.2, but when I debug the application, a popup window tell me "Cannot connect to VM". The massages on the console is as below:FATAL ERROR in native method: JDWP No transports initialized, jvmtiError=JVMTI_ERROR_INTERNAL(113)ERROR: ...

How to build GUIs in eclipse

207 byte By va97a at 2007-11-26 18:42:58
Hello everyoneI hope I am posting this in the right forum.Is there a way to build Java GUIs in eclipse w/o the developer having to code ? like JBuider does ?Thanks for the answers

Out of memory in java application

678 byte By jannyguya at 2007-11-26 17:52:36
Hi,I am continously getting out of memory in my java application. I collected the java heap dump and found major memory chunk ( >90%) of total java heap is taken by some "class [I", which is array of 'Inetger' objects and sometimes by "class [S", which is array of 'Short' ...

Debugging in Eclipse

558 byte By KinkyHagara at 2007-11-26 17:32:54
Hi,I don't know how to overcome an annoying thing of the Eclipse debugger. When my program crashes, normally, when you run it in debug mode, the program stops at the place where it will crash. But i use finally clauses in my code, and when my program runs in debug mode and it is going to crash ...

need to modify javascript: opo up menus do not view in IE

1164 byte By Designer1977a at 2007-11-26 17:31:25
I've created a web page which contains drop down menus. These drop down menus were created using the "Show Pop-Up Menu" behavior in Dreamweaver. I then saved the page as a Dreamweaver template and will be creating all the website pages from this template (rather, the client will be in ...

Keywords in JDK 5

350 byte By Raji_PMa at 2007-11-26 17:21:24
Hi All,I am new to JDK5. So could you please let me know what are all the new keywords introduced in JDK5 other than enum?. What are all the over all advantages/new features of JDK5 in all the areas over J2SDK 1.4.2?. It would be much helpful if you people could help me in getting this details. ...

Strange Netbeans 5.5 JPDA Error

1242 byte By Mike_Christoffa at 2007-11-26 16:53:49
Hi all.I downloaded and ran Netbeans 5.5 using a copy of JDK 5 update 11 I had also just downloaded. I've rebooted my PC since installing these two applications.However, when I run Netbeans 5.5 using JDK 5 update 11, I get the following error from Netbeans:Warning - could not install module ...

Verifying .java and .class files match

923 byte By el_chupanegrea at 2007-11-26 16:19:47
I have a bit of a strange situation in a team-working environment where many developers copy code to a production server. None of this code is in a Version Control System and I have been given the task of getting it into one (I've chosen Subversion, but that isnt important)The problem is, its ...

problem with my pc

378 byte By Mustaria at 2007-11-26 15:44:15
I have three message stating my problems in pc.They are1. A break point has been reached (0x80000003) occurred in the application atlocation 0x100038a62.A Microsoft Jscript runtime error: 'parant.get(...)' is null or not an object3. Visual c++ documentation on assertsI dont know how to handle ...

Java Plug-in Fatal Error

338 byte By ewalker_lehmana at 2007-11-26 14:36:07
Hello All,We use many vendor and inhouse addins in Excel. When two of these add-ins are loaded, we get the following error message: "Several Java Virtual Machines running in the same process caused an error".What are the best debuging tools to use to help resolve this error?Thanks and ...

With out web.xml file how we are developing servlets applications

30 byte By jsharathbabu@gmail.coma at 2007-11-26 13:53:08
reply for this question

How to write logs in to a file

375 byte By crra at 2007-10-3 11:50:54
Hi ,I want to write logs to a different files,using diffrent logger levels,that is if i specify DEBUG in the Log4J.props file it should write one file,if i specify the INFO it should write to another file,like that i need to write different files to different levels,Please help how to configure ...

debug symbols

159 byte By nathanmxa at 2007-10-3 11:50:00
Where can I get the latest debug symbols for 1.50.10 so that I can see the callstack in Visual Studio when there is a debug break that involves jvm.dll.

Making sense of hs_err_pid stack trace

1475 byte By jaspaxa at 2007-10-3 10:21:15
I'm attempting to debug a crash in a Java application running on Windows that occurs inside a native .dll. This question is not about the .dll itself, which is written in C++, but about how to use the hs_err_pid####.log file to figure out where to begin in the dll.The stack trace from my error ...

Migrating PetStore

2230 byte By ilagunaa at 2007-10-3 10:02:59
Hello,I am using asmigrate.sh version 2 (in a RedHat Linux Enterprise 4) to migrate Pet Store 1.4 to the Sun Java System Application Server 9 but I am getting the error bellow.Do you know any solution to this problem? Is there another way to get Pet Store 1.4 running on the new Java EE 5 ...

I am using Mustang(jdk6) to do heap walking, could anyone give some idear:)

205 byte By ChinaGirla at 2007-10-3 9:37:12
I would like to get all the objects in the current heap of JVM, I can connect to the vm, but I checked the api of jdk6(jdi), I could not find any methods which can do this. Looking for your help....

Eclipse - debug step is not synchronise with source code.

572 byte By baradjiibrahimaa at 2007-10-3 9:32:57
Hi,I have an web application witch run on tomcat, when Idebug the application, the debug steps are not synchronize with the source code. Same thing when I change the code , after making the jar file and putting it in the WEB-INF/lib of the web application, the modifications didn't take place. ...

How to force jvm.dll to accept arguments: -Xdebug

549 byte By bajafresha at 2007-10-3 9:00:31
Hello,I posted this in the New to Java section but didn't get many responses.I have a class which is utilized by a C++ application. The C++ app invokes Java somewhere inside via JNI. I have no access to the C++ source code to change the optionStrings.I want to use a remote debugger on the app, ...

Configuring directory path for fileappender in log4j.properties

829 byte By mk47a at 2007-10-3 8:41:28
I want to write log data to a file where the directory path of the file should be picked from a unix environmental variable. How can you configure this in log4j.properties?*******************************************************log4j.rootLogger=INFO, A# A is set to be a ...

Exception in thread

2694 byte By moggaa at 2007-10-3 8:28:38
Hi people,When running a file searching program that i have created i get a "Exception in thread "AWT-EventQueue-0" java.lang.ArrayIndexOutOfBoundsException: 1193" error. Problem is JAVA doesnt seem to know where the problem is coming from as the stack trace shows ((Unknown Source). The 1193 in ...

how to work on a differnt folder *not workspace* with eclipse

241 byte By xianwinwina at 2007-10-3 7:38:31
Does anyone know how to creat a project on eclipse but not on the workspace?I have a folder inwhich I must have all files init and can't figure it out how to work on this folder without importing to the workspace.thanks

Debugging a sourcecode that uses Antenna's "preprocessing" feature.

476 byte By Kakyoina at 2007-10-3 7:34:40
I wonder if there's a way to use Eclipse(or any other IDEs) to debug(stepping through, set breakpoints, etc.) a code that look something like this:////#ifdef conditionApublic class Screen implements Runnable//#elsepublic class Screen implements Runnable, CommandListener//I tried searching ...

The Static Method should be accessed in a static way

1015 byte By TheBigBada at 2007-10-3 6:42:41
Hi, I am working on a little java class that accesses another class to display the day of the week.The code looks like thisimport java.util.Calendar; import java.util.GregorianCalendar; import java.util.Scanner;public class DateTime{public static void main(String [] args){ WeekDay WD = new ...

Problem with rolling file appender

910 byte By hariscornera at 2007-10-3 6:31:06
Hi,I have a strange problem with rolling file appender ..more specially daily rolling file appender. Rolling is not happening based on date but rather randomly. After every few hits, a new log file is created and there seems to be no particular logic/pattern behind this rolling that i'm aware ...

Eclipse plugins problem

711 byte By ctinmnitaa at 2007-10-3 6:18:06
Hi guys,I just downloaded Eclipse, ran it and worked fine. But when I "installed" (simply copy of the files in the Eclipse dir) the WTP plugin, nothing happend. By the screenshots of a tutorial I understand that there should appear new options for creating specific types of projects. But that ...

Remote Debug in eclipse

249 byte By september_27a at 2007-10-3 5:58:07
Hello!I am new to eclipse...Can someone tell me how to use remote debug? I thought it is done by running "Debug..." after selecting the java file...Sorry for being so ignorant about this...I will really appreciate your help. Thank you.

how to set break points in jdb

393 byte By M-Aa at 2007-10-3 4:50:09
I need to debug an application with jdb. I am new to this tool. when ever I try to do anything I get an error, for example, if I do : "jbd MyClass"then try>classesI get.Command 'classes' is not valid until the VM is started with the 'run' commandI dont want to run the class before ...

Log4J - file appender (2/more file for same package/class)

2003 byte By Dhanasekarana at 2007-10-3 3:46:37
Hi All,My requirement is i want to create 2 log file for same package.EG: com.foo.barmy code:log4j.rootCategory= ALL, fileAppender,stdoutlog4j.appender.fileAppender=org.apache.log4j.RollingFileAppender ...

Better Search Capability For Eclipse?

745 byte By mjacobscaa at 2007-10-3 3:44:30
Hello,I don't like the Eclipse search functionality because it doesn't show you any text results when you run a search. In some IDE's, you can search on a term, and then a snippt of the text containing the term shows up next to the search results (JCreator, J++, Textpad). Sometimes this is ...

eclipse startup

381 byte By galapagosa at 2007-10-3 3:31:14
i,m using eclipse 3.1 . when i start the eclipse it shows msg box showing : found jdk1.3, required 1.4. But i have installed jdk 1.4.2now i have made a .bat file having following entry eclipse -vm C:\j2sdk1.4.2\bin\javaw -vmargs -Xmx256mnow when i run the bat file, eclipse starts.Plz can ...

How can i built a java application using java debug class on Log4J

1785 byte By archana_acharyaa at 2007-10-3 3:28:03
Hi,As java API support the MethodEntryEvent, using which I can get the automatic logging statements when the method is entered or exited as HelloExample.main(with argument type).Where HelloExample is the class name.Main is the method entered with its argument types.In some cases I have the o/p ...

Stack overflow error while running Jprofiler for Jboss 4.0.2

1433 byte By sachin_sachina at 2007-10-3 3:17:53
I am getting the below mentioned error while running Jprofiler for Jboss App server.My JVM version on linux is: 03:39:16,286 INFO [ServerInfo] Java version: 1.5.0_03,Sun Microsystems Inc.03:39:16,287 INFO [ServerInfo] Java VM: Java HotSpot(TM) Server VM 1.5.0_03-b07,Sun Microsystems ...

An unexpected exception has been detected in native code outside the VM.

13602 byte By SunnyAcca at 2007-10-3 2:52:32
When I'm trying to execute a java test script using Rational Functional Tester, after some screens the explorer crashes and The following file gets stored on my desktop:An unexpected exception has been detected in native code outside the VM.Unexpected Signal : unknown exception code ...

How can I return Icon Name from a certain Cell in a JavaTable

1432 byte By ddad01a at 2007-10-3 2:51:31
I'm attempting to test a Java Application using Mercury's Quick Test Professional. I've figure out how to get the font from the JavaTable, but I'm unable to get the Icon. Below is the code that I'm using, could you tell me what I'm doing wrong.'Set Object PropertiesSet Window_Property = ...

Want help to execute the programm of MethodEntryEvent

4093 byte By archana_acharyaa at 2007-10-3 2:32:49
Hi,I am trying to develop a programm for automatic logging in the programme. I took the hepl of java API and the Google site for searching some programms and successed also. but while running these sample programms i am getting classNotFound exception and some other exceptions also. i executed ...

Problem starting Eclipse....

1329 byte By cal02a at 2007-10-3 1:44:39
Hello Eclipse experts,I need your help. Eclipse was working fine before, but now I'm getting this error.Please help.Thanks in advance. I'm using, Eclipse version 3.1!SESSION 2006-07-31 14:40:34.751 --eclipse.buildId=unknownjava.version=1.4.2_08java.vendor=Sun Microsystems Inc.BootLoader ...

JVM core dump and attach to jsadebugd problem

2217 byte By painkillera at 2007-10-3 1:31:46
Hi everyone,I was looking for a way to dump the complete state of a JVM (all runing threads, objects, ...) and afterwards to analize the dumped data. I have found a thread( http://forum.java.sun.com/thread.jspa?threadID=735052) here in the forums with some explainations how this could be done ...

Eclipse IDE

162 byte By godfreda at 2007-10-3 0:55:00
i am new to java and eclipse, i want to know how to add add delete items in a list box. And how do i use the defaultlistbox model. thank you godfred

Hunting down program freeze

529 byte By Mark_McKaya at 2007-10-3 0:51:12
I have a huge program that is occassionally freezing for no obvious reason. Best I can fiure is that swing EventListeners are causing an infinite loop of callbacks. There is no error message generated, and if I try to profile my project, the profiler is unable to keep up with the strain. I'd ...

JAMon 2.1 SQL/JDBC Monitoring now available

375 byte By ssouzaa at 2007-10-3 0:41:32
For an easy way to monitor JDBC and SQL statements check out the new release of the JAMon open source project. JAMon 2.1 adds the ability to monitor the method calls of ANY Java interface, as well as SQL statments and JDBC calls. Both summary statistics and details of these operations will be ...

JDI losing events on VM exit

1024 byte By meemua at 2007-10-3 0:38:43
Hello all, I have been writing a simple debugger application using the JDI architecture where i start the debugger, the debugger listens for a remore VM to attach, then the debugger monitors the remote VM until the remote VM exits. I have been tracing method entries, but the JDI seems to lose ...