Skip to Content.
Sympa Menu

ndt-users - Re: modified with tcpweb100

Subject: ndt-users list created

List archive

Re: modified with tcpweb100


Chronological Thread 
  • From: Tom Throckmorton <>
  • To:
  • Cc: ,
  • Subject: Re: modified with tcpweb100
  • Date: Wed, 09 Mar 2011 10:24:52 -0500
  • Organization: MCNC

Matt, comments inline below...

On 3/9/11 9:20 AM,

wrote:
> Hi jason ,
> I have follow your suggestion to make the jar, then move the jar to
> /usr/local/ndt

Just to recap/confirm, you said:

> I have modify the Tcpbw100.java Compile is success in my local pc and
> run the new jar alone is success (java -jar Tcpbw100.jar HOST),

So you have a working *applet* - are you able to successfully run a test
using that applet on/against any NDT server?

> But still test failed

...in what way? What specific error is being reported, either in the
applet, or on your command line jar invocation?

> I need to include mysql-connector-java-5.1.10-bin.jar in order to connect db

It sounds like you want to write test results out to a db, yes? There
is support in web100srv for logging to a db already (assuming you've
built web100srv with that option), and though it's not widely used or
documented, I can confirm that it does work.

> Do you have any suggestion ?

Several.

- when you have an error, post any relevant error output, rather than
just 'it failed'. It's difficult to help you troubleshoot when we can't
see what you're seeing.

- if you're trying to develop new functionality for the applet, perhaps
describing what you're looking to do first might be helpful. It may be
that the functionality already exists, or somebody has already done
something similar, or is interested in the same problem you're trying to
solve and is willing to work with you.

Cheers,

-tt

> -----Original Message-----
> From:
>
> [mailto:]
> On Behalf Of Jason Zurawski
> Sent: Wednesday, March 09, 2011 9:57 PM
> To:
>
> Cc:
>
> Subject: Re: modified with tcpweb100
>
> Matt;
>
> The make process creates the JAR for you. Make your changes to
> Tcpbw100.java, then run "make". The new JAR file will be created, and
> you can move it wherever you need to move it:
>
>> [root@lab234
>> Applet]# pwd
>> /root/ndt-3.6.4/Applet
>> [root@lab234
>> Applet]# ls
>> Makefile Tcpbw100.java
> Tcpbw100_msgs_nb_NO.properties
>> Makefile.am Tcpbw100_msgs_ca_ES.properties
> Tcpbw100_msgs_nl_NL.properties
>> Makefile.in Tcpbw100_msgs_en_US.properties
> Tcpbw100_msgs_pt_BR.properties
>> MANIFEST.MF Tcpbw100_msgs_fr_FR.properties
> Tcpbw100_msgs_ru_RU.properties
>> [root@lab234
>> Applet]# make
>> javac -source 1.4 Tcpbw100.java
>> jar -cmf MANIFEST.MF Tcpbw100.jar Tcpbw100*.class Tcpbw100*.properties
>> echo timestamp > classTcpbw100.stamp
>> [root@lab234
>> Applet]# ls -als *jar
>> 76 -rw-r--r-- 1 root root 70629 Mar 9 08:54 Tcpbw100.jar
>
> Thanks;
>
> -jason
>


--
Tom Throckmorton
MCNC
919.248.1448

"Connecting North Carolina's future today"



Archive powered by MHonArc 2.6.16.

Top of Page