Re: Portable

2010-03-20 Thread Asangansi
Thanks Electron...

Please how can i avoid setting up each time i plug my usb stick into
another host?

I think xampp is actually the best option but i'm asking, can i reduce
the file size i.e. are ther files i wounldn't need? and  what specific
files do i need to reconfigure withe the new port address say, 8088?

Thank you all.



CTO - Thinkwizer Limited,
+234 703 5358949
+234 805 7590042
skype: asangansi.ini
yahoo: inionfire



On Thu, Mar 18, 2010 at 8:41 PM, Electronjockey
electronjoc...@hotmail.com wrote:
 Asangansi,

 I'm all for VM's and I use ESXi at home myself. I can't speak to Xen or
  other virtualization tech. And I don't think you can make a bootable VM,
  but I'll admit if I'm wrong. You can check the VMWare forums.
 I've just found that often times it's easier to sell the client on just
 letting me plug in my 16Gb USB thumb drive than it is to either let me
 either install vmware, or boot up their hardware with my own OS. I come from
 a Gov't contracting background, so commercial sector policies may have a
 little more flexibility. Just my experience.
 As far as Xampp goes, I've not had that problem. I set it up once and
 haven't had to touch it since (I did have to make some changes to the
 mod_jk.conf, but if you don't need it connected to appache then you can
 disable that with the Xampp_cli. Xampp also comes with port checker that you
 can run before you start Tomcat, so you can change your config if need.
 Of course the alternative to all this is just host it.

 -Original Message-
 From: Asangansi asangansi.enyen...@gmail.com
 To : Tomcat Users List users@tomcat.apache.org
 Sent: Thu Mar 18 8:17:56 2010
 Subject: Re: Portable

 Thanks alot Chris and Todd,

 Yes, i want to avoid conflicts with the host computer's default tomcat
 ports.

 From what you said about using a virtualized server, if i used VM Ware
 could it be made bootable? I'd like to try the option

 I have actually tried xampp Todd mentioned, but the problem i had with
 xampp is that it asks me to setup each time i take it to another pc.
 However, i had another tomcat installation before using the
 xampp(tomcat) option.



 On 3/16/10, Todd Hicks electronjoc...@hotmail.com wrote:
 I'm currently working on a portable development environment for a client. I
 have Tomcat 6.0.20 running portably as part of Xampp. I have successfully
 configured it to run with the JDK (non-installed) on the same USB device, so
 it can be done.

 -Original Message-
 From: Christopher Schultz [mailto:ch...@christopherschultz.net]
 Sent: Monday, March 15, 2010 12:26 PM
 To: Tomcat Users List
 Subject: Re: Portable

 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1

 Asangansi,

 On 3/12/2010 4:18 AM, Asangansi wrote:
 I have a webapp that runs on tomcat 6.0.2 with a mysql database.
 6.0.20?

 I'm looking at creating a portable version of my server for
 demonstration purposes, which will run on a different port other than
 the default.
 Do you want to avoid port conflicts when running on a client's machine?

 So, [I'd] like to know what configuration files i need to [reconfigure]
 and files [I wouldn't] need so it could be lighter.
 I think you need to ask yourself what is most important: portability and
 being self-contained, or running the fastest.

 If you want it to run fast, you'll want to run natively /and/ avoid
 installing anything on the client's computer: I certainly wouldn't let
 you install something on my computer for a quickie demonstration. That
 will limit your options to those architectures that are supported by
 MySQL (currently Microsoft Windows, most *NIX platforms, and Mac OS X).

 Tomcat itself is trivial to run in a portable way, since Tomcata
 figures out its own installation directory at start-up and runs
 everything relative to that.

 The problem might be the JVM: I've never tried to run a non-installed
 JVM on Microsoft Windows, but it runs perfectly well on a *NIX machine
 without any formal installation.

 If you want a foolproof environment, go for a virtualized server:
 install everything you need, including your webapp, and then just fire
 up the VM when doing demonstrations. You could even put a web browser, X
 environment, etc. all on your USB memory stick and make the thing
 bootable: simply insert the stick and reboot the client's computer: no
 interference (aside from the reboot, of course) and you know your
 environment will be sane.

 - -chris
 -BEGIN PGP SIGNATURE-
 Version: GnuPG v1.4.10 (MingW32)
 Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

 iEYEARECAAYFAkueX5UACgkQ9CaO5/Lv0PDPRwCeJcRjkGVZUwYdSgCSKuxNAbAt
 6YQAnjDWTR5J7/Rm7rQmlgobMj3Qh46f
 =bkdp
 -END PGP SIGNATURE-

 -
 To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
 For additional commands, e-mail: users-h...@tomcat.apache.org



 -
 To unsubscribe, 

Re: Portable

2010-03-20 Thread Asangansi
Hi,

Whats the problem with MySQL? with my.inf or my.cnf you can configure
its parameters i think?

CTO - Thinkwizer Limited,
+234 703 5358949
+234 805 7590042
skype: asangansi.ini
yahoo: inionfire



On Fri, Mar 19, 2010 at 2:24 AM, Todd Hicks electronjoc...@hotmail.com wrote:
 I also run MySQL off the thumb drive. Though I honestly don't use it much. I
 use db4o for rapid prototyping.

 -Original Message-
 From: peter.crowth...@googlemail.com [mailto:peter.crowth...@googlemail.com]
 On Behalf Of Peter Crowther
 Sent: Thursday, March 18, 2010 1:19 PM
 To: Tomcat Users List
 Subject: Re: Portable

 On 18 March 2010 16:59, Christopher Schultz
 ch...@christopherschultz.netwrote:

 If, as Todd reports, the JVM can be installed to a USB stick, Id just go
 with that: pick a port that's unlikely to be used by the host machine
 (like 80801) and use that for your setup. Avoid using anything other
 than Tomcat and I think you can get Tomcat to auto-adjust the port
 number by finding the next-highest available port if the one you specify
 if already taken: your demo-launch procedure should take care to detect
 the port number chosen, and configure itself accordingly.

 The hard part then is MySQL.  Is there any way you can go for a pure Java
 database that runs in the same JVM?

 - Peter


 -
 To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
 For additional commands, e-mail: users-h...@tomcat.apache.org



-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



RE: Portable

2010-03-20 Thread Caldarale, Charles R
 From: Asangansi [mailto:asangansi.enyen...@gmail.com]
 Subject: Re: Portable
 
 Whats the problem with MySQL?

It's platform-specific; you need different versions for Windows, Linux, MAC, 
and various flavors of UNIX.  A Java-based DB doesn't have that issue.

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY 
MATERIAL and is thus for use only by the intended recipient. If you received 
this in error, please contact the sender and delete the e-mail and its 
attachments from all computers.



-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



Re: Portable

2010-03-20 Thread Asangansi
ok


CTO - Thinkwizer Limited,
+234 703 5358949
+234 805 7590042
skype: asangansi.ini
yahoo: inionfire



On Sat, Mar 20, 2010 at 3:50 PM, Caldarale, Charles R
chuck.caldar...@unisys.com wrote:
 From: Asangansi [mailto:asangansi.enyen...@gmail.com]
 Subject: Re: Portable

 Whats the problem with MySQL?

 It's platform-specific; you need different versions for Windows, Linux, MAC, 
 and various flavors of UNIX.  A Java-based DB doesn't have that issue.

  - Chuck


 THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY 
 MATERIAL and is thus for use only by the intended recipient. If you received 
 this in error, please contact the sender and delete the e-mail and its 
 attachments from all computers.



 -
 To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
 For additional commands, e-mail: users-h...@tomcat.apache.org



-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



Re: Portable

2010-03-20 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Asangansi,

On 3/20/2010 9:31 AM, Asangansi wrote:
 can i reduce the file size i.e. are ther files i wounldn't need?

Tomcat is the smallest component you are trying to get working, here. I
think the JVM will be the largest-sized component you have to install,
and it's only about 90MiB installed.

Get yourself a 1GiB memory stick (they're like $3 these days) and just
put it all on there.

 and  what specific files do i need to reconfigure withe the new port
 address say, 8088?

conf/server.xml

- -chris
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.10 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkulmZMACgkQ9CaO5/Lv0PDG+QCgn6gLh8kOmw7ikn9K9+bLSUnI
3gAAnA8lIinJUjNeNtJkdKlyAKiDC2wl
=QK9M
-END PGP SIGNATURE-

-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org