Make your own jabber client online version 3

Roll your own jabber client online version 3

Warning:

Submits to a none 24/7 server so you have a

50/50 chance it will be up and running. Script

pings and red warnings are shown if server is away.

link:

http://www.cfide.org/make_your_own_client.jsp

ReadMe:

  1. Edit textarea first, add a file name, then submit.

  2. Hang out while processing is going down.

  3. Use your Admin login and local server address.

  4. Turn off your popup blocker because the popup

window will make the swf client for you.

  1. Copy contents in the popup window locally.

  2. Download your swf file by clicking the link

on the main window.

  1. Screenshot below the textarea depicting what to do if

you get lost is outdated.

Message was edited by: danp5648

So far only one person tested it and he got an error. I fixed that error and made some memory adjustments to tomcat. If anyone knows how to solve OutOfMemoryError for tomcat 5.5.15 , let me know.

Initial Memory pool 100 MB

Maximum memory pool 500 MB

Thread stack size 1000 KB

All of these are guesses and I made them after the last error message.

Message was edited by: danp5648

Hi Dan,

you may look for thread leaks by creating Stack Traces. They should be easy to fix. If you have a real memory leak somewhere in your application you may want to use a profiler to detect it.

LG

I don’'t know how to create a stack trace and I have not used a profiler. Maybe you could step me through it?

I assumed my application would be a killer app. I mean you edit a few lines and you create a swf which is jabber client.

why no takers?

You have no takers probably because the instructions are kind of unclear. I had no clue what I was supposed to do. Am I suppose to upload my own mxml file or am I suppose to edit the script on the screen. Some clearer instructions would help.

I bet it would be a killer app if I could get it working

-Dan

You have to edit the script onscreen with your own information and add your own stuff if you wish.

The script assumes at least one other person (admin) is already logged in. The Admin is the default piggyback, this way no new accounts need to be created.

So your app does work you just didn’'t have admin logged in to piggyback with. Unless

someone creates a better app and then I will use that one as the default.

This app is only 26k of code, so it needs work but no work is needed to get things

going.

Hi Dan,

did you look at http://www.jivesoftware.com/skin/ ? This is a very nice UI to customize Spark and to make your application nicer you should try to do something similar. If you are not familiar with DOM you could probably do this as another flash application. As a very quick solution some screenshot of the gui and a description which config elements modify what part of the application what would be nice.

I don’'t like flash so I did not try your client and up to now I have no idea how it looks like. Maybe you can upload also some images of it?

See Different ways to obtain a thread dump of the Java VM[/url] to get a thread dump. If you want to monitor the memory usage of Tomcat (and the app inside) see http://www.tagtraum.com/ for more information.

LG

Do you know how to use the GCViewer? I downloaded it and upacked it and now I

have no idea what to do next.

I installed Process Explorer and I now know my process ID is 1428.

Stacktrace v1.04 said

======

Memory

======

Used: 17293464 (~16MB)

Free: 116072296 (~111MB)

Total: 133365760 (~127MB)

Max: 416219136 (~397MB)

Is that good?

Tomcat has a Thread Dump, what does that do?

Hi Dan,

as long as Tomcat is using ~16MB you’'ll not get any out of memory error. You should create a full thread dump using Stacktrace, or you may use the process explorer or the Windows Task Manager to display the number of threads. As long as you see <100 threads everything if fine.

You must configure Tomcat to write a gc log file as described on the page before you can use GCViewer. Actually it’'s a simple log file so you may view it with every text editor and review Tomcats memory usage instead of using GCViewer.

LG

How do you get a thread count? thanks dan

Taskmanager menu “View” -> “Select columns …” -> “Thread count”

Hi,

It is cool work you did. You sent me an email at info@artape.com, but the reply address was wrong. If you have a chance I would like to talk to you about hiring you for a small project.

Thanks,

Stu

hello dan

Yes? Tomcat was down. It could not find the tools.jar. Go figure!