HTTP Con. Error java.net.BindException: Address already in use: connect

2942 byte By Lu-Siana at 2007-10-2 2:19:53
Hi, i want to test a program that requests to a servlet continuously, then save the response to SQL (SQL Server 2000) database. But there is a problem.After a while the program starts, it throws an exception and becomes throwing the same exception at each http request. I dont understand ...

handle

2273 byte By happyhelpera at 2007-10-2 2:23:30
Hi, I have written a program to periodly check a web site to read some information periodly (use Timer). The code is something like this:try {URL url = new URL(" http://www.cnn.com");BufferedReader in = new BufferedReader(new InputStreamReader(url.openStream()));String str;while ((str = ...

smartly handle "java.net.connectException: connection timed out" error?

2557 byte By happyhelpera at 2007-10-2 2:23:35
Hi, I have written a program to periodly check a web site to read some information periodly (use Timer). The code is posted below.The problem is: when the "connection timed out" exception happens, the program seems stopped to execute at next desired time (after 10min) but did not quit either... ...

java.lang.NoClassDefFoundError: javax/ejb/EJBObject

7786 byte By mohamed_jaleela at 2007-10-2 2:24:54
Hello:Error while running my application which was deployed into the jakarta-tomcat-5.0.28 application server ?IDE Eclipse 3.1 (MyEclipse4.0)I would greatly appreciate if you could help me to solve this issue!!!!!!!!!!!!!!!!!!!!!!Error as follows:2005-10-13 17:41:52 StandardContext[/cst]Marking ...

Can someone help me with java.lang.NoSuchMethodError

884 byte By smerinoa at 2007-10-2 2:28:33
Hello ,I am developing a JSP page that calls a method from a Java class that I created (Helper.class) and compiles properly.Helper.java makes part of a package named package wtcore.jsp.admin.useraccount :package wtcore.jsp.admin.useraccount;public class Helper { public static WTUser ...

Error: Class Unavailable. CannotFindServletInstanceForPath

571 byte By nusaira at 2007-10-2 2:29:29
I am using Eclipse as IDE and when i ran my servlet, In the log file present in logs folder of tomcat5.0 following is the detail of the error.2005-10-14 19:45:06 StandardContext[/MyFirstProject]Marking servlet org.apache.catalina.INVOKER.HelloWorld as unavailable2005-10-14 19:45:06 ...

Symbol cannot be found

3006 byte By Cristinaaa19a at 2007-10-2 2:31:14
Okay i know that this has been in the forum but i don't think it is the same for me this is my program:/**Cristina Burns Id # 225Cs219CS219Grades225 Program Week 2This program will calculate exams scores and averages*/import java.util.*;public class CS219Grades225{/** main method *//** Uses an ...

unstripped version of java

171 byte By yash203a at 2007-10-2 2:32:25
I have a core generated from stripped version of java 1.4.1_02-06b,where can I get the unstripped version of java of same build so that I can debug the core.

LWJGL.DLL Invalid access to memory location

1798 byte By Anthony249a at 2007-10-2 2:34:29
hi, can anyone help me? I get this error when trying to load a java program:java.lang.UnsatisfiedLinkError: C:\Documents and Settings\CAM ANH\Application Data\Sun\Java\Deployment\javaws\cache\http\D67.18.221.154\P80\DM~comcallo\DMJARS\DMGame\RNDLL_Win32.jar\lwjgl.dll: Invalid access to memory ...

JVM Launcher error

134 byte By rafiqya at 2007-10-2 2:35:09
When i try to run a JAR file i get the following error:failed to load Main-class manifest attribute from - .... pls help

An unexpected error has been detected by HotSpot Virtual Machine:

12506 byte By paintlady1060a at 2007-10-2 2:36:26
this is the code I get and keep getting booted from pogo and other games using Java I have JSE 1.5 An unexpected error has been detected by HotSpot Virtual Machine:## Internal Error (4E4D4554484F440E4350500521), pid=-918383, tid=4294365245## Java VM: Java HotSpot(TM) Client VM (1.5.0_04-b05 ...

Error while importing user created packages

2695 byte By shantanu_gga at 2007-10-2 2:36:36
Hi ,Complexity NoviceProblem Description-I am trying to run a simple package related program.The package file is perfectly compiled and stored in the required path.When I try to access this package from another file -- the import statement does not seem to be working.It reports an error. ...

why objects are declared as both private and static at the same time

388 byte By nusaira at 2007-10-2 2:37:36
Static means global and private means access within that class only. Then how come they both be applied in one method.following line describes the method which is declared both as static and final. Somebody please give me solution.private static Object lookupHome(java.util.Hashtable ...

External process

766 byte By aannolfia at 2007-10-2 2:40:28
Hello I am trying t execute an external python script. The script produces some output to screenwhat I do (as suggested is other posts) is the following:Process p = Runtime.getRuntime().exec("myPythonScript.py"); BufferedReader input = new BufferedReader(new ...

handling sql query in java where i'm extracting reords from 3 tables

397 byte By kalyan_82a at 2007-10-2 2:44:34
hi to one and all,i want to implement the sql query given below in jsp in execute query statement . the query is working in sql but not when implemented using jsp. please help me in resolving this. QuerySELECT e.Department , e.ETitle , s.basic , s.da, c.address1 , c.address2 from Employee e , ...

capturing ctrl-C exception

1505 byte By wsayyeda at 2007-10-2 2:47:36
Hello -I'm new to Java so maybe this is a basic question: how can I capture ctrl-C in my program?I used the following code in main() but it doesn't seem to work:try {parseCmdline(args);validateCmdline();do { line=getStatsLine(counter); outputLine(line, counter); sleepThd.sleep(interval * ...

NullPointerException Error

13763 byte By naazraela at 2007-10-2 2:49:36
i'm creating a program that will be able to create and display a sort of gradebook...and i'm having problems with it.both the classes i'm using are attached.to begin the program, the program creates an array of Student objects. The student objects contain various information, such as a first ...

Recursive File Search triggering FileNotFoundException

1540 byte By tidalwava at 2007-10-2 2:50:45
I've been working on a java clone of the media library component of Winamp, which searches for and lets you sort through music files on your computer. My program is called jMediaCat, and it is available from http://jmediacat.sf.net (but don't go there for the latest version, because it's not ...

HELP!!

3725 byte By Kyleusa at 2007-10-2 2:55:08
Im having priblems with tis little program im writing. Im just a beginer and im so confused lol can some one plz help me. Here's the programthnxspublic class StringDemo {public static void main(String[] args) {String s1;String s2;/** toUpperCase() converts the given* String to ...

DocFlex/Javadoc 1.3 released -- template-driven multi-format doclet

3539 byte By leonid_rudya at 2007-10-2 2:55:46
Dear Javadoc users,FILIGRIS WORKS is pleased to announce release of DocFlex/Javadoc version 1.3DocFlex/Javadoc is both a template-driven multi-format Javadoc doclet and a visual graphic Template Designer for it. DocFlex/Javadoc is able to generate Java API documentation or anything else ...

Program it's OK but don't run!

12405 byte By hmbrazila at 2007-10-2 2:57:00
-Here's the Java Code:-/* * LoginSplash.java *///package samples;import java.awt.*;import java.awt.geom.*;import java.awt.event.*;import java.util.*;import javax.swing.*;import samples.accessory.StringGridBagLayout;/** * Sample login splash screen */public class LoginSplash extends JDialog ...

simpleCoding

280 byte By nusaira at 2007-10-2 2:57:44
I using session concept and selecting values from html page, which i pass it to servlet. Now the coding i need is the "If already selected value is once again chosen then it must print 'this element alreay exist in cart'".Somebody please provide me with that code.

Always exception? Whats wrong?

1543 byte By HCLPfana at 2007-10-2 3:00:46
Hey, I have a small method o found online that i am trying to implement into my MS paint style program in which a button allows you to save the program's screen as a jpg. Heres what I have but for some reason the exception is always thrown and never the screenshot part. Even if i comment out ...

HELP!!! load: class vscroller.class not found.

2453 byte By a319200a at 2007-10-2 3:06:37
Hello!This is my first time in this forum and i hope anyone can help me.When i open some http pages java doesn't works and i'm able to see the following message at java console:load: class vscroller.class not found.java.lang.ClassNotFoundException: vscroller.classat ...

Error in Unit Testing

1146 byte By JazSaca at 2007-10-2 3:07:59
I included all the necessary jar files.....but still finding this problem.....Can anyone tell me the right cause for this problem...Thanks in Advance........Here is the Error :--Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/commons/logging/LogFactoryat ...

Indent lines in my docs

266 byte By szczypiora at 2007-10-2 3:14:32
I have a block of code which I surround with the <code> tag. However, the lines of code after while, if and so on are not indented. Could anybody tell me which tag I should use at the beginning of the line to get that line indented? Or another solution?

weird cannot find symbol error

1038 byte By Fed83a at 2007-10-2 3:14:37
hello everyoneI have a little problem with a class I'm trying to compilethis is the code that generates the error:public class EncoderOutputStream extends FilterOutputStream{protected ByteEncDec encdec;EncoderOutputStream( OutputStream out , ByteEncDec enc) {super(out);encdec = enc;}}the error ...

test

18 byte By Allena at 2007-10-2 3:22:43
test

JNI Error

2848 byte By neronjoseyanesa at 2007-10-2 3:26:42
Hi when a I tried to run the code java I have the following error:An unexpected exception has been detected in native code outside the VM.Unexpected Signal : EXCEPTION_ACCESS_VIOLATION occurred at PC=0x100093b3Function name=_outputLibrary=C:\Documents and ...

500 Servlet Exception - java.lang.NullPointerException

1052 byte By Niko_Wa at 2007-10-2 3:26:59
Hi, I went to this site : http://www.arco.ifema.es/index.jsp# and then clicked on "English version". Then I got the following page:500 Servlet Exceptionjava.lang.NullPointerExceptionat _idioma__jsp._jspService(/idioma.jsp:15)at com.caucho.jsp.JavaPage.service(JavaPage.java:75)at ...

A problem about javadoc

609 byte By jbbskilla at 2007-10-2 3:29:01
toRadianssee this java doc of document of jdk 1.5public static double toRadians(double angdeg)Converts an angle measured in degrees to an approximately equivalent angle measured in radians. The conversion from degrees to radians is generally inexact.Parameters:angdeg - an angle, in degrees ...

Converting html to pdf

180 byte By Deepu3003a at 2007-10-2 3:29:36
Hi All, I want to convert html pages to pdf using java. Can anyone help me in converting html pages to pdf documents(Using java code).Thanks in advance, Deepu.

print values to console

191 byte By acetoleveragea at 2007-10-2 3:33:44
Please tell me how do u print values of a collection or an arraylist to console to check what a collection or an arraylist contains in itfor debuggingany help appreciated

Problems with JTree

883 byte By sam@Rollaa at 2007-10-2 3:36:12
Hi all,I have a JTree application which is deployed in a client server environment. It is an Applet where I need to form a Tree structure showing argumentation.When I try adding a node to another node, I get the following exception.java.lang.NumberFormatException: For input string: "ct"I was ...

Error 1311 Need Help ASAP

1219 byte By alien2413a at 2007-10-2 3:38:58
Hello all, I am completely new to Java and only moderately capable on my PC. While trying to get my text-to-speech program on my word processor working it informed me that I needed Java Access Bridge 1.4.etc or higher to use it.I downloaded this program and tried to install it. As it was ...

java.lang.NoClassDefFoundError: Simulation Help please!

2531 byte By Peonnaira at 2007-10-2 3:39:12
java.lang.NoClassDefFoundError: Simulationat SimulationController.setEnv(SimulationController.java)at EnvironmentController.setEnv(EnvironmentController.java)at EnvironmentController.openFile(EnvironmentController.java)at MBSGUIFrame$1.actionPerformed(MBSGUIFrame.java)at ...

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

812 byte By Renton80a at 2007-10-2 3:39:37
I have the following setup.I've installed the jdk to the c:\ drive of my machine in a folder namedjdk1.5.0_05I set up the environment as follows:path = c:\jdk1.5.0_05\binset classpath =I store my own programs in a folder on the c:\ drive named workareaMy problem is as follows:From within the ...

Javadoc Ant task complains package does not exist

3142 byte By sbarr10a at 2007-10-2 3:40:30
Hi everybody,I am using the Javadoc task in Ant 1.6.1. All worked well until I modified the project /lib directory so that certain jars are versioned by JVM, as follows:/lib/jvm1.4/utility-1.4.jarThe source code builds and executes fine with my changes, but now javadoc complains that the ...

EasyReader class problem

1522 byte By Zemlora at 2007-10-2 3:41:37
I am having a small problems with EasyReader. I am just a highschool student learning Java, I am only just learning about objects hehe, well This is the begining of a program of mine for school.class ch5ex1{public static EasyReader console = new EasyReader();public static void main(String [] ...

Another NoClassDefFoundError

1189 byte By ZedTheHeada at 2007-10-2 3:44:47
I'm new to java so I'm not sure whether this should be in the newbie forum.I'm using netbeans and I'm trying to write my first java application. My app compiles without any errors, but it won't run when double-clicked. Running the app from the command line (java -jar filename.jar) ...

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

201 byte By mrwrong87@aol.coma at 2007-10-2 3:47:59
when ever i try to load my bot on my computer it seems to ssay Exception in thread "main" java.lang.NoClassDefFoundError: mudclient i was wondering what i can do to fix this and make my bot work

getting error dialog: General Exception

4166 byte By arsenal11a at 2007-10-2 3:49:33
hi recently my java has stopped running all applets and all i get is a dialog box saying "general exception". this happens when it shows the java logo in the applet window. i have copy/pasted the contents of the console:Java Plug-in 1.5.0_05Using JRE version 1.5.0_05 Java HotSpot(TM) Client ...

Combine Exceptions

1064 byte By pennstumpa at 2007-10-2 3:52:56
I have a try and catch inside another catch. I would like to be able to throw back the details of the original exception and the exception that lead to the 2nd exception in the catch.Can I combine both exceptions into one exception, to pass the details of both? Labeled as 'e3' ...

java.lang.NullPointerException

1121 byte By Fred1237a at 2007-10-2 3:53:07
Using a program called ProMedicus Scheduler, v1.1.0.2when i try a 'test run' within the program i get a 'Fatal Application Error'that sais the following:Invocation of this java application has caused an InvocationTargetException. This application wil now exit. (LAX)With the following ...

javax.swing.text.JTextComponent cannot be applied to (byte)

275 byte By Beginner_Garya at 2007-10-2 3:53:37
may i get some tips on how to get an output with swing for byte?Below is my full errorFileDemonstration.java:81: setText(java.lang.String) in javax.swing.text.JTextComponent cannot be applied to (byte) outputArea.setText(ch);^1 error

Big problem and urgen

352 byte By Ozonea at 2007-10-2 3:55:25
i write many programs on college and working perfect on college computers but when i try to run the programs on my pc this error occurs java.lang.NoClassDefFoundError: ''PROGRAMM NAME''Exception in thread "main" >Exit code: 1am using Scite as java editor. i seted the path tha is ...

linksourcetab option vanished

161 byte By eyegonea at 2007-10-2 3:56:24
The -linksourcetab option appears to have vanished in 1.5, without so much as amention. Anyone know of a way to achieve the same effect?TIA!

Re-directing System.out

565 byte By semorri_a at 2007-10-2 3:56:58
I have a GUI with an output window where I re-direct System.out and System.err. I use System.setOut and System.setErr to do this. It works just fine until an exception is thrown. The first part of the exception is printed in the original console (the command prompt if running from the command ...

Random Text Help

4078 byte By ThinSpirita at 2007-10-2 4:03:02
Ok, I've been looking at this code for a couple days and still have no idea where I went wrong. This is a class that is supposed to draw a specified message a certain amount of times at random coordinates in a Jframe. The only problem is it never draws anything. It's almost like the loop is ...

Error: Cannot resolve symbol

6453 byte By TonyLia at 2007-10-2 4:07:23
Sorry. I try to declare the variables.However, I can't pass the variable "connectionSocket" from "WebServer.java" to "ServerThread.java".How can I pass it successfully? Thank You.import java.io.* ;import java.net.* ;import java.util.* ;public final class WebServer{String ...