To build Catalina sar-file:

In catalina directory (cvs directory structure) in build.xml you'll find:
<!-- This corresponds to the tomcat4 dist existing in this module root -->
<property name="tomcat.server.root"
value="${module.root}/jakarta-tomcat-4.0.2"/>
<path id="tomcat.server.classpath">
  <pathelement path="${tomcat.server.root}/bin/bootstrap.jar"/>
  <pathelement path="${tomcat.server.root}/common/lib/servlet.jar"/>
  <pathelement path="${tomcat.server.root}/server/lib/catalina.jar"/>
  <pathelement path="${tomcat.server.root}/server/lib/warp.jar"/>
</path>

Well, this is the answer: copy catalina to
${module.root}/jakarta-tomcat-4.0.2 or change the value of
tomcat.server.root accordingly.
And in the jboss-service.xml you'll need to specify the catalina's home like
this
<!DOCTYPE server [
  <!ENTITY catalina.home "c:\jakarta\jakarta-tomcat-4.0.2">
]>

  Gooodluck,
alex

> -----Original Message-----
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED]]On Behalf Of 
> James Higginbotham
> Sent: Saturday, April 06, 2002 3:35 AM
> To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
> Subject: RE: [JBoss-user] Building Catalina .sar (Tomcat to 
> work with JBoss Beta 2 HOWTO)?
> 
> 
> Funny, it was a conflict with log4j.. I had to rename our properties
> file and all is well. Thanks for the verification that all it 
> working. 
> 
> On to the next obstacle: Do you (or anyone reading this) know how to
> build the sar file, as I have a CVS version of beta2, and the 
> beta1 sar
> doesn't seem to act happy - it can't locate a home that jetty compiled
> for beta2 can. I tried using the build script to run ant in the
> jboss-all/catalina, but I get compile errors everywhere. I wasn't sure
> if this was a bad state that I checked out, or if I'm missing some
> specific target in the root that I should be invoking to build the
> catalina module. 
> 
> Thanks,
> James
> 
> > -----Original Message-----
> > From: Alex Loubyansky [mailto:[EMAIL PROTECTED]] 
> > Sent: Friday, April 05, 2002 11:10 AM
> > To: James Higginbotham
> > Subject: RE: [JBoss-user] Tomcat to work with JBoss Beta 2 HOWTO?
> > 
> > 
> >   Well, James... don't know what to suggest you except for 
> > asking you to send me your app to test in my environment.
> >   I do see any JSP compile errors in the browser. I use 
> > JBoss3.0.0beta2 with Catalina-4.0.2.
> > 
> > alex
> > 
> > > -----Original Message-----
> > > From: James Higginbotham [mailto:[EMAIL PROTECTED]]
> > > Sent: Friday, April 05, 2002 8:01 PM
> > > To: [EMAIL PROTECTED]
> > > Subject: RE: [JBoss-user] Tomcat to work with JBoss Beta 2 HOWTO?
> > > 
> > > 
> > > Pretty sure that struts is fine, since the app works under 
> > weblogic. 
> > > Jetty was giving me a 'id' attribute invalid for a custom 
> > JSP tag. The 
> > > problem is that I am trying to switch to Tomcat and cannot 
> > see any log 
> > > message or browser message about the error. Not sure what I 
> > am missing 
> > > to enable me to debug this same error in Tomcat. I can go back to 
> > > Jetty, but we want Tomcat rather than Jetty, so any work 
> done under 
> > > Jetty may or may not be a waste of time.
> > > 
> > > So, given the configuration of the sar and
> > > jakarta-tomcat-4.0.2 from the
> > > .zip download of Jboss of beta 1, you can deploy a war and see JSP
> > > errors with no extra configuration, right? 
> > > 
> > > Any other thoughts?
> > > James
> > > 
> > > > -----Original Message-----
> > > > From: Alex Loubyansky [mailto:[EMAIL PROTECTED]]
> > > > Sent: Friday, April 05, 2002 10:53 AM
> > > > To: James Higginbotham
> > > > Subject: RE: [JBoss-user] Tomcat to work with JBoss 
> Beta 2 HOWTO?
> > > > 
> > > > 
> > > >   I use struts too and I've seen jsp's compile errors in the
> > > > browser many times :)
> > > >   And I met blank pages without any errors and stack traces 
> > > > after successfull action operation. The cause was that I 
> > > > wrongly specified forward parameter (non existant). Are you 
> > > > sure it's not your case?
> > > > 
> > > > alex
> > > > 
> > > > > -----Original Message-----
> > > > > From: James Higginbotham 
> > [mailto:[EMAIL PROTECTED]]
> > > > > Sent: Friday, April 05, 2002 7:42 PM
> > > > > To: [EMAIL PROTECTED]
> > > > > Subject: RE: [JBoss-user] Tomcat to work with JBoss 
> > Beta 2 HOWTO?
> > > > > 
> > > > > 
> > > > > The log dir isn't being created under Tomcat, and I think I'm 
> > > > > seeing JSP compile errors from a POST on a successful 
> > display of 
> > > > > the 1st JSP. However, there is no stacktrace for the compile 
> > > > > error. So, login works,
> > > > > but the next page fails. I was seeing an error message in 
> > > > > Jetty and now
> > > > > want to move to Tomcat (which is the preferred container) 
> > > but can't
> > > > > debug the JSP problem (This page does work in Weblogic 
> > due to WL's 
> > > > > looser JSP parsing rules). Any ideas why I wouldn't be
> > > seeing these
> > > > > stacktraces, compile errors, since they are not showing in
> > > > the browser
> > > > > or in the Jboss server.log?
> > > > > 
> > > > > James
> > > > > 
> > > > > > -----Original Message-----
> > > > > > From: Alex Loubyansky 
> [mailto:[EMAIL PROTECTED]]
> > > > > > Sent: Friday, April 05, 2002 10:39 AM
> > > > > > To: James Higginbotham
> > > > > > Subject: RE: [JBoss-user] Tomcat to work with JBoss
> > > Beta 2 HOWTO?
> > > > > > 
> > > > > > 
> > > > > >   Can't you find log dir? What do you mean?
> > > > > >   And what do you want to log?
> > > > > > 
> > > > > > alex
> > > > > > 
> > > > > > > -----Original Message-----
> > > > > > > From: James Higginbotham
> > > > [mailto:[EMAIL PROTECTED]]
> > > > > > > Sent: Friday, April 05, 2002 7:01 PM
> > > > > > > To: [EMAIL PROTECTED];
> > > > > [EMAIL PROTECTED]
> > > > > > > Subject: RE: [JBoss-user] Tomcat to work with JBoss
> > > > Beta 2 HOWTO?
> > > > > > > 
> > > > > > > 
> > > > > > > Great, that worked, thanks! I hope these things get
> > > > > > captured in 3.0.0
> > > > > > > docs soon.
> > > > > > > 
> > > > > > > One more issue: I'm not seeing stack traces, but a POST
> > > > > to a struts
> > > > > > > action is returning an empty HTML page to the browser. I'm
> > > > > > seeing the
> > > > > > > log messages from Struts that use the
> > > > > servletContext.log(), but not
> > > > > > > any log4j specific stuff. I don't see any log dir or
> > > > > files created
> > > > > > > under jboss or tomcat, so I'm not sure where they are
> > > > > > going. Is there
> > > > > > > a specific setting within the sar or tomcat to fix this?
> > > > > > > 
> > > > > > > Thanks again,
> > > > > > > James
> > > > > > > 
> > > > > > > > -----Original Message-----
> > > > > > > > From: Alex Loubyansky
> > > [mailto:[EMAIL PROTECTED]]
> > > > > > > > Sent: Friday, April 05, 2002 12:07 AM
> > > > > > > > To: James Higginbotham; [EMAIL PROTECTED]
> > > > > > > > Subject: RE: [JBoss-user] Tomcat to work with JBoss
> > > > > Beta 2 HOWTO?
> > > > > > > > 
> > > > > > > > 
> > > > > > > > It's really easy with JBoss3.0.0beta.
> > > > > > > > Just drop the tomcat4-service.sar into the deploy
> > > > directory. And
> > > > > > > > in the sar's jboss-service.xml you need to 
> > specify tomcat's
> > > > > > > > home. That's it! :)
> > > > > > > > 
> > > > > > > > alex
> > > > > > > > 
> > > > > > > > 
> > > > > > > > -----Original Message-----
> > > > > > > > From: [EMAIL PROTECTED]
> > > > > > > > [mailto:jboss-user-> [EMAIL PROTECTED]]On
> > > Behalf Of
> > > > > > > > James Higginbotham
> > > > > > > > 
> > > > > > > > Sent: Friday, April 05, 2002 2:22 AM
> > > > > > > > To: [EMAIL PROTECTED]
> > > > > > > > Subject: [JBoss-user] Tomcat to work with JBoss
> > > Beta 2 HOWTO?
> > > > > > > > 
> > > > > > > > 
> > > > > > > > I've been looking through the volunteer documentation
> > > > on the web
> > > > > > > > site and mailing list archives, but haven't found a
> > > page that
> > > > > > > > describes how to configure 3.0.0 beta 2 to use
> > > Tomcat 4.. Can
> > > > > > > > someone point me to a past email that I've missed, to
> > > > new docs,
> > > > > > > > or provide a quick step-by-step on how to do this?
> > > > I'm using the
> > > > > > > > CVS code from last week (named beta 2 after
> > > > > > > the build).
> > > > > > > >  
> > > > > > > > Thanks,
> > > > > > > > James
> > > > > > > > 
> > > > > > 
> > > > 
> > 
> 
> _______________________________________________
> JBoss-user mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/jboss-user

Attachment: winmail.dat
Description: application/ms-tnef

Reply via email to