Re: Url handler (Cocoon/OpenOrb/Tomcat 4.0.1 mix)

2001-12-15 Thread Anton Jansen


- Original Message -
From: "Craig R. McClanahan" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <[EMAIL PROTECTED]>
Sent: Saturday, December 15, 2001 11:08 PM
Subject: Re: Url handler (Cocoon/OpenOrb/Tomcat 4.0.1 mix)


>
>
> On Sat, 15 Dec 2001, Anton Jansen wrote:
>
> > Date: Sat, 15 Dec 2001 23:02:41 +0100
> > From: Anton Jansen <[EMAIL PROTECTED]>
> > Reply-To: Tomcat Users List <[EMAIL PROTECTED]>
> > To: Tomcat Users List <[EMAIL PROTECTED]>
> > Subject: Re: Url handler (Cocoon/OpenOrb/Tomcat 4.0.1 mix)
> >
> > I have tried it with and without the security option both instances
fail. I
> > have an explicit grant for the
> > jar file containing openorb.
> >
> >
> > The dump you wanted:
> > exception : org.omg.CORBA.INITIALIZE: Cannot create resource URL.
> > Please set the openorb.home property.
>
> I don't know openorb at all, but this sounds like a missing property
> setting, not a security exception :-).  I'd suggest trying what it says to
> do.
>
> If it's a system property you need, you can either call
> System.setProperty() -- if the security manager lets you -- or you can
> pass in system property setting commands to the JVM by setting the
> CATALINA_OPTS environment variable before starting Tomcat, like this (Unix
> syntax):
>
> export CATALINA_OPTS="-Dopenorg.home=/path/to/openorb/home"
>
> Craig

I have to go to sleep i will try this first thing tommorrow. I know Openorb
tries to find this directory through a resource url it has defined and
probarly this can't be done if it can't find the root path of his jar file.

Anton



--
To unsubscribe:   
For additional commands: 
Troubles with the list: 




Re: Url handler (Cocoon/OpenOrb/Tomcat 4.0.1 mix)

2001-12-15 Thread Craig R. McClanahan



On Sat, 15 Dec 2001, Anton Jansen wrote:

> Date: Sat, 15 Dec 2001 23:02:41 +0100
> From: Anton Jansen <[EMAIL PROTECTED]>
> Reply-To: Tomcat Users List <[EMAIL PROTECTED]>
> To: Tomcat Users List <[EMAIL PROTECTED]>
> Subject: Re: Url handler (Cocoon/OpenOrb/Tomcat 4.0.1 mix)
>
> I have tried it with and without the security option both instances fail. I
> have an explicit grant for the
> jar file containing openorb.
>
>
> The dump you wanted:
> exception : org.omg.CORBA.INITIALIZE: Cannot create resource URL.
> Please set the openorb.home property.

I don't know openorb at all, but this sounds like a missing property
setting, not a security exception :-).  I'd suggest trying what it says to
do.

If it's a system property you need, you can either call
System.setProperty() -- if the security manager lets you -- or you can
pass in system property setting commands to the JVM by setting the
CATALINA_OPTS environment variable before starting Tomcat, like this (Unix
syntax):

export CATALINA_OPTS="-Dopenorg.home=/path/to/openorb/home"

Craig


--
To unsubscribe:   
For additional commands: 
Troubles with the list: 




this list is un-unsubscribable ?

2001-12-15 Thread felix



The automatic unsubscribe system does not work due to the email address
being too long.

I have emailed, as per instructions to,

[EMAIL PROTECTED]

and also to:

[EMAIL PROTECTED]

[EMAIL PROTECTED]


all to no avail.  i have waited a week now.




--
To unsubscribe:   
For additional commands: 
Troubles with the list: 




InitialContext

2001-12-15 Thread renyu teng


hi there,

could anyone tell me how to set the
Context.INITIAL_CONTEXT_FACTORY in tomcat 4.0.01, I
use the following code:

Hashtable env_ht = new Hashtable();

env_ht.put("Context.INITIAL_CONTEXT_FACTORY",
   
"org.jnp.interfaces.NamingContextFactor");
env_ht.put("java.naming.provider.url",
"localhost:1099");
env_ht.put("java.naming.factory.pkgs",
"org.jboss.naming:org.jnp.interfa
ces");
InitialContext jndiContext = new
InitialContext(env_ht);

The code is  a part of bean, and I use in jsp page.
But if I print out the INITIAL_CONTEXT_FACTOR, I
always get:

org.apache.naming.java.javaURLContextFactory

could anyone please drop me a line and tell me why?

I use Win2k, and tomcate 4.0.1, Java 1.3

thanks

regards
teng


__
Do You Yahoo!?
Check out Yahoo! Shopping and Yahoo! Auctions for all of
your unique holiday gifts! Buy at http://shopping.yahoo.com
or bid at http://auctions.yahoo.com

--
To unsubscribe:   
For additional commands: 
Troubles with the list: 




Re: Url handler (Cocoon/OpenOrb/Tomcat 4.0.1 mix)

2001-12-15 Thread Anton Jansen

I have tried it with and without the security option both instances fail. I
have an explicit grant for the
jar file containing openorb.


The dump you wanted:
exception : org.omg.CORBA.INITIALIZE: Cannot create resource URL.
Please set the openorb.home property.
at
org.openorb.CORBA.kernel.Configurator.parseSpecialArgs(Configurator.java:418
)
at org.openorb.CORBA.kernel.Configurator.(Configurator.java:81)
at
org.openorb.CORBA.kernel.OpenORBLoader.init(OpenORBLoader.java:111)
at org.openorb.CORBA.ORB.set_parameters(ORB.java:645)
at org.omg.CORBA.ORB.init(ORB.java:125)
at
org.apache.cocoon.www.ajathena.submissions_xsp.(submissions_xsp.java:72)
at java.lang.Class.newInstance0(Native Method)
at java.lang.Class.newInstance(Class.java:237)
at
org.apache.cocoon.components.language.programming.CompiledProgrammingLanguag
e.load(CompiledProgrammingLanguage.java:148)
at
org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.generat
eResource(ProgramGeneratorImpl.java:321)
at
org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.createR
esource(ProgramGeneratorImpl.java:271)
at
org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.load(Pr
ogramGeneratorImpl.java:188)
at
org.apache.cocoon.generation.ServerPagesGenerator.setup(ServerPagesGenerator
.java:170)
at
org.apache.cocoon.components.pipeline.AbstractEventPipeline.setupPipeline(Ab
stractEventPipeline.java:142)
at
org.apache.cocoon.components.pipeline.CachingEventPipeline.setup(CachingEven
tPipeline.java:239)
at
org.apache.cocoon.components.pipeline.CachingEventPipeline.generateKey(Cachi
ngEventPipeline.java:99)
at
org.apache.cocoon.components.pipeline.CachingStreamPipeline.process(CachingS
treamPipeline.java:277)
at
org.apache.cocoon.www.ajathena.sitemap_xmap.wildcardMatchN400039(sitemap_xma
p.java:616)
at
org.apache.cocoon.www.ajathena.sitemap_xmap.process(sitemap_xmap.java:368)
at
org.apache.cocoon.www.ajathena.sitemap_xmap.process(sitemap_xmap.java:316)
at org.apache.cocoon.sitemap.Handler.process(Handler.java:163)
at org.apache.cocoon.sitemap.Manager.invoke(Manager.java:114)
at
org.apache.cocoon.www.sitemap_xmap.wildcardMatchN400238(sitemap_xmap.java:34
15)
at
org.apache.cocoon.www.sitemap_xmap.process(sitemap_xmap.java:2602)
at
org.apache.cocoon.www.sitemap_xmap.process(sitemap_xmap.java:2483)
at org.apache.cocoon.sitemap.Handler.process(Handler.java:163)
at org.apache.cocoon.sitemap.Manager.invoke(Manager.java:114)
at org.apache.cocoon.Cocoon.process(Cocoon.java:514)
at
org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:647)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
FilterChain.java:247)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
ain.java:193)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja
va:243)
at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
66)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.ja
va:201)
at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
66)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at
org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2344)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:164
)
at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
66)
at
org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.
java:170)
at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
64)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:170
)
at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
64)
at
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:462)
at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
64)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java
:163)
at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
66)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at
org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java:
1011)
at
org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:1106
)
at java.lang.Thread.run(Thread.java:484


- Original Message -
From: "Craig R. McClanahan" <[EMAIL PROTECTED]>
To: "T

Re: Url handler (Cocoon/OpenOrb/Tomcat 4.0.1 mix)

2001-12-15 Thread Craig R. McClanahan



On Sat, 15 Dec 2001, Anton Jansen wrote:

> Date: Sat, 15 Dec 2001 22:33:26 +0100
> From: Anton Jansen <[EMAIL PROTECTED]>
> Reply-To: Tomcat Users List <[EMAIL PROTECTED]>
> To: [EMAIL PROTECTED]
> Subject: Url handler (Cocoon/OpenOrb/Tomcat 4.0.1 mix)
>
> An application I have written uses the cocoon work frame in which a java
> class is compiled which uses the OpenORB. Their is a problem with the
> initialisation of the ORB, it tries to add a url handler and for some reason
> tomcat doesn't like this (see
> http://openorb.exolab.org/list-archive-dev/msg01505.html). I have tried to
> add the jar file containing the orb into the common directory which doesn't
> help and added the catalina.out file giving full permision to every class,
> but this has also no effect.
>
> What i want to know is, how do i give my openorb classes in tomcat
> permission to adapt the url handler?
>
> Versions:
> OpenORB 1.1.0
> Cocoon 2.01
> Tomcat 4.0.1
>

Without seeing your stack trace, it's difficult to be very helpful.
However, I assume from your comments that you are running with the
security manager enabled, and encountered a security exception?

Debugging these things gets pretty interesting, because it is not always
obvious exactly what permissions you need.  There is some advice on
turning on debugging output at the bottom of the Security Manager HOW-TO
document, available online at:

http://jakarta.apache.org/tomcat/tomcat-4.0-doc/security-manager-howto.html

You will want to create a "grant" section in
$CATALINA_HOME/conf/catalina.policy solely for the JAR file containing the
OpenORB classes, with whatever additional permissions are required to stop
getting "FAILED" messages (for your calls) in the debug output.

Craig McClanahan


--
To unsubscribe:   
For additional commands: 
Troubles with the list: 




Re: Is Tomcat considered to be a J2EE implementation?

2001-12-15 Thread Michael Davis

Thanks to everyone who replied.

One big relieve is that you all agree! I'll get JBoss and try that out.

Regards,
Michael

On December 15, 2001 01:29 pm, you wrote:
> On Sat, 15 Dec 2001, Michael Davis wrote:
> > Date: Sat, 15 Dec 2001 11:48:23 -0500
> > From: Michael Davis <[EMAIL PROTECTED]>
> > Reply-To: Tomcat Users List <[EMAIL PROTECTED]>
> > To: Tomcat Users List <[EMAIL PROTECTED]>
> > Subject: Re: Is Tomcat considered to be a J2EE implementation?
> >
> > Thanks,
> >
> > I've been using JServ to create servlets for a while, and I thought that
> > the difference between simply using servlets and J2EE was that the latter
> > has an EJB container.
>
> J2EE has a large number of technologies beyond the servlet and JSP support
> present in Tomcat, plus requirements on the container for configuring
> resources such as JDBC data sources.
>
> Tomcat 4 is a complete implementation of the servlet 2.3 and JSP 1.2
> requirements, and supports a small subset of resource factories that are
> upwardly compatible with J2EE programming standards, but it does NOT
> contain any support for the extra technologies such as EJB.
>
> > If this is true, then does Tomcat come with an EJB container?
> > Or maybe a better question is, can you program EJBs with Tomcat?
>
> You will need an EJB container in order to program EJBs.  Two approaches
> for you to look at:
>
> * Get the J2EE 1.3 Reference Implementation from Sun
>   .  It embeds Tomcat 4 inside to provide
>   the servlet and JSP technologies, and also supports all the rest.
>
> * Get an external EJB server that can integrate with Tomcat,
>   such as JBoss .  It connects with Tomcat
>   to provide the web layer, and itself provides EJB support.
>
> > Thanks again,
> > Michael
>
> Craig McClanahan

-- 
Michael Davis
Damaru
Custom Programming - Web Development - Database Design
http://www.damaru.com
416-540-1284

--
To unsubscribe:   
For additional commands: 
Troubles with the list: 




tom4 session and loadbalancing

2001-12-15 Thread Michael Remme

mod_jk is running here now with tomcat 4, but i have the problem, that
running sessions are not recognized. The loadbalancer is sending the
requests to different servers and not, like described, back to the
session-host. Is there anything know, what to do?

Best, Michael

Virengepruft vom G DATA AntiVirenKit


--
To unsubscribe:   
For additional commands: 
Troubles with the list: 




Re: InitialContext

2001-12-15 Thread renyu teng

sorry, found the typo.

thanks.

cheers
teng

--- renyu teng <[EMAIL PROTECTED]> wrote:
> 
> hi there,
> 
> could anyone tell me how to set the
> Context.INITIAL_CONTEXT_FACTORY in tomcat 4.0.01, I
> use the following code:
> 
> Hashtable env_ht = new Hashtable();
> 
>
> env_ht.put("Context.INITIAL_CONTEXT_FACTORY",
>
> "org.jnp.interfaces.NamingContextFactor");
> env_ht.put("java.naming.provider.url",
> "localhost:1099");
> env_ht.put("java.naming.factory.pkgs",
> "org.jboss.naming:org.jnp.interfa
> ces");
> InitialContext jndiContext = new
> InitialContext(env_ht);
> 
> The code is  a part of bean, and I use in jsp page.
> But if I print out the INITIAL_CONTEXT_FACTOR, I
> always get:
> 
> org.apache.naming.java.javaURLContextFactory
> 
> could anyone please drop me a line and tell me why?
> 
> I use Win2k, and tomcate 4.0.1, Java 1.3
> 
> thanks
> 
> regards
> teng
> 
> 
> __
> Do You Yahoo!?
> Check out Yahoo! Shopping and Yahoo! Auctions for
> all of
> your unique holiday gifts! Buy at
> http://shopping.yahoo.com
> or bid at http://auctions.yahoo.com
> 
> --
> To unsubscribe:  
> 
> For additional commands:
> 
> Troubles with the list:
> 
> 


__
Do You Yahoo!?
Check out Yahoo! Shopping and Yahoo! Auctions for all of
your unique holiday gifts! Buy at http://shopping.yahoo.com
or bid at http://auctions.yahoo.com

--
To unsubscribe:   
For additional commands: 
Troubles with the list: 




Url handler (Cocoon/OpenOrb/Tomcat 4.0.1 mix)

2001-12-15 Thread Anton Jansen

An application I have written uses the cocoon work frame in which a java
class is compiled which uses the OpenORB. Their is a problem with the
initialisation of the ORB, it tries to add a url handler and for some reason
tomcat doesn't like this (see
http://openorb.exolab.org/list-archive-dev/msg01505.html). I have tried to
add the jar file containing the orb into the common directory which doesn't
help and added the catalina.out file giving full permision to every class,
but this has also no effect.

What i want to know is, how do i give my openorb classes in tomcat
permission to adapt the url handler?

Versions:
OpenORB 1.1.0
Cocoon 2.01
Tomcat 4.0.1






--
To unsubscribe:   
For additional commands: 
Troubles with the list: 




Re: Application Design: initialization

2001-12-15 Thread Craig R. McClanahan



On Sat, 15 Dec 2001 [EMAIL PROTECTED] wrote:

> Date: Sat, 15 Dec 2001 12:40:25 -0800
> From: [EMAIL PROTECTED]
> Reply-To: Tomcat Users List <[EMAIL PROTECTED]>, [EMAIL PROTECTED]
> To: Tomcat Users List <[EMAIL PROTECTED]>
> Subject: Re: Application Design: initialization
>
> Ok great,
>
> I guess the only reason I wanted to do application ini'ng in a JSP
> file was so that I could easily view all the structures in the scopes
> (and tag markup like that is clear at a glance) and alter them without
> recompiling, But I agree that I am a bit held back by my past designs
> in coldfusion and that the application event listeners are the right
> place for that, so onwards :)  XML/property files will work best for
> this too.  I am quite new to JNDI so I need to study up there.
>



If you want to use XML files for configuration processing, you might want
to take a look at the Digester package in the Jakarta Commons project here
at Apache .  Digester makes it easy to
configure a tree of objects that correspond to the nesting of the XML
elements.

Tomcat 4, in the nightly builds, uses Digester to process server.xml and
web.xml files, and create corresponding hierarchies of objects (previous
versions of Tomcat used an internal utility class called XmlMapper, whose
design was the inspiration for Digester).

There are also a bunch of other useful class libraries available in the
Commons, and Apache also offers sets of custom tag libraries for JSP
(taglibs), a couple of wb application frameworks (Struts and Turbine), and
a bunch more stuff (including Tomcat, of course).

A developer's life is a lot easier when you don't have to build everything
from scratch :-).



> Thanks for the input.
> -John.
>

Craig


--
To unsubscribe:   
For additional commands: 
Troubles with the list: 




Re: Application Design: initialization

2001-12-15 Thread hhager


Well I am primarily talking about somewhat lengthy data structures (objects) 
to load into the application and session scopes at startup, and the web.xml 
descriptor does not seem appropriate for this, its more for lighter parameters. 
I am using resource bundles for internationalization, session structures for 
personalization features, and application structures for different views and such. 

Loading them in a JSP file just seemed friendly because I can glance at the markup 
and quickly view the structures that are in each scope by default, rather than 
inspecting various servlet java files as they grow.  But as per Craig's email, this 
can 
be accomplished in the application event listeners, especially using xml/property 
files 
to load in the structures when appropriate.  

And yes I am new to JNDI so I guess it shows and I need to study up there. 

Thanks, 
John. 

: 
: Hi, John,
: 
: I actually cannot tell what you are talking about.  You are not making 
: sense to me.  But, here is a stab of helping.
: 
: Well, I don't know about ColdFusion, but the idea of a "startup" JSP file 
: "application" initialization makes no sense in Java.  You could set 
: application values with a JSP, but that is not what you want.
: 
: If when you startup a JSP/servlet container you want application parameters 
: set, then you need to set them at the outset with a startup servlet.  Such 
: servlets are commonly called "StartupServlet.class".  I have no idea why 
: you don't like using web.xml to set the values of your initialization.  The 
: idea of the web.xml is to promote "migrations" and "programmatic" 
: behavior.  Why you think it is unsuccessful is less than clear to me.
: 
: Perhaps you would prefer to go further and use JNDI for 
: initialization?  Application wide parameters can be set whenever you want 
: to do so.
: 
: I suspect, but am not sure, that you have not looked at what JSP/servlets 
: have to offer as yet.  If you have and I am missing the point, please 
: accept my apologies and know that at least I am trying to help you.
: 
: Why do you think web.xml is such a bad idea?  That is not clear at all.
: 
: - micael
: 
: 
: 
: 
: --
: To unsubscribe:   
: For additional commands: 
: Troubles with the list: 
: 
: 


--
To unsubscribe:   
For additional commands: 
Troubles with the list: 




Re: Application Design: initialization

2001-12-15 Thread hhager

Ok great, 

I guess the only reason I wanted to do application ini'ng in a JSP file was so that 
I could easily view all the structures in the scopes (and tag markup like that is 
clear at a glance) and alter them without recompiling, But I agree that I am a 
bit held back by my past designs in coldfusion and that the application event 
listeners are the right place for that, so onwards :)  XML/property files 
will work best for this too.  I am quite new to JNDI so I need to study up there. 

Thanks for the input. 
-John. 


: > Hey All,
: >
: > I am a bit confused in J2EE (and tomcat) concerning the best spot to
: > do a bunch of initializations, and other startup code.
: >
: > Now, in Coldfusion you have the Application.cfm file which gets run on
: > every request, thus you can load up the application scope (if its
: > unitialized) or recycle it periodically with data/objects (which is
: > great for cache queues).
: >
: > In jsp, I would like to have a jsp file run on initialization so that
: > I can offer that file as a jsp based application initialization file
: > (using custom tags to load up the application scope and even session
: > and other goodies like internationalization bundles etc).
: >
: > It seems the best spot would be a ServletContext listener that would,
: > on startup, fire a request to the Application.jsp file ... but this
: > does not seem possible given the ServletContextListener interface (or
: > is it)?
: >
: > In general, I haven't found much info on best practices for setting up
: > the initial state of an application.  If I wanted load up some JNDI
: > entries on startup, where is the best place to do this (in a
: > ServletContextListener perhaps?) ?  And for some application
: > attributes, same question.  And to initialize the session for a user?
: >
: 
: The JNDI context is read-only from the perspective of the application.
: The only way to populate it is in the configuration of your server (for
: Tomcat, that means entries in server.xml).  See below for a programmatic
: alternative.
: 
: > I really like the Coldfusion concept of the Application.cfm file since
: > you can do all your state checks there, and then all your
: > scripts/servlets can expect the web application state to be well
: > managed.  Its also a great spot for loading in internationalization
: > resource bundles.
: >
: 
: That is exactly what application event listeners are for in the Servlet
: API.
: 
: > It would be even better to have a more fine grained Application.jsp
: > file that would fire on initialization and vice versa, and for a few
: > other significant application events.  I don't particularly like
: > putting a lot of params in the web.xml file since this can complicate
: > migrations and makes it a bit un-programmatic.  I also like having
: > simple custom tags loading the application and session scope so that
: > you can glance at one script for the app and see what is in those
: > scopes by default, rather than having servlets doing their own thing
: > and promoting decentralized scope processes.
: >
: 
: You're already found the right answer :-)
: 
: Servlet context listeners are the correct place to do application-wide
: initialization.  The contextInitialized() method is called when the
: application is first started (or when it is reloaded by the container), so
: it is the perfect place to do things like set up resources that must be
: present before the first request is processed.  Likewise, the
: contextDestroyed()  method is called at shutdown time, so you can clean up
: after yourself.
: 
: In a similar manner, you can register listeners for session creation and
: destruction, as well as changes to servlet context and session attributes.
: 
: However, it's not necessary (or appropriate, IMHO) to embed the
: initialization code in a JSP page -- save those for things that need a
: user interface.  The preferred design pattern is to have your context
: listener set up objects (such as connection pools and resource bundles)
: and make them available as ServletContext attributes.  From the JSP page
: perspective, these are just beans in application scope.  The page doesn't
: have to care how they got there -- thus achieving your goal of separation.
: 
: Remember that the event listeners can easily communicate information to
: your JSP pages by storing objects in ServletContext scope or Session
: scope, as appropriate.  It is *not* necessary to use JSP to *create* those
: objects.
: 
: > Any ideas?
: >
: > Thanks,
: > John.
: >
: 
: Craig McClanahan
: 
: 
: --
: To unsubscribe:   
: For additional commands: 
: Troubles with the list: 
: 
: 


--
To unsubscribe:   
For additional commands: 
Troubles with the list: 




RE: mod_webapp error

2001-12-15 Thread William Tansill

Stupid question -- have you by any chance listed the line:

AddModule mod_webapp.c

Prior to the statement

LoadModule webapp_module libexec/mod_webapp.so

I think I recall a similar message when loading mod_webapp.so on my
Windows-based system.
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Thursday, December 13, 2001 10:04 AM
To: Tomcat Users List
Subject: Re: mod_webapp error



Hi, I'm getting this same problem. I'm running Solaris 8 7/01 Sparc. I have
Tomcat 4.0.1 and the Apache 1.3.somthing that came with the install of
Solaris 8 7/01. I've tried multiple things with no luck. I even tried to
compile the webapp_mod but that failed and I never got it to compile. I'm
currently trying the AJP1.3. I have just downloaded it. I noticed you seem
to have the same setup as me. I wanted to know if you have had any luck
getting the webapp_mod to work on you machine. I'm not sure if I'm going to
use Apache with Tomcat or just us Tomcat for it all. I think I'm going to
ask this question on the list. Most of the stuff that I'm doing will be all
Servlets anyway. If you come up with any solutions please let me know, it
would be greatly appreciated.


Thank You,

Justin A. Stanczak
Web Manager
Shake Learning Resource Center
Vincennes University
(812)888-5813



"Preston Hogue"

tmail.com>  cc:
Subject: mod_webapp error
12/09/2001 10:19
PM
Please respond to
"Tomcat Users
List"






I noticed some people had the same issue in the past, I was unable to find
the resolution.  Any help would be greatly appreciated.  I am currently
attempting to Run Apache, Tomcat, JDK 1.3.1 on a Solaris 8 (Sun Installed
Netra) and I am getting the following error:

Cannot load /usr/apache/libexec/mod_webapp.so into server: ld.so.1:
>> /usr/apache/
>> bin/httpd: fatal: relocation error: file
/usr/apache/libexec/mod_webapp.so:
>> symbol __lshrdi3: referenced symbol not found

Thanks,
Preston






--
To unsubscribe:   
For additional commands: 
Troubles with the list: 



--
To unsubscribe:   
For additional commands: 
Troubles with the list: 




Re: [tcusers]Re: JSP to PDF

2001-12-15 Thread Todd Wright

Tim,

You are correct that JSP is usually for HTML, but there is no reason it 
couldn't generate XML. In fact it it an ideal way to deliver semantic-rich 
data via a web-server.

Todd Wright

At 11:21 AM 12/12/2001 -0800, you wrote:
>I plead ignorance about JSP, but doesn't JSP make HTML pages, not XML pages?!?
>
>You create your data content in XML.  Then create a separate document 
>style sheet
>using FO (Formatting Objects) markup.  These two documents will be then 
>converted
>into a PDF file using FOP.  FOP is one implementation of the FO specification.
>Other programs can convert the same FO style sheet document into other formats
>like Java AWT for example.
>
>The Java servlet can be used to auto-generate the XML.  Thus the data placed
>into the XML document can be extracted from other sources, like database
>servers through JDBC driver, CORBA servers (jacORB), messaging servers 
>(JBOSS),
>etc.
>
>On a last note, you can optionally create a style sheet for HTML as well.
>Thus
>you can use two style sheets, one for FO markup for things like PDF, SVG, 
>AWT, etc.,
>and one for HTML.
>
>The possibilities are limitless with XML
>
>
>On Friday, November 9, 2001, at 09:15  AM, Tim McLaughlin wrote:
>
>>On 11/08/2001 23:07, "Lars Nielsen Lind" <[EMAIL PROTECTED]> wrote:
>>
>>>Is it not possible to create a PDF-file from JSP?
>>>
>>>I believe I have heard something about FOP - you can get it from the 
>>>Apache /
>>>Jakarta website.
>>>
>>>/Lars Nielsen Lind
>>
>>
>>I don't know about using it from JSP, but I have a colleague who has used
>>FOP, and he loved it.  You basically have an XML document that describes the
>>layout using FOP tags, then it is processed and a PDF is produced.
>>
>>You could use the JSP to gather the information, but then I imagine you'd
>>want a servlet to handle it and process the FOP document, and then forward
>>to another JSP that offered a link to the resulting PDF.  Just my take on
>>it.
>>
>>I seem to recall that there was some commercial package involved in what he
>>was doing, but that may have been before the Jakarta project.  I don't know
>>for sure.
>>
>>Tim
>>
>>--
>>Tim McLaughlin
>>[EMAIL PROTECTED]
>>
>>
>>
>>--
>>To unsubscribe:   
>>For additional commands: 
>>Troubles with the list: 
>
>
>--
>To unsubscribe:   
>For additional commands: 
>Troubles with the list: 


--
To unsubscribe:   
For additional commands: 
Troubles with the list: 




RE: Is Tomcat considered to be a J2EE implementation?

2001-12-15 Thread Reynir Hübner


no Tomcat does not come with an EJB container, but it supports the use
of EJBs with in servlets & jsp. 
But you can download Jboss, bundled with Tomcat... Jboss is EJB
container/ application server. 

Try it, it´s very good.

hope it helps, 
-reynir


-Original Message-
From: Michael Davis [mailto:[EMAIL PROTECTED]]
Sent: 15. desember 2001 16:48
To: Tomcat Users List
Subject: Re: Is Tomcat considered to be a J2EE implementation?


Thanks,

I've been using JServ to create servlets for a while, and I thought that
the 
difference between simply using servlets and J2EE was that the latter
has an 
EJB container. If this is true, then does Tomcat come with an EJB
container? 
Or maybe a better question is, can you program EJBs with Tomcat?

Thanks again,
Michael

On December 15, 2001 11:34 am, you wrote:
> hello,
>
> The J2EE includes the following technologies :
>
> Servlets, JSP, JNDI, JAXP, JDBC, EJB, JMS, Java Transactions,
JavaMail,
> Java IDL, J2EE connectors and Corba (am I missing something ?).
> Read all about j2ee and related technologies at
http://java.sun.com/j2ee
>
> Tomcat is "only" a Servlet / JSP container... so while using it you´re
> not neccesarely using all the other technologies,  so I would not say
> that you "know j2ee" untill you know at least half of em. But then
again
> Servlets, and JSP are a very big part of J2EE functionality.
>
> I would say if you learn and use Tomcat, you can claim you know
servlets
> & jsp, and probably some of the other parts of J2EE. If you check out
> EJBs along the way u´re getting very close to knowing J2EE, at least
you
> should know what to claim.
>
>
> hope that explaines it...
>
> --reynir
>
> -Original Message-
> From: Michael Davis [mailto:[EMAIL PROTECTED]]
> Sent: 15. desember 2001 16:14
> To: [EMAIL PROTECTED]
> Subject: Is Tomcat considered to be a J2EE implementation?
>
>
> Hi,
>
> I've been coding Java for a while, and now I'd like to learn J2EE. I
> downloaded and installed Tomcat version 4.
>
> Is Tomcat a reasonably complete implementation of J2EE? That is, if I
> learn
> and use Tomcat, can I claim to know J2EE?
>
> Thanks,

-- 
Michael Davis
Damaru
Custom Programming - Web Development - Database Design
http://www.damaru.com
416-540-1284

--
To unsubscribe:   
For additional commands: 
Troubles with the list: 


--
To unsubscribe:   
For additional commands: 
Troubles with the list: 




Re: Application Design: initialization

2001-12-15 Thread Craig R. McClanahan



On Sat, 15 Dec 2001 [EMAIL PROTECTED] wrote:

> Date: Sat, 15 Dec 2001 10:05:03 -0800
> From: [EMAIL PROTECTED]
> Reply-To: Tomcat Users List <[EMAIL PROTECTED]>, [EMAIL PROTECTED]
> To: [EMAIL PROTECTED]
> Subject: Application Design: initialization
>
> Hey All,
>
> I am a bit confused in J2EE (and tomcat) concerning the best spot to
> do a bunch of initializations, and other startup code.
>
> Now, in Coldfusion you have the Application.cfm file which gets run on
> every request, thus you can load up the application scope (if its
> unitialized) or recycle it periodically with data/objects (which is
> great for cache queues).
>
> In jsp, I would like to have a jsp file run on initialization so that
> I can offer that file as a jsp based application initialization file
> (using custom tags to load up the application scope and even session
> and other goodies like internationalization bundles etc).
>
> It seems the best spot would be a ServletContext listener that would,
> on startup, fire a request to the Application.jsp file ... but this
> does not seem possible given the ServletContextListener interface (or
> is it)?
>
> In general, I haven't found much info on best practices for setting up
> the initial state of an application.  If I wanted load up some JNDI
> entries on startup, where is the best place to do this (in a
> ServletContextListener perhaps?) ?  And for some application
> attributes, same question.  And to initialize the session for a user?
>

The JNDI context is read-only from the perspective of the application.
The only way to populate it is in the configuration of your server (for
Tomcat, that means entries in server.xml).  See below for a programmatic
alternative.

> I really like the Coldfusion concept of the Application.cfm file since
> you can do all your state checks there, and then all your
> scripts/servlets can expect the web application state to be well
> managed.  Its also a great spot for loading in internationalization
> resource bundles.
>

That is exactly what application event listeners are for in the Servlet
API.

> It would be even better to have a more fine grained Application.jsp
> file that would fire on initialization and vice versa, and for a few
> other significant application events.  I don't particularly like
> putting a lot of params in the web.xml file since this can complicate
> migrations and makes it a bit un-programmatic.  I also like having
> simple custom tags loading the application and session scope so that
> you can glance at one script for the app and see what is in those
> scopes by default, rather than having servlets doing their own thing
> and promoting decentralized scope processes.
>

You're already found the right answer :-)

Servlet context listeners are the correct place to do application-wide
initialization.  The contextInitialized() method is called when the
application is first started (or when it is reloaded by the container), so
it is the perfect place to do things like set up resources that must be
present before the first request is processed.  Likewise, the
contextDestroyed()  method is called at shutdown time, so you can clean up
after yourself.

In a similar manner, you can register listeners for session creation and
destruction, as well as changes to servlet context and session attributes.

However, it's not necessary (or appropriate, IMHO) to embed the
initialization code in a JSP page -- save those for things that need a
user interface.  The preferred design pattern is to have your context
listener set up objects (such as connection pools and resource bundles)
and make them available as ServletContext attributes.  From the JSP page
perspective, these are just beans in application scope.  The page doesn't
have to care how they got there -- thus achieving your goal of separation.

Remember that the event listeners can easily communicate information to
your JSP pages by storing objects in ServletContext scope or Session
scope, as appropriate.  It is *not* necessary to use JSP to *create* those
objects.

> Any ideas?
>
> Thanks,
> John.
>

Craig McClanahan


--
To unsubscribe:   
For additional commands: 
Troubles with the list: 




Re: Application Design: initialization

2001-12-15 Thread Micael Padraig Og mac Grene

At 10:05 AM 12/15/01 -0800, you wrote:
>Hey All,
>
>I am a bit confused in J2EE (and tomcat) concerning the best spot to do a 
>bunch of initializations, and other startup code.
>
>Now, in Coldfusion you have the Application.cfm file which gets run on 
>every request, thus you can load up the application scope (if
>its unitialized) or recycle it periodically with data/objects (which is 
>great for cache queues).
>
>In jsp, I would like to have a  jsp file run on initialization so that I 
>can offer that file as a jsp based application
>initialization file (using custom tags to load up the application scope 
>and even session and other goodies like internationalization
>bundles etc).
>
>It seems the best spot would be a ServletContext listener that would, on 
>startup, fire a request to the Application.jsp file ... but
>this does not seem possible given the ServletContextListener interface (or 
>is it)?
>
>In general, I haven't found much info on best practices for setting up the 
>initial state of an application.  If I wanted load up
>some JNDI entries on startup, where is the best place to do this (in a 
>ServletContextListener perhaps?) ?  And for some application
>attributes, same question.  And to initialize the session for a user?
>
>I really like the Coldfusion concept of the Application.cfm file since you 
>can do all your state checks there, and then all your
>scripts/servlets can expect the web application state to be well 
>managed.  Its also a great spot for loading in internationalization
>resource bundles.
>
>It would be even better to have a more fine grained Application.jsp file 
>that would fire on initialization and vice versa, and for a
>few other significant application events.  I don't particularly like 
>putting a lot of params in the web.xml file since this can
>complicate migrations and makes it a bit un-programmatic.  I also like 
>having simple custom tags loading the application and session
>scope so that you can glance at one script for the app and see what is in 
>those scopes by default, rather than having servlets doing
>their own thing and promoting decentralized scope processes.
>
>Any ideas?
>
>Thanks,
>John.

Hi, John,

I actually cannot tell what you are talking about.  You are not making 
sense to me.  But, here is a stab of helping.

Well, I don't know about ColdFusion, but the idea of a "startup" JSP file 
"application" initialization makes no sense in Java.  You could set 
application values with a JSP, but that is not what you want.

If when you startup a JSP/servlet container you want application parameters 
set, then you need to set them at the outset with a startup servlet.  Such 
servlets are commonly called "StartupServlet.class".  I have no idea why 
you don't like using web.xml to set the values of your initialization.  The 
idea of the web.xml is to promote "migrations" and "programmatic" 
behavior.  Why you think it is unsuccessful is less than clear to me.

Perhaps you would prefer to go further and use JNDI for 
initialization?  Application wide parameters can be set whenever you want 
to do so.

I suspect, but am not sure, that you have not looked at what JSP/servlets 
have to offer as yet.  If you have and I am missing the point, please 
accept my apologies and know that at least I am trying to help you.

Why do you think web.xml is such a bad idea?  That is not clear at all.

- micael




--
To unsubscribe:   
For additional commands: 
Troubles with the list: 




Re: Application Design: initialization

2001-12-15 Thread Matt Egyhazy

you can have servlets that load on application start up.
they must have an init() method and the following attribute in your web.xml:

1

matt
- Original Message -
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, December 15, 2001 1:05 PM
Subject: Application Design: initialization


> Hey All,
>
> I am a bit confused in J2EE (and tomcat) concerning the best spot to do a
bunch of initializations, and other startup code.
>
> Now, in Coldfusion you have the Application.cfm file which gets run on
every request, thus you can load up the application scope (if
> its unitialized) or recycle it periodically with data/objects (which is
great for cache queues).
>
> In jsp, I would like to have a  jsp file run on initialization so that I
can offer that file as a jsp based application
> initialization file (using custom tags to load up the application scope
and even session and other goodies like internationalization
> bundles etc).
>
> It seems the best spot would be a ServletContext listener that would, on
startup, fire a request to the Application.jsp file ... but
> this does not seem possible given the ServletContextListener interface (or
is it)?
>
> In general, I haven't found much info on best practices for setting up the
initial state of an application.  If I wanted load up
> some JNDI entries on startup, where is the best place to do this (in a
ServletContextListener perhaps?) ?  And for some application
> attributes, same question.  And to initialize the session for a user?
>
> I really like the Coldfusion concept of the Application.cfm file since you
can do all your state checks there, and then all your
> scripts/servlets can expect the web application state to be well managed.
Its also a great spot for loading in internationalization
> resource bundles.
>
> It would be even better to have a more fine grained Application.jsp file
that would fire on initialization and vice versa, and for a
> few other significant application events.  I don't particularly like
putting a lot of params in the web.xml file since this can
> complicate migrations and makes it a bit un-programmatic.  I also like
having simple custom tags loading the application and session
> scope so that you can glance at one script for the app and see what is in
those scopes by default, rather than having servlets doing
> their own thing and promoting decentralized scope processes.
>
> Any ideas?
>
> Thanks,
> John.
>
>
>
> --
> To unsubscribe:   
> For additional commands: 
> Troubles with the list: 


--
To unsubscribe:   
For additional commands: 
Troubles with the list: 




RE: Is Tomcat considered to be a J2EE implementation?

2001-12-15 Thread Peter Romianowski

No, tomcat doesn't come with an EJB-container. But you can "plug in" tomcat
into
an EJB-Container. For instance, tomcat is the Servlet/JSP-Container for
jboss (http://www.jboss.org), an open source EJB-Container. And tomcat is
the Servlet/JSP-Container for the J2EE reference implementation from sun.

So, you see there is a big difference between an EJB-Container and a
Servlet/JSP-Container like tomcat.
So, when you use tomcat as a Servlet/JSP-Container for you EJB-Container
(ApplicationServer), then you can access EJBs from your servlets and jsps...

Hope that helped a bit.
cheers
pero

-Original Message-
From: Michael Davis [mailto:[EMAIL PROTECTED]]
Sent: Saturday, December 15, 2001 5:48 PM
To: Tomcat Users List
Subject: Re: Is Tomcat considered to be a J2EE implementation?


Thanks,

I've been using JServ to create servlets for a while, and I thought that the
difference between simply using servlets and J2EE was that the latter has an
EJB container. If this is true, then does Tomcat come with an EJB container?
Or maybe a better question is, can you program EJBs with Tomcat?

Thanks again,
Michael

On December 15, 2001 11:34 am, you wrote:
> hello,
>
> The J2EE includes the following technologies :
>
> Servlets, JSP, JNDI, JAXP, JDBC, EJB, JMS, Java Transactions, JavaMail,
> Java IDL, J2EE connectors and Corba (am I missing something ?).
> Read all about j2ee and related technologies at http://java.sun.com/j2ee
>
> Tomcat is "only" a Servlet / JSP container... so while using it you´re
> not neccesarely using all the other technologies,  so I would not say
> that you "know j2ee" untill you know at least half of em. But then again
> Servlets, and JSP are a very big part of J2EE functionality.
>
> I would say if you learn and use Tomcat, you can claim you know servlets
> & jsp, and probably some of the other parts of J2EE. If you check out
> EJBs along the way u´re getting very close to knowing J2EE, at least you
> should know what to claim.
>
>
> hope that explaines it...
>
> --reynir
>
> -Original Message-
> From: Michael Davis [mailto:[EMAIL PROTECTED]]
> Sent: 15. desember 2001 16:14
> To: [EMAIL PROTECTED]
> Subject: Is Tomcat considered to be a J2EE implementation?
>
>
> Hi,
>
> I've been coding Java for a while, and now I'd like to learn J2EE. I
> downloaded and installed Tomcat version 4.
>
> Is Tomcat a reasonably complete implementation of J2EE? That is, if I
> learn
> and use Tomcat, can I claim to know J2EE?
>
> Thanks,

--
Michael Davis
Damaru
Custom Programming - Web Development - Database Design
http://www.damaru.com
416-540-1284

--
To unsubscribe:   
For additional commands: 
Troubles with the list: 



--
To unsubscribe:   
For additional commands: 
Troubles with the list: 




Re: Is Tomcat considered to be a J2EE implementation?

2001-12-15 Thread Craig R. McClanahan



On Sat, 15 Dec 2001, Michael Davis wrote:

> Date: Sat, 15 Dec 2001 11:48:23 -0500
> From: Michael Davis <[EMAIL PROTECTED]>
> Reply-To: Tomcat Users List <[EMAIL PROTECTED]>
> To: Tomcat Users List <[EMAIL PROTECTED]>
> Subject: Re: Is Tomcat considered to be a J2EE implementation?
>
> Thanks,
>
> I've been using JServ to create servlets for a while, and I thought that the
> difference between simply using servlets and J2EE was that the latter has an
> EJB container.

J2EE has a large number of technologies beyond the servlet and JSP support
present in Tomcat, plus requirements on the container for configuring
resources such as JDBC data sources.

Tomcat 4 is a complete implementation of the servlet 2.3 and JSP 1.2
requirements, and supports a small subset of resource factories that are
upwardly compatible with J2EE programming standards, but it does NOT
contain any support for the extra technologies such as EJB.

> If this is true, then does Tomcat come with an EJB container?
> Or maybe a better question is, can you program EJBs with Tomcat?
>

You will need an EJB container in order to program EJBs.  Two approaches
for you to look at:

* Get the J2EE 1.3 Reference Implementation from Sun
  .  It embeds Tomcat 4 inside to provide
  the servlet and JSP technologies, and also supports all the rest.

* Get an external EJB server that can integrate with Tomcat,
  such as JBoss .  It connects with Tomcat
  to provide the web layer, and itself provides EJB support.

> Thanks again,
> Michael
>

Craig McClanahan


--
To unsubscribe:   
For additional commands: 
Troubles with the list: 




Application Design: initialization

2001-12-15 Thread hhager

Hey All,

I am a bit confused in J2EE (and tomcat) concerning the best spot to do a bunch of 
initializations, and other startup code.

Now, in Coldfusion you have the Application.cfm file which gets run on every request, 
thus you can load up the application scope (if
its unitialized) or recycle it periodically with data/objects (which is great for 
cache queues).

In jsp, I would like to have a  jsp file run on initialization so that I can offer 
that file as a jsp based application
initialization file (using custom tags to load up the application scope and even 
session and other goodies like internationalization
bundles etc).

It seems the best spot would be a ServletContext listener that would, on startup, fire 
a request to the Application.jsp file ... but
this does not seem possible given the ServletContextListener interface (or is it)?

In general, I haven't found much info on best practices for setting up the initial 
state of an application.  If I wanted load up
some JNDI entries on startup, where is the best place to do this (in a 
ServletContextListener perhaps?) ?  And for some application
attributes, same question.  And to initialize the session for a user?

I really like the Coldfusion concept of the Application.cfm file since you can do all 
your state checks there, and then all your
scripts/servlets can expect the web application state to be well managed.  Its also a 
great spot for loading in internationalization
resource bundles.

It would be even better to have a more fine grained Application.jsp file that would 
fire on initialization and vice versa, and for a
few other significant application events.  I don't particularly like putting a lot of 
params in the web.xml file since this can
complicate migrations and makes it a bit un-programmatic.  I also like having simple 
custom tags loading the application and session
scope so that you can glance at one script for the app and see what is in those scopes 
by default, rather than having servlets doing
their own thing and promoting decentralized scope processes.

Any ideas?

Thanks,
John.



--
To unsubscribe:   
For additional commands: 
Troubles with the list: 




Re: Is Tomcat considered to be a J2EE implementation?

2001-12-15 Thread Micael Padraig Og mac Grene

At 11:48 AM 12/15/01 -0500, you wrote:
>Thanks,
>
>I've been using JServ to create servlets for a while, and I thought that the
>difference between simply using servlets and J2EE was that the latter has an
>EJB container. If this is true, then does Tomcat come with an EJB container?
>Or maybe a better question is, can you program EJBs with Tomcat?
>
>Thanks again,
>Michael


Try looking at, for example, JBoss.  That is a j2ee enterprise application 
container that uses Tomcat (and Jetty, if you want) as the web 
container.  The previous answer gave you everything you need to know.

The answer was and is that Tomcat is not a j2ee container.  Tomcat is a web 
container that handles  jsp/servlet functionality.

Normally, the j2ee functionality is not web client to server, but is server 
to server and various underlying APIs (as pointed out to you in the 
previous answer) to assist.  In short, the last guy gave you a correct 
answer.  Read it carefully and start checking out enterprise application 
servers, such as JBoss, etc.

Hope this helps, but it really does not and need not add anything to what 
you already have been told.  What you already have been told is the whole 
answer.  Tomcat has no deployer for enterprise java beans.

Bye,

-- micael


--
To unsubscribe:   
For additional commands: 
Troubles with the list: 




Re: [tcusers]Re: JSP to PDF

2001-12-15 Thread Darth Darknerd

I plead ignorance about JSP, but doesn't JSP make HTML pages, not XML 
pages?!?

You create your data content in XML.  Then create a separate document 
style sheet
using FO (Formatting Objects) markup.  These two documents will be then 
converted
into a PDF file using FOP.  FOP is one implementation of the FO 
specification.
Other programs can convert the same FO style sheet document into other 
formats
like Java AWT for example.

The Java servlet can be used to auto-generate the XML.  Thus the data 
placed
into the XML document can be extracted from other sources, like database
servers through JDBC driver, CORBA servers (jacORB), messaging servers 
(JBOSS),
etc.

On a last note, you can optionally create a style sheet for HTML as well.  
Thus
you can use two style sheets, one for FO markup for things like PDF, SVG, 
AWT, etc.,
and one for HTML.

The possibilities are limitless with XML


On Friday, November 9, 2001, at 09:15  AM, Tim McLaughlin wrote:

> On 11/08/2001 23:07, "Lars Nielsen Lind" <[EMAIL PROTECTED]> wrote:
>
>> Is it not possible to create a PDF-file from JSP?
>>
>> I believe I have heard something about FOP - you can get it from the 
>> Apache /
>> Jakarta website.
>>
>> /Lars Nielsen Lind
>
>
> I don't know about using it from JSP, but I have a colleague who has used
> FOP, and he loved it.  You basically have an XML document that describes 
> the
> layout using FOP tags, then it is processed and a PDF is produced.
>
> You could use the JSP to gather the information, but then I imagine you'd
> want a servlet to handle it and process the FOP document, and then forward
> to another JSP that offered a link to the resulting PDF.  Just my take on
> it.
>
> I seem to recall that there was some commercial package involved in what 
> he
> was doing, but that may have been before the Jakarta project.  I don't 
> know
> for sure.
>
> Tim
>
> --
> Tim McLaughlin
> [EMAIL PROTECTED]
>
>
>
> --
> To unsubscribe:   
> For additional commands: 
> Troubles with the list: 
>


--
To unsubscribe:   
For additional commands: 
Troubles with the list: 




Re: Is Tomcat considered to be a J2EE implementation?

2001-12-15 Thread Michael Davis

Thanks,

I've been using JServ to create servlets for a while, and I thought that the 
difference between simply using servlets and J2EE was that the latter has an 
EJB container. If this is true, then does Tomcat come with an EJB container? 
Or maybe a better question is, can you program EJBs with Tomcat?

Thanks again,
Michael

On December 15, 2001 11:34 am, you wrote:
> hello,
>
> The J2EE includes the following technologies :
>
> Servlets, JSP, JNDI, JAXP, JDBC, EJB, JMS, Java Transactions, JavaMail,
> Java IDL, J2EE connectors and Corba (am I missing something ?).
> Read all about j2ee and related technologies at http://java.sun.com/j2ee
>
> Tomcat is "only" a Servlet / JSP container... so while using it you´re
> not neccesarely using all the other technologies,  so I would not say
> that you "know j2ee" untill you know at least half of em. But then again
> Servlets, and JSP are a very big part of J2EE functionality.
>
> I would say if you learn and use Tomcat, you can claim you know servlets
> & jsp, and probably some of the other parts of J2EE. If you check out
> EJBs along the way u´re getting very close to knowing J2EE, at least you
> should know what to claim.
>
>
> hope that explaines it...
>
> --reynir
>
> -Original Message-
> From: Michael Davis [mailto:[EMAIL PROTECTED]]
> Sent: 15. desember 2001 16:14
> To: [EMAIL PROTECTED]
> Subject: Is Tomcat considered to be a J2EE implementation?
>
>
> Hi,
>
> I've been coding Java for a while, and now I'd like to learn J2EE. I
> downloaded and installed Tomcat version 4.
>
> Is Tomcat a reasonably complete implementation of J2EE? That is, if I
> learn
> and use Tomcat, can I claim to know J2EE?
>
> Thanks,

-- 
Michael Davis
Damaru
Custom Programming - Web Development - Database Design
http://www.damaru.com
416-540-1284

--
To unsubscribe:   
For additional commands: 
Troubles with the list: 




RE: Is Tomcat considered to be a J2EE implementation?

2001-12-15 Thread Reynir Hübner

hello, 

The J2EE includes the following technologies :

Servlets, JSP, JNDI, JAXP, JDBC, EJB, JMS, Java Transactions, JavaMail,
Java IDL, J2EE connectors and Corba (am I missing something ?).
Read all about j2ee and related technologies at http://java.sun.com/j2ee

Tomcat is "only" a Servlet / JSP container... so while using it you´re
not neccesarely using all the other technologies,  so I would not say
that you "know j2ee" untill you know at least half of em. But then again
Servlets, and JSP are a very big part of J2EE functionality. 

I would say if you learn and use Tomcat, you can claim you know servlets
& jsp, and probably some of the other parts of J2EE. If you check out
EJBs along the way u´re getting very close to knowing J2EE, at least you
should know what to claim.


hope that explaines it...

--reynir

-Original Message-
From: Michael Davis [mailto:[EMAIL PROTECTED]]
Sent: 15. desember 2001 16:14
To: [EMAIL PROTECTED]
Subject: Is Tomcat considered to be a J2EE implementation?


Hi,

I've been coding Java for a while, and now I'd like to learn J2EE. I 
downloaded and installed Tomcat version 4.

Is Tomcat a reasonably complete implementation of J2EE? That is, if I
learn 
and use Tomcat, can I claim to know J2EE?

Thanks,
-- 
Michael Davis
Damaru
Custom Programming - Web Development - Database Design
http://www.damaru.com
416-540-1284

--
To unsubscribe:   
For additional commands: 
Troubles with the list: 


--
To unsubscribe:   
For additional commands: 
Troubles with the list: 




Re: mod_jk solaris

2001-12-15 Thread Peter Hitchman

Hi,
So I am guessing that the problem is that the symbol get_ap_table does not
exists in the httpd binary?

Pete

Edy Lie wrote:

> Hi Pete
>
> Thanks for the reply
>
> this is what i get when i issued
>
> # ldd mod_jk.so
> librt.so.1 =>/usr/lib/librt.so.1
> libaio.so.1 =>   /usr/lib/libaio.so.1
> libc.so.1 => /usr/lib/libc.so.1
> libdl.so.1 =>/usr/lib/libdl.so.1
> /usr/platform/SUNW,Ultra-5_10/lib/libc_psr.so.1
>
> - Original Message -
> From: "Peter Hitchman" <[EMAIL PROTECTED]>
> To: "Tomcat Users List" <[EMAIL PROTECTED]>
> Sent: Saturday, December 15, 2001 11:39 PM
> Subject: Re: mod_jk solaris
>
> > Hi,
> > First off I am no tomcat expert, but I recognise the dynamic link error.
> > If you use the nm uitlity to dump the contents of the mod_jk.so, you will
> > see that ap_table_get is an
> > undefined reference, this means that it has to exist in another library,
> > either linked in statically or
> > as in this case in a library/binaty  linked to dynamically at run time.
> > My suggestion is that you use the ldd command with mod_jk.so, and see if
> > this shows you any dependancies
> > that cannot be resolved. So when I do "ldd mod_jok.so" I get:
> >
> > librt.so.1 =>/usr/lib/librt.so.1
> > libaio.so.1 =>   /usr/lib/libaio.so.1
> > libc.so.1 => /usr/lib/libc.so.1
> > libdl.so.1 =>/usr/lib/libdl.so.1
> > /usr/platform/SUNW,UltraAX-i2/lib/libc_psr.so.1
> >
> > To be honest I cannot see this object in these libraries, but the symbol
> > does appear in a nm dump of the program httpd,
> > so this suggests either something did not build properly  or there is a
> > mismatch between the tomcat and apache versions.
> > We have the same configuration working on Solaris 8 with apache 1.2.20 and
> > tomcat 3.2.3.
> >
> > Regards
> >
> > Pete
> >
> > [END]
> >
> > Edy Lie wrote:
> >
> > > Greetings ...
> > >
> > > I have installed tomcat 3.3 in Solaris 8 sparc with apache 1.3.22.
> > > Tomcat able to run and mod_jk.so has been compiled from source and place
> > > in the directory /usr/local/apache/libexec/mod_jk.so
> > >
> > > But when i tried to start mod_jk with apache i got this message. I have
> > > tried google but no luck still. Thanks
> > >
> > > # /usr/local/apache/bin/apachectl configtest
> > > Syntax error on line 4 of
> > > /usr/local/jakarta-tomcat-3.3/conf/auto/mod_jk.conf:
> > > Cannot load /usr/local/apache/libexec/mod_jk.so into server: ld.so.1:
> > > /usr/local/apache/bin/httpd: fatal: relocation error: file
> > > /usr/local/apache/libexec/mod_jk.so: symbol ap_table_get: referenced
> > > symbol not found
> > >
> > > entry for mod_jk.conf
> > >
> > > ## Auto generated on Sat Dec 15 22:24:08 GMT+08:00
> > > 2001##
> > >
> > > 
> > >   LoadModule jk_module libexec/mod_jk.so
> > > 
> > >
> > > JkWorkersFile "/usr/local/jakarta-tomcat-3.3/conf/jk/workers.properties"
> > > JkLogFile "/usr/local/jakarta-tomcat-3.3/logs/mod_jk.log"
> > >
> > > JkLogLevel emerg
> > >
> > > JkMount /admin ajp13
> > > JkMount /admin/* ajp13
> > >
> > > JkMount /examples ajp13
> > > JkMount /examples/* ajp13
> > >
> > > Regards,
> > > Edy Lie
> >
> >
> >
> > **
> > This email and any files transmitted with it are confidential and
> > intended solely for the use of the individual or entity to whom they
> > are addressed. If you have received this email in error please notify
> > the system manager.
> >
> > This footnote also confirms that this email message has been swept by
> > MIMEsweeper for the presence of computer viruses.
> >
> > www.mimesweeper.com
> > **
> >
> >
> > --
> > To unsubscribe:   
> > For additional commands: 
> > Troubles with the list: 
>
> --
> To unsubscribe:   
> For additional commands: 
> Troubles with the list: 



**
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.

This footnote also confirms that this email message has been swept by
MIMEsweeper for the presence of computer viruses.

www.mimesweeper.com
**


--
To unsubscribe:   
For additional commands: 
Troubles with the list: 




Is Tomcat considered to be a J2EE implementation?

2001-12-15 Thread Michael Davis

Hi,

I've been coding Java for a while, and now I'd like to learn J2EE. I 
downloaded and installed Tomcat version 4.

Is Tomcat a reasonably complete implementation of J2EE? That is, if I learn 
and use Tomcat, can I claim to know J2EE?

Thanks,
-- 
Michael Davis
Damaru
Custom Programming - Web Development - Database Design
http://www.damaru.com
416-540-1284

--
To unsubscribe:   
For additional commands: 
Troubles with the list: 




Re: mod_jk solaris

2001-12-15 Thread Edy Lie

Hi Pete

Thanks for the reply

this is what i get when i issued

# ldd mod_jk.so
librt.so.1 =>/usr/lib/librt.so.1
libaio.so.1 =>   /usr/lib/libaio.so.1
libc.so.1 => /usr/lib/libc.so.1
libdl.so.1 =>/usr/lib/libdl.so.1
/usr/platform/SUNW,Ultra-5_10/lib/libc_psr.so.1

- Original Message -
From: "Peter Hitchman" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <[EMAIL PROTECTED]>
Sent: Saturday, December 15, 2001 11:39 PM
Subject: Re: mod_jk solaris


> Hi,
> First off I am no tomcat expert, but I recognise the dynamic link error.
> If you use the nm uitlity to dump the contents of the mod_jk.so, you will
> see that ap_table_get is an
> undefined reference, this means that it has to exist in another library,
> either linked in statically or
> as in this case in a library/binaty  linked to dynamically at run time.
> My suggestion is that you use the ldd command with mod_jk.so, and see if
> this shows you any dependancies
> that cannot be resolved. So when I do "ldd mod_jok.so" I get:
>
> librt.so.1 =>/usr/lib/librt.so.1
> libaio.so.1 =>   /usr/lib/libaio.so.1
> libc.so.1 => /usr/lib/libc.so.1
> libdl.so.1 =>/usr/lib/libdl.so.1
> /usr/platform/SUNW,UltraAX-i2/lib/libc_psr.so.1
>
> To be honest I cannot see this object in these libraries, but the symbol
> does appear in a nm dump of the program httpd,
> so this suggests either something did not build properly  or there is a
> mismatch between the tomcat and apache versions.
> We have the same configuration working on Solaris 8 with apache 1.2.20 and
> tomcat 3.2.3.
>
> Regards
>
> Pete
>
> [END]
>
> Edy Lie wrote:
>
> > Greetings ...
> >
> > I have installed tomcat 3.3 in Solaris 8 sparc with apache 1.3.22.
> > Tomcat able to run and mod_jk.so has been compiled from source and place
> > in the directory /usr/local/apache/libexec/mod_jk.so
> >
> > But when i tried to start mod_jk with apache i got this message. I have
> > tried google but no luck still. Thanks
> >
> > # /usr/local/apache/bin/apachectl configtest
> > Syntax error on line 4 of
> > /usr/local/jakarta-tomcat-3.3/conf/auto/mod_jk.conf:
> > Cannot load /usr/local/apache/libexec/mod_jk.so into server: ld.so.1:
> > /usr/local/apache/bin/httpd: fatal: relocation error: file
> > /usr/local/apache/libexec/mod_jk.so: symbol ap_table_get: referenced
> > symbol not found
> >
> > entry for mod_jk.conf
> >
> > ## Auto generated on Sat Dec 15 22:24:08 GMT+08:00
> > 2001##
> >
> > 
> >   LoadModule jk_module libexec/mod_jk.so
> > 
> >
> > JkWorkersFile "/usr/local/jakarta-tomcat-3.3/conf/jk/workers.properties"
> > JkLogFile "/usr/local/jakarta-tomcat-3.3/logs/mod_jk.log"
> >
> > JkLogLevel emerg
> >
> > JkMount /admin ajp13
> > JkMount /admin/* ajp13
> >
> > JkMount /examples ajp13
> > JkMount /examples/* ajp13
> >
> > Regards,
> > Edy Lie
>
>
>
> **
> This email and any files transmitted with it are confidential and
> intended solely for the use of the individual or entity to whom they
> are addressed. If you have received this email in error please notify
> the system manager.
>
> This footnote also confirms that this email message has been swept by
> MIMEsweeper for the presence of computer viruses.
>
> www.mimesweeper.com
> **
>
>
> --
> To unsubscribe:   
> For additional commands: 
> Troubles with the list: 


--
To unsubscribe:   
For additional commands: 
Troubles with the list: 




Re: mod_jk solaris

2001-12-15 Thread Peter Hitchman

Hi,
First off I am no tomcat expert, but I recognise the dynamic link error.
If you use the nm uitlity to dump the contents of the mod_jk.so, you will
see that ap_table_get is an
undefined reference, this means that it has to exist in another library,
either linked in statically or
as in this case in a library/binaty  linked to dynamically at run time.
My suggestion is that you use the ldd command with mod_jk.so, and see if
this shows you any dependancies
that cannot be resolved. So when I do "ldd mod_jok.so" I get:

librt.so.1 =>/usr/lib/librt.so.1
libaio.so.1 =>   /usr/lib/libaio.so.1
libc.so.1 => /usr/lib/libc.so.1
libdl.so.1 =>/usr/lib/libdl.so.1
/usr/platform/SUNW,UltraAX-i2/lib/libc_psr.so.1

To be honest I cannot see this object in these libraries, but the symbol
does appear in a nm dump of the program httpd,
so this suggests either something did not build properly  or there is a
mismatch between the tomcat and apache versions.
We have the same configuration working on Solaris 8 with apache 1.2.20 and
tomcat 3.2.3.

Regards

Pete

[END]

Edy Lie wrote:

> Greetings ...
>
> I have installed tomcat 3.3 in Solaris 8 sparc with apache 1.3.22.
> Tomcat able to run and mod_jk.so has been compiled from source and place
> in the directory /usr/local/apache/libexec/mod_jk.so
>
> But when i tried to start mod_jk with apache i got this message. I have
> tried google but no luck still. Thanks
>
> # /usr/local/apache/bin/apachectl configtest
> Syntax error on line 4 of
> /usr/local/jakarta-tomcat-3.3/conf/auto/mod_jk.conf:
> Cannot load /usr/local/apache/libexec/mod_jk.so into server: ld.so.1:
> /usr/local/apache/bin/httpd: fatal: relocation error: file
> /usr/local/apache/libexec/mod_jk.so: symbol ap_table_get: referenced
> symbol not found
>
> entry for mod_jk.conf
>
> ## Auto generated on Sat Dec 15 22:24:08 GMT+08:00
> 2001##
>
> 
>   LoadModule jk_module libexec/mod_jk.so
> 
>
> JkWorkersFile "/usr/local/jakarta-tomcat-3.3/conf/jk/workers.properties"
> JkLogFile "/usr/local/jakarta-tomcat-3.3/logs/mod_jk.log"
>
> JkLogLevel emerg
>
> JkMount /admin ajp13
> JkMount /admin/* ajp13
>
> JkMount /examples ajp13
> JkMount /examples/* ajp13
>
> Regards,
> Edy Lie



**
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.

This footnote also confirms that this email message has been swept by
MIMEsweeper for the presence of computer viruses.

www.mimesweeper.com
**


--
To unsubscribe:   
For additional commands: 
Troubles with the list: 




mod_jk solaris

2001-12-15 Thread Edy Lie

Greetings ...

I have installed tomcat 3.3 in Solaris 8 sparc with apache 1.3.22. Tomcat able to run 
and mod_jk.so has been compiled from source and place in the directory 
/usr/local/apache/libexec/mod_jk.so

But when i tried to start mod_jk with apache i got this message. I have tried google 
but no luck still. Thanks

# /usr/local/apache/bin/apachectl configtest
Syntax error on line 4 of /usr/local/jakarta-tomcat-3.3/conf/auto/mod_jk.conf:
Cannot load /usr/local/apache/libexec/mod_jk.so into server: ld.so.1: 
/usr/local/apache/bin/httpd: fatal: relocation error: file 
/usr/local/apache/libexec/mod_jk.so: symbol ap_table_get: referenced symbol not found


entry for mod_jk.conf

## Auto generated on Sat Dec 15 22:24:08 GMT+08:00 2001##


  LoadModule jk_module libexec/mod_jk.so


JkWorkersFile "/usr/local/jakarta-tomcat-3.3/conf/jk/workers.properties"
JkLogFile "/usr/local/jakarta-tomcat-3.3/logs/mod_jk.log"

JkLogLevel emerg



JkMount /admin ajp13
JkMount /admin/* ajp13

JkMount /examples ajp13
JkMount /examples/* ajp13


Regards,
Edy Lie



Re: problems facing while configuring the Tomcat

2001-12-15 Thread Edy Lie

http://ipaddress:8080 for tomcat

- Original Message - 
From: "rajesh kumar jhaver" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, December 15, 2001 8:23 PM
Subject: problems facing while configuring the Tomcat


> Dear Sir,
> 
> I have installed and LINUX, POSTGRESQL and APACHE
> server in my computer. all the configured properly.i
> am able to get the index page page of apache by
> invoking the url like http://,
> but when i installed the TOMCAT, i am not able to
> invoke default servlet. please help me for getting
> this.
> 
> 
> thanks and regards,
> rajesh kumar
> 
> __
> Do You Yahoo!?
> Check out Yahoo! Shopping and Yahoo! Auctions for all of
> your unique holiday gifts! Buy at http://shopping.yahoo.com
> or bid at http://auctions.yahoo.com
> 
> --
> To unsubscribe:   
> For additional commands: 
> Troubles with the list: 


--
To unsubscribe:   
For additional commands: 
Troubles with the list: 




problems facing while configuring the Tomcat

2001-12-15 Thread rajesh kumar jhaver

Dear Sir,

I have installed and LINUX, POSTGRESQL and APACHE
server in my computer. all the configured properly.i
am able to get the index page page of apache by
invoking the url like http://,
but when i installed the TOMCAT, i am not able to
invoke default servlet. please help me for getting
this.


thanks and regards,
rajesh kumar

__
Do You Yahoo!?
Check out Yahoo! Shopping and Yahoo! Auctions for all of
your unique holiday gifts! Buy at http://shopping.yahoo.com
or bid at http://auctions.yahoo.com

--
To unsubscribe:   
For additional commands: 
Troubles with the list: 




changes in files for supporting multiple tomcats on different machine and one centralized apache

2001-12-15 Thread Hemant Singh

Hi All

i have an application using JSP/servlet as the backend tech. and running on tomcat 
behind apache.
Due to the heavy traffic expected for my application (which i am aiming for) , i want 
one machine to act as dispatcher and remaining three machines to work as servlet 
response caterers.Pls suggest the changes to be done in different files.to add , i am 
using apache 1.3.12 and tomcat 3.2.2.

its very urgent , so pls guide

thanks
Hemant



Problum with IIS and AJP Connector.

2001-12-15 Thread seant

Thanks for you help  Andy.

I did all the steps which are specified in
http://jakarta.apache.org/tomcat/tomcat-4.0-doc/config/ajp.html
But still  my IIS is not working..
I  installed and restarted the system and then check for the status of
ISAPI, here its showing "red arrow" only what could be the problem.. I
followed step by step as directed in the above html page.

And what is AJP connector. I haven't install this any where. Is there any
relation between IIS and this. Is there any chances that my IIS is not
working because of this..

Could any one pls. help me out. Thanks in Advance...

regards.
Seant.



- Original Message -
From: Andy Soedibjo <[EMAIL PROTECTED]>
To: Tomcat Users List <[EMAIL PROTECTED]>
Sent: Friday, December 14, 2001 3:05 PM
Subject: Re: Problum with ISAPI settings in IIS


> This is short step for you to install IIS and Tomcat4 :
> 1) Downloaded the isapi_redirect.dll and copy to .
> 2) Make a virtual directory in IIS ex : jakarta that point to
> .
> 3) Make the worker.properties and uriworkermaping.properties (so that IIS
> know which worker to use, and which url-patern should redirect to tomcat)
> You can see the example of these properties in
> http://jakarta.apache.org/tomcat/tomcat-4.0-doc/config/ajp.html
> 4) Downloaded the isapi_redirect_2000.reg and edit it depends how you
> configure all the files above :
> REGEDIT4
> [HKEY_LOCAL_MACHINE\SOFTWARE\Apache Software Foundation\Jakarta Isapi
> Redirector\1.0]
> "extension_uri"="/jakarta/isapi_redirect.dll"
> (/isapi_rediect.dll)
> "log_file"="C:\\Tomcat_4.0\\logs\\iis_redirect.log"
> "log_level"="emerg"
> "worker_file"="C:\\Tomcat_4.0\\conf\\worker.properties"
> ()
> "worker_mount_file"="C:\\Tomcat_4.0\\conf\\uriworkermap.properties"
> ()
> And then, run this program to make registry entries.
>
> 5)And then in IIS Management console right click on machine name  and
> select properties. Click the "Edit" button next to "Master Properties" for
> "WWW services". Select the "ISAPI filters" tab and click "Add" then Name
of the
> filter "anything you want" and for the executable, browse to
> c:\Tomcat\bin\isapi_redirect.dll" file.
>
> 6) If you restart the IIS, you will see it's loaded with green arrow ...
> with high priority.
> 7) I think you need to restart your computer to make the registry setting
> has been well configured.
>
> Hope this can help you.
>
> Rgds,
> Andy.
>
> At 21:44 13/12/2001 +0530, you wrote:
> >I am new to Tomcat, I need your help.
> >I am facing some problem with ISAPI dll file Without this my jsp
files
> >are working fine, when I install ISAPI tomcat is not working
> >
> >
> >  I am working under win 2K. Tomcat alone is working fine and all jsp
> > files are working fine with"http://localhost:8080";.
> >But ISAPI is not redirecting and Jakarta Virtual directory is not
working.
> >Will you please guide me in this.
> >
> >  This is what I am following to install ISAPI filter in IIS
> >  1) Downloaded the isapi_redirect.dll and copy to C:tomcat\bin.
> >  2) Downloaded the isapi_redirect_2000.reg and run this program to make
> > registry entries.
> >  3) Restart the System.
> >  4) On IIS management Console create new Virtual directory under
"default
> > web site" called "Jakarta" and  the physical path to "C:\tomcat\bin" and
> > has"Execute" permissions.
> >5)And then in IIS Management console right click on machine name  and
> >select properties. Click the "Edit" button next to "Master Properties"
for
> >"WWW services". Select the "ISAPI filters" tab and click "Add" then Name
of the
> >filter "Jakarta" and for the executable, browse to
> >c:\Tomcat\bin\isapi_redirect.dll" file.
> >6) Now restarted the IIS Admin Services ( in this its restarting  the
> >following services
> > a) WWW publishing services
> > b) SMTP
> > c) NNTP
> > d) FTP publishing Services
> >7) And finally after going back to ISAPI filter Screen  the Status of
> >Jakarta is showing "Not Loaded" with "Red Color Arrow" which indicates
> >some thing wrong in the way I did.
> >
> >  So Please guide me in this regard.
> >
> >  Following are the registry settings.
> >  
> >
> >HKLM\SOFTWARE\Apache Software Foundation\Apache Web  Server\1.3.14
> >Name   Type  Data
> >(Default)  REG_SZ  (Value not set)
> >
> >
> >  HKLM\SOFTWARE\Apache Software Foundation\Jakarta Isapi Redirector\1.0
> >Name  TypeData
> >(Default)  REG_SZ  (Value not set)
> >extension_uri   REG_SZ
> >/jakarta/isapi_redirect.dll
> >log_fileREG_SZ
> >c:\tomcat\logs\isapi.log
> >log_level  REG_SZ  Error
> >Worker_file  REG_SZ
> >C:\Tomcat\conf\workers.proerties
> >worker_mount_fileREG_SZ
> >C:\Tomcat\conf\uriworkermap.pr-operties
> >
> >  ==