RE: Cocoon on a read-only medium

2002-01-21 Thread Vadim Gritsenko

 From: Matthias Fischer [mailto:[EMAIL PROTECTED]]
 
 What would you need on the harddisk to get the CD application running,
or
 what would be put out onto the harddisk by the application while it is
 running? I guess, you can't do without Java+Tomcat+Cocoon (XALAN,
XERXES,
 FOP etc.) on the HD.

You can.

 Or do you rellay mean you put everything on a CD,
 together with the data, and get an PDF/HTMLoutput from such a
stand-alone
 application running the CD on any (customer) machine without any
previous
 adaptations?

Yes. The CD I put together have:
 * JDK,
 * Resin (or Tomcat, does not matter),
 * webapp.

That's all I need to get my application running. Obviously, webapp
contains all necessary libraries:
 * Avalon, Excalibur
 * Cocoon, regexp, jTidy, logkit, xalan, xerces, etc.


 Do you have any practical experience in creating an distributing CD
 applications to customers?

It's relatively easy to put together autorun and have CD started
automatically, with no installation steps required. Only thing you need
from the customer machine is the free IP port (8080 or any other). You
can even put Perl on the CD and have some startup/shutdown scripts.

Vadim

 Has anyone else?
 
 Matthias
 
 -Original Message-
 From: Vadim Gritsenko [mailto:[EMAIL PROTECTED]]
 Sent: Thursday, January 17, 2002 3:01 PM
 To: [EMAIL PROTECTED]
 Subject: RE: Cocoon on a read-only medium
 
 
  From: JÃrn Heid [mailto:[EMAIL PROTECTED]]
 
  Is it possible to run Cocoon on a CD (without having the possibility
 to
  write anything)?
 
 Yes. You won't get any logs, everything else is Ok.
 
 
  I think you can precompile all(?) of the dynamic content,
 
 Yes.
 
 
  but doesn't Cocoon
  generate the sitemap at every startup?
 
 No.
 
  Can logging be completly disabled?
  Or can I set the output dir to java.io.tmpdir?
 
 I don't know. I have an exception from logger when running from the
CD,
 and I can live without logs.
 
 Vadim
 


-
Please check that your question has not already been answered in the
FAQ before posting. http://xml.apache.org/cocoon/faqs.html

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




Re: Cocoon on a read-only medium

2002-01-21 Thread Robert Koberg


- Original Message - 
From: Vadim Gritsenko [EMAIL PROTECTED]

  Or do you rellay mean you put everything on a CD,
  together with the data, and get an PDF/HTMLoutput from such a
 stand-alone
  application running the CD on any (customer) machine without any
 previous
  adaptations?
 
 Yes. The CD I put together have:
  * JDK,
  * Resin (or Tomcat, does not matter),
  * webapp.
 
 That's all I need to get my application running. Obviously, webapp
 contains all necessary libraries:
  * Avalon, Excalibur
  * Cocoon, regexp, jTidy, logkit, xalan, xerces, etc.
 
 
  Do you have any practical experience in creating an distributing CD
  applications to customers?
 
 It's relatively easy to put together autorun and have CD started
 automatically, with no installation steps required. Only thing you need
 from the customer machine is the free IP port (8080 or any other). You
 can even put Perl on the CD and have some startup/shutdown scripts.

Are there any licensing problems distributing these software on CD? 


-
Please check that your question has not already been answered in the
FAQ before posting. http://xml.apache.org/cocoon/faqs.html

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




RE: Cocoon on a read-only medium

2002-01-21 Thread Vadim Gritsenko

 From: Robert Koberg [mailto:[EMAIL PROTECTED]]
 
 - Original Message -
 From: Vadim Gritsenko [EMAIL PROTECTED]
 
   Or do you rellay mean you put everything on a CD,
   together with the data, and get an PDF/HTMLoutput from such a
  stand-alone
   application running the CD on any (customer) machine without any
  previous
   adaptations?
 
  Yes. The CD I put together have:
   * JDK,
   * Resin (or Tomcat, does not matter),
   * webapp.
 
  That's all I need to get my application running. Obviously, webapp
  contains all necessary libraries:
   * Avalon, Excalibur
   * Cocoon, regexp, jTidy, logkit, xalan, xerces, etc.
 
 
   Do you have any practical experience in creating an distributing
CD
   applications to customers?
 
  It's relatively easy to put together autorun and have CD started
  automatically, with no installation steps required. Only thing you
need
  from the customer machine is the free IP port (8080 or any other).
You
  can even put Perl on the CD and have some startup/shutdown scripts.
 
 Are there any licensing problems distributing these software on CD?

Don't know - I do not distribute and I'm not a lawyer. Assuming that all
software included either apache-style license, or Sun's JDK license
(Binary Code License Agreement), or Resin license (free for
non-commercial use), I'm quite sure that there is no reason to have a
license issue unless you sell these CDs.

Here is excerpt from Sun's license:
---
2. License to Distribute Software. Subject to the terms and conditions
of
this Agreement, including, but not limited to Section 4 (Java (TM)
Technology Restrictions) of these Supplemental Terms, Sun grants you a
non-exclusive, non-transferable, limited license to reproduce and
distribute the Software in binary code form only, provided that (i) you
distribute the Software complete and unmodified and only bundled as part
of, and for the sole purpose of  running, your Programs, (ii) the
Programs
add significant and primary functionality to the Software, (iii) you do
not
distribute additional software intended to replace any component(s) of
the
Software, (iv) you do not remove or alter any proprietary legends or
notices contained in the Software, (v) you only distribute the Software
subject to a license agreement that protects Sun's interests consistent
with the terms contained in this Agreement, and (vi) you agree to defend
and indemnify Sun and its licensors from and against any damages, costs,
liabilities, settlement amounts and/or expenses (including attorneys'
fees)
incurred in connection with any claim, lawsuit or action by any third
party
that arises or results from the use or distribution of any and all
Programs
and/or Software.
---

Vadim


-
Please check that your question has not already been answered in the
FAQ before posting. http://xml.apache.org/cocoon/faqs.html

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




Re: Cocoon on a read-only medium

2002-01-21 Thread Robert Koberg

copied from MS:

Creating an AutoRun-enabled CD-ROM application is a straightforward
procedure. You simply include two essential files:

  a.. An Autorun.inf file
  b.. A startup application
When a user inserts a disc into a CD-ROM drive on a AutoRun-compatible
computer, the system immediately checks to see if the disc has a personal
computer file system. If it does, the system searches for a file named
Autorun.inf. This file specifies a setup application that will be run, along
with a variety of optional settings. The startup application typically
installs, uninstalls, configures, and perhaps runs the application.

---

the .inf doc is plain text so no need for the exe!








- Original Message -
From: Jorn Heid [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, January 21, 2002 7:54 AM
Subject: AW: Cocoon on a read-only medium


 I thought about using Jetty for that. It's free and it's possible to use
it
 as a read only server.
 Creating a exe (autostart) should be quite easy with JEXE.
 As it's all Java (except that autostart exe for Windows) it should be very
 easy to distribute.

 -Ursprungliche Nachricht-
 Von: Vadim Gritsenko [mailto:[EMAIL PROTECTED]]
 Gesendet: Montag, 21. Januar 2002 16:42
 An: [EMAIL PROTECTED]
 Betreff: RE: Cocoon on a read-only medium


  From: Robert Koberg [mailto:[EMAIL PROTECTED]]
 
  - Original Message -
  From: Vadim Gritsenko [EMAIL PROTECTED]
 
Or do you rellay mean you put everything on a CD,
together with the data, and get an PDF/HTMLoutput from such a
   stand-alone
application running the CD on any (customer) machine without any
   previous
adaptations?
  
   Yes. The CD I put together have:
* JDK,
* Resin (or Tomcat, does not matter),
* webapp.
  
   That's all I need to get my application running. Obviously, webapp
   contains all necessary libraries:
* Avalon, Excalibur
* Cocoon, regexp, jTidy, logkit, xalan, xerces, etc.
  
  
Do you have any practical experience in creating an distributing
 CD
applications to customers?
  
   It's relatively easy to put together autorun and have CD started
   automatically, with no installation steps required. Only thing you
 need
   from the customer machine is the free IP port (8080 or any other).
 You
   can even put Perl on the CD and have some startup/shutdown scripts.
 
  Are there any licensing problems distributing these software on CD?

 Don't know - I do not distribute and I'm not a lawyer. Assuming that all
 software included either apache-style license, or Sun's JDK license
 (Binary Code License Agreement), or Resin license (free for
 non-commercial use), I'm quite sure that there is no reason to have a
 license issue unless you sell these CDs.

 Here is excerpt from Sun's license:
 ---
 2. License to Distribute Software. Subject to the terms and conditions
 of
 this Agreement, including, but not limited to Section 4 (Java (TM)
 Technology Restrictions) of these Supplemental Terms, Sun grants you a
 non-exclusive, non-transferable, limited license to reproduce and
 distribute the Software in binary code form only, provided that (i) you
 distribute the Software complete and unmodified and only bundled as part
 of, and for the sole purpose of  running, your Programs, (ii) the
 Programs
 add significant and primary functionality to the Software, (iii) you do
 not
 distribute additional software intended to replace any component(s) of
 the
 Software, (iv) you do not remove or alter any proprietary legends or
 notices contained in the Software, (v) you only distribute the Software
 subject to a license agreement that protects Sun's interests consistent
 with the terms contained in this Agreement, and (vi) you agree to defend
 and indemnify Sun and its licensors from and against any damages, costs,
 liabilities, settlement amounts and/or expenses (including attorneys'
 fees)
 incurred in connection with any claim, lawsuit or action by any third
 party
 that arises or results from the use or distribution of any and all
 Programs
 and/or Software.
 ---

 Vadim



-
Please check that your question has not already been answered in the
FAQ before posting. http://xml.apache.org/cocoon/faqs.html

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




RE: Cocoon on a read-only medium

2002-01-21 Thread Lewis, Andrew J

actually - you need the EXE. Launching documents directly from the
autorun.inf is error prone, and unreliable. There is another technotes out
there that basically points out that the type of exec call they use is not
the ShellOpen but rather a lower leve exec so the program needs to be an EXE
or a COM file.

I've been bit by that before. The wierd thing is that the document only will
work on some versions, but not others.

 --
 From: Robert Koberg[SMTP:[EMAIL PROTECTED]]
 Reply To: [EMAIL PROTECTED]
 Sent: Monday, January 21, 2002 11:00 AM
 To:   [EMAIL PROTECTED]
 Subject:  Re: Cocoon on a read-only medium
 
 copied from MS:
 
 Creating an AutoRun-enabled CD-ROM application is a straightforward
 procedure. You simply include two essential files:
 
   a.. An Autorun.inf file
   b.. A startup application
 When a user inserts a disc into a CD-ROM drive on a AutoRun-compatible
 computer, the system immediately checks to see if the disc has a personal
 computer file system. If it does, the system searches for a file named
 Autorun.inf. This file specifies a setup application that will be run,
 along
 with a variety of optional settings. The startup application typically
 installs, uninstalls, configures, and perhaps runs the application.
 
 ---
 
 the .inf doc is plain text so no need for the exe!
 
 
 
 
 
 
 
 
 - Original Message -
 From: Jorn Heid [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Sent: Monday, January 21, 2002 7:54 AM
 Subject: AW: Cocoon on a read-only medium
 
 
  I thought about using Jetty for that. It's free and it's possible to use
 it
  as a read only server.
  Creating a exe (autostart) should be quite easy with JEXE.
  As it's all Java (except that autostart exe for Windows) it should be
 very
  easy to distribute.
 
  -Ursprungliche Nachricht-
  Von: Vadim Gritsenko [mailto:[EMAIL PROTECTED]]
  Gesendet: Montag, 21. Januar 2002 16:42
  An: [EMAIL PROTECTED]
  Betreff: RE: Cocoon on a read-only medium
 
 
   From: Robert Koberg [mailto:[EMAIL PROTECTED]]
  
   - Original Message -
   From: Vadim Gritsenko [EMAIL PROTECTED]
  
 Or do you rellay mean you put everything on a CD,
 together with the data, and get an PDF/HTMLoutput from such a
stand-alone
 application running the CD on any (customer) machine without any
previous
 adaptations?
   
Yes. The CD I put together have:
 * JDK,
 * Resin (or Tomcat, does not matter),
 * webapp.
   
That's all I need to get my application running. Obviously, webapp
contains all necessary libraries:
 * Avalon, Excalibur
 * Cocoon, regexp, jTidy, logkit, xalan, xerces, etc.
   
   
 Do you have any practical experience in creating an distributing
  CD
 applications to customers?
   
It's relatively easy to put together autorun and have CD started
automatically, with no installation steps required. Only thing you
  need
from the customer machine is the free IP port (8080 or any other).
  You
can even put Perl on the CD and have some startup/shutdown scripts.
  
   Are there any licensing problems distributing these software on CD?
 
  Don't know - I do not distribute and I'm not a lawyer. Assuming that all
  software included either apache-style license, or Sun's JDK license
  (Binary Code License Agreement), or Resin license (free for
  non-commercial use), I'm quite sure that there is no reason to have a
  license issue unless you sell these CDs.
 
  Here is excerpt from Sun's license:
  ---
  2. License to Distribute Software. Subject to the terms and conditions
  of
  this Agreement, including, but not limited to Section 4 (Java (TM)
  Technology Restrictions) of these Supplemental Terms, Sun grants you a
  non-exclusive, non-transferable, limited license to reproduce and
  distribute the Software in binary code form only, provided that (i) you
  distribute the Software complete and unmodified and only bundled as part
  of, and for the sole purpose of  running, your Programs, (ii) the
  Programs
  add significant and primary functionality to the Software, (iii) you do
  not
  distribute additional software intended to replace any component(s) of
  the
  Software, (iv) you do not remove or alter any proprietary legends or
  notices contained in the Software, (v) you only distribute the Software
  subject to a license agreement that protects Sun's interests consistent
  with the terms contained in this Agreement, and (vi) you agree to defend
  and indemnify Sun and its licensors from and against any damages, costs,
  liabilities, settlement amounts and/or expenses (including attorneys'
  fees)
  incurred in connection with any claim, lawsuit or action by any third
  party
  that arises or results from the use or distribution of any and all
  Programs
  and/or Software.
  ---
 
  Vadim

Re: Cocoon on a read-only medium

2002-01-21 Thread Robert Koberg

I'll admit it has been a while since I dealt with this (and then I just set
an option in Toast's gui), but does using the exe override the user's
setting if it is set to don't autorun?


- Original Message -
From: Lewis, Andrew J [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, January 21, 2002 8:07 AM
Subject: RE: Cocoon on a read-only medium


 actually - you need the EXE. Launching documents directly from the
 autorun.inf is error prone, and unreliable. There is another technotes out
 there that basically points out that the type of exec call they use is not
 the ShellOpen but rather a lower leve exec so the program needs to be an
EXE
 or a COM file.

 I've been bit by that before. The wierd thing is that the document only
will
 work on some versions, but not others.

  --
  From: Robert Koberg[SMTP:[EMAIL PROTECTED]]
  Reply To: [EMAIL PROTECTED]
  Sent: Monday, January 21, 2002 11:00 AM
  To: [EMAIL PROTECTED]
  Subject: Re: Cocoon on a read-only medium
 
  copied from MS:
 
  Creating an AutoRun-enabled CD-ROM application is a straightforward
  procedure. You simply include two essential files:
 
a.. An Autorun.inf file
b.. A startup application
  When a user inserts a disc into a CD-ROM drive on a AutoRun-compatible
  computer, the system immediately checks to see if the disc has a
personal
  computer file system. If it does, the system searches for a file named
  Autorun.inf. This file specifies a setup application that will be run,
  along
  with a variety of optional settings. The startup application typically
  installs, uninstalls, configures, and perhaps runs the application.
 
  ---
 
  the .inf doc is plain text so no need for the exe!
 
 
 
 
 
 
 
 
  - Original Message -
  From: Jorn Heid [EMAIL PROTECTED]
  To: [EMAIL PROTECTED]
  Sent: Monday, January 21, 2002 7:54 AM
  Subject: AW: Cocoon on a read-only medium
 
 
   I thought about using Jetty for that. It's free and it's possible to
use
  it
   as a read only server.
   Creating a exe (autostart) should be quite easy with JEXE.
   As it's all Java (except that autostart exe for Windows) it should be
  very
   easy to distribute.
  
   -Ursprungliche Nachricht-
   Von: Vadim Gritsenko [mailto:[EMAIL PROTECTED]]
   Gesendet: Montag, 21. Januar 2002 16:42
   An: [EMAIL PROTECTED]
   Betreff: RE: Cocoon on a read-only medium
  
  
From: Robert Koberg [mailto:[EMAIL PROTECTED]]
   
- Original Message -
From: Vadim Gritsenko [EMAIL PROTECTED]
   
  Or do you rellay mean you put everything on a CD,
  together with the data, and get an PDF/HTMLoutput from such a
 stand-alone
  application running the CD on any (customer) machine without any
 previous
  adaptations?

 Yes. The CD I put together have:
  * JDK,
  * Resin (or Tomcat, does not matter),
  * webapp.

 That's all I need to get my application running. Obviously, webapp
 contains all necessary libraries:
  * Avalon, Excalibur
  * Cocoon, regexp, jTidy, logkit, xalan, xerces, etc.


  Do you have any practical experience in creating an distributing
   CD
  applications to customers?

 It's relatively easy to put together autorun and have CD started
 automatically, with no installation steps required. Only thing you
   need
 from the customer machine is the free IP port (8080 or any other).
   You
 can even put Perl on the CD and have some startup/shutdown
scripts.
   
Are there any licensing problems distributing these software on CD?
  
   Don't know - I do not distribute and I'm not a lawyer. Assuming that
all
   software included either apache-style license, or Sun's JDK license
   (Binary Code License Agreement), or Resin license (free for
   non-commercial use), I'm quite sure that there is no reason to have a
   license issue unless you sell these CDs.
  
   Here is excerpt from Sun's license:
   ---
   2. License to Distribute Software. Subject to the terms and conditions
   of
   this Agreement, including, but not limited to Section 4 (Java (TM)
   Technology Restrictions) of these Supplemental Terms, Sun grants you a
   non-exclusive, non-transferable, limited license to reproduce and
   distribute the Software in binary code form only, provided that (i)
you
   distribute the Software complete and unmodified and only bundled as
part
   of, and for the sole purpose of  running, your Programs, (ii) the
   Programs
   add significant and primary functionality to the Software, (iii) you
do
   not
   distribute additional software intended to replace any component(s) of
   the
   Software, (iv) you do not remove or alter any proprietary legends or
   notices contained in the Software, (v) you only distribute the
Software
   subject to a license agreement that protects Sun's interests
consistent
   with the terms contained in this Agreement, and (vi) you agree to
defend

RE: Cocoon on a read-only medium

2002-01-17 Thread Vadim Gritsenko

 From: JÃrn Heid [mailto:[EMAIL PROTECTED]]
 
 Is it possible to run Cocoon on a CD (without having the possibility
to
 write anything)?

Yes. You won't get any logs, everything else is Ok.


 I think you can precompile all(?) of the dynamic content, 

Yes.


 but doesn't Cocoon
 generate the sitemap at every startup?

No.

 Can logging be completly disabled?
 Or can I set the output dir to java.io.tmpdir?

I don't know. I have an exception from logger when running from the CD,
and I can live without logs.

Vadim


-
Please check that your question has not already been answered in the
FAQ before posting. http://xml.apache.org/cocoon/faqs.html

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]