JDBC ODBC Servlets on JWS
i was attempting to use the JDBC ODBC driver along with Java Servlets operating on a Java Web Server. I have been getting an error when attempting to concurrently access the same servlet accessing a stored procedure in Oracle 8 which i have not been able to figure out. the details of the error message and log file have been attached below. Thanks *Connection.close 2 Statement(s) to close *Statement.close Free statement (SQLFreeStmt), hStmt=126696504, fOption=1 deregistering Statement sun.jdbc.odbc.JdbcOdbcCallableStatement@99ba8d7e *Statement.close Free statement (SQLFreeStmt), hStmt=126708608, fOption=1 deregistering Statement sun.jdbc.odbc.JdbcOdbcStatement@9f228d7e Disconnecting (SQLDisconnect), hDbc=9677232 Closing connection (SQLFreeConnect), hDbc=9677232 Closing environment (SQLFreeEnv), hEnv=9677104 ERROR - S1000 General error java.sql.SQLException: General error at sun.jdbc.odbc.JdbcOdbc.throwGenericSQLException(JdbcOdbc.java:4218) at sun.jdbc.odbc.JdbcOdbc.SQLFreeEnv(JdbcOdbc.java:1379) at sun.jdbc.odbc.JdbcOdbcDriver.closeConnection(JdbcOdbcDriver.java:833) at sun.jdbc.odbc.JdbcOdbcConnection.close(JdbcOdbcConnection.java:474) at Clock18.doGet(Compiled Code) at javax.servlet.http.HttpServlet.service(HttpServlet.java:715) at javax.servlet.http.HttpServlet.service(HttpServlet.java:840) at com.sun.server.ServletState.callService(ServletState.java:226) at com.sun.server.ServletManager.callServletService(ServletManager.java:936) at com.sun.server.http.servlet.InvokerServlet.service(InvokerServlet.java:137) at javax.servlet.http.HttpServlet.service(HttpServlet.java:840) at com.sun.server.ServletState.callService(ServletState.java:226) at com.sun.server.ServletManager.callServletService(ServletManager.java:936) at com.sun.server.ProcessingState.invokeTargetServlet(ProcessingState.java:423) at com.sun.server.http.HttpProcessingState.execute(HttpProcessingState.java:79) at com.sun.server.http.stages.Runner.process(Runner.java:79) at com.sun.server.ProcessingSupport.process(Compiled Code) at com.sun.server.Service.process(Service.java:204) at com.sun.server.http.HttpServiceHandler.handleRequest(HttpServiceHandler.java:374) at com.sun.server.http.HttpServiceHandler.handleRequest(Compiled Code) at com.sun.server.HandlerThread.run(Compiled Code) -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Help Required!!
Dear Sir, I have a problem and would be grateful if you could help me. My java applet application is working perfectly fine with MSIE4.0 and with Netscape on Linux6.0.But while executing it with Netscape 4.5 on windows, it gives all sorts of errors.i.e. it does not follow top down procedure. eg if the word "hello" has to be read from the datainputstream of the socket ,it will read in the order "hello" or "elhlo" or "lleho" and so on (all the combinations possible).This is happening with only the first word on the inputstream. I have the feeling that the thread does not get terminated properly.So when i create a new thread with the same name.As a result both the threads execute simultaneously and results in a mess. Can this be the problem??If so..whats the solution. Thanks, Manish [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Java on Red Hat linux 6.2
Hello Sir, A brief about myself. I am a computer programmer working on Vb from last 4 years. I recently installed Linux 6.2 from a monthly PC Quest in India. I have also done java 1.2.2 on Win platform. On this months CD i got java 1.2.2 on Linux from PC Quest. Since previuosly they put RHLinux 6.2, so the java1.2.2 version will be for that only. About Linux I have three users root user user1 on user account i made a directory call java and under that i installed jdk1.2.2. now i have /user/java/jdk1.2.2 i want to run java programs, so i have to compile them with javac command. i tried the command and got an error bash : javac command not found. then i referred a book java on linux and also searched thru ur website for help. i came to know i have to set env variables(JAVA_HOME, PATH and CLASSPATH) i used the following commands from my user account prompt: export JAVA_HOME=/java/jdk1.2.2 export PATH$JAVA_HOME/bin:$PATH (i also tried: export PATH=/java/jdk1.2.2/bin:$PATH) export CLASSPATH=JAVA_HOME/. but still when i want to compile a file with javac i get the same error..please respond .. i am waiting for a reply.. Amit Verma [EMAIL PROTECTED] __ Do You Yahoo!? Get Yahoo! Mail Free email you can access from anywhere! http://mail.yahoo.com/ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
thread limit
We are using Redhat Advanced Server 2.1 kernel 2.4.9-e.3smp java version 1.3.1_07 Bea Weblogic 6.2 sp4 4 processors 3GB RAM The problem we are running into is that when we invoke weblogic with -mx1536m jvm option flag we hit a native thread limit of 199 threads. If we invoke the JVM with no options we can generate about 938 threads, which is good but does not help us as the application is memory intensive. Is there a way to increase that 199 thread limit higher? Also does somebody know why more memory is inversely proptional to the number native threads that can be created? Any help is appreciated!! Thanks Amit This e-mail, including attachments, may include confidential and/or proprietary information, and may be used only by the person or entity to which it is addressed. If the reader of this e-mail is not the intended recipient or his or her authorized agent, the reader is hereby notified that any dissemination, distribution or copying of this e-mail is prohibited. If you have received this e-mail in error, please notify the sender by replying to this message and delete this e-mail immediately. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
-Xms option for appletviewer and plug-in
Hi, I downloaded the 1.4.2 Java SDK today, and I couldn't get it to work unless I used the "-Xms..." option with small heap sizes. The problem is, this option doesn't appear to work with "appletviewer", and I have no idea what to do about the Java plug-in (the plug-in control panel might have an option for this, but it requires appletviewer to run). Does any one have any tips? Thanks in advance, Amit Dubey -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: -Xms option for appletviewer and plug-in
Oops, I mean -Xmx... -Amit Amit Dubey wrote: Hi, I downloaded the 1.4.2 Java SDK today, and I couldn't get it to work unless I used the "-Xms..." option with small heap sizes. The problem is, this option doesn't appear to work with "appletviewer", and I have no idea what to do about the Java plug-in (the plug-in control panel might have an option for this, but it requires appletviewer to run). Does any one have any tips? Thanks in advance, Amit Dubey -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
JDK 1.4.2 fonts issue
We have a web application which generates RTFs dynamically (uses jFor). One of the RTFs contains the following symbol § (symbol for section). Now this symbol displays correctly if we start our JBoss server from the command line, but when it automatically starts (we have some automated scripts) starts via crontab the symbol does not display correctly! Now this used to work on JDK1.3, any ideas? I have tried copying the ttf files over from the jdk1.3 fonts dir to the jdk1.4.2 fonts dir, but no luck so far. I also tried copying the symbol.ttf from windows on to the linux server and no luck either. Any help appreciated. Thanks, Amit This e-mail, including attachments, may include confidential and/or proprietary information, and may be used only by the person or entity to which it is addressed. If the reader of this e-mail is not the intended recipient or his or her authorized agent, the reader is hereby notified that any dissemination, distribution or copying of this e-mail is prohibited. If you have received this e-mail in error, please notify the sender by replying to this message and delete this e-mail immediately. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
RE: JDK 1.4.2 fonts issue
Nevermind, I found the problem. The cron environment does not have the LANG=en_US env. var. set. Once I set that in my script everything works like a charm Thanks, Amit -Original Message- From: Amit Kirdatt Sent: Monday, July 12, 2004 8:57 AM To: [EMAIL PROTECTED] Subject: JDK 1.4.2 fonts issue We have a web application which generates RTFs dynamically (uses jFor). One of the RTFs contains the following symbol § (symbol for section). Now this symbol displays correctly if we start our JBoss server from the command line, but when it automatically starts (we have some automated scripts) starts via crontab the symbol does not display correctly! Now this used to work on JDK1.3, any ideas? I have tried copying the ttf files over from the jdk1.3 fonts dir to the jdk1.4.2 fonts dir, but no luck so far. I also tried copying the symbol.ttf from windows on to the linux server and no luck either. Any help appreciated. Thanks, Amit This e-mail, including attachments, may include confidential and/or proprietary information, and may be used only by the person or entity to which it is addressed. If the reader of this e-mail is not the intended recipient or his or her authorized agent, the reader is hereby notified that any dissemination, distribution or copying of this e-mail is prohibited. If you have received this e-mail in error, please notify the sender by replying to this message and delete this e-mail immediately. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED] "Secure Server" made the following annotations on 07/12/2004 09:54:26 AM --"This e-mail, including attachments, may include confidential and/or proprietary information, and may be used only by the person or entity to which it is addressed. If the reader of this e-mail is not the intended recipient or his or her authorized agent, the reader is hereby notified that any dissemination, distribution or copying of this e-mail is prohibited. If you have received this e-mail in error, please notify the sender by replying to this message and delete this e-mail immediately." == This e-mail, including attachments, may include confidential and/or proprietary information, and may be used only by the person or entity to which it is addressed. If the reader of this e-mail is not the intended recipient or his or her authorized agent, the reader is hereby notified that any dissemination, distribution or copying of this e-mail is prohibited. If you have received this e-mail in error, please notify the sender by replying to this message and delete this e-mail immediately. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]