| source code for ojdbc14.jar |
|
 |
Index ‹ java-programmer
|
- Previous
- 2
- JVM error while compiling OOoHi folks,
I just tried to upgrade my OpenOffice to the latest version (ports cvsupped
yesterday) and got the following error:
[...]
regmerge ../unxfbsd.pro/bin/regcomp.rdb /
/usr/tmp/usr/ports/german/openoffice-1
.1/work/oo_1.1_src/solver/645/unxfbsd.pro/bin/udkapi.rdb
merging registry
"/usr/tmp/usr/ports/german/openoffice-1.1/work/oo_1.1_src/solve
r/645/unxfbsd.pro/bin/udkapi.rdb" under key "/" in registry
"../unxfbsd.pro/bin/
regcomp.rdb".
setenv CLASSPATH
/usr/tmp/usr/ports/german/openoffice-1.1/work/oo_1.1_src/solver
/645/unxfbsd.pro/bin/unoil.jar:/usr/tmp/usr/ports/german/openoffice-1.1/work/oo_
1.1_src/solver/645/unxfbsd.pro/bin/java_uno.jar:/usr/tmp/usr/ports/german/openof
fice-1.1/work/oo_1.1_src/solver/645/unxfbsd.pro/bin/ridl.jar:/usr/tmp/usr/ports/
german/openoffice-1.1/work/oo_1.1_src/solver/645/unxfbsd.pro/bin/sandbox.jar:/us
r/tmp/usr/ports/german/openoffice-1.1/work/oo_1.1_src/solver/645/unxfbsd.pro/bin
/jurt.jar:/usr/tmp/usr/ports/german/openoffice-1.1/work/oo_1.1_src/solver/645/un
xfbsd.pro/lib:/usr/local/jdk1.4.2/jre/lib/rt.jar:. && setenv
LD_LIBRARY_PATH .
:/usr/tmp/usr/ports/german/openoffice-1.1/work/oo_1.1_src/solenv/unxfbsd.pro/lib
:/usr/local/jdk1.4.2/jre/lib/i386:/usr/local/jdk1.4.2/jre/lib/i386/client:/usr/l
ocal/jdk1.4.2/jre/lib/i386/native_threads:../lib:/usr/tmp/usr/ports/german/openo
ffice-1.1/work/oo_1.1_src/solver/645/unxfbsd.pro/lib:: && \
regcomp -br ../unxfbsd.pro/bin/regcomp.rdb
\
-register \
-r ../unxfbsd.pro/bin/setup_services.tmp
\
-l com.sun.star.loader.Java2 \
-env:UNO_JAVA_COMPPATH=file:///usr/tmp/usr/ports/german/
openoffice-1.1/work/oo_1.1_src/solver/645/unxfbsd.pro/bin \
-c
vnd.sun.star.expand:\$UNO_JAVA_COMPPATH/java_uno_acce
ssbridge.jar
#
# HotSpot Virtual Machine Error, Internal Error
# Please report this error to
# email***@***.com mailing list
#
# Java VM: Java HotSpot(TM) Client VM (1.4.2-p6-root_17_jan_2004_19_33 mixed
mod
e)
#
# Error ID: 4F533F4253440E4350500063
#
Heap at VM Abort:
Heap
Here the portupgrade process hangs. I've got a regcomp process running
that takes 100% cpu load. Are there any hints how to fix this?
Installed jdk: jdk-1.4.2p6_1
I see that p6_3 is already out. Would updating to this one help me in any
way?
cu
Gerrit
--
_______________________________________________
email***@***.com mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-java
To unsubscribe, send any mail to "email***@***.com"
- 2
- GNU (or GNL or public domain) Checkers AIHi, for a christmas present for my grandpa I would like to make him a
checkers game. He had a checkers game in Windows 3.1 that was exceptionally
simple - he gets confused when something isn't too terribly easy.
We've tried to find him new checkers games, but frankly they just plain
suck.
I can make the GUI, and everything else - but he is a very good player of
checkers, so I will need a fairly good AI (preferably that has some
randomness involved, as well as an adjustable level of play)
I search google for GNU Checkers AI and got tons of results, and many many
dead ends.
Does someone know off hand where I could grab a good AI - or maybe even a
full open source checkers game?
--
LTP
- 3
- StreamCorruptedI have a server which writes various objects to an ObjectOutputStream
over a TCP connection to the client in response to requests. In the
case of certain objects, the client throws StreamCorruptedException.
Various objects present no problem, but certain objects do. Problem
started with an instance of this class...
class MMState implements java.io.Serializable {
Vector clientRq = new Vector();
HashMap userMap = new HashMap();
HashMap muSessMap = new HashMap();
public String toString () {
return "MMState:"
+"\nuserMap:\n"+userMap
+"\nmuSessMap:\n"+muSessMap
+"\nclientRq:\n"+clientRq;
}
}
----------------
I can send it successfully if I do toString() first. But sending object
causes client to throw the exception. Variations are described in
comments embedded in server code fragment below.
Interestingly, If I run the client on a separate system (JVM build
1.3.1_04-b02), it works OK. It only fails on a system with JVM build
1.4.2-b28. It matters not which system the server runs on, or whether
it is on the same box as the client.
The client code fragment from the superclass which does the readObject
is pasted below, FWIW.
I speculated that perhaps a timing issue is causing the object to be
modified in another thread during the writeObject. But I've used
synchronized to eliminate this possibility, to no avail.
---------------------------------------------------------------------------
SERVER SIDE
public boolean processSpecificRequest (Object o, boolean endBatch) {
synchronized (mother.userMap) {
M.moanln(M.XACTION+M.IPC+M.TRACE+4,"Msg from
("+clientID+"): "+o);
Object stat = null;
if (o instanceof MMWatchGroup) {
MMWatchGroup wg = (MMWatchGroup)o;
if (userService == null) stat = "Not logged in.";
else {
MMUserService us = (MMUserService)userService; //
better be!
us.muWatchList.addElement(wg);
stat = "Watch for "+wg+" added";
}
} else if (o instanceof RTUAIntervalTrack) stat = qU(o,false);
else if (o instanceof RouteDescription) stat = qU(o,false);
else if (o instanceof MUTell) stat = qU(o,true);
else if (o instanceof String) {
String s = (String)o;
if (s.equals("sdump")) {
M.moanln(M.XACTION+M.IPC+M.INFO,"sdump request");
// !! various forms of Exception occur in receiver (client) w/ commented
cases,
// including EOF and StreamCorrupted (don't know why).
// Works ok with toString() as work-around.
//stat = mms;
//stat = mms.clientRq; // chokes it!!
//stat = mms.userMap; // coughs (EOF) 1st time, then OK
//stat = mms.muSessMap; // OK
stat = mms.toString(); // this is OK
} else if (s.equals("splat")) {
M.moanln(M.XACTION+M.IPC+M.INFO,"splat request");
stat = "Splat, Joe\n";
} else
stat = "Unrecognized MobileMon request: "+s;
} else
stat = "Unrecognized MobileMon request: "+o;
if (stat == null) {
stat = "RQ processor return null stat!";
M.moanln(M.XACTION+M.IPC+M.ERROR,stat.toString());
}
M.moanln(M.XACTION+M.IPC+M.TRACE,"MM
response:\n"+stat.toString());
try {
oos.writeObject(stat); oos.flush();
}
catch (IOException ioe) {
M.moanln(M.XACTION+M.ERROR,"Cough. write: "+ioe);
}
// !! handle endbatch intelligently, move response to
processing above
// !! provide response method in this class
// !! enqueue object which includes xaction object +
MCSession obj
}
return true;
}
---------------------------------------------------------------------
CLIENT SIDE FRAGMENT
public Object receive (int timeoutms) {
if (!connected) return null;
try {
cSock.setSoTimeout(timeoutms);
} catch (SocketException se) {
M.moanln("Failed to set client socket timeout: "+se);
return null;
}
Object reply = null;
try {
try {
reply = ois.readObject();
} catch (InterruptedIOException iioe) {
M.moanln(M.IPC+M.TRACE+5,"Socket timeout");
reply = null; // !!maybe should send special object for this
}
} catch (Exception e) {
M.moanln(M.IPC+M.ERROR,"Exception in read object: "+e);
return e;
}
//M.moanln(M.IPC+M.TRACE,"Reply: "+reply);
return reply;
}
- 4
- 5
- JTextArea n right alignment of textHi to all
I have to align on the right side of the JTextArea some text, i try to do it
but i had no success.
I have to use expressly JTextArea, 'couse it has append method.
Thanks a lot
N|O.
- 9
- Design tool for "multi-thread"I am looking for a tool to design/describe the relation/sequence/interaction
amount threads.
What kind of diagram do poeple normally use to do the analysis/design/model
on multi-thread application?
Any suggestion for a design tool?
thanks
- 11
- 11
- How to open Choice menu for an eventI want to know how to open the Choice menu when an event occured. an event
could be actionevent, mouseevent, etc. Is there a function to call to cause
the Choice menu to open up?
- 11
- eclipse : java language helpWalter Mitty <email***@***.com> brightened my day with his incisive wit when in
news:email***@***.com he conjectured that:
>
> is there a way to bring up help for java keywords, not just the class
> heirarchy, using the eclipse IDE
(eclipse java jdk online context help)
well, again, after much searching I found this to help me bring up the
class help in a browser as opposed to the less powerful pop up "infopop"
http://tinyurl.com/gv8g
I hope you don't mind me answering my own questions : it's in the hope
others might find answers in google at a later date.
--
Walter Mitty.
- 11
- Actionlisstenerhi
i need to create an applet a GUI IfBut.java which contains three
buttons, Red, Green and Blue
which when clicked will fill the circle with the respective color.
im stuck at the actionPerformed(ActionEvent e) & paint(Graphics g) {
part...dun know wat to put...
any ideas?
import java.awt.*;
import java.applet.*;
import java.awt.event.*;
public class Lab14 extends Applet implements ActionListener {
Button b2, b1,b3;
public void init() {
Panel p = new Panel( );
b1 = new Button( "Red" );
b2 =new Button( "Green" );
b3 = new Button( "Blue" );
p.setLayout( new FlowLayout( ) );
p.add( b1 );
p.add( b2 );
p.add( b3 );
add( p );
b1.addActionListener(this);
b2.addActionListener(this);
b3.addActionListener(this);
}
}
public void actionPerformed(ActionEvent e)
{
}
public void paint(Graphics g) {
g.setColor (Color.red);
g.fillOval(20,140,100,100);
}
}
- 11
- Creating a virtual keyboard for touchscreens in javaI need to create a "virtual keyboard" that can be used with
touchscreens. The idea is that if someone "touches" or clicks on a
button with the letter 'A' then an 'A' will be inserted into the text
field where the cursor is.
I'm not sure how to map the action of the button to the text field.
Any help would be appreciated.
aj
- 13
- 14
- Swing-servlet communication?I have Swing and jsp/servlet applications.
Now I need to make intercommunication.
How to?
Can someone give me any URL where is Swing-servlet communication explained
in detail.
And is there any (free/open source) library that simplify that connection?
I was found only this http://www.innovation.ch/java/HTTPClient/ , but last
changes was in 6. May 2001!
Any newer?
Thanks.
- 14
- 3rd Virtual Machine Research & Technology Symposium (VM '04)--------------------------------------------------------------
3rd Virtual Machine Research & Technology Symposium (VM '04)
May 6-7, 2004, San Jose, CA, USA
http://www.usenix.org/vm04/progc/
Sponsored by USENIX, in cooperation with ACM SIGPLAN
--------------------------------------------------------------
Dear Colleague,
I'm writing to remind you that the VM '04 Early Bird Registration
deadline is quickly approaching. Register by April 16 and save $150:
http://www.usenix.org/vm04/progc/
The 3rd Virtual Machine Research & Technology Symposium (VM '04) will be
held May 6-7, 2004, in San Jose, CA.
VM '04 is the place to network with other VM implementers and share
research and advanced engineering techniques applicable to the
development of Java and other Virtual Machines.
This year's innovative program includes:
--Keynotes by Mendel Rosenblum, Associate Professor of Computer Science,
Stanford University, and Miguel de Icaza, co-founder and CTO of Ximian.
--Fourteen papers on topics ranging from Virtual Machine Architecture
and Performance, to Virtualization, Dynamic Techniques, and Virtual Grids.
We offer group discounts for organizations sending 5 or more employees
to VM '04.
Please contact email***@***.com for more details.
VM '04 promises to be an exciting meeting, presenting the best of
current research on virtual machines. I hope you will join us in San
Jose. Please visit the symposium Web site at
http://www.usenix.org/vm04/progc/ to see the full program and register
today!
Sincerely,
Tarek S. Abdelrahman, University of Toronto
VM '04 Program Chair
NOTICE: The VM '04 Hotel Room Rate has just been reduced to $109
single/double, $129 triple, and $139 quad. Visit
http://hyattsanjose.hyatt.com/groupbooking/usnx to easily reserve your
hotel room within the USENIX room block.
-------------------------------------------------------------
SAVE THE DATE!
3rd Virtual Machine Research & Technology Symposium (VM '04)
May 6-7, 2004, San Jose, CA, USA
http://www.usenix.org/vm04/progc/
Sponsored by USENIX, in cooperation with ACM SIGPLAN
--------------------------------------------------------------
- 16
- Implementing a view via a TreeCellRenderer in a JTreeHi!
I have a model of a tree (represented as a JTree) and I want to display
only certain nodes of this tree. My problem is that I want to determine
in the TreeCellRenderer whether this tree node should be displayed.
If I return a null reference in getTreeCellRendererComponent(...) a
NullPointerException is thrown. If I call in the TreeCellRenderer
setVisible(false) on the returned Component, it is displayed nevertheless.
Does anybody know how to accomplish this?
Thanks!
Phil
|
| Author |
Message |
ulasergin

|
Posted: 2005-2-1 20:50:00 |
Top |
java-programmer, source code for ojdbc14.jar
Is the source code for oracle driver available
|
| |
|
| |
 |
asb

|
Posted: 2005-2-1 22:10:00 |
Top |
java-programmer >> source code for ojdbc14.jar
email***@***.com wrote in comp.lang.java.programmer:
> Is the source code for oracle driver available
No.
--
Antti S. Brax Rullalautailu pitæ»— lapset poissa ladulta
http://www.iki.fi/asb/ http://www.cs.helsinki.fi/u/abrax/hlb/
"Disconnect this cable to shorten, re-connect to lengthen."
-- Instructions on Logitech's USB mouse extension cord.
|
| |
|
| |
 |
| |
 |
Index ‹ java-programmer |
- Next
- 1
- SQL Server 2000 -> JDBC Date TimeSeems to me that the problems is in the translation. I recommend that you
do a cast in the request. I.E. Cast '15/07/2005 AS DATETIME)
mlb
- 2
- JDBC javax.sql.RowSetListener API QuestionI'm implementing a TableModel for my Java Swing application that
listens for the changes in a javax.sql.RowSet object so they can be
displayed in a JTable. It seems there is a limitation in the
RowSetListener API preventing my program from obtaining the information
it needs to keep the JTable in sync with the RowSet.
I can register a RowSetListener with the RowSet object. Whenever a row
is updated, inserted or deleted, it's rowChanged(RowSetEvent event)
method is called.
The problem is that I am unable to distinguish between the three events
(insertRow, updateRow or deleteRow) or obtain the relevant row number
in my implementation of rowChanged(RowSetEvent event).
The only thing the RowSetEvent object that gets passed into rowChanged
seems to tell me is the source RowSet object of the event. I need to
be able to tell which of the three events occured and the relevant row
number so I can so I can notify the JTable by calling the appropriate
fireTableRowsInserted(), fireTableRowsUpdated(), or
fireTablesRowsDeleted() method.
How do I obtain this information from the API? If there is a better
group I should post this question to, please let me know.
Thanks,
Bruce
- 3
- 4
- XML tags in JSPHi,
I need to parse and transform xml in a jps. I have un variable that is
an InputStream that contains the XML.
I tried standard library and xtags library with no luck.
<c:out value="${eo.repositoryItem.dataSource.inputStream}" /> show me
that it is an inputStream
anf I tried
<xtags:parse reader="${eo.repositoryItem.dataSource.inputStream}" />
xtags version
<x:parse xml="${eo.repositoryItem.dataSource.inputStream}" /> jstl version
What's wrong ?
thanks
Frederic
- 5
- Conditional CompileTor Iver Wilhelmsen <email***@***.com> wrote:
> Graham Matthews <email***@***.com> writes:
>
> > Try compiling the above code on a non OS-X platform. It will complain
> > that it can't find classes referenced in the "use_an_apple_extension"
> > bit.
>
> Unless it's a lot of code, use reflection (though you lose the
> compile-time checks). Or invoke a class you compile once on the Mac
> and ship as a .class for inclusion when building later.
I have been waiting for someone to suggest reflection. The cost of
using reflection is that I lose static typing. Moreover its a heavy
weight way of getting conditional compilation don't you think. To
my mind a simple conditional compilation scheme would be far
more desirable.
graham
- 6
- Distinct ID Number Per Object?I have a case where I'll need distinct and printable names to use in a
reference table. I'd like to make it so each object, whether it's of the
same class as any other object or not, can produce a distinct number. It
looks like if I get the hashcode for any object, the JVM attempts to give
each object a unique hashcode, but it doesn't seem to guarantee it.
Is there any way to get a unique string or number for each object that is
created by a particular JVM?
Thanks!
Hal
- 7
- does not opening websites: double loading pictures, helpHello
My internet explorer does not explore some websites. It looks like it
download pictures 2 times. In majority it works - j can see website after
double downloading but sometimes it shows me the web for a moment and then
everything dissapeares and j see white surface. J think it is sure it has
opened it.
HELP ME
How to eliminate this double loading and not showing websites?
And how to install java? it is imposible for it too. ?
Maciej
- 8
- New Mobile Phone forumHello Guys,
This is an awsome place, its nice to be here
Thanks,
Rajen
http://www.mobileuserforum.info
Ps. i run this generic mobile site called
http://www.mobileuserforum.info, we are looking for moderators, please
get in touch with me if any one of you is interested.
- 9
- JTable selectHello,
Can anybody explain me how I can retrieve the value of a certain
clicked cell of a JTable?
thx
pat
- 10
- Message IDsRoedy Green wrote:
> Java mail generates message ids like this:
> <25116828.1067897095828.JavaMail.Administrator@roedy>
>
> Eudora like this:
> <email***@***.com>
>
> Just what are these?
>
> 1. are they a hash?
>
> 2. are they supposed to be globally unique.
>
> 3. are they supposed to be the same if you send the same mail twice?
>
> 4. are they a timestamp?
>
From the RFC822 (http://www.faqs.org/rfcs/rfc822.html) is says that:
1) Message-ID is part of the optional-field.
2) chapter 4.6.1:
>>>
4.6.1. MESSAGE-ID / RESENT-MESSAGE-ID
This field contains a unique identifier (the local-part
address unit) which refers to THIS version of THIS message.
The uniqueness of the message identifier is guaranteed by the
host which generates it. This identifier is intended to be
machine readable and not necessarily meaningful to humans. A
message identifier pertains to exactly one instantiation of a
particular message; subsequent revisions to the message should
each receive new message identifiers.
<<<
And each mail client I have used generate a some what unique version
(content and formatting) of this field. I have only seen it used for
thread display as no one seems to heavily rely on it.
You can look into the JavaMail source (part of J2E source) for the
JavaMail generated one.
Minh Tran-Le.
- 11
- 12
- java regular expression problemHi,
I want to replace mulitple occurances of a string one after the another
with a single string
for eg .
input : a hello b world c java abcabcabc
output: a hello b world c java def
I mean multiple occurances of pattern 'abc' with a single string 'def'.
how can do this with JAVA regular expressions ?
I tried replaceAll method in string class, but I dont know how to
format regular expression.
thanks
Ranu
- 13
- "Compiler" variablesHi,
Is there in java a possibility to define "compiler"-variables, for
example to except some code parts from the compilation?
If so, how does it work?
--
Oliver Hirschi
http://www.FamilyHirschi.ch
- 14
- 15
- JAVAMAIL SMTP error 421Hi all,
I've been looking at this problem for a while, browsing all possible
resources for a possible explanation but no way.
My problem is the following :
I've got a JAVA application listening to messages falling on a
MQSeries queue. The message falling on the queue contains all required
information to compose a mail intended for some recipients. The
application is connected to a mail server and is supposed to send the
mail.
In our development environment everything is fine and works properly.
We are using Exchange server. I made several tests with some 3000
messages falling on the queue and we got 3000 mails in our mail boxes.
The program has been installed at a client site and there we run into
trouble.
After the fifth message has been sent, the program ends with an
exception. It looks like the SMTP server had closed the connection
with no apparent reason.
The log looks like this :
Wed Jun 23 14:59:49 CEST 2004 - spy3 - 5 tasks done.
Wed Jun 23 14:59:50 CEST 2004 - alerter - MailError - Mail server
error in execu
ting a process.
Error when sending a mail through Java Mail API.Can't send command to
SMTP host;
nested exception is:
java.net.SocketException: Software caused connection abort:
socket write error
null
com.misys.alerter.Spy$MailError: Error when sending a mail through
Java Mail API
.Can't send command to SMTP host;
nested exception is:
java.net.SocketException: Software caused connection abort:
socket write
error
at com.misys.alerter.SpyMasterQ.doAction(SpyMasterQ.java:497)
at com.misys.alerter.Spy.run(Spy.java:112)
The line 497 is : try {mailer.sendMail(tmptitle, tmpbody,
recipientTo,recipientDummy, recipientDummy);
The class mailer fills in a mimeMessage and calls
transport.sendMessage(message, message.getAllRecipients() ) ;
which is where I loose control.
The connection to the mail server is made through this method :
public boolean connectSrv( String host, String user, String password)
throws NoSuchProviderException, MessagingException {
Properties props = new Properties();
props.put("mail.smtp.connectiontimeout", "0" );
props.put("mail.smtp.timeout", "0" );
props.put("mail.debug", "true");
session = Session.getDefaultInstance(props, null);
transport = session.getTransport("smtp");
transport.connect(host, user, password);
/* store date time when connection occurs */
dtconnected = new GregorianCalendar();
return transport.isConnected();
}
I added the debug property to get more information. It shows an SMTP
error 421.
Here are some bits of output :
DEBUG SMTP SENT: NOOP
DEBUG SMTP RCVD: 250 2.0.0 OK
DEBUG SMTP SENT: NOOP
DEBUG SMTP RCVD: 250 2.0.0 OK
DEBUG SMTP SENT: NOOP
DEBUG SMTP RCVD: 421 Too many errors on this connection---closing
DEBUG SMTP SENT: NOOP
I have the feeling that something goes wrong on the server side but
have no idea what.
Has any of you already experienced such problem ?
Thanks for your time reading this. Any help or suggestion will be
highly appreciated.
JC
|
|
|