here is some excerpt from an email I once received from t.kars@themeda.com,
he modified JGenerator a little bit to make it work with JServ (just one
line of code).
you may try to do the same stuff or try to contact him.
-------------------
The "/pp" is what is called a "zone". I use it to connect certain URL's to
a JVM listening to another port (we host multime sites with multiple
applications on one server).
Some other people use zones to regulate security. Anyway, I think the
concept of "zones" is now called a "webapp" in Tomcat.
I have fixed my problem for JServ: I only changed one line, it was in the
method you described, thanks:
Now it works. I don't know if this would break the implementation for other
servlet-runners, perhaps you can test it (I don't have ServletExec or
Tomcat).
-------------------
I will try to fix the problem later on, but now you have to do something
like this.
> I am trying to run jgenerator on an Apache server running JServ, and I
can't
> seem to figure out what I'm missing.
>
> Here is what the jserv.log file is telling me:
> [21/06/2001 14:09:57:426 MDT] swt/com.iv.flash.servlet.GeneratorServlet:
> init
>
> and here is what the generator.log is telling me:
> 06/21/2001 05:19:41 MDT : File
> 'c:/oracle/ora81/apache/apache/htdocs/servlets' not found
>
> here is the way I have my zone.properties file setup:
> servlet.swt.code=com.iv.flash.servlet.GeneratorServlet
> servlet.swt.initArgs=com.iv.flash.installDir=C:\oracle\ora81\Apache\Jgen
>
> here is my jserv.properties setup
> wrapper.classpath=C:\oracle\ora81\Apache\Jgen\lib\jgen.jar
>
> and finally my jserv.conf setup
> ApJServMount /servlets /root
> ApJServAction .swt /servlets/swt
>
> root zone using zone properties of course.
>
> I'm calling jgenerator from my swf using the picture.jpg.swt method.
>
> Does any one out there have any Idea what I'm doing wrong?
>
> Thanks,
> Danyon Murray
> Senior Internet Developer
> Indy Interactive, Inc.
> 528 East 800 North
> Orem, UT 84097
>
> Office: 801.235.9191 ext. 218
> Fax: 801.235.9444
>
> danyon.murray@indyinteractive.com
>
> http://www.indyinteractive.com
>
> _______________________________________________
> Jgen-news mailing list
> Jgen-news@lists.sourceforge.net
> http://lists.sourceforge.net/lists/listinfo/jgen-news
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
How does one go about installing JGenerator with JServ 1.1?
The documentation gives some sort of pseudo-instruction, but it appears to have information missing.
e.g.:
"1. Copy the jgenerator binaries to ."
and
"servlet.jgenerator.initArgs=com.iv.flash.installDir="
Any further information would be a great help.
BTW: fantastic work :)
here is some excerpt from an email I once received from t.kars@themeda.com,
he modified JGenerator a little bit to make it work with JServ (just one
line of code).
you may try to do the same stuff or try to contact him.
-------------------
The "/pp" is what is called a "zone". I use it to connect certain URL's to
a JVM listening to another port (we host multime sites with multiple
applications on one server).
Some other people use zones to regulate security. Anyway, I think the
concept of "zones" is now called a "webapp" in Tomcat.
I have fixed my problem for JServ: I only changed one line, it was in the
method you described, thanks:
old:
return req.getRealPath( req.getServletPath() );
new:
return req.getPathTranslated();
Now it works. I don't know if this would break the implementation for other
servlet-runners, perhaps you can test it (I don't have ServletExec or
Tomcat).
-------------------
he is talking about this method:
/**
* Returns absolute path of requested template
*/
protected String getRequestedFileName( HttpServletRequest req ) {
return req.getRealPath( req.getServletPath() );
}
in class com.iv.flash.servlet.GeneratorServlet
I will try to fix the problem later on, but now you have to do something
like this.
> I am trying to run jgenerator on an Apache server running JServ, and I
can't
> seem to figure out what I'm missing.
>
> Here is what the jserv.log file is telling me:
> [21/06/2001 14:09:57:426 MDT] swt/com.iv.flash.servlet.GeneratorServlet:
> init
>
> and here is what the generator.log is telling me:
> 06/21/2001 05:19:41 MDT : File
> 'c:/oracle/ora81/apache/apache/htdocs/servlets' not found
>
> here is the way I have my zone.properties file setup:
> servlet.swt.code=com.iv.flash.servlet.GeneratorServlet
> servlet.swt.initArgs=com.iv.flash.installDir=C:\oracle\ora81\Apache\Jgen
>
> here is my jserv.properties setup
> wrapper.classpath=C:\oracle\ora81\Apache\Jgen\lib\jgen.jar
>
> and finally my jserv.conf setup
> ApJServMount /servlets /root
> ApJServAction .swt /servlets/swt
>
> root zone using zone properties of course.
>
> I'm calling jgenerator from my swf using the picture.jpg.swt method.
>
> Does any one out there have any Idea what I'm doing wrong?
>
> Thanks,
> Danyon Murray
> Senior Internet Developer
> Indy Interactive, Inc.
> 528 East 800 North
> Orem, UT 84097
>
> Office: 801.235.9191 ext. 218
> Fax: 801.235.9444
>
> danyon.murray@indyinteractive.com
>
> http://www.indyinteractive.com
>
> _______________________________________________
> Jgen-news mailing list
> Jgen-news@lists.sourceforge.net
> http://lists.sourceforge.net/lists/listinfo/jgen-news