Re: [JBoss-user] integrating tomcat4.0 latest and JBoss latest

2001-04-17 Thread Fulco Muriglio

On Tue, Apr 17, 2001 at 11:15:01AM -0400, Deadman, Hal wrote:
> Has anyone tried to intregate Tomcat and Jboss lately? 
> 
> Here are the instructions from contrib, I am wondering if they are still up
> to date. Step 2 talks about deleting parser.jar. It doesn't say where but
> neither tomcat 4.0b4ish or jboss 2.3ish have a parser.jar that I can find.
> That makes the renaming crimson.jar to parser.jar sound fishy too. 

Is true, these are the instructions for jboss 2.1
The name of the classes needed are inserted in the manifest file of run.jar.
So to replace a parsers 2 possibility:
1 change the manifest
2 rename the file of xml parser to the name fixed in manifest.

Now a cleanup of xml parser has been done.
I'll change the file asap.

Bye
Fulco


___
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user



RE: [JBoss-user] integrating tomcat4.0 latest and JBoss latest

2001-04-17 Thread Deadman, Hal

I got the latest tomcat to start up with the latest jboss. The instructions
in contrib need to have an additional MLET entry to include common/lib. The
mlet used to include the tomcat/server directory in the classpath needs to
be changed to tomcat/server/lib. 


  


There is also some code in org.jboss.contrib.catalina.ConfigMapper.java that
references a class that doesn't appear to be in catalina.jar anymore. The
class isn't used so the import needs to be removed from ConfigMapper.java. 

Remove:
import org.apache.catalina.Resources;

Hal

> -Original Message-
> From: Deadman, Hal 
> Sent: Tuesday, April 17, 2001 11:15 AM
> To: [EMAIL PROTECTED]
> Subject: [JBoss-user] integrating tomcat4.0 latest and JBoss latest
> 
> 
> Has anyone tried to intregate Tomcat and Jboss lately? 
> 
> Here are the instructions from contrib, I am wondering if 
> they are still up
> to date. Step 2 talks about deleting parser.jar. It doesn't 
> say where but
> neither tomcat 4.0b4ish or jboss 2.3ish have a parser.jar 
> that I can find.
> That makes the renaming crimson.jar to parser.jar sound fishy too. 
> 
> Anyone know the reasoning behind step 2?
> 
> 1) copy embedded.jar to jboss/lib/ext, tools.jar should go to
>that directory too (or included in CLASSPATH)
> 
> 2) copy the files jaxp.jar (from catalina_home/server) to jboss/lib,
>delete parser.jar, copy crimson.jar (from catalina_home/server) to
>jboss/lib/parser.jar
> 
> 3) add the following lines to jboss.conf changing the directories
> accordingly
> 
>  CODEBASE="../../lib/ext/">
>VALUE="../../../jakarta-tomcat-4.0-b1/server/">
> 
> 
>  CODEBASE="../../lib/ext/">
>VALUE="../../../jakarta-tomcat-4.0-b1/lib/">
> 
> 
>  CODEBASE="../../lib/ext/">
>VALUE="../../../jakarta-tomcat-4.0-b1/bin/">
> 
> 
> 4) there are 3 mbeans that need to be configured in jboss.jcml:
> 
> 
> the EmbeddedManager to launch EmbeddedCatalina
> 
>name="Catalina:name=Catalina">
> false
>   
> 
> 
> the mbean that will configure EmbeddedCatalina according to
> server.xml
> configuration
> 
>name="Catalina:name=Config">
>  name="ServerXmlPath">../../jakarta-tomcat-4.0-b1/conf/server.x
> ml
>  name="CatalinaHome">../../jakarta-tomcat-4.0-b1/
> 
> localhost
>   
> 
> 
> and the deployer
> 
>name="J2EE:service=J2eeDeployer">
> Default
>  name="JarDeployerName">:service=ContainerFactory
> Catalina:name=Config
>   
> 
> 5) start jboss, all war files will be deployed to localhost 
> as configured in
>ConfigCatalinaService.
>To see the typcal home page http://localhost:8080 enable the root 
>context in server.xml.
> 
> 
> 
> limitations:
> 
> Realm and Resources not yet integrated.
> Tomcat naming disabled
> 
> 
> 
> 
> ___
> JBoss-user mailing list
> [EMAIL PROTECTED]
> http://lists.sourceforge.net/lists/listinfo/jboss-user
> 

___
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user



[JBoss-user] integrating tomcat4.0 latest and JBoss latest

2001-04-17 Thread Deadman, Hal

Has anyone tried to intregate Tomcat and Jboss lately? 

Here are the instructions from contrib, I am wondering if they are still up
to date. Step 2 talks about deleting parser.jar. It doesn't say where but
neither tomcat 4.0b4ish or jboss 2.3ish have a parser.jar that I can find.
That makes the renaming crimson.jar to parser.jar sound fishy too. 

Anyone know the reasoning behind step 2?

1) copy embedded.jar to jboss/lib/ext, tools.jar should go to
   that directory too (or included in CLASSPATH)

2) copy the files jaxp.jar (from catalina_home/server) to jboss/lib,
   delete parser.jar, copy crimson.jar (from catalina_home/server) to
   jboss/lib/parser.jar

3) add the following lines to jboss.conf changing the directories
accordingly


  



  



  


4) there are 3 mbeans that need to be configured in jboss.jcml:


the EmbeddedManager to launch EmbeddedCatalina

  
false
  


the mbean that will configure EmbeddedCatalina according to
server.xml
configuration

  
../../jakarta-tomcat-4.0-b1/conf/server.xml
../../jakarta-tomcat-4.0-b1/

localhost
  


and the deployer

  
Default
:service=ContainerFactory
Catalina:name=Config
  

5) start jboss, all war files will be deployed to localhost as configured in
   ConfigCatalinaService.
   To see the typcal home page http://localhost:8080 enable the root 
   context in server.xml.



limitations:

Realm and Resources not yet integrated.
Tomcat naming disabled




___
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user