Hi!!
my friend had a problem.. so I suggested to put it on
our mailing list.. hope someone of u would be helpful
for him.

Regards..
Leena


Hello !!

   I have been facing problem while running PowerTier
6.0 (Persistence application server which supports
J2EE, it will have
  Apache web server, servletmill and EJB server). This
application supports not only enitity beans it also
tighly couple with Webclinet by integrating apache
webserver and servelet mill with EJB server.

As per Powertier documentation the following steps are
to performed to run an application from web client(JSP
file)
Generate EJB & JSP code using powertier wizard.JSP
files basically web clients which allow to manipulate
entity beans. It also generates html files to call JSP
files.
ps-makeejb the ejb related code
copy JSP files to
Start apache web server
Start ORBPort
Copy html pages
Add a following  tag in the *.ptc file
        <JSPServletEngine
                EngineType="ServletMill"

EngineID="D:\PowerTier600\servletmill\ps-millse\ps-millse">
        </JSPServletEngine>
delpoy entitybean(It also include powertier generated
wrapper classes which links EJB files and JSP files.)
Run server from IE 5.0 (E.g :
http://localhost:80/hello.html)
The JSP files are desplyed blank.


The following are the appache config settings
In the httpd.conf
ServerRoot "d:/PowerTier600/apache"

DocumentRoot "d:/PowerTier600/apache/htdocs" (We will
copy html files here)

### PowerTier for EJB 6.00 ServletMill Plug-in
#
LoadModule mill_module
d:/PowerTier600/servletmill/lib/millpi.dll
AddModule mod_mill.c
Include d:/PowerTier600/servletmill/millpi/millpi.conf

In the millpi.conf  the following entires are made

# IP address, port and zones supported by target
MillSE
# One entry exists for each servlet engine that the
MillPI will
# connect to
# Syntax: MillSE [ip address] [port] [zone1], [zone2],
...
# Default: none
MillSE 127.0.0.1 8007 mill

In the mill.properties
# Path prepended to ServletContext.getResource method
# Syntax: resourceRoot=[url]
# Default: NONE
resourceRoot=file:d:\PowerTier600\servletmill\zones\serverDocs

# Path prepended to ServleContext.getRealPath method
# Syntax: documentRoot=[path]
# Default: NONE
documentRoot=d:/PowerTier600/servletmill/zones/serverDocs
(JSP files will be kept here)

I would be greatful if any of u help me out.


regards
prasanth

____________________________________________________________
Do You Yahoo!?
Get your free @yahoo.co.uk address at http://mail.yahoo.co.uk
or your free @yahoo.ie address at http://mail.yahoo.ie

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

Reply via email to