| Where have all the wintrolls gone... |
|
 |
Index ‹ java-programmer
|
- Previous
- 1
- CLASSPATH?WinXP Pro, JRE 1.4.2_03
I've just discovered that according to my Environment Variables section of
the System icon (Control Panel), I don't have a CLASSPATH variable. I used
SET from a command prompt to confirm that this is the case. No such
variable. So how come I can run basic (UI) Java programs OK? Shouldn't
CLASSPATH be pointing to the jar file containing these basic classes I'm
using? The problem is, JMF installation instructions seem to say I should
add the path to the jar file to CLASSPATH, but how can I if I have no such
variable? {:v)
Am I missing something?
--
- 2
- create a bean on webapp startupHi,
Unsuccessfully web browsing makes me come here.
I wonder if it's possible to create a bean (used by <jsp:use-bean>) on
startup, also through web.xml. I've seen it is possible to launch a
servlet with <load-on-startup> xml element, but, as I believe I've
understood, it is NOT a persistent object.
So, i'm asking if :
- is this possible to create a persistent object through a servlet
lauched at startup ?
- is there a different way ?
Regards,
--
Mounir
- 5
- I can not get data from Table cellHi every one
I try to get String from cell in jTable
every time I try to get data from cell I only get null
and this is my code
\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
Class.forName("com.mysql.jdbc.Driver");
Connection con;
con = DriverManager.getConnection("jdbc:mysql://localhost/
uni","root","java");
Statement stat = con.createStatement();
ResultSet result;
result = stat.executeQuery("select max(no) from student_info_table");
result.next();
int mx, c;
mx = result.getInt(1);
mx = mx +1;
String inserting_Data = "insert into fee_part_table (feeNO, feeParts,
fee_1st_part) values(?, ?, ?)";
PreparedStatement ps = null;
ps = con.prepareStatement(inserting_Data);
ps.setInt(1, mx);
ps.setInt(2, c);
String st;
st = String.valueOf(jTable2.getValueAt(0, 0));
JOptionPane.showMessageDialog(this, st);
ps.setString(3, String.valueOf(jTable2.getValueAt(0, 0)));
ps.executeUpdate();
///////////////////////////////////////////////
- 7
- Future of 3Djava
Why comp.lang.java.3d doesn't exist ? If is not dead, for what purpose is
using: games or some engineering tools ? Does java have a future in a
gaming industry?
- 7
- 360degree rotation in Java2DI have a bit of a problem rotating Shapes using the Graphics2D function
rotate(theta).
My high-school trig lessons indeed tell me that sine and cosine functions go
between -90 degrees and +90 degrees (or 0 and 180, if you like), and I can
see why this means that when I call the rotate(...) function, it will not
rotate the object all the way round the whole 360 degrees.
Currently, I have a duplicate Shape object which is flipped so that for one
half of the rotation the original shape is drawn, and for the second half,
the other...
There must be a better way!
Any ideas?
Cheers :o)
Will
- 7
- actionPerformed programmaticallyHi
Is it good way to programmatically call actionPerformed?
NewAction action = new NewAction();
action.actionPerformed(null); //maybe instead null should be something
else, but what?
Best Regards
Greg
- 7
- [Static Classes]Hi All,
Can someone explain when and why we use 'static classes' in Java ?
Also why 'method local classes' are used and what is their significance
?
Plz reply
- 9
- Get the Verb of request in jspHi Guys,
Would anyone mind telling me how to get the verb of a request in jsp?
I would like to know whether the user is using a POST or GET request.
Thanks,
James
- 10
- Curb Your Spam RageRoedy Green wrote:
Leave it to good ol' Roeds to feel the spammers' pain.
[snippysnipsnip]
- 13
- Tomcat4: Default Page Encoding UTF8Hi,
I am using Tomcat 4.1.27 running servlets which worked
perfectly under Tomcat 3. The problem is: (unfortunately)
the special characters (like german umlaute) are not
html encoded. Under tomcat 3 this was no problem, but with
the new tomcat the page-encoding is wrong. When I manually
change the page encoding in the browser to utf-8 everything
is OK. I could now go through all servlets and change the
content-type to charset utf-8, but I try to avoid this.
(as there where not written by me).
Is there any possiblilty the change the default page encoding
to utf-8? (like in the server.xml or so)
Thank you for any help!!!
Christian
- 13
- Announcement: Super 5.10 - a suite of J2EE toolsAnnouncement: Super 5.10 - a suite of J2EE tools.
Super 5.10 comes with:
SuperEnvironment
SuperLogging
SuperPeekPoke
SuperReport
SuperScheduler
SuperStress
SuperWatchdog
and SuperPatrol, as a schedule job.
The evaluation edition can be anonymously downloaded from:
http://www.ACElet.com.
Super is a component based monitor and administration tool
for EJB/J2ee. It provides built-in functionality as well as
extensions, as SuperComponents. Users can install
SuperComponents onto it, or uninstall them from it.
Super has the following functions:
* A J2EE monitor.
* A gateway to J2EE/EJB servers from different vendors.
* A framework holding user defined SuperComponents.
* A full-featured J2EE logging and J2EE tracing tool for centralized,
chronological logging.
* An EJB tool for Peeking and Poking attributes from EJBs.
* An EJB Stress test tool.
* A J2EE global environment tool.
* A J2EE report tool.
* A J2EE Scheduler tool.
* A J2EE Business patrol tool.
It is written entirely in the Java(TM) programming language.
The current version support:
* JOnAS 2.4 and 2.6
* SunONE 7.0
* Universal servers.
* Weblogic 6.1, 7.0 and 8.1
* Websphere 4.0, 5.0.2 and 5.1
* jBoss 3.0 and 3.2
********** What is new:
Version 5.10 January, 2004
Enhancement:
1. SuperScheduler 4.1: Multiple holiday set is an advanced feature
now.
This arrangement is convenient for most of users.
2. Support WebSphere 5.1.
Change:
1. SuperScheduler 4.1: Repeating "At specified times" changes from
"all
things considered" algorithm to POSIX cron compatible
implementation.
Bug fix:
1. SuperScheduler 4.1: Repeating Daily did not consider "Day time
saving",
so there were one hour shift in April and October.
Version 5.00 January, 2004
Enhancement:
1. SuperScheduler 4.00: Rewritten SuperScheduler with bug fixes and
enhancements,
including: 1. Add task duration. 2. Add Email, JMS Queue and Topic
jobs.
3. Add Retry tasks. 4. Add GUI version of Unix cron repeating.
5. Rewritten holiday facilities.
2. SuperWatchdog 1.00 with File, JMS Queue, JMS Topic and User
triggers and
the same group of actions as SuperScheduler.
3. SuperLogigng 4.01: Improved Alarm/Alert GUI.
Version 4.00 November, 2003
Enhancement:
1. Support for both native protocol (RMI-IIOP) mode and HTTP/HTTPS
(with/without proxy) protocol mode for SuperEnvironment,
SuperLogging, SuperReport and SuperScheduler.
2. SuperLogging 4.00: tracing can work on both live database and
retired database.
3. SuperReport 3.00: works for both live database and retired
database.
4. SuperScheduler 3.00: add URL job type (for Servlet/JSP). Add
DoerTalker Table Panel.
Bug fix:
1. SuperScheduler 3.00: Interval change did not take effect until
restart Super.
Version 3.00 July, 2003
Enhancement:
1. SuperLoggingLibrary 3.00: New implementation for change scope
adding "Smart" scope,
with enhancements and bug fixes.
2. SuperLoggingLibrary 3.00: Support mail server which requires user
name and password.
Add MenuTreePanel.
3. Improved GUI and document.
4. Add support to WebLogic 8.1.
Bug fix:
1. SuperScheduler 2.0: Fix a bug in FutureView for Hourly and
Minutely.
2. SuperScheduler 2.0: Startup should never be reported as missed.
3. SuperScheduler 2.0: Could not reset job for existing task in some
situation.
Version 2.20 Jan. 2003
Enhancement:
1. Add desktop and start menu shortcuts for MS-Windows.
2. Add support for SunONE 7, JOnAS 2.6 and jBoss 3.0.
3. SuperLogging 2.40: Add new sendAlarmEmail() method.
4. SuperScheduler 1.40: Add SuperSchedulerEJB for managing when
direct database is not practical; Allow user to choose
favorite logging software; Add Last day as Monthly
repeating attribute.
Change:
1. Change Unusual to PatrolAlarm. The name "Unusual" was misleading.
Bug fix:
1. SuperEnvironment 1.31: Bug fix: if database is broken, could not
open Environment Manager.
2. SuperLogging client 1.52: Annoying exception thrown when you use
JDK 1.4 (the program runs okay).
3. SuperPeekPoke 1.61: Fix bug where input object contains
java.lang.Double and alike.
4. SuperScheduler 1.40: Bug fixes in: Memory leak; Reporting
PatrolAlarm for SuperPatrol; Composite task with members;
Non-scheduled run on other host; Around edges of last
days in Monthly with holiday policy.
Version 2.10 July 2002
Enhancement:
1. SuperScheduler 1.3: Add Future View to check future schedule in
both text and Gantt-chart mode.
2. SuperScheduler 1.3: Add graphic Gantt view for monitoring task's
activities.
3. SuperEnvironment 1.3: uses new graphic package adding print and
preference facilities.
4. SuperPeekPoke 1.6: uses new graphic package adding print and
preference facilities.
5. SuperStress 1.21: uses new graphic package.
Bug fix:
1. SuperStress 1.21: fixed graphic related bugs.
Version 2.01 June 2002
Enhancement:
1. Add options for Look & Feel.
2. Preference is persistent now.
Bug fix:
1. Installation for WebLogic 7.0: extEnv may not be installed on the
right place, so SuperLibrar on the server side was not loaded and
causes other problems.
Version 2.00 June 2002
Enhancement:
1. SuperScheduler 1.2: All copies of SuperScheduler refresh themselves
when any Doer causes things to change.
2. SuperScheduler 1.2: Support default HTML browser for reading HTML
document.
3. SuperReport 1.2: Support default HTML browser for reading HTML
document.
4. Support WebLogic 7.0.
5. SuperEnvironment 1.21: Database Panel appears when it is necessary.
6. SuperEnvironment 1.21: New SuperEnvironment tour.
Bug fix:
1. WebSphere Envoy did not always list all JNDI names.
Version 1.90 May 2002
Enhancement:
1. Rewritten SuperLogging engine. Add Alarm Email on SuperLogging.
2.Rewritten SuperScheduler allowing multiple Doers. Add support to
holiday policy, effective period. Add Patrol job type as SuperPatrol.
3. Add support for both JOnAS and jBoss.
4. Add more elements on Report criteria.
Change:
1. Now, both left and right mouse clicks are the same on Table Panel:
toggle ascend and descend.
2. New log database.
Bug fix:
1. Alert email should be sent once in the interval, regarding number
of servers in the clustering.
2. Minor bug fixes to make errors handled better on SuperLogging.
3. If withFileInfo or withTimestamp are changed alone, Style Panel did
not save them.
4. Rewritten SuperLogging and SuperScheduler with many bug fixes.
Version 1.80 March 2002
Enhancement:
1. Add new component: SuperScheduler
Bug fix:
1. SuperLogging: Verbose should ignore class registration.
2. SuperLogging-tracing: an exception was thrown if the java class
without package name.
Version 1.70 January 2002
Enhancement:
1. SuperLogging: Scope can dynamically change both for upgrade to
downgrade (for weblogic 6.1, need download an application).
2. Add alias names for log threshold as new Java suggests.
3. New component: SuperReport.
Change:
1. SuperLogging: Log database parameters are specified in a properties
file, instead of EJB's deployment descriptor. It is more convenient
and it avoids some potential problems. No change for development,
easier for administration.
Bug fix:
1. Add Source Path Panel now accepts both directory and jar file.
2. Bug in SuperEnvironment example (for version 1.60 only).
Version 1.60 December 2001
Enhancement:
1. SuperPeekPoke and SuperStress can use user defined dynamic argument
list.
2. Add timeout parameter to logging access.
3. New installation program with A). Easy install. B). Remote command
line install.
4. Support EJB 2.0 for Weblogic 6.1.
5. Support SuperPeekPoke, SuperEnvironment and SuperStress for
Websphere 4.0 (SuperLogging was supported since version 1.5).
Change:
1. Poke: argument list is set at define time, not invoke time.
2. Default log database change to server mode from web server mode,
booting performance to 10-20 times.
Bug fix:
1. If the returned object is null, Peek did not handle it correctly.
2. If the value was too big, TimeSeries chart did not handle it
correctly. Now it can handle up to 1.0E300.
3. Help message was difficult to access in installation program.
4. Source code panel now both highlights and marks the line in
question (before it was only highlight using JDK 1.2, not JDK 1.3).
5. Delete an item on PeekPoke and add a new one generated an error.
Version 1.50 August, 2001
Enhancement:
1. Source code level tracing supports EJB, JSP, java helper and other
programs which are written in native languages (as long as you
write correct log messages in your application).
2. Redress supports JSP now.
3. New installation with full help document: hope it will be easier.
4. Support WebSphere 4.0
Version 1.40 June, 2001
Enhancement:
1. Add SuperEnvironment which is a Kaleidoscope with TableView,
TimeSeriesView and PieView for GlobalProperties.
GlobalProperties is an open source program from Acelet.
2. SuperPeekPoke adds Kaleidoscope with TableView, TimeSeriesView and
PieView.
Changes:
1. The structure of log database changed. You need delete old
installation and install everything new.
2. The format of time stamp of SuperLogging changed. It is not locale
dependent: better for report utilities.
3. Time stamp of SuperLogging added machine name: better for
clustering environment.
Bug fix:
1. Under JDK 1.3, when you close Trace Panel, the timer may not be
stopped and Style Panel may not show up.
Version 1.30 May, 2001
Enhancement:
1. Add ConnectionPlugin support.
2. Add support for Borland AppServer.
Version 1.20 April, 2001
Enhancement:
1. Redress with option to save a backup file
2. More data validation on Dump Panel.
3. Add uninstall for Super itself.
4. Add Log Database Panel for changing the log database parameters.
5. Register Class: you can type in name or browse on file system.
6. New tour with new examples.
Bug fix:
1. Redress: save file may fail.
2. Install Bean: some may fail due to missing manifest file. Now, it
is treated as foreign beans.
3. Installation: Both installServerSideLibrary and installLogDatabase
can be worked on the original file, do not need copy to a temporary
directory anymore.
4. PeekPoke: if there is no stub available, JNDI list would be empty
for Weblogic5-6. Now it pick up all availble ones and give warning
messages.
5. Stress: Launch>Save>Cancel generated a null pointer exception.
Changes:
1. installLogDatabase has been changed from .zip file to .jar file.
2. SuperLogging: If the log database is broken, the log methods will
not try to access the log database. It is consistent with the document
now.
3. SuperLogging will not read system properties now. You can put log
database parameters in SuperLoggingEJB's deployment descriptor.
Version 1.10 Feb., 2001
Enhancement:
1. Re-written PeekPoke with Save/Restore functions.
2. New SuperComponent: SuperStress for stress test.
3. Set a mark at the highlighted line on<font size=+0> the Source Code
Panel (as a work-a-round for JDK 1.3).</font>
4. Add support for WebLogic 6.0
Bug fix:
1. Uninstall bean does physically delete the jar file now.
2. WebLogic51 Envoy may not always list all JNDI names. This is fixed.
Version 1.00 Oct., 2000
Enhancement:
1. Support Universal server (virtual all EJB servers).
2. Add Lost and Found for JNDI names, in case you need it.
3. JNDI ComboBox is editable now, so you can PeekPoke not listed JNDI
name (mainly for Envoys which do not support JNDI list).
Version 0.90: Sept, 2000
Enhancement:
1. PeekPoke supports arbitrary objects (except for Vector, Hashtable
and alike) as input values.
2. Reworked help documents.
Bug fix:
1. Clicking Cancel button on Pace Panel set 0 to pace. It causes
further time-out.
2. MDI related bugs under JDK 1.3.
Version 0.80: Aug, 2000
Enhancement:
1. With full-featured SuperLogging.
Version 0.72: July, 2000
Bug fix:
1. Ignore unknown objects, so Weblogic5.1 can show JNDI list.
Version 0.71: July, 2000
Enhancement:
1. Re-worked peek algorithm, doing better for concurent use.
2. Add cacellable Wait dialog, showing Super is busy.
3. Add Stop button on Peek Panel.
4. Add undeploy example button.
Bug fix:
1. Deletion on Peek Panel may cause error under JDK 1.3. Now it works
for both 1.2 and 1.3
Version 0.70: July, 2000
Enhancement:
1. PeekPoke EJBs without programming.
Bug fix:
1. Did not show many windows under JDK 1.3. Now it works for both 1.2
and 1.3
Changes:
1. All changes are backward compatible, but you may need to recompile
monitor windows defined by you.
Version 0.61: June, 2000
Bug fix:
1. First time if you choose BUFFER as logging device, message will not
show.
2. Fixed LoggingPanel related bugs.
Version 0.60: May, 2000
Enhancement:
1. Add DATABASE as a logging device for persistent logging message.
2. Made alertInterval configurable.
3. Made pace for tracing configurable.
Bug fix:
1. Fixed many bugs.
Version 0.51, 0.52 and 0.53: April, 2000
Enhancement:
1. Add support to Weblogic 5.1 (support for Logging/Tracing and
user defined GUI window, not support for regular monitoring).
Bug fix:
1. Context sensitive help is available for most of windows: press
F1.
2. Fix installation related problems.
Version 0.50: April, 2000
Enhancement:
1. Use JavaHelp for help system.
2. Add shutdown functionality for J2EE.
3. Add support to Weblogic 4.5 (support for Logging/Tracing and
user defined GUI window, not support for regular monitoring).
Bug fix:
1. Better exception handling for null Application.
Version 0.40: March, 2000
Enhancement:
1.New installation program, solves installation related problems.
2. Installation deploys AceletSuperApp application.
3. Add deploy/undeploy facilities.
4. Add EJB and application lists.
Change:
1.SimpleMonitorInterface: now more simple.
Version 0.30: January, 2000
Enhancement:
1. Add realm support to J2EE
2. Come with installation program: you just install what you want
the first time you run Super.
Version 0.20: January, 2000
Enhancement:
Add support to J2EE Sun-RI.
Change:
1. Replace logging device "file" with "buffer" to be
compliant to EJB 1.1. Your code do not need to change.
Version 0.10: December, 1999
Enhancement:
1. provide SimpleMonitorInterface, so GUI experience is
not necessary for developing most monitoring applications.
2. Sortable table for table based windows by mouse
click (left or right).
Version 0.01 November., 1999:
1. Bug fix: An exception thrown when log file is large.
2. Enhancement: Add tour section in Help information.
Version 0.00: October, 1999
Thanks.
- 13
- JTextArea SizeHello, I'm writing a java app for a pda and as the screen size is tiny I
want to write a MiniDialog class. I only want a JTextArea and an OK button
on it and I want the JTextArea to fit the size of the modal dialog.
If I pass in a long line of text then the JTextArea appears to get wider and
I have to scroll across the screen to see the text. I want it to wrap onto
the second line etc.
I must be doing something stupid!
Thanks, Kevin.
import javax.swing.*;
import java.awt.*;
import java.awt.event.*;
public class MiniDialog {
JDialog dialog=new JDialog(new JFrame(),"Info",true);
public MiniDialog() { }
public void show(String label) {
Container c=dialog.getContentPane();
JButton ok=new JButton("OK");
dialog.getRootPane().setDefaultButton(ok);
ok.addActionListener(new ActionListener() {
public void actionPerformed(ActionEvent e) {
dialog.dispose();
}
});
JTextArea txt=new JTextArea(5,20);
txt.setEditable(false);
txt.append(label);
JScrollPane scroll=new JScrollPane(txt);
scroll.setSize(1,1);
dialog.setSize(200,200);
dialog.setLocation(20,40);
c.add(scroll,BorderLayout.CENTER);
c.add(ok,BorderLayout.SOUTH);
dialog.show();
}
}
- 13
- code conventions - validationAnyone know of a code validator that follows this:
http://java.sun.com/docs/codeconv/html/CodeConvTOC.doc.html
TIA
--
Mike W
- 13
- reading values from JTableI am looking for a working example of a JTable that is constructed
with initial values in the cells, allows the user to change those values,
and reads the values out.
I've got three books on Swing, none of them show a write/read table.
I have no problem creating tables with nothing in some cells, and
reading the values out that the user entered.
Here is how I construct the tables:
DefaultTableModel model01= new DefaultTableModel(rowData,colNames);
JTable table01= new JTable(model01);
Any help greatly appreciated.
--
Robert Metzger
Hewlett-Packard Company
High Performance Computing Division
- 15
- tomcat's classpathsHi all.
I have downloaded Tomcat 4.1.27 and I would like to create some JSPs. I took
an earlier JSP app and put it on Tomcat, and I got a class not found
exception. How do I set the classpaths for Tomcat?
One more question, how do I change the web document root? For example, I
want to change it to c:\testing.
Thanks in advance.
|
| Author |
Message |
Luke Tulkas

|
Posted: 2004-2-17 23:48:00 |
Top |
java-programmer, Where have all the wintrolls gone...
"Phil Earnhardt" <email***@***.com> wrote in message
news:email***@***.com...
> >> >> No, Luke. Why don't *you* tell *us*: What would be the point of
> >having
> >> >> the language in 1441 and then doing *nothing* when Iraq was not
in
> >> >> compliance?
> >> >
> >> >There wouldn't be any point. You just beat the UN in doing
something.
> >>
> >> The question is actually the opposite, Luke: given the French never
> >> ever had any intent of enforcing the consequences spelled out in UN
> >> 1441, why did they ever bother approving it in the first place? Why
> >> not just be straight with the UN: "We will veto any measure to
approve
> >> UN military action against Iraq."
> >
> >Actually the sentence doesn't end here. If we put it into context (at
> >the time) it should read:
> >
> >We will veto any measure to approve UN military action against Iraq
if
> >the potential approval is to be based on US intelligence (read:
lies).
>
> But UN 1441 wasn't based on US intelligence.
We're not talking about 1441. France didn't vote against 1441. We're
talking about the invasion "warrant" US wanted to squeeze out of UNSC.
France felt somewhat reluctant to sign that warrant because the
evidence US intelligence (sic!) produced was not so very convincing. At
the time. Later it turned out it was total bullshit. Dubya's setting up
an investigation right now. In 50 years we might get to know the...
conclusions.
> The question remains: Iraq failed to comply with the terms of UN 1441.
> What should have been the consequences of that?
Again? Well, let's hope this time you get it: the terms should have been
enforced. But not under US flag. Maybe (more than likely) under US boot.
But the flag should have been the blue UN.
|
| |
|
| |
 |
Luke Tulkas

|
Posted: 2004-2-17 23:48:00 |
Top |
java-programmer >> Where have all the wintrolls gone...
"Phil Earnhardt" <email***@***.com> wrote in message
news:email***@***.com...
> >> >> No, Luke. Why don't *you* tell *us*: What would be the point of
> >having
> >> >> the language in 1441 and then doing *nothing* when Iraq was not
in
> >> >> compliance?
> >> >
> >> >There wouldn't be any point. You just beat the UN in doing
something.
> >>
> >> The question is actually the opposite, Luke: given the French never
> >> ever had any intent of enforcing the consequences spelled out in UN
> >> 1441, why did they ever bother approving it in the first place? Why
> >> not just be straight with the UN: "We will veto any measure to
approve
> >> UN military action against Iraq."
> >
> >Actually the sentence doesn't end here. If we put it into context (at
> >the time) it should read:
> >
> >We will veto any measure to approve UN military action against Iraq
if
> >the potential approval is to be based on US intelligence (read:
lies).
>
> But UN 1441 wasn't based on US intelligence.
We're not talking about 1441. France didn't vote against 1441. We're
talking about the invasion "warrant" US wanted to squeeze out of UNSC.
France felt somewhat reluctant to sign that warrant because the
evidence US intelligence (sic!) produced was not so very convincing. At
the time. Later it turned out it was total bullshit. Dubya's setting up
an investigation right now. In 50 years we might get to know the...
conclusions.
> The question remains: Iraq failed to comply with the terms of UN 1441.
> What should have been the consequences of that?
Again? Well, let's hope this time you get it: the terms should have been
enforced. But not under US flag. Maybe (more than likely) under US boot.
But the flag should have been the blue UN.
|
| |
|
| |
 |
Luke Tulkas

|
Posted: 2004-2-18 0:21:00 |
Top |
java-programmer >> Where have all the wintrolls gone...
"James A. Robertson" <email***@***.com> wrote in message
news:email***@***.com...
> On Mon, 16 Feb 2004 11:54:50 -0700, Phil Earnhardt <email***@***.com>
> wrote:
>
> >On Mon, 16 Feb 2004 13:31:32 -0500, James A. Robertson
> ><email***@***.com> wrote:
> >
> >>And we circle back to the FACT that France announced that it would
not
> >>- under any circumstances - approve force. Since France has a veto,
> >>that sealed the case.
> >
> >James: I've been listening close to Luke in this discussion. I
> >actually think he sincerely believes that there *would* have been a
> >vote in "a couple of weeks" to authorize UN action. France wouldn't
> >have vetoed and wouldn't have abstained. Hell, France probably would
> >have proposed the resolution to the UNSC themselves.
> >
>
> If that's what he thinks, I've got some prime real estate to sell him,
> cheap....
No, I'm not, but anyway... what did you have in mind, James? ;-)
|
| |
|
| |
 |
Otis Bricker

|
Posted: 2004-2-18 0:48:00 |
Top |
java-programmer >> Where have all the wintrolls gone...
anoncoward <email***@***.com> wrote in news:a8gYb.536918$ts4.242322
@pd7tw3no:
> Otis Bricker wrote:
>
>>>Is it just me or is USENET getting boring... far too many
>>>sensible people that can have polite, reasoned arguments.
>>>
>>>Tsk tsk... where the hell is the fun in that?!
>>>
>>>
>>
>>
>> I often feel I am swimming against the tide, but I dislike shouting and
>> name calling in discussions. It seems like you give up on sensible
>> arguement when you resort to that. I would prefer an exchange of ideas
>> rather than a broadside of insults.
>>
>> I'll take sedate and boring over loud and obnoxious.
>>
>> Otis
> Damn, I wish there were more people like you around in real life.
>
>
I find that there are a lot 'more people like' me in in real life. There
seems to be some form of radiation emmited by computers that causes people
to forget how to be polite. Its hard to imagine many people saying some of
the things they do in posts if they were face to face with the other
parties.
|
| |
|
| |
 |
Otis Bricker

|
Posted: 2004-2-18 1:26:00 |
Top |
java-programmer >> Where have all the wintrolls gone...
THE MASTER OF OUT OF CONTEXT RESPONSES AND CREATIVE SNIPPING
(Luke_Tulkas)wrote in news:c0tctv$6fe$email***@***.com:
>
> "Otis Bricker" <email***@***.com> wrote in message
> news:email***@***.com...
>
> [snip]
>
>> > In my initial answer, I was equating WMD to nukes - and there's no
> US
>> > obligation (other than any extant ones from talks with Russia, whose
>> > details I don't recall at the moment) to destroy those. To be
> honest,
>> > I simply didn't read that carefully, and didn't notice that the
> topic
>> > was chemical weapons
>> >
>> >
>>
>> Even if it was, I believe that it is possible to withdraw from a
> treaty
>> we voluntarily entered into.
>
> Erm... ok, yes. But then one has to say "I'm out" not "I need more time
> to comply".
>
Well, we are not withdrawing. But we needed to notify them about delays.
One plant was shutdown for most of a year because of a minor leak. Should
we have plowed ahead and risked further accidental release and possible
loss of life?
I'm not interested enough to check it, but the previous link states that
we had been ahead of schedule for previous treaty milestones.
>> There was little or no consideration/payment
>> provided the US for signing.
>
> Payment? PAYMENT?!? Who would you like to pay you? Ethiopia maybe?
> Somalia? For crying out loud!
>
I was pointing out there would be little cost associated with our
choosing to withdraw.
>> Mind you, I thinkit was the right thing to
>> do and sets an example for other nations.
>
> Sets an example. Check! Like tricking the world into agreeing with the
> whole ICC agenda and then get out of it yourselves. A nice example
> indeed! US has a habit of making such examples. Is that 4 year
> prolongation an attempt of getting out? Let the others destroy their
> weapons while keeping yours intact because you intend to, and I quote
> "withdraw"?
>
You really are into this whole conspiracy thing aren't you?
>> It also seem clear that the US
>> is strict compliance with the treaty.
>
> OK. OK. But don't bullshit us with _setting_an_example_!
>
We signed a treaty to destroy our CW. We are destroying our CW. We
dutifully notified the proper channels that we have had delays in
reaching one of the milestones and documented the reasons for it. I wish
we didn't have so much time lost in the courts on this myself. But until
we decide to put some proper limits on litigation, that is how things
work in the US.
Oh, I also notice in the Chemical Disarmament newletter,
http://www.opcw.org/docs/cdq_dec2k3.pdf , that the Russian Federation and
"another State Party" were granted similar extentions. The Russians
appear even further behind. They don't seem to have even achieved the 20%
level. Does anyone know who that other "State Party" may be?
>>Can the same be said for Iraq prior to invasion? Were they in
>>compliance?
>>So regardless of your view on the invasion of Iraq, the two issues do
>>seem completely different.
Your original comments on this seem to have been about equating the two
situations. Can I take your non-comments here and the fact that you
snipped this last part as an admission that they are quite different
situations?
Otis
|
| |
|
| |
 |
Otis Bricker

|
Posted: 2004-2-18 1:46:00 |
Top |
java-programmer >> Where have all the wintrolls gone...
"Luke Tulkas" <email***@***.com> wrote in news:c0tcot$6d1$1
@grizzly.ps.uni-sb.de:
>
> "Phil Earnhardt" <email***@***.com> wrote in message
> news:email***@***.com...
>
> [snip]
>
>> >> I could explain massive differences between
>> >> what is going on in Iraq and the US with these weapons. I'll give
> you
>> >> first crack at listing the differences. Would you like to give it a
>> >> shot?
>> >Ok,... how about this -
>> >1) The US has WMD.
>> >2) Iraq doesn't.
>>
>> I flunk you on your assignment. ;-(
>
> Let me try:
> 1) The US has WMD.
> 2) All the combined Iraq's WMD it has had from the age of dinosaurs to
> the
> present day (and beyond) including the ones beam-me-up-Scotty-ed to
> Mars, don't
> make a fraction of half a percent of WMD US has at the moment.
>
http://www.defenselink.mil/news/Jan1996/b012496_bt024-96.html
states that the US stockpiles were about 31,200 Tons.
http://www.fourthfreedom.org/pdf/dossier_report.pdf
this article notes that UNSCOM destroyed over 480,000 tons of chemical
agent.
Do the math.
I couldn't track down an actual UN report on the amount
destroyed/reported. If someone can provide one and it has different
figures, please post a link. I like facts to be accurate.
> [snip]
>
>> >His claim has a single point: the US acted without SC permission.
>
> That's just one of the manifestations.
> The point I'm trying to make is that US is acting hypocriticaly.
>
|
| |
|
| |
 |
Luke Tulkas

|
Posted: 2004-2-18 2:28:00 |
Top |
java-programmer >> Where have all the wintrolls gone...
"Otis Bricker" <email***@***.com> wrote in message
news:email***@***.com...
> >> Even if it was, I believe that it is possible to withdraw from a
> > treaty
> >> we voluntarily entered into.
> >
> > Erm... ok, yes. But then one has to say "I'm out" not "I need more
time
> > to comply".
> >
>
> Well, we are not withdrawing. But we needed to notify them about
delays.
> One plant was shutdown for most of a year because of a minor leak.
Should
> we have plowed ahead and risked further accidental release and
possible
> loss of life?
You should've fixed the leak.
> >> Mind you, I thinkit was the right thing to
> >> do and sets an example for other nations.
> >
> > Sets an example. Check! Like tricking the world into agreeing with
the
> > whole ICC agenda and then get out of it yourselves. A nice example
> > indeed! US has a habit of making such examples. Is that 4 year
> > prolongation an attempt of getting out? Let the others destroy their
> > weapons while keeping yours intact because you intend to, and I
quote
> > "withdraw"?
> >
>
> You really are into this whole conspiracy thing aren't you?
Nope. But it's not very reassuring to other "participants" if the key
figure (read: US) does such things (like, for example, the ICC deal).
> >> It also seem clear that the US
> >> is strict compliance with the treaty.
> >
> > OK. OK. But don't bullshit us with _setting_an_example_!
> >
>
> We signed a treaty to destroy our CW. We are destroying our CW. We
> dutifully notified the proper channels that we have had delays in
> reaching one of the milestones and documented the reasons for it. I
wish
> we didn't have so much time lost in the courts on this myself. But
until
> we decide to put some proper limits on litigation, that is how things
> work in the US.
I know. In the US. In other countries things work differently. US seems
to think they should work like they do in US. US reserves itself the
right to enforce that thinking.
> Oh, I also notice in the Chemical Disarmament newletter,
> http://www.opcw.org/docs/cdq_dec2k3.pdf , that the Russian Federation
and
> "another State Party" were granted similar extentions. The Russians
> appear even further behind. They don't seem to have even achieved the
20%
> level.
You're comparing US to Russia? <ironic>Nice.</ironic>
> Does anyone know who that other "State Party" may be?
>
>
> >>Can the same be said for Iraq prior to invasion? Were they in
> >>compliance?
>
> >>So regardless of your view on the invasion of Iraq, the two issues
do
> >>seem completely different.
I see you, like Phil, have developed a habit of unsnipping stuff. Listen
up, Otis: if I wanted to address the upper two paragraphs I would have
done so. And you would know because then
1. I wouldn't have snipped them and
2. they would've been followed by my comment in previous post.
Savvy?
> Your original comments on this seem to have been about equating the
two
> situations. Can I take your non-comments here and the fact that you
> snipped this last part as an admission that they are quite different
> situations?
No, you may not. You may take it as snipped. As in: no comment.
|
| |
|
| |
 |
Luke Tulkas

|
Posted: 2004-2-18 2:40:00 |
Top |
java-programmer >> Where have all the wintrolls gone...
"Otis Bricker" <email***@***.com> wrote in message
news:email***@***.com...
> >> >> I could explain massive differences between
> >> >> what is going on in Iraq and the US with these weapons. I'll
give
> > you
> >> >> first crack at listing the differences. Would you like to give
it a
> >> >> shot?
> >> >Ok,... how about this -
> >> >1) The US has WMD.
> >> >2) Iraq doesn't.
> >>
> >> I flunk you on your assignment. ;-(
> >
> > Let me try:
> > 1) The US has WMD.
> > 2) All the combined Iraq's WMD it has had from the age of dinosaurs
to
> > the
> > present day (and beyond) including the ones beam-me-up-Scotty-ed to
> > Mars, don't
> > make a fraction of half a percent of WMD US has at the moment.
> >
>
> http://www.defenselink.mil/news/Jan1996/b012496_bt024-96.html
>
> states that the US stockpiles were about 31,200 Tons.
>
> http://www.fourthfreedom.org/pdf/dossier_report.pdf
>
> this article notes that UNSCOM destroyed over 480,000 tons of chemical
> agent.
>
> Do the math.
>
> I couldn't track down an actual UN report on the amount
> destroyed/reported. If someone can provide one and it has different
> figures, please post a link. I like facts to be accurate.
Let's be accurate then, shall we. When I say WMD, I mean WMD. That,
first and above all, includes nuclear weapons. You seem to have
conveniently forgot about those. Also, your measure is somewhat
misleading. It's not tonnage that really matters. It's the ammount of
dammage those WMD can inflict. Now...
Do the math again.
|
| |
|
| |
 |
James A. Robertson

|
Posted: 2004-2-18 3:31:00 |
Top |
java-programmer >> Where have all the wintrolls gone...
On Tue, 17 Feb 2004 19:39:30 +0100, "Luke Tulkas"
<email***@***.com> wrote:
>
>Let's be accurate then, shall we. When I say WMD, I mean WMD. That,
>first and above all, includes nuclear weapons. You seem to have
>conveniently forgot about those. Also, your measure is somewhat
>misleading. It's not tonnage that really matters. It's the ammount of
>dammage those WMD can inflict. Now...
>
Unlike rogue regimes (and former rogue regimes), the US is no threat
the actually use nukes, or transfer them to third parties likely to
use them.
>Do the math again.
>
<Talk Small and Carry a Big Class Library>
James Robertson, Product Manager, Cincom Smalltalk
http://www.cincomsmalltalk.com/blog/blogView
|
| |
|
| |
 |
James A. Robertson

|
Posted: 2004-2-18 3:36:00 |
Top |
java-programmer >> Where have all the wintrolls gone...
On Tue, 17 Feb 2004 16:33:15 +0100, "Luke Tulkas"
<email***@***.com> wrote:
>
>"Phil Earnhardt" <email***@***.com> wrote in message
>news:email***@***.com...
>> The US wants the UN to be aligned with its actions
>
>It should be the other way around: namely a member (read: US) should be
>aligned with actions of the organisation (read: UN) which it is a part
>of. Otherwise it (US) should get out.
>
Not when said organization takes a position that some member nation
determines is a threat to it.
On this general subject, I notice that France and Germany have voted
themselves "more equal" than other EU states on deficit and debt
levels. I expect, based on your positions, that you will be agitating
with your govt for a pullout of the EU. After all, you are supposed
to be aligned with that organization rather than the reverse
>> -- actions to
>> reduce the threat of global terrorism. Where is the hypocrisy?
>
>Like I told you oh-so-many-times: first US is trying to convince the UN
>to do (or approve) something US wants. Nothing wrong with that.
>Everybody does (better: would like to do) that. What's wrong is, that
>later on, when UN doesn't want it, US goes on it's own, _against_ the
>UN. When UN doesn't dance as US sings, it's suddenly bad bad UN and US
>just expands its own jurisdiction over whatever country it feels like.
>That's not only hipocritical. It's state terrorism!
>
The UN is typically corrupt and stupid, and we try to get it to "do
the right thing". Often it doesn't. That's the way it is. It's a
crappy organization, but it's the one that exists
>> > Whichever suits it at the time.
>>
>> That's true of every country -- what they want is what suits them at
>> the time. Again, where is the hypocrisy?
>
>There's nothing wrong with wanting different things at different times.
>Hypocrisy lies in hitting other countries with international law (i.e.
>UN) while you (US) completely disregard it.
>
>> > If you want, I'll
>> >say it now: no, UNSC is not an honourable institution.
>>
>> Thank you.
>
>You're welcome!
>
>> The point is that you DID NOT say that last year when the
>> US was looking for a vote to approve military action.
>
>No, the point is that last year nobody was talking about UN(SC) honour.
>We only talked about UNSC procedures and international law and US
>failure to follow and acknowledge them.
>
>> > Merely the fact
>> >that the US is a member (never mind Russia, China et. al.) prevents
>it
>> >to be honourable.
>>
>> You have failed to explain the reasoning behind that statement.
>
>I have explained it many times now. Twice in this very post alone. See
>above.
>
>> You
>> said that it was dishonorable to have the UN want what the US wants.
>> But you didn't explain why.
>
>I have explained it many times now. Twice in this very post alone. See
>above. [You see, I can exercise my copy-paste skills, too. ;-)]
>
>> And you also failed to explain why it's somehow dishonorable to want
>> different things at different points in history.
>
>You just don't get it, do you? Not different things in history! The
>difference in question is doing something while denying it to others.
>I.e.: don't do as I do, just do as I say. Uncle Sam does that a lot!
>
>> > Honourable != hypocritical.
>>
>> You need to explain that alleged hypocrisy. So far, you haven't.
>
>Thrice already in this post. Many times before in many previous posts.
>
>[snip]
>
>> >>>> You think that, if the bribes happened, the fundamental dynamic
>of the
>> >>>>UN is not severely damaged?
>> >>>
>> >>>It is, of course.
>> >>
>> >>Thank you. Why didn't you say that before? Why the doubletalk that
>we
>> >>shouldn't really worry about the corruption?
>>
>> [Silence.]
>
>OK. I'll bite. Quote me on that, please. Where exactly have I said that
>we shouldn't really worry about the corruption?
>
>> >>> I wonder who's more corrupt.
>> >>
>> >>Nope. You don't wonder at all. You don't even think about the gross
>> >>disconnect between the language of UN 1441 and France's refusal to
>> >>approve any military aciton after Iraq failed to meet the terms of
>> >>that declaration.
>> [Silence.]
>
>There wasn't any diction of war nor invasion in 1441. The war was a
>separate issue. That's why US wanted _another_ resolution which would
>grant war. France didn't want to jump into it hastily because it smelled
>a rotting fish behind "trucks that moved" that US tried to smuggle in.
>You can't go jerking people around and then expect them to be helpful
>with your own agendas and interests.
>
>I've told you so, many times before. I don't see a point in repeating it
>whenever you rephrase your mantra or insert a [Silence] wildcard.
>
>[snip]
>
>> >>At that point in time, you portrayed the UN Security Council as a
>body whose
>> >>votes were worthy of a world-wide Security Council. Some sort of
>honorable
>> >>organization. If the Mother of All Spreadsheets is accurate, it
>demonstrates
>> >>that was just plain wrong.
>>
>> [Silence.]
>
>First of all: you said "If". Secondly, I said a couple of times already:
>that's all we've got at the moment. Even US acknowledges that simply by
>being _in_ the UN(SC) and by trying to have it's actions justified by
>the UNSC. Why, I ask you, if UN is such a corrupt organisation? Could
>it possibly be because US likes to fish in muddy waters? Because US
>plays that same game of corruption? You see, Phil, corruption has two
>ends. The richest "nation" (sic!) on Earth suits the giving end
>perfectly. Namely, one has to _have_ in order to give.
>
>[snip]
>
>> >> >> Saddam only had about 4 years to hide them;
>> >> >
>> >> ><ironic>4 years? I thought it was 12. Oh well...</ironic>
>> >>
>> >> What's the difference? 4 years is pleanty of time. 6 months is
>enough
>> >> time, too.
>> >
>> >It is? Well, it depends...
>> >For example: I thought that US had plenty of time to meet the
>agreement
>> >it signed about destroying it's CW. But now it wants a 4 year
>> >prolongation. <ironic>But that's Uncle Sam. Only he can do
>> >that.</ironic>
>>
>> Please provide detailed citations what you're talking about.
>
>We were talking about that not long ago. Somebody posted a link to some
>dod.mil doc saying just that:
>http://www.dod.mil/releases/2003/nr20030903-0426.html
>It seems to be unavailable at the moment, but it said something like
>that: US will miss the deadline and wants a 4 year prolongation.
>
>> >> >> possibly outside the country.
>> >> >
>> >> >Nothing possible about it. A certain US general was dead sure he
>knew
>> >> >where they were on the eve of the invasion. And he made it damn
>clear
>> >> >that they were inside the country.
>> >>
>> >> References?
>> >
>> >Video and audio tapes of UNSC meeting(s). Powell held a "multimedia"
>> >presentation.
>>
>> You are saying that the "eve of the invasion" that we knew exactly
>> where WMDs were. You are saying that there were videos shot on the
>> "eve of the invasion" that were shown to the UNSC.
>
>Nope. The videos I'm referring to are of gen. Powell elaborating in
>front of the UNSC on the eve of the invasion that the trucks in
>successive satellite images he's shown weren't in the same place i.e.
>they moved. He tried to "sell" them as WMD. France, Germany, Russia (and
>pretty much everybody else) weren't buying. And it later turned out,
>they were right.
>
>> I am asking you to provide references to back up those claims.
>
>What claims? That gen. Powell tried to convince the UNSC that Iraq had
>WMD? Here you go: http://www.state.gov/p/nea/disarm/
>
>> >> Relavence?
>> >
>> >Relevance? Well, you claim that the WMD were taken abroad. On the eve
>of
>> >invasion Powell claimed they were inside Iraq.
>>
>> Provide references to Powell's videos that -- as you claim -- were
>> shot on the "eve of the invasion". Then we'll talk about the relavence
>
>> of this.
>
>If we understand each other (relavence and stuff) then see above.
>Otherwise point out some good dictionary for me, please.
>
>> > One of you is not telling the truth.
>>
>> *Someone* is not telling the truth in this discussion. In this thread,
>> I've repeatedly asked you to back up your statements;
>
>I didn't think you missed the Powell presentation. Now you know. Powell
>said Iraq had had WMD (_in_ Iraq). You claim that it shipped them to
>Syria. Who's lying? Gee, man, I hope it's you, because I'd hate to see
>a four star general degrading himself to such a low level.
>
>> you then try to
>> snip that part of the discussion away. I'd have thought you would know
>> by now: that trick doesn't work with me.
>
>Good. Because it wasn't supposed to be any kind of a trick. If I snip
>parts of your posting(s) I have no illusions that all the people who
>read this NG will promptly forget about them. I snip them (as I've told
>you a couple of times already but have to repeat myself to - hopefully
>someday - get it through your thick skull) either because I don't want
>to address them or because I have done so in some previous posting or
>because they're crap not worthy to be addressed.
>
>[snip]
>
>> You also told us that we "didn't understand at all."
>
>That was a misunderstanding: I meant _you_personaly_. The majority of
>the
>people understands.
>
>[snip]
>
>> >> Thanks to the actions of France, Germany, and Russia, the UN has
>been
>> >> crippled.
>> >
>> >Certainly.
>>
>> Thank you for finally acknowledging that now.
>
>Yeah, well, I failed to wrap it in <ironic></ironic>.
>BTW: what happened to "Why don't you add US and China to that list?" You
>seem to have snipped it. How come? (And Phil, don't bother answering
>that. I won't mind if it goes unanswered. ;-))
>
>[snip]
>
>> >> >> >> Anyone who loves what the UN stands for should be deeply
>> >saddened
>> >> >> >> today. And they should be deeply puzzled why the UN doesn't
>> >> >immediatly
>> >> >> >> investigate this. And, so far, Kofi Annan does nothing.
>> >> >> >
>> >> >> >He probably will. Give him time.
>> >> >>
>> >> >> Exactly how long? Care to explicitly commit yourself, Luke?
>> >> >
>> >> >No, I wouldn't actually.
>> >>
>> >> Of course you wouldn't. You are a coward on such issues. Why is
>that?
>> >
>> >Because I can't see inside his head.
>>
>> It has nothing to do with Kofi's head.
>
><ironic>It hasn't? What then? His left knee? The right one
>perhaps?</ironic>
>
>> I'll re-phrase: how long should
>> we wait for Kofi to launch an investigation before it's pretty clear
>> that he has no intention of getting to the bottom of this corruption?
>
>And _I_ won't rephrase _at_all_ because my previous answer was clear
>enough: <ironic style="Dubya">As long as it takes.</ironic>
>
>> >Can you tell me when Dubyas investigation will be over?
>>
>> That's an irrelavent quesiton.
>
><ironic>Oh yeah, silly me, questioning Uncle Sam's actions again. He can
>have all the time in the world while others have to have their
>investigations done and over with even before the dust settles.</ironic>
>
>> >>>> 2. The US waited 12 years for Iraq to be in compliance with the
>Gulf
>> >>>>War Armistice before they attacked. You call the attack "rash". In
>your
>> >>>> ever-so-humble opinion, exactly how long should the US have
>waited
>> >>>before such an attack wouldn't have been "rash"?
>> >> >A couple of more weeks so the UNSC could have a chance to grant
>the
>> >> >action.
>> >>
>> >> Please cite any evidence at all that the UNSC would have "granted
>an
>> >> action" in a "couple of weeks".
>> >
>> >Please cite any evidence (_EVIDENCE_ mind you, not "France said this
>and
>> >that"!) that it wouldn't have.
>>
>> You are the one who tells us that the UNSC would have granted the
>> action in "a couple of more weeks".
>
>Yes, I am. But since I can't split time I cannot reset the "scene" to
>before US took unilateral action. Your evidence seems to be "France
>said". That's just as good as "a couple of weeks". None of them stands
>and that's what I'm trying to get through to you. You don't seem to
>receive very well on that ear, though.
>
>[snip]
>
>> >>>> Why didn't Kofi Annan investigate the program years ago?
>> >>>I don't know. Maybe because he was relying on US "intelligence".
>> >>
>> >>Do you note that you can't even give a straight answer to the
>> >>question.
>
><ironic>Because, years ago there weren't any "MOAS" ;-) to suggest that
>the program had gone bad, perhaps?</ironic>
>
>And a counterquestion: Why didn't Dubya investigate his intelligence
>years ago if it's so spectacularly not worthy of it's own name?
>
>> >>Kofi was not -- and should not -- count on intelligence from any
>> >>country. He should launch his own independent investigation. Agreed?
>>
>> That's another part of the discussion you tried to snip:
>
>No, in fact, I _DID_ snip it. Can't you take a hint?!?
>
<Talk Small and Carry a Big Class Library>
James Robertson, Product Manager, Cincom Smalltalk
http://www.cincomsmalltalk.com/blog/blogView
|
| |
|
| |
 |
anoncoward

|
Posted: 2004-2-18 4:15:00 |
Top |
java-programmer >> Where have all the wintrolls gone...
JTK wrote:
> And if you weren't a complete feeb you'd have stopped making a
> supersymmetric fool out of yourself a couple hundred posts ago.
> BAAAAAAAAAAAAAAAAAAHAHAHHAHAHAHHAHAHHAAAAAAAAAAAAAAAAAAAAA!!!!!!!
> Nobody's listening to you idiot.
> We're just toying with you, like cats playing with a rodent.
> You exposed yourself for the filthy scum you are. Again.
> Did you say something coward? Oh, sorry, nobody gave a damn.
My word you certainly are an angry individual.
Is that how your german-african-blood-loving parents taught you to be?
I can almost hear them cheering Hitler on from here!
|
| |
|
| |
 |
Otis Bricker

|
Posted: 2004-2-18 6:42:00 |
Top |
java-programmer >> Where have all the wintrolls gone...
"Luke Tulkas" <email***@***.com> wrote in news:c0tmff$e64$1
@grizzly.ps.uni-sb.de:
>
> "Otis Bricker" <email***@***.com> wrote in message
> news:email***@***.com...
>
>> >> Even if it was, I believe that it is possible to withdraw from a
>> > treaty
>> >> we voluntarily entered into.
>> >
>> > Erm... ok, yes. But then one has to say "I'm out" not "I need more
> time
>> > to comply".
>> >
>>
>> Well, we are not withdrawing. But we needed to notify them about
> delays.
>> One plant was shutdown for most of a year because of a minor leak.
> Should
>> we have plowed ahead and risked further accidental release and
> possible
>> loss of life?
>
> You should've fixed the leak.
>
They did. But since the leak wasn't supposed to happen and if it happened
again, there could be significant danger, They also felt it would be a good
idea to figure out what caused it. This takes a little time to do safely.
>> >> Mind you, I thinkit was the right thing to
>> >> do and sets an example for other nations.
>> >
>> > Sets an example. Check! Like tricking the world into agreeing with
> the
>> > whole ICC agenda and then get out of it yourselves. A nice example
>> > indeed! US has a habit of making such examples. Is that 4 year
>> > prolongation an attempt of getting out? Let the others destroy their
>> > weapons while keeping yours intact because you intend to, and I
>> quote "withdraw"?
Oh, missed this last time.
Quoting one word out of context is just the behaviour we have come to
expect from you Luke. Are you trying to suggest that I have said that we
would withdraw? I did no such thing. I do not believe that we would do
that. I was just pointing out that if we intended to withdraw there would
be little need to ask for delays.
>> >
>>
>> You really are into this whole conspiracy thing aren't you?
>
> Nope. But it's not very reassuring to other "participants" if the key
> figure (read: US) does such things (like, for example, the ICC deal).
>
Why? the treaty seems to have foreseen that such things might happen. That
is why they put language in addressing the possiblity.
And forgive my acronym ignorance but could you explain the TLA ICC?
>> >> It also seem clear that the US
>> >> is strict compliance with the treaty.
>> >
>> > OK. OK. But don't bullshit us with _setting_an_example_!
>> >
>>
>> We signed a treaty to destroy our CW. We are destroying our CW. We
>> dutifully notified the proper channels that we have had delays in
>> reaching one of the milestones and documented the reasons for it. I
> wish
>> we didn't have so much time lost in the courts on this myself. But
> until
>> we decide to put some proper limits on litigation, that is how things
>> work in the US.
>
> I know. In the US. In other countries things work differently. US seems
> to think they should work like they do in US. US reserves itself the
> right to enforce that thinking.
>
I was under the impression that our civil courts were a bit of a joke
outside our borders. They sure are here. A jury here just awarded $5 Mill
because some doctors didn't do a CAT scan of a asymptomatic infant who was
injured and disabled a few week later by a babysitter.
I know that they work differently elsewhere and I think that a lot of folks
here wish the courts worked differently here.
>> Oh, I also notice in the Chemical Disarmament newletter,
>> http://www.opcw.org/docs/cdq_dec2k3.pdf , that the Russian Federatio and
>> "another State Party" were granted similar extentions. The Russians
>> appear even further behind. They don't seem to have even achieved the
>> 20% level.
>
> You're comparing US to Russia? <ironic>Nice.</ironic>
>
Perhaps. I was just pointing out that the two parties with perhaps largest
stockpiles among the signers were both finding the timetable hard to meet.
>> Does anyone know who that other "State Party" may be?
>>
>>
>> >>Can the same be said for Iraq prior to invasion? Were they in
>> >>compliance?
>>
>> >>So regardless of your view on the invasion of Iraq, the two issues
> do
>> >>seem completely different.
>
> I see you, like Phil, have developed a habit of unsnipping stuff. Listen
> up, Otis: if I wanted to address the upper two paragraphs I would have
> done so. And you would know because then
> 1. I wouldn't have snipped them and
> 2. they would've been followed by my comment in previous post.
> Savvy?
>
Fine, but often, you snip out things without concern for the context. When
you do that, you change the meaning of what was said. It might be better to
at least include a <snip> so that folks know you are editing.
>> Your original comments on this seem to have been about equating the two
>> situations. Can I take your non-comments here and the fact that you
>> snipped this last part as an admission that they are quite different
>> situations?
>
> No, you may not. You may take it as snipped. As in: no comment.
>
So you chose not to comment when the flaws in your comparission are pointed
out. OK.
I only reinserted it since it seemed the central point of your own
comments. And felt you should have another chance to address it.
I guess we can let the differences speak for themselves.
|
| |
|
| |
 |
JTK

|
Posted: 2004-2-18 11:27:00 |
Top |
java-programmer >> Where have all the wintrolls gone...
Luke Tulkas wrote:
[what you'd expect a European junior high school kid to]
>>
>>And we circle back to the FACT that France announced that it would not
>>- under any circumstances - approve force. Since France has a veto,
>>that sealed the case.
>
>
> That sealed the "trucks that moved" case, yes. If the case was just,
> France
> would have raised it's hand in UNSC.
Exactly! Raised its hand and asked, "Escuze moi, where do we surrender?"
|
| |
|
| |
 |
JTK

|
Posted: 2004-2-18 11:31:00 |
Top |
java-programmer >> Where have all the wintrolls gone...
Otis Bricker wrote:
> "Luke Tulkas" <email***@***.com> wrote in news:c0tcot$6d1$1
> @grizzly.ps.uni-sb.de:
>
>
>>"Phil Earnhardt" <email***@***.com> wrote in message
>>news:email***@***.com...
>>
>>[snip]
>>
>>
>>>>>I could explain massive differences between
>>>>>what is going on in Iraq and the US with these weapons. I'll give
>>
>>you
>>
>>>>>first crack at listing the differences. Would you like to give it a
>>>>>shot?
>>>>
>>>>Ok,... how about this -
>>>>1) The US has WMD.
>>>>2) Iraq doesn't.
>>>
>>>I flunk you on your assignment. ;-(
>>
>>Let me try:
>>1) The US has WMD.
>>2) All the combined Iraq's WMD it has had from the age of dinosaurs to
>>the
>>present day (and beyond) including the ones beam-me-up-Scotty-ed to
>>Mars, don't
>>make a fraction of half a percent of WMD US has at the moment.
>>
>
>
> http://www.defenselink.mil/news/Jan1996/b012496_bt024-96.html
>
> states that the US stockpiles were about 31,200 Tons.
>
> http://www.fourthfreedom.org/pdf/dossier_report.pdf
>
> this article notes that UNSCOM destroyed over 480,000 tons of chemical
> agent.
>
> Do the math.
Even as inbred as Tulkass is, I don't think he has that many toes!
|
| |
|
| |
 |
JTK

|
Posted: 2004-2-18 11:36:00 |
Top |
java-programmer >> Where have all the wintrolls gone...
Luke Tulkas wrote:
> "Otis Bricker" <email***@***.com> wrote in message
> news:email***@***.com...
>
>
>>>>Even if it was, I believe that it is possible to withdraw from a
>>>
>>>treaty
>>>
>>>>we voluntarily entered into.
>>>
>>>Erm... ok, yes. But then one has to say "I'm out" not "I need more
>
> time
>
>>>to comply".
>>>
>>
>>Well, we are not withdrawing. But we needed to notify them about
>
> delays.
>
>>One plant was shutdown for most of a year because of a minor leak.
>
> Should
>
>>we have plowed ahead and risked further accidental release and
>
> possible
>
>>loss of life?
>
>
> You should've fixed the leak.
>
I completely agree. We should have stuck your... finger... in the leak
and plugged it. Ah well, live and learn and then get Luvs, Tulkass.
[snip unsnipped stuff]
>
> I see you, like Phil, have developed a habit of unsnipping stuff. Listen
> up, Otis: if I wanted to address the upper two paragraphs I would have
> done so.
Nope. If you weren't a complete loser and were actually able to address
what you snip you would have done so. But since you're so much less
than a complete loser, you snip.
Savvy?
[snip]
>>situations. Can I take your non-comments here and the fact that you
>>snipped this last part as an admission that they are quite different
>>situations?
>
>
> No, you may not. You may take it as snipped. As in: no comment.
As in: "No mas! No mas!"
|
| |
|
| |
 |
JTK

|
Posted: 2004-2-18 11:38:00 |
Top |
java-programmer >> Where have all the wintrolls gone...
Luke Tulkas wrote:
> "Otis Bricker" <email***@***.com> wrote in message
> news:email***@***.com...
>
>
>>>>>>I could explain massive differences between
>>>>>>what is going on in Iraq and the US with these weapons. I'll
>
> give
>
>>>you
>>>
>>>>>>first crack at listing the differences. Would you like to give
>
> it a
>
>>>>>>shot?
>>>>>
>>>>>Ok,... how about this -
>>>>>1) The US has WMD.
>>>>>2) Iraq doesn't.
>>>>
>>>>I flunk you on your assignment. ;-(
>>>
>>>Let me try:
>>>1) The US has WMD.
>>>2) All the combined Iraq's WMD it has had from the age of dinosaurs
>
> to
>
>>>the
>>>present day (and beyond) including the ones beam-me-up-Scotty-ed to
>>>Mars, don't
>>>make a fraction of half a percent of WMD US has at the moment.
>>>
>>
>>http://www.defenselink.mil/news/Jan1996/b012496_bt024-96.html
>>
>>states that the US stockpiles were about 31,200 Tons.
>>
>>http://www.fourthfreedom.org/pdf/dossier_report.pdf
>>
>>this article notes that UNSCOM destroyed over 480,000 tons of chemical
>>agent.
>>
>>Do the math.
>>
>>I couldn't track down an actual UN report on the amount
>>destroyed/reported. If someone can provide one and it has different
>>figures, please post a link. I like facts to be accurate.
>
>
> Let's be accurate then, shall we.
You start Tulkass. But do us all a favor and hold your breath for the
rest of us while we wait.
> When I say WMD, I mean WMD.
No you don't. I dare you to snip this.
[snip]
|
| |
|
| |
 |
JTK

|
Posted: 2004-2-18 11:42:00 |
Top |
java-programmer >> Where have all the wintrolls gone...
anoncoward wrote:
> JTK wrote:
>
>> And if you weren't a complete feeb you'd have stopped making a
>> supersymmetric fool out of yourself a couple hundred posts ago.
>> BAAAAAAAAAAAAAAAAAAHAHAHHAHAHAHHAHAHHAAAAAAAAAAAAAAAAAAAAA!!!!!!!
>> Nobody's listening to you idiot.
>
> > We're just toying with you, like cats playing with a rodent.
>
>> You exposed yourself for the filthy scum you are. Again.
>> Did you say something coward? Oh, sorry, nobody gave a damn.
>
>
> My word you certainly are an angry individual.
Not really, Snippy Longstockings.
[snip]
|
| |
|
| |
 |
Mike Schilling

|
Posted: 2004-2-18 12:11:00 |
Top |
java-programmer >> Where have all the wintrolls gone...
"James A. Robertson" <email***@***.com> wrote in message
news:email***@***.com...
> On Tue, 17 Feb 2004 19:39:30 +0100, "Luke Tulkas"
> <email***@***.com> wrote:
>
> >
> >Let's be accurate then, shall we. When I say WMD, I mean WMD. That,
> >first and above all, includes nuclear weapons. You seem to have
> >conveniently forgot about those. Also, your measure is somewhat
> >misleading. It's not tonnage that really matters. It's the ammount of
> >dammage those WMD can inflict. Now...
> >
>
> Unlike rogue regimes (and former rogue regimes), the US is no threat
> the actually use nukes,
Which is why the Bush administration wants to refurbish the stockpile of
strategic nukes and start building tactical ones.
> or transfer them to third parties likely to
> use them.
|
| |
|
| |
 |
Phil Earnhardt

|
Posted: 2004-2-18 14:11:00 |
Top |
java-programmer >> Where have all the wintrolls gone...
On Tue, 17 Feb 2004 19:27:58 +0100, "Luke Tulkas"
<email***@***.com> wrote:
>I see you, like Phil, have developed a habit of unsnipping stuff. Listen
>up, Otis: if I wanted to address the upper two paragraphs I would have
>done so. And you would know because then
>1. I wouldn't have snipped them and
>2. they would've been followed by my comment in previous post.
>Savvy?
Sorry. You don't get to make the rules.
If you make an outrageous claim in a post, it's grossly irresponsible
to fail to back it up. If you tell us:
>>>A couple of more weeks so the UNSC could have a chance to grant the
>>>action.
It's just plain bizarre to make that statement without backing it up.
AFAIK, you're the only person on the planet who is asserting that the
UNSC would have taken any action. To claim something like that without
providing any evidence for that viewpoint is just plain goofy.
To repeatedly ignore requests to back up that statement means that
it's simply a baseless assertion. That's grossly irresponsible
behavior in the discussion.
Luke: you are being intellectually dishonest in the discussion.
--phil
|
| |
|
| |
 |
Luke Tulkas

|
Posted: 2004-2-18 15:55:00 |
Top |
java-programmer >> Where have all the wintrolls gone...
"James A. Robertson" <email***@***.com> wrote in message
news:email***@***.com...
> On Tue, 17 Feb 2004 19:39:30 +0100, "Luke Tulkas"
> <email***@***.com> wrote:
>
> >
> >Let's be accurate then, shall we. When I say WMD, I mean WMD. That,
> >first and above all, includes nuclear weapons. You seem to have
> >conveniently forgot about those. Also, your measure is somewhat
> >misleading. It's not tonnage that really matters. It's the ammount of
> >dammage those WMD can inflict. Now...
> >
>
> Unlike rogue regimes (and former rogue regimes), the US is no threat
> the actually use nukes, or transfer them to third parties likely to
> use them.
Sez the US.
|
| |
|
| |
 |
Luke Tulkas

|
Posted: 2004-2-18 16:16:00 |
Top |
java-programmer >> Where have all the wintrolls gone...
"James A. Robertson" <email***@***.com> wrote in message
news:email***@***.com...
> >It should be the other way around: namely a member (read: US) should
be
> >aligned with actions of the organisation (read: UN) which it is a
part
> >of. Otherwise it (US) should get out.
> >
>
> Not when said organization takes a position that some member nation
> determines is a threat to it.
>
> On this general subject, I notice that France and Germany have voted
> themselves "more equal" than other EU states on deficit and debt
> levels. I expect, based on your positions, that you will be agitating
> with your govt for a pullout of the EU. After all, you are supposed
> to be aligned with that organization rather than the reverse
Germany and France didn't do that uni- (or in this case bi-) lateraly
(read: outside the EU parliament and / or comission). Also, many people
here predict that the EU is doomed. It's growing too big and the larger
members are loosing control. Rest assured that the second Germany (and /
or France) notices that it's interests are better served (& pursued)
outside the EU, it will get out.
> >> -- actions to
> >> reduce the threat of global terrorism. Where is the hypocrisy?
> >
> >Like I told you oh-so-many-times: first US is trying to convince the
UN
> >to do (or approve) something US wants. Nothing wrong with that.
> >Everybody does (better: would like to do) that. What's wrong is, that
> >later on, when UN doesn't want it, US goes on it's own, _against_
the
> >UN. When UN doesn't dance as US sings, it's suddenly bad bad UN and
US
> >just expands its own jurisdiction over whatever country it feels
like.
> >That's not only hipocritical. It's state terrorism!
> >
>
> The UN is typically corrupt and stupid, and we try to get it to "do
> the right thing". Often it doesn't. That's the way it is. It's a
> crappy organization, but it's the one that exists
The recipe is this:
1. Either _reform_ the organisation, turn it into something managable
(and honourable, if you will) we all can be satisfied with and then work
with(in) it.
2. Or simply get out.
|
| |
|
| |
 |
| |
 |
Index ‹ java-programmer |
- Next
- 1
- Software Development Kit 1.5Im starting with learning Java, and a book i got about it says i need
Software Development Kit 1.4. If i download and install it, i build a
java program and i try running it with command prompt.
But, commandprompt says i need version 1.5... :( Does some1 know where
i can download this or does some1 know another program to build Java
programs with and where can i download it...
- 2
- String comparision efficencyHI!
I have an appliation that will need to parse a text of unkown length.
I get the data as an array of strings (and thus I know then how much
data it is)
I want to do several things on each "row" (that is each element in the
array) I want to
1. look for a specific word (start) and count how many of them there
are in total.
2. Highlight the word alarm and append a short description to the end
of the line
my first thought was to use
for(int i=0;i<data.length++){
if(data[i].endsWith("start"){
// do the work..
}else if(data[i].startsWith("Alarm")){
//do different work
}
}
this seems to be rather inefficent as I get two (and possibly more, my
employer did not seem think these few features were enough..)
Is there a better way to do this.
As the alarm line also contains an alarm code, I do not know what it
looks like. Any suggestions?
regards
/daniel
- 3
- 4
- GUI locking up, but code running fine.I'm using Netbeans 5.0 beta for an IDE, with swing components. The
situation is something like this:
The program is a board game - the user chooses a building from a panel,
and then is supposed to get a message to choose what resource to pay
for it with. Here's a trace of the code:
Game (main object):
....
board[i].activate():
Game.game.setPlayer(worker);
Game.game.playerMessage("Choose a wooden building
from the building panel.");
Game.game.waitForBuild(type) :
built = false;
state = type + Game.BuildWood -
1;
mainPanel.buildings.getBP().setSelectedIndex(type-1);
while(!built)
{ Thread.yield(); }
No problems yet. This works fine, unless a building that needs to call
chooseResource is selected.
So, the user clicks one of these buildings, which activates the
following code, which is where the freeze occurs:
String r = Game.game.chooseResource():
state = Game.chooseResource;
resource = "";
while(resource.length()==0)
Thread.yield();
return resource;
Now chooseResource does work in any other context - resource gets set
by a mouseClicked event handler in a panel out there. But at this
point, the GUI stops responding. The playerMessage never gets printed,
and the click event never gets triggered. I did some investigating,
printing out numbers inside the two inmost loops, and the
chooseResource loop is continually running. I know the code's ugly,
but even so, the cause of this behavior is beyond me. Any suggestions
would be greatly appreciated!
- 5
- help:hibernateit drive me crazy!
where is the error?
when i use hibernate to connect to the mySQL,some error happens,just
like:
net.sf.hibernate.PropertyNotFoundException: no appropriate constructor
in class:
but i have defined a constructor without parameters!
it really block me,help!
- 6
- 7
- JPEG manipulationHi all,
I was just wondering if there is a way of changing a JPEG image in
Java, what i mean is, can i edit a JPEG (manipulate pixels in the
image) ?
Thanks in advance
- 8
- JTable emulate a HTML Table?Hi,
I want to display a table of user inputted information as a table but I am
having problems formatting the layout as I want it. I have a fixed cell
width and want the cell height to adjust to fit the text entered by the
user.
I can set the widths but can only set a fixed height for a cell and am
unable to get text to wrap within it,
for example. Also with the fixed height, the single line cells would float
to the vertical center of the cell, not stay at the top. Can alignments be
set?
[date textfield][item textfield][description textarea][idenifier
textfield][cost textfield]
[submit button]
Date Item Description
Identifier Cost
12/12/03 Big Pan This is a description field that BPI420
$60
15:30 spans multiple lines an needs
to wrap. The cell height
should dynamically alter to
accomodate the text.
1/1/04 Aspirin This is a much shorter
AS123 $20
description
Am I able to do this and if so how?
Is there a better way to do this than with using a JTable? I tried doing it
with a gridbag layout but the consecutive items wouldn't stay aligned.
Please help!
Cheers
Xav
- 9
- Load default web browserHello,
I want to load a default web browser from my swing application [using
JApplet].
Using Runtime.getRuntime.exec("RunDLL 32.exe
shell32.dll,shellExec.RunDLL"+url);[for windows]
default browser can be called.But it is working in normal class & with
frames only.
with Applet or in swing-JApplet
it is showing error as :- java.security.AccessControlException:access
denied(java.io.FilePermission<<All FILES>>)execute>.
I want a plateform independent solution which will work in swing-JApplet.
--
Message posted via JavaKB.com
http://www.javakb.com/Uwe/Forums.aspx/java-jvm/200505/1
- 10
- java/berkeley-db self-test hangHello!
The newly updated port of java/berkeley-db hangs during self-tests on one of
my machines:
dual FreeBSD/i386 6.1-stable - no hang
single FreeBSD/amd64 6.1-stable - no hang
dual FreeBSD/amd64 6.2-prerelease - hangs
There is little CPU use and all the process is doing, according to ktrace is
the repeated:
[...]
13089 java CALL clock_gettime(0,0x7ffffeff3d00)
13089 java RET clock_gettime 0
13089 java CALL kse_release(0x654f20)
13089 java RET kse_release 0
13089 java CALL kse_release(0x511f20)
13089 java RET kse_release 0
13089 java CALL clock_gettime(0,0x7ffffeff3d00)
13089 java RET clock_gettime 0
13089 java CALL kse_release(0x654f20)
13089 java RET kse_release 0
13089 java CALL kse_release(0x511f20)
[...]
Rebuilding Java did not help... Would any Java and/or thread expert, please,
try to build the port with self-testing enabled and analyze any hang? Thanks
a lot!
-mi
- 11
- message Driven bean problemhi,
i am trying to design an EJB application using session , entity and
message beans
it's a messaging board , a user can add a message , reply to a
message , and delete the message
when glasfish is running more than one application,
the board client side keeps calling the wrong jms\
// the addTopic class
package web;
import ejb.Topic;
import java.io.*;
import java.util.Date;
import javax.annotation.Resource;
import javax.jms.Connection;
import javax.jms.ConnectionFactory;
import javax.jms.JMSException;
import javax.jms.MessageProducer;
import javax.jms.ObjectMessage;
import javax.jms.Queue;
import javax.jms.Session;
import javax.servlet.*;
import javax.servlet.http.*;
public class AddTopic extends HttpServlet {
@Resource(mappedName = "jms/BoardTopicFactory")
private ConnectionFactory connectionFactorys = null;
@Resource(mappedName = "jms/BoardTopic")
private Queue queue = null;
private Connection connection = null;
private Session session = null;
@Override
protected void doGet(HttpServletRequest request,
HttpServletResponse response)
throws ServletException, IOException {
try {
try {
// creating a connection
connection = connectionFactorys.createConnection();
session = connection.createSession(false,
Session.AUTO_ACKNOWLEDGE);
MessageProducer messageProducer =
session.createProducer(queue);
ObjectMessage message = session.createObjectMessage();
Topic topic = new Topic();
// getting and setting all attributes required for the
topic
topic.setTopicDate(new Date());
// topic name validation , if empty , do not add it to
the database
if (request.getParameter("topicName").equals("")) {
} else {
topic.setTopicName(request.getParameter("topicName"));
message.setObject(topic);
messageProducer.send(message);
messageProducer.close();
// connection.close();
}
} finally {
if (session != null) {
session.close();
}
if (connection != null) {
connection.close();
}
}
} catch (JMSException ex) {
ex.printStackTrace();
}
getServletConfig().getServletContext().getRequestDispatcher("/
index.jsp").forward(request, response);
}
@Override
protected void doPost(HttpServletRequest request,
HttpServletResponse response)
throws ServletException, IOException {
doGet(request, response);
}
/**
* Returns a short description of the servlet.
*/
@Override
public String getServletInfo() {
return "Short description";
}
// </editor-fold>
}
----------------------------------------------------------------------------------------------------
///the jms class
package ejb;
import javax.annotation.Resource;
import javax.ejb.ActivationConfigProperty;
import javax.ejb.MessageDriven;
import javax.ejb.MessageDrivenContext;
import javax.jms.JMSException;
import javax.jms.Message;
import javax.jms.MessageListener;
import javax.jms.ObjectMessage;
import javax.persistence.EntityManager;
import javax.persistence.PersistenceContext;
@MessageDriven(mappedName = "jms/BoardTopic", activationConfig = {
@ActivationConfigProperty(propertyName = "acknowledgeMode",
propertyValue = "Auto-acknowledge"),
@ActivationConfigProperty(propertyName = "destinationType",
propertyValue = "javax.jms.Queue")
})
public class BoardTopicBean implements MessageListener {
@PersistenceContext
private EntityManager em;
@Resource
MessageDrivenContext mdc;
public BoardTopicBean() {
}
public void onMessage(Message message) {
ObjectMessage msg = null;
try {
msg = (ObjectMessage) message;
persist(msg.getObject());
} catch (JMSException e) {
e.printStackTrace();
mdc.setRollbackOnly();
} catch (Throwable te) {
te.printStackTrace();
}
}
public void persist(Object object) {
// save the object (MessageTable or Topic)
em.persist(object);
// if the object is a MessageTable then add this newly created/
persisted object to the list of messages in the topic
if (object instanceof MessageTable) {
MessageTable msg = (MessageTable) object;
Topic topic = msg.getTopic();
if (topic == null) {
em.remove(msg);
} else {
topic = em.find(Topic.class, topic.getId());
topic.getMessages().add(msg);
em.merge(topic);
}
} else {
System.out.println("Wrong type in
merge..................");
}
}
}
----------------------------------------------------------------------------------------------------------------------
some of the exceptions thrown to the console
DirectConsumer:Caught Exception delivering
messagecom.sun.messaging.jmq.io.Packet cannot be cast to
com.sun.messaging.jms.ra.DirectPacket
MQJMSRA_DM4001: :Exception:ObjectMessage.getObject()DeSerializing
object::message=ejb.Topic
javax.jms.MessageFormatException:
MQJMSRA_DM4001: :Exception:ObjectMessage.getObject()DeSerializing
object::message=ejb.Topic
at
com.sun.messaging.jms.ra.DirectObjectPacket.getObject(DirectObjectPacket.java:
169)
at ejb.HockeyMessagesBean.onMessage(HockeyMessagesBean.java:
34)
at sun.reflect.GeneratedMethodAccessor140.invoke(Unknown
Source)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:
25)
at java.lang.reflect.Method.invoke(Method.java:597)
at
com.sun.enterprise.security.application.EJBSecurityManager.runMethod(EJBSecurityManager.java:
1067)
at
com.sun.enterprise.security.SecurityUtil.invoke(SecurityUtil.java:176)
at
com.sun.ejb.containers.BaseContainer.invokeTargetBeanMethod(BaseContainer.java:
2895)
at
com.sun.ejb.containers.BaseContainer.intercept(BaseContainer.java:
3986)
at
com.sun.ejb.containers.MessageBeanContainer.deliverMessage(MessageBeanContainer.java:
1111)
at
com.sun.ejb.containers.MessageBeanListenerImpl.deliverMessage(MessageBeanListenerImpl.java:
74)
at
com.sun.enterprise.connectors.inflow.MessageEndpointInvocationHandler.invoke(MessageEndpointInvocationHandler.java:
179)
at $Proxy52.onMessage(Unknown Source)
at
com.sun.messaging.jms.ra.OnMessageRunner.run(OnMessageRunner.java:258)
at
com.sun.enterprise.connectors.work.OneWork.doWork(OneWork.java:76)
at com.sun.corba.ee.impl.orbutil.threadpool.ThreadPoolImpl
$WorkerThread.run(ThreadPoolImpl.java:555)
Caused by: java.lang.ClassNotFoundException: ejb.Topic
at
com.sun.enterprise.loader.EJBClassLoader.findClassData(EJBClassLoader.java:
718)
at
com.sun.enterprise.loader.EJBClassLoader.findClass(EJBClassLoader.java:
631)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:
319)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:247)
at com.sun.messaging.jms.ra.DirectObjectPacket
$ObjectInputStreamWithContextLoader.resolveClass(DirectObjectPacket.java:
301)
at
java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:
1575)
at
java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1496)
at
java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:
1732)
at
java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1329)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:
351)
at
com.sun.messaging.jms.ra.DirectObjectPacket.getObject(DirectObjectPacket.java:
155)
... 15 more
DirectConsumer:Caught Exception delivering
messagecom.sun.messaging.jmq.io.Packet cannot be cast to
com.sun.messaging.jms.ra.DirectPacket
MQJMSRA_DM4001: :Exception:ObjectMessage.getObject()DeSerializing
object::message=ejb.HockeyEntity
javax.jms.MessageFormatException:
MQJMSRA_DM4001: :Exception:ObjectMessage.getObject()DeSerializing
object::message=ejb.HockeyEntity
at
com.sun.messaging.jms.ra.DirectObjectPacket.getObject(DirectObjectPacket.java:
169)
at ejb.BoardTopicBean.onMessage(BoardTopicBean.java:33)
at sun.reflect.GeneratedMethodAccessor146.invoke(Unknown
Source)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:
25)
at java.lang.reflect.Method.invoke(Method.java:597)
at
com.sun.enterprise.security.application.EJBSecurityManager.runMethod(EJBSecurityManager.java:
1067)
at
com.sun.enterprise.security.SecurityUtil.invoke(SecurityUtil.java:176)
at
com.sun.ejb.containers.BaseContainer.invokeTargetBeanMethod(BaseContainer.java:
2895)
at
com.sun.ejb.containers.BaseContainer.intercept(BaseContainer.java:
3986)
at
com.sun.ejb.containers.MessageBeanContainer.deliverMessage(MessageBeanContainer.java:
1111)
at
com.sun.ejb.containers.MessageBeanListenerImpl.deliverMessage(MessageBeanListenerImpl.java:
74)
at
com.sun.enterprise.connectors.inflow.MessageEndpointInvocationHandler.invoke(MessageEndpointInvocationHandler.java:
179)
at $Proxy56.onMessage(Unknown Source)
at
com.sun.messaging.jms.ra.OnMessageRunner.run(OnMessageRunner.java:258)
at
com.sun.enterprise.connectors.work.OneWork.doWork(OneWork.java:76)
at com.sun.corba.ee.impl.orbutil.threadpool.ThreadPoolImpl
$WorkerThread.run(ThreadPoolImpl.java:555)
Caused by: java.lang.ClassNotFoundException: ejb.HockeyEntity
at
com.sun.enterprise.loader.EJBClassLoader.findClassData(EJBClassLoader.java:
718)
at
com.sun.enterprise.loader.EJBClassLoader.findClass(EJBClassLoader.java:
631)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:
319)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:247)
at com.sun.messaging.jms.ra.DirectObjectPacket
$ObjectInputStreamWithContextLoader.resolveClass(DirectObjectPacket.java:
301)
at
java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:
1575)
at
java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1496)
at
java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:
1732)
at
java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1329)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:
351)
at
com.sun.messaging.jms.ra.DirectObjectPacket.getObject(DirectObjectPacket.java:
155)
... 15 more
DirectConsumer:Caught Exception delivering
messagecom.sun.messaging.jmq.io.Packet cannot be cast to
com.sun.messaging.jms.ra.DirectPacket
MQJMSRA_DM4001: :Exception:ObjectMessage.getObject()DeSerializing
object::message=ejb.HockeyEntity
-----------------------
any idea guys???
- 12
- Dynamic resizing of JPanelDear experts,
I have the a JDesktopPane and a JPanel added to the CENTER and SOUTH
position of a JFrame respectively.
I would like to dynamically resize the JPanel upon mouseExited like the
Windows TaskBar.
On mouseExited of the JPanel i set the bounds of the JPanel to a new
size. However, the sizes do not reflect visually. I have called
invalidate(), validate(), repaint() and none seems to work.
Other than using JSplitPane to create a resizable JPanel, how can I make
this work?
Others have suggested using LayoutManagers but which one and how?
Thank you in advance.
- 13
- wats the cluefrnds wen we connect with Oracle server from java,we use
getConnection(oracledriver,IPadress of
server,servername,username ,password);
forgive me if they r not in the same order.now my question is wat is
the server name if we use same system for server as well as
client.Ofcourse the IP address is loop back address.
Thanks in Advance.
Srinivas Reddy Thatiparthy.
- 14
- richtext componentIsn't there a richtext component available within java sdk? I know I don't
see any in the pallette, is there a class where i can initiate one? or 3rd
party?
- 15
- HashMap with primitive int keyDear All,
I have a class like this:
class CustomerOrder {
int globalID;
...
}
I have an array of these.
I'd like to store an index of globalIDs, so I can do:
CustomerOrder o = index.get(123)
I could modify my class to be:
class CustomerOrder {
Integer globalID;
...
}
Perhaps it is my C++ background, but the idea of allocating an object for every
ID when I can just use an int bothers me.
I figure a HashMap is the right tool of choice, e.g.:
HashMap<Integer, CustomerOrder> index = new ...
Has anyone out there already written a modified hashmap class that uses int as
the key?
Thanks for any tips :)
Andrew
|
|
|