comp.lang.java.programmer
http://groups-beta.google.com/group/comp.lang.java.programmer
[EMAIL PROTECTED]

Today's topics:

* Need help assigning instance of java class to a jobject - 3 messages, 3 
authors
  
http://groups-beta.google.com/group/comp.lang.java.programmer/browse_thread/thread/ce91c30f1b4f226
* Design problem: MVC - 2 messages, 2 authors
  
http://groups-beta.google.com/group/comp.lang.java.programmer/browse_thread/thread/5a48d60f28932e2a
* What is a Package in Java? - 4 messages, 3 authors
  
http://groups-beta.google.com/group/comp.lang.java.programmer/browse_thread/thread/3e73247896cdb4d4
* Object reference side effects - desirable? - 3 messages, 2 authors
  
http://groups-beta.google.com/group/comp.lang.java.programmer/browse_thread/thread/294afbcaabeb8325
* Why would file reading stop at 1124 bytes with this code? - 1 messages, 1 
author
  
http://groups-beta.google.com/group/comp.lang.java.programmer/browse_thread/thread/f79ea47a0b0aea21
* launching the tomcat example jsps? how? - 3 messages, 2 authors
  
http://groups-beta.google.com/group/comp.lang.java.programmer/browse_thread/thread/e579d3e65ca40093
* Two JFrames, one dialog - 1 messages, 1 author
  
http://groups-beta.google.com/group/comp.lang.java.programmer/browse_thread/thread/b82885ddec2ae08d
* looking for an applet - 1 messages, 1 author
  
http://groups-beta.google.com/group/comp.lang.java.programmer/browse_thread/thread/4d5aa132e9069db6
* Data Structure Decision - 2 messages, 2 authors
  
http://groups-beta.google.com/group/comp.lang.java.programmer/browse_thread/thread/22e78a2f19eb4277
* How do you report a JIT crash bug? - 1 messages, 1 author
  
http://groups-beta.google.com/group/comp.lang.java.programmer/browse_thread/thread/6e12e8e3c39c7cc4
* Tomcat responce time 10-200 seconds once in a while - 1 messages, 1 author
  
http://groups-beta.google.com/group/comp.lang.java.programmer/browse_thread/thread/eff0206fed26be06
* Java Sound API adjust playback speed? - 1 messages, 1 author
  
http://groups-beta.google.com/group/comp.lang.java.programmer/browse_thread/thread/fd4cf8ac5f8c6b76
* J2ME / J2EE Communication - 1 messages, 1 author
  
http://groups-beta.google.com/group/comp.lang.java.programmer/browse_thread/thread/52432739240ea23f
* runtime.getRuntim().exec(somecmd) problem with linux - 1 messages, 1 author
  
http://groups-beta.google.com/group/comp.lang.java.programmer/browse_thread/thread/a3f83ceedc3184b0
* StringTokenizer - 1 messages, 1 author
  
http://groups-beta.google.com/group/comp.lang.java.programmer/browse_thread/thread/aada180fe7063846
* Java program help - 1 messages, 1 author
  
http://groups-beta.google.com/group/comp.lang.java.programmer/browse_thread/thread/a0adcba0ab0728f2
  
==========================================================================
TOPIC: Need help assigning instance of java class to a jobject
http://groups-beta.google.com/group/comp.lang.java.programmer/browse_thread/thread/ce91c30f1b4f226
==========================================================================

== 1 of 3 ==
Date:   Sun,   Nov 7 2004 10:22 am
From: Tor Iver Wilhelmsen <[EMAIL PROTECTED]> 

Oscar kind <[EMAIL PROTECTED]> writes:

> Yes: this is not Java.
> Hint: the "->" operator doesn't exist. That's C/C++.

Yes, Java's JNI (which he uses) uses C/C++ underneath. But JNI is
definitely associated with Java.



== 2 of 3 ==
Date:   Sun,   Nov 7 2004 12:05 pm
From: Oscar kind <[EMAIL PROTECTED]> 

Tor Iver Wilhelmsen <[EMAIL PROTECTED]> wrote:
> Oscar kind <[EMAIL PROTECTED]> writes:
> 
>> Yes: this is not Java.
>> Hint: the "->" operator doesn't exist. That's C/C++.
> 
> Yes, Java's JNI (which he uses) uses C/C++ underneath. But JNI is
> definitely associated with Java.

Associated with: yes. You are right about that.

But as then it's about interfacing Java with another programmig language,
I'd expect the OP saying so. As with all cases where two or more
programming languages are mixed.


-- 
Oscar Kind                                    http://home.hccnet.nl/okind/
Software Developer                    for contact information, see website

PGP Key fingerprint:    91F3 6C72 F465 5E98 C246  61D9 2C32 8E24 097B B4E2



== 3 of 3 ==
Date:   Sun,   Nov 7 2004 2:31 pm
From: MP <[EMAIL PROTECTED]> 

MP wrote:
> I have the Invocation API code working properly. I get a jclass with the 
> proper path to our jar successfully. I would now like to create an 
> instance of this class so I can call some non static instance methods on 
> it. I can successfully get its constructor (I think that's what I'm 
> getting) by using mid = env->GetMethodID(cls, "<init>", "()V);. However, 
> when I try to get create an instance jobject theclass = 
> env->NewObject(cls, mid) I get a NULL returned. Any ideas?

Yes, as some readers have noticed, I should have indicated that the OP 
is related to JNI.  I'm hoping someone here has some experience with the 
problem I am experiencing...




==========================================================================
TOPIC: Design problem: MVC
http://groups-beta.google.com/group/comp.lang.java.programmer/browse_thread/thread/5a48d60f28932e2a
==========================================================================

== 1 of 2 ==
Date:   Sun,   Nov 7 2004 10:20 am
From: Albert <[EMAIL PROTECTED]> 

Well, I'm developing a website where the content is dynamically  
included.It's my first jsp project so I've got some - probably basic  
-questions.
A jsp page is divided in some areas like content, navigation etc.
Content -as an example - is dynamically included and should display some -  
I call them - blocks.
A block is for example an image, a list and a headline. So content can  
have 1 to many blocks.
So a page ->content->block->image
I'm using the MVC pattern so my first approach was that my controller  
servlets passes to the jsp page an object called model and the jsp page  
gets
the data out of it.
Because of the structure this gets very ugly like:
Page onepage = (Page) model.getPage();
and then
(Area) onearea = (Area) onepage.getArea('content');
and so on...
The second problem is how do I pass the needed objects to the includes..?
Actually the jsp-page gets the object and writes it into the request with  
setAttribute and the included page pulls them out..
But this looks horrible..
Thanks for any advice!



== 2 of 2 ==
Date:   Sun,   Nov 7 2004 10:59 am
From: Andrew Thompson <[EMAIL PROTECTED]> 

On Sun, 07 Nov 2004 19:20:21 +0100, Albert wrote:

> Well, I'm developing a website ..

If you feel the need to repost a question on another group*, 
it is best to mention the earlier question, and explain why 
you thought you should ask it again on a different group.

Posting a question to separate groups is known as multi-posting, 
and does not gain you many friends..
<http://www.physci.org/codes/javafaq.jsp#xpost>

* <http://groups.google.com/[EMAIL PROTECTED]>

-- 
Andrew Thompson
http://www.PhySci.org/codes/  Web & IT Help
http://www.PhySci.org/  Open-source software suite
http://www.1point1C.org/  Science & Technology
http://www.LensEscapes.com/  Images that escape the mundane




==========================================================================
TOPIC: What is a Package in Java?
http://groups-beta.google.com/group/comp.lang.java.programmer/browse_thread/thread/3e73247896cdb4d4
==========================================================================

== 1 of 4 ==
Date:   Sun,   Nov 7 2004 10:24 am
From: "djaksic" <[EMAIL PROTECTED]> 

Almost corect, also there are .java files included.

"Katerina MacLean" <[EMAIL PROTECTED]> wrote in message 
news:[EMAIL PROTECTED]
> What is a package in java?
>
> My assumption is that it is a collectyion of classes that are compiled 
> together and have dependency - is this correct? 





== 2 of 4 ==
Date:   Sun,   Nov 7 2004 11:13 am
From: Tor Iver Wilhelmsen <[EMAIL PROTECTED]> 

Katerina MacLean <[EMAIL PROTECTED]> writes:

> What is a package in java?

Basically it's what e.g. C++ and C# calls a "namespace", except it's
also reflected in hierarchical structures on the classpath.



== 3 of 4 ==
Date:   Sun,   Nov 7 2004 11:23 am
From: Chris Smith <[EMAIL PROTECTED]> 

Katerina MacLean wrote:
> What is a package in java?
> 
> My assumption is that it is a collectyion of classes that are compiled 
> together and have dependency - is this correct?

Not exactly, no.  There is no requirement that classes in the same 
package are compiled together, nor that they have any dependencies 
between them.  Both are likely, but in the end a package is basically 
just a prefix at the beginning of the name of a class.  As an example, 
there exists a class called org.w3c.dom.Document, which is a part of the 
DOM recommendation as implemented in the core Java API.  It can also be 
described as the class in package "org.w3c.dom" with a simple name of 
"Document".

The primary purpose of a package is to avoid naming conflicts.  For 
example, there is also a class called Document in the javax.swing.text 
package.  These two classes have completely different purposes, and you 
can tell them apart because of their different package names.  If you 
only intend to use one of them, then you can use the "import" statement 
to tell the compiler that when you write "Document", you actually mean 
"org.w3c.dom.Document" and not "javax.swing.text.Document"  Of course, 
you can always use the full names if, for example, you need to use both 
Document classes in the same source file.

Packages also play a role in access control specifiers and in the Java 
security architecture with package sealing.  These are secondary to the 
main purpose of a package.

-- 
www.designacourse.com
The Easiest Way To Train Anyone... Anywhere.

Chris Smith - Lead Software Developer/Technical Trainer
MindIQ Corporation



== 4 of 4 ==
Date:   Sun,   Nov 7 2004 11:29 am
From: Chris Smith <[EMAIL PROTECTED]> 

djaksic wrote:
> "Katerina MacLean" <[EMAIL PROTECTED]> wrote ...
> > What is a package in java?
> >
> > My assumption is that it is a collectyion of classes that are compiled 
> > together and have dependency - is this correct? 
> 
> Almost corect, also there are .java files included.

[Top-posting fixed]

I'm not sure where you're getting that from.  Files have nothing to with 
packages.  An implementation of Java such as IBM's old Visual Age 
product, which did not store source code in files at all, still would 
need to have packages because they are a part of the Java language.

The statement that a ".java" file is included in a package is about 
equivalent to saying that protective plastic coating on a distribution 
CD is a part of the Windows operating system.  The two concepts exist at 
different levels, and can't be compared.

-- 
www.designacourse.com
The Easiest Way To Train Anyone... Anywhere.

Chris Smith - Lead Software Developer/Technical Trainer
MindIQ Corporation




==========================================================================
TOPIC: Object reference side effects - desirable?
http://groups-beta.google.com/group/comp.lang.java.programmer/browse_thread/thread/294afbcaabeb8325
==========================================================================

== 1 of 3 ==
Date:   Sun,   Nov 7 2004 10:41 am
From: "VisionSet" <[EMAIL PROTECTED]> 

My Swing Table model has a delete method.
When I call it it deletes a row from my table model, updates the view, and
deletes it from the underlying domain model.
Except that last step is a desirable *side effect*.

The swing model holds a list of domain model objects this is the same list
object that is retrieved from the domain model.  So as a side effect changes
to the swing model affect changes to the domain model.
This is fine behaviour for me with this system, though I realise that often
more decoupling is desired.

The downside is that I don't explicitly call myDomainObject.deleteWhatever()
so my intent from pure code is not obvious.

Thoughts?

-- 
Mike W





== 2 of 3 ==
Date:   Sun,   Nov 7 2004 11:11 am
From: "VisionSet" <[EMAIL PROTECTED]> 



"VisionSet" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> My Swing Table model has a delete method.
> When I call it it deletes a row from my table model, updates the view, and
> deletes it from the underlying domain model.
> Except that last step is a desirable *side effect*.
>
> The swing model holds a list of domain model objects this is the same list
> object that is retrieved from the domain model.  So as a side effect
changes
> to the swing model affect changes to the domain model.
> This is fine behaviour for me with this system, though I realise that
often
> more decoupling is desired.
>
> The downside is that I don't explicitly call
myDomainObject.deleteWhatever()
> so my intent from pure code is not obvious.
>
> Thoughts?

I wonder if I have the answer?

At present I have Customer as the highest composer (Nothing maintains a list
of customers).
I use arrays[] and ArrayList to compose customers.  So this is a good reason
to have a CustomerList object.  I'll make it implement List delegating to a
wrapped ArrayList and very little code will change.

--
Mike W





== 3 of 3 ==
Date:   Sun,   Nov 7 2004 12:22 pm
From: Oscar kind <[EMAIL PROTECTED]> 

VisionSet <[EMAIL PROTECTED]> wrote:
> My Swing Table model has a delete method.
> When I call it it deletes a row from my table model, updates the view, and
> deletes it from the underlying domain model.
> Except that last step is a desirable *side effect*.
[...]
> This is fine behaviour for me with this system, though I realise that often
> more decoupling is desired.

Yes. Preferably, the domain model just is. It doesn't do anything, it is
acted upon by the controller.


> The downside is that I don't explicitly call myDomainObject.deleteWhatever()
> so my intent from pure code is not obvious.
> 
> Thoughts?

One. Update the interface when you commit a change in the domain model.
This can be signaled by the controller logic (for example when a method on
a domain object completed successfully).

Advantage is that what you see is the current situation. Changes become
atomic, just as in a database; this is a Good Thing.

Also: when (for exmple) you create a list to commit, a change is most
likely initiated by the user. This is known to the controller, who can
then signal an update.

The only time when this does not work is when changes come in from the
outside (for example with a stock feed). But in that case a listener
structure in your domain objects is perfectly natural, and that can signal
the controller, etc.


-- 
Oscar Kind                                    http://home.hccnet.nl/okind/
Software Developer                    for contact information, see website

PGP Key fingerprint:    91F3 6C72 F465 5E98 C246  61D9 2C32 8E24 097B B4E2




==========================================================================
TOPIC: Why would file reading stop at 1124 bytes with this code?
http://groups-beta.google.com/group/comp.lang.java.programmer/browse_thread/thread/f79ea47a0b0aea21
==========================================================================

== 1 of 1 ==
Date:   Sun,   Nov 7 2004 11:16 am
From: "Mickey Segal" <[EMAIL PROTECTED]> 

"Sudsy" <[EMAIL PROTECTED]> wrote in message 
news:[EMAIL PROTECTED]
> I hate to mention the obvious, but I don't see an invocation of
> setContentLength here. I know from experience that not specifying
> the length can give receivers conniptions.

I will fiddle with setContentLength and the receiving code; one or both may 
be the problem.  Thanks for the helpful suggestion - books on Java I/O tend 
to gloss over such issues.

It is so much harder debugging servlets than applets or applications, 
particularly when the servlets interact with other programs. 






==========================================================================
TOPIC: launching the tomcat example jsps? how?
http://groups-beta.google.com/group/comp.lang.java.programmer/browse_thread/thread/e579d3e65ca40093
==========================================================================

== 1 of 3 ==
Date:   Sun,   Nov 7 2004 11:39 am
From: "Ryan" <[EMAIL PROTECTED]> 

I am trying to use the tomcat 4.1.30 example jsps. Here is an example of my 
path:


http://localhost:8080/examples/jsp/cal1.jsp

I do not even get a tomcat error. I just get page cannot be displayed. These 
are the jsp's installed when you install tomcat. 





== 2 of 3 ==
Date:   Sun,   Nov 7 2004 12:36 pm
From: "Paul H. van Rossem" <[EMAIL PROTECTED]> 

On 07-11-2004 20:39, Ryan wrote:
> I am trying to use the tomcat 4.1.30 example jsps. Here is an example of my 
> path:
> 
> 
> http://localhost:8080/examples/jsp/cal1.jsp
> 
> I do not even get a tomcat error. I just get page cannot be displayed. These 
> are the jsp's installed when you install tomcat. 
> 

Maybe try: <http://www.timeware.nl/examples/jsp/cal/cal1.jsp> (that's 
where it is on my installation...)

Paul.



== 3 of 3 ==
Date:   Sun,   Nov 7 2004 12:39 pm
From: "Paul H. van Rossem" <[EMAIL PROTECTED]> 

On 07-11-2004 21:36, Paul H. van Rossem wrote:
> On 07-11-2004 20:39, Ryan wrote:
> 
>> I am trying to use the tomcat 4.1.30 example jsps. Here is an example 
>> of my path:
>>
>>
>> http://localhost:8080/examples/jsp/cal1.jsp
>>
>> I do not even get a tomcat error. I just get page cannot be displayed. 
>> These are the jsp's installed when you install tomcat.
> 
> 
> Maybe try: <http://www.timeware.nl/examples/jsp/cal/cal1.jsp> (that's 
> where it is on my installation...)
> 
> Paul.

Sorry, I meant: <http://localhost:8080/examples/jsp/cal/cal1.jsp>

Paul.




==========================================================================
TOPIC: Two JFrames, one dialog
http://groups-beta.google.com/group/comp.lang.java.programmer/browse_thread/thread/b82885ddec2ae08d
==========================================================================

== 1 of 1 ==
Date:   Sun,   Nov 7 2004 11:32 am
From: Lynx <[EMAIL PROTECTED]> 

Hello,
My JFrame (main) creates new Jframe (second), this second creates modal
JDialog. But this modal JDialog is also modal with the main frame.
How to make JDialog modal only with the second frame ?
Lynx




==========================================================================
TOPIC: looking for an applet
http://groups-beta.google.com/group/comp.lang.java.programmer/browse_thread/thread/4d5aa132e9069db6
==========================================================================

== 1 of 1 ==
Date:   Sun,   Nov 7 2004 11:46 am
From: [EMAIL PROTECTED] (ras) 

hi,

i'm looking for an applet that will let users add comments to a web
page. sort of like a guestbook but rather than take you to a different
page the user's comments would simply be appended to the bottom of the
web page.

thanks for any help,

rasiel




==========================================================================
TOPIC: Data Structure Decision
http://groups-beta.google.com/group/comp.lang.java.programmer/browse_thread/thread/22e78a2f19eb4277
==========================================================================

== 1 of 2 ==
Date:   Sun,   Nov 7 2004 11:54 am
From: [EMAIL PROTECTED] (TonY) 

hi,

I need advice on the appropriate Java Data Structure to use in my
program.

I need a 2D data structue where the number of rows and columns are not
constant and can't preset. the number of rows and columns can only
increase during the program execution. each row/column can have
different size.

in the program bulk processing, i 'll have to compare a certain
variable value with the column elements. upon this comparaison, i
might insert this variable in a particular column

i can think on a vector of vector, but is there not any more suitable
java built-in data structure

many thanks



== 2 of 2 ==
Date:   Sun,   Nov 7 2004 12:32 pm
From: Oscar kind <[EMAIL PROTECTED]> 

TonY <[EMAIL PROTECTED]> wrote:
> I need a 2D data structue where the number of rows and columns are not
> constant and can't preset. the number of rows and columns can only
> increase during the program execution. each row/column can have
> different size.

You mention rows and columns, so I assume you're talking about a
2-dimensional euclidian space where the coordinates are non-negative.

In this case, I'd suggest a List of List's.


> in the program bulk processing, i 'll have to compare a certain
> variable value with the column elements. upon this comparaison, i
> might insert this variable in a particular column

Thus, I'd use an ArrayList to assign to the List variables. It has better
random access than a LinkedList, and if columns aren't removed or inserted
(only appended), it's inefficiencies in that area don't surface.


> i can think on a vector of vector, but is there not any more suitable
> java built-in data structure

Vector acts the same as an ArrayList, but has additional synchronization.
Do not use it unless you really need that, and even then you're probably
better off using a synchronized List anyway: synchronization is just part
of thread-safe programming, and is likely to induce a false sense of "ok,
that's fixed". It does at least with me.

I'd use the List interface and one of the new List classes (ArrayList &
LinkedList) instead.


-- 
Oscar Kind                                    http://home.hccnet.nl/okind/
Software Developer                    for contact information, see website

PGP Key fingerprint:    91F3 6C72 F465 5E98 C246  61D9 2C32 8E24 097B B4E2




==========================================================================
TOPIC: How do you report a JIT crash bug?
http://groups-beta.google.com/group/comp.lang.java.programmer/browse_thread/thread/6e12e8e3c39c7cc4
==========================================================================

== 1 of 1 ==
Date:   Sun,   Nov 7 2004 12:37 pm
From: "Mickey Segal" <[EMAIL PROTECTED]> 

"Sudsy" <[EMAIL PROTECTED]> wrote:
>    It looks like a call to Component.removeAll is invoking the underlying
> Component.removeNotify, which is supposed to disconnect from the native
> peer. The code is dying in a native method in NTDLL.DLL.
>    Now this is just a wild shot in the dark but I wouldn't be surprised
> to see something like this if you were trying to remove the container
> twice; once in the MouseReleased method and again in the calling method.
> Without seeing the code it's impossible to guess further.
>    Perhaps you've invoked addMouseListener on a Dialog?

The crashes occur at a point in which a Panel is removed and another Panel
is created and added in its place.  The Panel is not removed twice.  This
works fine 99% of the time with the Sun JVM and 100% of the time with the
Microsoft JVM.  I don't think any relevant code has changed in a long time;
I only noticed the problem as of JRE 1.5.0. 






==========================================================================
TOPIC: Tomcat responce time 10-200 seconds once in a while
http://groups-beta.google.com/group/comp.lang.java.programmer/browse_thread/thread/eff0206fed26be06
==========================================================================

== 1 of 1 ==
Date:   Sun,   Nov 7 2004 12:57 pm
From: Roman Zhovtulya <[EMAIL PROTECTED]> 

Hello Christian,
Thanks a lot for the hint.
Actually, there is no "OPTIMIZE" process in the list (see the list 
below), but all of the processes are in "Sleep" mode.

Where can I get the "Database optimization"-Cron-Jobs? In fact, this 
list is from the database running on RedHat 8.0.

Thanks a lot,
Roman



Here is the process list:
************
Host: localhost
Database : fhoportal
Generation Time: Nov 07, 2004 at 09:59 PM
Generated by: phpMyAdmin 2.5.3
SQL-query: SHOW PROCESSLIST ;

Id  User  Host  db  Command  Time  State  Info
26441 studentsweb portal.mi.fh-offenburg.de studentsweb Sleep 3948   NULL
34807 studentsweb portal.mi.fh-offenburg.de studentsweb Sleep 6268   NULL
37700 studentsweb portal.mi.fh-offenburg.de studentsweb Sleep 15868   NULL
40925 studentsweb portal.mi.fh-offenburg.de studentsweb Sleep 15934   NULL
64354 studentsweb portal.mi.fh-offenburg.de studentsweb Sleep 3931   NULL
76609 studentsweb portal.mi.fh-offenburg.de studentsweb Sleep 4263   NULL
79305 studentsweb portal.mi.fh-offenburg.de studentsweb Sleep 9386   NULL
79354 studentsweb portal.mi.fh-offenburg.de studentsweb Sleep 16035   NULL
81489 studentsweb portal.mi.fh-offenburg.de studentsweb Sleep 7897   NULL
96308 lugog portal.mi.fh-offenburg.de lugog Sleep 7456   NULL
96383 lugog portal.mi.fh-offenburg.de lugog Sleep 17034   NULL
99094 lugog portal.mi.fh-offenburg.de lugog Sleep 8629   NULL
100340 lugog portal.mi.fh-offenburg.de lugog Sleep 21878   NULL
101370 lugog portal.mi.fh-offenburg.de lugog Sleep 6869   NULL
103615 studentsweb portal.mi.fh-offenburg.de studentsweb Sleep 1836   NULL
108090 lugog portal.mi.fh-offenburg.de lugog Sleep 2939   NULL
108553 lugog portal.mi.fh-offenburg.de lugog Sleep 11955   NULL
109763 studentsweb portal.mi.fh-offenburg.de studentsweb Sleep 1845   NULL
109835 lugog portal.mi.fh-offenburg.de lugog Sleep 8315   NULL
112698 studentsweb portal.mi.fh-offenburg.de studentsweb Sleep 3949   NULL
112917 studentsweb portal.mi.fh-offenburg.de studentsweb Sleep 3689   NULL
113438 studentsweb portal.mi.fh-offenburg.de studentsweb Sleep 4053   NULL
114727 studentsweb portal.mi.fh-offenburg.de studentsweb Sleep 6464   NULL
115745 lugog portal.mi.fh-offenburg.de lugog Sleep 1995   NULL
118075 lugog portal.mi.fh-offenburg.de lugog Sleep 7183   NULL
123487 lugog portal.mi.fh-offenburg.de lugog Sleep 3865   NULL
126729 lugog portal.mi.fh-offenburg.de lugog Sleep 7636   NULL
126784 lugog portal.mi.fh-offenburg.de lugog Sleep 7034   NULL
128863 portalthetop portal.mi.fh-offenburg.de fhoportal Sleep 2806   NULL
128893 portalthetop portal.mi.fh-offenburg.de fhoportal Sleep 2749   NULL
129149 portalthetop portal.mi.fh-offenburg.de fhoportal Sleep 2009   NULL
129154 portalthetop portal.mi.fh-offenburg.de fhoportal Sleep 2008   NULL
129289 cupp_oasis portal.mi.fh-offenburg.de cupp_oasis_work_apps Sleep 
1474   NULL
129375 portalthetop portal.mi.fh-offenburg.de fhoportal Sleep 1415   NULL
129468 portalthetop portal.mi.fh-offenburg.de fhoportal Sleep 1268   NULL
129501 portalthetop portal.mi.fh-offenburg.de fhoportal Sleep 1203   NULL
129706 portalthetop portal.mi.fh-offenburg.de fhoportal Sleep 692   NULL
129736 portalthetop portal.mi.fh-offenburg.de fhoportal Sleep 672   NULL
129743 portalthetop portal.mi.fh-offenburg.de fhoportal Sleep 667   NULL
129945 portalthetop portal.mi.fh-offenburg.de fhoportal Sleep 141   NULL
129984 portalthetop portal.mi.fh-offenburg.de fhoportal Sleep 63   NULL
130016 portalthetop portal.mi.fh-offenburg.de fhoportal Sleep 9   NULL
130022 portalthetop portal.mi.fh-offenburg.de fhoportal Sleep 2   NULL
130024 portalthetop portal.mi.fh-offenburg.de fhoportal Sleep 2   NULL
130026 root localhost fhoportal Query 0 NULL SHOW  PROCESSLIST

************


Christian Kalkhoff wrote:
> Hi Roman,
> 
> have you ever checked if there is some maintainance script running in
> mysql once a day? I dont know suse very well but some other linux
> distributions bring such "Database optimization"-Cron-Jobs out of the box.
> 
> If your site is slow next time connect to the mysql database using the
> commandlinetool mysql or some gui and run query "show processlist". Look
> if there is something like "OPTIMIZE" in the list.
> 
> Christian




==========================================================================
TOPIC: Java Sound API adjust playback speed?
http://groups-beta.google.com/group/comp.lang.java.programmer/browse_thread/thread/fd4cf8ac5f8c6b76
==========================================================================

== 1 of 1 ==
Date:   Sun,   Nov 7 2004 1:30 pm
From: [EMAIL PROTECTED] (Mike) 

[EMAIL PROTECTED] (Mike) wrote in message news:<[EMAIL PROTECTED]>...
> In Windows media/other audio apps you can adjust the playback speed of
> an audio file while MAINTAINING pitch.
> 
> Was wondering how to do this with java sound.
> 
> found:
> SampleRateControl
> 
> by searching, but as far as I can understand, this will only alter the
> PITCH and SPEED at the same time.  Just want to control speed,
> maintain PITCH.
> 
> Thank you

Thanks for helping, and pitching in the info.  It's going to be
awhile, but will post back here for the occasional bump(hopefully more
input) and let you know how it worked out.




==========================================================================
TOPIC: J2ME / J2EE Communication
http://groups-beta.google.com/group/comp.lang.java.programmer/browse_thread/thread/52432739240ea23f
==========================================================================

== 1 of 1 ==
Date:   Sun,   Nov 7 2004 1:58 pm
From: "Raydog" <[EMAIL PROTECTED]> 

hi I am new to J2ME,
we are working on a ME application that the mobile client needs to be
notified by EE server when theres a event going
on server side. that is, Server Activate communication instead of the
Servlet, which is a server-passivate.

We don't think its possible to implement that using Servlet w/ http, so is
there any other method that can help us to
achieve our requirements ?

Thanks so much






==========================================================================
TOPIC: runtime.getRuntim().exec(somecmd) problem with linux
http://groups-beta.google.com/group/comp.lang.java.programmer/browse_thread/thread/a3f83ceedc3184b0
==========================================================================

== 1 of 1 ==
Date:   Sun,   Nov 7 2004 1:58 pm
From: steve <[EMAIL PROTECTED]> 

On Sat, 6 Nov 2004 01:17:35 +0800, Gordon Beaton wrote
(in article <[EMAIL PROTECTED]>):

> On 5 Nov 2004 09:07:45 -0800, wex wrote:
>> Thanks, but that doesn't seem to work, I get a java.io.Exception
> 
> What is the full text of the exception message?
> 
>> I guess the big question is what happens to the command string after
>> the string tokenizer parses it?
> 
> AFAIK, nothing.
> 
>> Because just running the simple
>> command:
>> String[] cmd = {"/path with space/somecommand"};
>> runtime.getRuntim().exec(cmd); 
>> Gives me the io exception, it is as if the command is tokenized again
>> somewhere in the native code.
> 
> Try running a short program that does (just) the above, using strace:
> 
>  strace -f -o strace.log java Testprog
> 
> Then look for the command string in the logfile.
> 
> /gordon
> 
> 

you could try 
"/path?with?space/somecommand"

steve





==========================================================================
TOPIC: StringTokenizer
http://groups-beta.google.com/group/comp.lang.java.programmer/browse_thread/thread/aada180fe7063846
==========================================================================

== 1 of 1 ==
Date:   Sun,   Nov 7 2004 2:51 pm
From: zutroi <[EMAIL PROTECTED]> 

Roedy Green wrote:
> They seem to expect some sort of self flagellation before every
> question to explain all the combinations they tried on Google before
> "interrupting" his holiness with a question.

well said.

-- 
bob (rdr00)

Outgoing mail is NOT certified Virus Free.
For all I know, there's a dirty big fsckin' virus stuck onto
the end of this message and if you're using a Microsfot product,
then I'd say that you're fscked.




==========================================================================
TOPIC: Java program help
http://groups-beta.google.com/group/comp.lang.java.programmer/browse_thread/thread/a0adcba0ab0728f2
==========================================================================

== 1 of 1 ==
Date:   Sun,   Nov 7 2004 3:02 pm
From: zutroi <[EMAIL PROTECTED]> 

Andrew Thompson wrote:
> <http://java.sun.com/j2se/1.4.2/docs/api/java/lang/System.html#field_summary>
> 
> [ you would get a much longer and better answer
> on c.l.j.help, I assure you.. ]

thankyou for the pointer. luckily i have subscribed to c.l.j.help 
already. can i ask one question of you? what is the charter of 
c.l.j.programmer? i would have thought that if you had a java 
programming question that this might be an apporopriate place to start? 
correct me if i'm wrong, and i know that you will :-)

-- 
bob (rdr00)

Outgoing mail is NOT certified Virus Free.
For all I know, there's a dirty big fsckin' virus stuck onto
the end of this message and if you're using a Microsfot product,
then I'd say that you're fscked.



=======================================================================

You received this message because you are subscribed to the
Google Groups "comp.lang.java.programmer".  

comp.lang.java.programmer
[EMAIL PROTECTED]

Change your subscription type & other preferences:
* click http://groups-beta.google.com/group/comp.lang.java.programmer/subscribe

Report abuse:
* send email explaining the problem to [EMAIL PROTECTED]

Unsubscribe:
* click http://groups-beta.google.com/group/comp.lang.java.programmer/subscribe


=======================================================================
Google Groups: http://groups-beta.google.com 

Reply via email to