Re: JBoss-3.0.3_Tomcat4_1_12

2002-10-09 Thread Cedric Dumoulin


  Hi,

  Maybe you use an old version of commons-digester.
  First of all, try to download the latest nightly build or the 1.1b2 
version of Struts. Try the tiles-documentation.war file on your 
environment. Does it run for you ? If yes, get all jar files and tld 
from the working tiles application and replace the ones in your own 
application.
  If tiles-documentation.war doesn't run, it means that you have a 
configuration problem. Maybe you have some old  jar file somewhere else 
in your classpath ?

   Hope this help,
 Cedric

Theo Harper wrote:

I am having some problems getting struts to work with the above
configuration and have traced the problem down to commons-digester.  I
am using tiles with struts and to do so have the following in my
struts-config.xml file:

  plug-in className=org.apache.struts.tiles.TilesPlugin 
  set-property property=definitions-config
value=/WEB-INF/tiles-defs.xml/
  set-property property=definitions-debug  value=0 /
  set-property property=definitions-parser-details value=0 /
  set-property property=definitions-parser-validate value=true
/
  /plug-in

The file tiles-defs.xml contains:

!DOCTYPE tiles-definitions PUBLIC
   -//Apache Software Foundation//DTD Tiles Configuration//EN
   http://jakarta.apache.org/struts/dtds/tiles-config.dtd;

tiles-definitions
  definition name=deployer.rootlayout
path=/layouts/root_layout.jsp
put name=docRoot value=../ /
put name=titleString value=Welcome to Component Deployer/
put name=topBanner   value=/include/banner.jsp/
put name=lowerBanner value=/include/lowerbanner.jsp/
put name=content value=/secure/home_content.jsp/
put name=footer  value=/include/footer.jsp/
  /definition
   ...
/tiles-definitions

When loading the WEB application into JBoss/Tomcat I get a
ClassNotFoundException when trying to load XmlDefinition.

The problem seems to be with the digester, as it is not using the
WebApps class loader but another.  The context class loader on the
currentThread seems to be the right one but is not being used.  I also
noticed that the line digester.setUseContextClassLoader(true); has been
commented out in the constructor for XmlParser.

Should the XmlParser be set to use the threads class loader?  Should the
constructor set it? 

Any help with this much appreciated.

Theo




--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]


  



--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




RE: JBoss-3.0.3_Tomcat4_1_12

2002-10-09 Thread Theo Harper


Looks like there's a problem with JBoss's integration with Tomcat
4.1.12.

I tried the standard structs blank example and that would not deploy,
although it would deploy on a vanilla tomcat 4.1.12.

I have posted a bug report for JBoss and reverted to 4.0.4 for now, but
I was looking forward to speed improvements in 4.1.12 :-(

I might have a little look at the Catalina/Tomcat wrapper used by JBoss.

Thanks,
Theo

-Original Message-
From: Cedric Dumoulin [mailto:[EMAIL PROTECTED]] 
Sent: 09 October 2002 09:22
To: Struts Users Mailing List
Subject: Re: JBoss-3.0.3_Tomcat4_1_12


  Hi,

  Maybe you use an old version of commons-digester.
  First of all, try to download the latest nightly build or the 1.1b2 
version of Struts. Try the tiles-documentation.war file on your 
environment. Does it run for you ? If yes, get all jar files and tld 
from the working tiles application and replace the ones in your own 
application.
  If tiles-documentation.war doesn't run, it means that you have a 
configuration problem. Maybe you have some old  jar file somewhere else 
in your classpath ?

   Hope this help,
 Cedric

Theo Harper wrote:

I am having some problems getting struts to work with the above
configuration and have traced the problem down to commons-digester.  I
am using tiles with struts and to do so have the following in my
struts-config.xml file:

  plug-in className=org.apache.struts.tiles.TilesPlugin 
  set-property property=definitions-config
value=/WEB-INF/tiles-defs.xml/
  set-property property=definitions-debug  value=0 /
  set-property property=definitions-parser-details value=0 /
  set-property property=definitions-parser-validate value=true
/
  /plug-in

The file tiles-defs.xml contains:

!DOCTYPE tiles-definitions PUBLIC
   -//Apache Software Foundation//DTD Tiles Configuration//EN
   http://jakarta.apache.org/struts/dtds/tiles-config.dtd;

tiles-definitions
  definition name=deployer.rootlayout
path=/layouts/root_layout.jsp
put name=docRoot value=../ /
put name=titleString value=Welcome to Component Deployer/
put name=topBanner   value=/include/banner.jsp/
put name=lowerBanner value=/include/lowerbanner.jsp/
put name=content value=/secure/home_content.jsp/
put name=footer  value=/include/footer.jsp/
  /definition
   ...
/tiles-definitions

When loading the WEB application into JBoss/Tomcat I get a
ClassNotFoundException when trying to load XmlDefinition.

The problem seems to be with the digester, as it is not using the
WebApps class loader but another.  The context class loader on the
currentThread seems to be the right one but is not being used.  I also
noticed that the line digester.setUseContextClassLoader(true); has been
commented out in the constructor for XmlParser.

Should the XmlParser be set to use the threads class loader?  Should
the
constructor set it? 

Any help with this much appreciated.

Theo




--
To unsubscribe, e-mail:
mailto:[EMAIL PROTECTED]
For additional commands, e-mail:
mailto:[EMAIL PROTECTED]


  



--
To unsubscribe, e-mail:
mailto:[EMAIL PROTECTED]
For additional commands, e-mail:
mailto:[EMAIL PROTECTED]


--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




RE: JBoss-3.0.3_Tomcat4_1_12

2002-10-09 Thread James Mitchell

Could be your version or environment, I'm running JBoss3.0.3/Tomcat 4.1.12
and the only problem with struts-blank is a missing message key.  The
struts-example is running fine.


James Mitchell
Software Engineer/Struts Evangelist
http://www.open-tools.org

 -Original Message-
 From: Theo Harper [mailto:[EMAIL PROTECTED]]
 Sent: Wednesday, October 09, 2002 1:24 PM
 To: 'Struts Users Mailing List'
 Subject: RE: JBoss-3.0.3_Tomcat4_1_12



 Looks like there's a problem with JBoss's integration with Tomcat
 4.1.12.

 I tried the standard structs blank example and that would not deploy,
 although it would deploy on a vanilla tomcat 4.1.12.

 I have posted a bug report for JBoss and reverted to 4.0.4 for now, but
 I was looking forward to speed improvements in 4.1.12 :-(

 I might have a little look at the Catalina/Tomcat wrapper used by JBoss.

 Thanks,
 Theo

 -Original Message-
 From: Cedric Dumoulin [mailto:[EMAIL PROTECTED]]
 Sent: 09 October 2002 09:22
 To: Struts Users Mailing List
 Subject: Re: JBoss-3.0.3_Tomcat4_1_12


   Hi,

   Maybe you use an old version of commons-digester.
   First of all, try to download the latest nightly build or the 1.1b2
 version of Struts. Try the tiles-documentation.war file on your
 environment. Does it run for you ? If yes, get all jar files and tld
 from the working tiles application and replace the ones in your own
 application.
   If tiles-documentation.war doesn't run, it means that you have a
 configuration problem. Maybe you have some old  jar file somewhere else
 in your classpath ?

Hope this help,
  Cedric

 Theo Harper wrote:

 I am having some problems getting struts to work with the above
 configuration and have traced the problem down to commons-digester.  I
 am using tiles with struts and to do so have the following in my
 struts-config.xml file:
 
   plug-in className=org.apache.struts.tiles.TilesPlugin 
   set-property property=definitions-config
 value=/WEB-INF/tiles-defs.xml/
   set-property property=definitions-debug  value=0 /
   set-property property=definitions-parser-details value=0 /
   set-property property=definitions-parser-validate value=true
 /
   /plug-in
 
 The file tiles-defs.xml contains:
 
 !DOCTYPE tiles-definitions PUBLIC
-//Apache Software Foundation//DTD Tiles Configuration//EN
http://jakarta.apache.org/struts/dtds/tiles-config.dtd;
 
 tiles-definitions
   definition name=deployer.rootlayout
 path=/layouts/root_layout.jsp
 put name=docRoot value=../ /
 put name=titleString value=Welcome to Component Deployer/
 put name=topBanner   value=/include/banner.jsp/
 put name=lowerBanner value=/include/lowerbanner.jsp/
 put name=content value=/secure/home_content.jsp/
 put name=footer  value=/include/footer.jsp/
   /definition
...
 /tiles-definitions
 
 When loading the WEB application into JBoss/Tomcat I get a
 ClassNotFoundException when trying to load XmlDefinition.
 
 The problem seems to be with the digester, as it is not using the
 WebApps class loader but another.  The context class loader on the
 currentThread seems to be the right one but is not being used.  I also
 noticed that the line digester.setUseContextClassLoader(true); has been
 commented out in the constructor for XmlParser.
 
 Should the XmlParser be set to use the threads class loader?  Should
 the
 constructor set it?
 
 Any help with this much appreciated.
 
 Theo
 
 
 
 
 --
 To unsubscribe, e-mail:
 mailto:[EMAIL PROTECTED]
 For additional commands, e-mail:
 mailto:[EMAIL PROTECTED]
 
 
 
 


 --
 To unsubscribe, e-mail:
 mailto:[EMAIL PROTECTED]
 For additional commands, e-mail:
 mailto:[EMAIL PROTECTED]


 --
 To unsubscribe, e-mail:
mailto:[EMAIL PROTECTED]
For additional commands, e-mail:
mailto:[EMAIL PROTECTED]



--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




RE: JBoss-3.0.3_Tomcat4_1_12

2002-10-09 Thread Theo Harper

Looks like I need to do a little more investigation.

For info though, 
Fresh download of JBoss-3.0.3_Tomcat-4.1.12.
JDK 1.4.1 (FCS)
Windows XP SP1 (or Windows 2000 SP3)
Fresh download of struts blank example
CLASSPATH is empty.

What set-up do you have?

I have reproduced this on three different machine too.

When debugging it definitely looks like the digester is not using the
web applications class loader (the thread's current context class
loader) rather using a class loader created when commons-digester was
deployed.

I will debug a little further to find out more.

Theo 


-Original Message-
From: James Mitchell [mailto:[EMAIL PROTECTED]] 
Sent: 09 October 2002 18:42
To: Struts Users Mailing List
Subject: RE: JBoss-3.0.3_Tomcat4_1_12

Could be your version or environment, I'm running JBoss3.0.3/Tomcat
4.1.12
and the only problem with struts-blank is a missing message key.  The
struts-example is running fine.


James Mitchell
Software Engineer/Struts Evangelist
http://www.open-tools.org

 -Original Message-
 From: Theo Harper [mailto:[EMAIL PROTECTED]]
 Sent: Wednesday, October 09, 2002 1:24 PM
 To: 'Struts Users Mailing List'
 Subject: RE: JBoss-3.0.3_Tomcat4_1_12



 Looks like there's a problem with JBoss's integration with Tomcat
 4.1.12.

 I tried the standard structs blank example and that would not
deploy,
 although it would deploy on a vanilla tomcat 4.1.12.

 I have posted a bug report for JBoss and reverted to 4.0.4 for now,
but
 I was looking forward to speed improvements in 4.1.12 :-(

 I might have a little look at the Catalina/Tomcat wrapper used by
JBoss.

 Thanks,
 Theo

 -Original Message-
 From: Cedric Dumoulin [mailto:[EMAIL PROTECTED]]
 Sent: 09 October 2002 09:22
 To: Struts Users Mailing List
 Subject: Re: JBoss-3.0.3_Tomcat4_1_12


   Hi,

   Maybe you use an old version of commons-digester.
   First of all, try to download the latest nightly build or the 1.1b2
 version of Struts. Try the tiles-documentation.war file on your
 environment. Does it run for you ? If yes, get all jar files and tld
 from the working tiles application and replace the ones in your own
 application.
   If tiles-documentation.war doesn't run, it means that you have a
 configuration problem. Maybe you have some old  jar file somewhere
else
 in your classpath ?

Hope this help,
  Cedric

 Theo Harper wrote:

 I am having some problems getting struts to work with the above
 configuration and have traced the problem down to commons-digester.
I
 am using tiles with struts and to do so have the following in my
 struts-config.xml file:
 
   plug-in className=org.apache.struts.tiles.TilesPlugin 
   set-property property=definitions-config
 value=/WEB-INF/tiles-defs.xml/
   set-property property=definitions-debug  value=0 /
   set-property property=definitions-parser-details value=0
/
   set-property property=definitions-parser-validate
value=true
 /
   /plug-in
 
 The file tiles-defs.xml contains:
 
 !DOCTYPE tiles-definitions PUBLIC
-//Apache Software Foundation//DTD Tiles Configuration//EN
http://jakarta.apache.org/struts/dtds/tiles-config.dtd;
 
 tiles-definitions
   definition name=deployer.rootlayout
 path=/layouts/root_layout.jsp
 put name=docRoot value=../ /
 put name=titleString value=Welcome to Component Deployer/
 put name=topBanner   value=/include/banner.jsp/
 put name=lowerBanner value=/include/lowerbanner.jsp/
 put name=content value=/secure/home_content.jsp/
 put name=footer  value=/include/footer.jsp/
   /definition
...
 /tiles-definitions
 
 When loading the WEB application into JBoss/Tomcat I get a
 ClassNotFoundException when trying to load XmlDefinition.
 
 The problem seems to be with the digester, as it is not using the
 WebApps class loader but another.  The context class loader on the
 currentThread seems to be the right one but is not being used.  I
also
 noticed that the line digester.setUseContextClassLoader(true); has
been
 commented out in the constructor for XmlParser.
 
 Should the XmlParser be set to use the threads class loader?  Should
 the
 constructor set it?
 
 Any help with this much appreciated.
 
 Theo
 
 
 
 
 --
 To unsubscribe, e-mail:
 mailto:[EMAIL PROTECTED]
 For additional commands, e-mail:
 mailto:[EMAIL PROTECTED]
 
 
 
 


 --
 To unsubscribe, e-mail:
 mailto:[EMAIL PROTECTED]
 For additional commands, e-mail:
 mailto:[EMAIL PROTECTED]


 --
 To unsubscribe, e-mail:
mailto:[EMAIL PROTECTED]
For additional commands, e-mail:
mailto:[EMAIL PROTECTED]



--
To unsubscribe, e-mail:
mailto:[EMAIL PROTECTED]
For additional commands, e-mail:
mailto:[EMAIL PROTECTED]


--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




RE: JBoss-3.0.3_Tomcat4_1_12

2002-10-09 Thread James Mitchell

Exact same setup (minus SP1 on XP)


James Mitchell
Software Engineer/Struts Evangelist
http://www.open-tools.org

 -Original Message-
 From: Theo Harper [mailto:[EMAIL PROTECTED]]
 Sent: Wednesday, October 09, 2002 1:56 PM
 To: 'Struts Users Mailing List'
 Subject: RE: JBoss-3.0.3_Tomcat4_1_12


 Looks like I need to do a little more investigation.

 For info though,
   Fresh download of JBoss-3.0.3_Tomcat-4.1.12.
   JDK 1.4.1 (FCS)
   Windows XP SP1 (or Windows 2000 SP3)
   Fresh download of struts blank example
   CLASSPATH is empty.

 What set-up do you have?

 I have reproduced this on three different machine too.

 When debugging it definitely looks like the digester is not using the
 web applications class loader (the thread's current context class
 loader) rather using a class loader created when commons-digester was
 deployed.

 I will debug a little further to find out more.

 Theo


 -Original Message-
 From: James Mitchell [mailto:[EMAIL PROTECTED]]
 Sent: 09 October 2002 18:42
 To: Struts Users Mailing List
 Subject: RE: JBoss-3.0.3_Tomcat4_1_12

 Could be your version or environment, I'm running JBoss3.0.3/Tomcat
 4.1.12
 and the only problem with struts-blank is a missing message key.  The
 struts-example is running fine.


 James Mitchell
 Software Engineer/Struts Evangelist
 http://www.open-tools.org

  -Original Message-
  From: Theo Harper [mailto:[EMAIL PROTECTED]]
  Sent: Wednesday, October 09, 2002 1:24 PM
  To: 'Struts Users Mailing List'
  Subject: RE: JBoss-3.0.3_Tomcat4_1_12
 
 
 
  Looks like there's a problem with JBoss's integration with Tomcat
  4.1.12.
 
  I tried the standard structs blank example and that would not
 deploy,
  although it would deploy on a vanilla tomcat 4.1.12.
 
  I have posted a bug report for JBoss and reverted to 4.0.4 for now,
 but
  I was looking forward to speed improvements in 4.1.12 :-(
 
  I might have a little look at the Catalina/Tomcat wrapper used by
 JBoss.
 
  Thanks,
  Theo
 
  -Original Message-
  From: Cedric Dumoulin [mailto:[EMAIL PROTECTED]]
  Sent: 09 October 2002 09:22
  To: Struts Users Mailing List
  Subject: Re: JBoss-3.0.3_Tomcat4_1_12
 
 
Hi,
 
Maybe you use an old version of commons-digester.
First of all, try to download the latest nightly build or the 1.1b2
  version of Struts. Try the tiles-documentation.war file on your
  environment. Does it run for you ? If yes, get all jar files and tld
  from the working tiles application and replace the ones in your own
  application.
If tiles-documentation.war doesn't run, it means that you have a
  configuration problem. Maybe you have some old  jar file somewhere
 else
  in your classpath ?
 
 Hope this help,
   Cedric
 
  Theo Harper wrote:
 
  I am having some problems getting struts to work with the above
  configuration and have traced the problem down to commons-digester.
 I
  am using tiles with struts and to do so have the following in my
  struts-config.xml file:
  
plug-in className=org.apache.struts.tiles.TilesPlugin 
set-property property=definitions-config
  value=/WEB-INF/tiles-defs.xml/
set-property property=definitions-debug  value=0 /
set-property property=definitions-parser-details value=0
 /
set-property property=definitions-parser-validate
 value=true
  /
/plug-in
  
  The file tiles-defs.xml contains:
  
  !DOCTYPE tiles-definitions PUBLIC
 -//Apache Software Foundation//DTD Tiles Configuration//EN
 http://jakarta.apache.org/struts/dtds/tiles-config.dtd;
  
  tiles-definitions
definition name=deployer.rootlayout
  path=/layouts/root_layout.jsp
  put name=docRoot value=../ /
  put name=titleString value=Welcome to Component Deployer/
  put name=topBanner   value=/include/banner.jsp/
  put name=lowerBanner value=/include/lowerbanner.jsp/
  put name=content value=/secure/home_content.jsp/
  put name=footer  value=/include/footer.jsp/
/definition
 ...
  /tiles-definitions
  
  When loading the WEB application into JBoss/Tomcat I get a
  ClassNotFoundException when trying to load XmlDefinition.
  
  The problem seems to be with the digester, as it is not using the
  WebApps class loader but another.  The context class loader on the
  currentThread seems to be the right one but is not being used.  I
 also
  noticed that the line digester.setUseContextClassLoader(true); has
 been
  commented out in the constructor for XmlParser.
  
  Should the XmlParser be set to use the threads class loader?  Should
  the
  constructor set it?
  
  Any help with this much appreciated.
  
  Theo
  
  
  
  
  --
  To unsubscribe, e-mail:
  mailto:[EMAIL PROTECTED]
  For additional commands, e-mail:
  mailto:[EMAIL PROTECTED]
  
  
  
  
 
 
  --
  To unsubscribe, e-mail:
  mailto:[EMAIL PROTECTED]
  For additional commands, e-mail:
  mailto:[EMAIL PROTECTED]
 
 
  --
  To unsubscribe, e-mail:
 mailto

RE: JBoss-3.0.3_Tomcat4_1_12

2002-10-09 Thread Theo Harper

Surely not a bug add by Mr Gates himself ;-)

-Original Message-
From: James Mitchell [mailto:[EMAIL PROTECTED]] 
Sent: 09 October 2002 19:00
To: Struts Users Mailing List
Subject: RE: JBoss-3.0.3_Tomcat4_1_12

Exact same setup (minus SP1 on XP)


James Mitchell
Software Engineer/Struts Evangelist
http://www.open-tools.org

 -Original Message-
 From: Theo Harper [mailto:[EMAIL PROTECTED]]
 Sent: Wednesday, October 09, 2002 1:56 PM
 To: 'Struts Users Mailing List'
 Subject: RE: JBoss-3.0.3_Tomcat4_1_12


 Looks like I need to do a little more investigation.

 For info though,
   Fresh download of JBoss-3.0.3_Tomcat-4.1.12.
   JDK 1.4.1 (FCS)
   Windows XP SP1 (or Windows 2000 SP3)
   Fresh download of struts blank example
   CLASSPATH is empty.

 What set-up do you have?

 I have reproduced this on three different machine too.

 When debugging it definitely looks like the digester is not using the
 web applications class loader (the thread's current context class
 loader) rather using a class loader created when commons-digester was
 deployed.

 I will debug a little further to find out more.

 Theo


 -Original Message-
 From: James Mitchell [mailto:[EMAIL PROTECTED]]
 Sent: 09 October 2002 18:42
 To: Struts Users Mailing List
 Subject: RE: JBoss-3.0.3_Tomcat4_1_12

 Could be your version or environment, I'm running JBoss3.0.3/Tomcat
 4.1.12
 and the only problem with struts-blank is a missing message key.  The
 struts-example is running fine.


 James Mitchell
 Software Engineer/Struts Evangelist
 http://www.open-tools.org

  -Original Message-
  From: Theo Harper [mailto:[EMAIL PROTECTED]]
  Sent: Wednesday, October 09, 2002 1:24 PM
  To: 'Struts Users Mailing List'
  Subject: RE: JBoss-3.0.3_Tomcat4_1_12
 
 
 
  Looks like there's a problem with JBoss's integration with Tomcat
  4.1.12.
 
  I tried the standard structs blank example and that would not
 deploy,
  although it would deploy on a vanilla tomcat 4.1.12.
 
  I have posted a bug report for JBoss and reverted to 4.0.4 for now,
 but
  I was looking forward to speed improvements in 4.1.12 :-(
 
  I might have a little look at the Catalina/Tomcat wrapper used by
 JBoss.
 
  Thanks,
  Theo
 
  -Original Message-
  From: Cedric Dumoulin [mailto:[EMAIL PROTECTED]]
  Sent: 09 October 2002 09:22
  To: Struts Users Mailing List
  Subject: Re: JBoss-3.0.3_Tomcat4_1_12
 
 
Hi,
 
Maybe you use an old version of commons-digester.
First of all, try to download the latest nightly build or the
1.1b2
  version of Struts. Try the tiles-documentation.war file on your
  environment. Does it run for you ? If yes, get all jar files and tld
  from the working tiles application and replace the ones in your own
  application.
If tiles-documentation.war doesn't run, it means that you have a
  configuration problem. Maybe you have some old  jar file somewhere
 else
  in your classpath ?
 
 Hope this help,
   Cedric
 
  Theo Harper wrote:
 
  I am having some problems getting struts to work with the above
  configuration and have traced the problem down to commons-digester.
 I
  am using tiles with struts and to do so have the following in my
  struts-config.xml file:
  
plug-in className=org.apache.struts.tiles.TilesPlugin 
set-property property=definitions-config
  value=/WEB-INF/tiles-defs.xml/
set-property property=definitions-debug  value=0 /
set-property property=definitions-parser-details value=0
 /
set-property property=definitions-parser-validate
 value=true
  /
/plug-in
  
  The file tiles-defs.xml contains:
  
  !DOCTYPE tiles-definitions PUBLIC
 -//Apache Software Foundation//DTD Tiles Configuration//EN
 http://jakarta.apache.org/struts/dtds/tiles-config.dtd;
  
  tiles-definitions
definition name=deployer.rootlayout
  path=/layouts/root_layout.jsp
  put name=docRoot value=../ /
  put name=titleString value=Welcome to Component Deployer/
  put name=topBanner   value=/include/banner.jsp/
  put name=lowerBanner value=/include/lowerbanner.jsp/
  put name=content value=/secure/home_content.jsp/
  put name=footer  value=/include/footer.jsp/
/definition
 ...
  /tiles-definitions
  
  When loading the WEB application into JBoss/Tomcat I get a
  ClassNotFoundException when trying to load XmlDefinition.
  
  The problem seems to be with the digester, as it is not using the
  WebApps class loader but another.  The context class loader on the
  currentThread seems to be the right one but is not being used.  I
 also
  noticed that the line digester.setUseContextClassLoader(true); has
 been
  commented out in the constructor for XmlParser.
  
  Should the XmlParser be set to use the threads class loader?
Should
  the
  constructor set it?
  
  Any help with this much appreciated.
  
  Theo
  
  
  
  
  --
  To unsubscribe, e-mail:
  mailto:[EMAIL PROTECTED]
  For additional commands

RE: JBoss-3.0.3_Tomcat4_1_12

2002-10-09 Thread Theo Harper

Do you have common-digester in
jboss-3.0.3_tomcat-4.1.12/tomcat-4.1.x/server/lib/commons-digester.jar?




-Original Message-
From: James Mitchell [mailto:[EMAIL PROTECTED]] 
Sent: 09 October 2002 19:00
To: Struts Users Mailing List
Subject: RE: JBoss-3.0.3_Tomcat4_1_12

Exact same setup (minus SP1 on XP)


James Mitchell
Software Engineer/Struts Evangelist
http://www.open-tools.org

 -Original Message-
 From: Theo Harper [mailto:[EMAIL PROTECTED]]
 Sent: Wednesday, October 09, 2002 1:56 PM
 To: 'Struts Users Mailing List'
 Subject: RE: JBoss-3.0.3_Tomcat4_1_12


 Looks like I need to do a little more investigation.

 For info though,
   Fresh download of JBoss-3.0.3_Tomcat-4.1.12.
   JDK 1.4.1 (FCS)
   Windows XP SP1 (or Windows 2000 SP3)
   Fresh download of struts blank example
   CLASSPATH is empty.

 ...



--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




RE: JBoss-3.0.3_Tomcat4_1_12

2002-10-09 Thread James Mitchell

Yes, I do.

James Mitchell
Software Engineer/Struts Evangelist
http://www.open-tools.org

 -Original Message-
 From: Theo Harper [mailto:[EMAIL PROTECTED]]
 Sent: Wednesday, October 09, 2002 3:25 PM
 To: 'Struts Users Mailing List'
 Subject: RE: JBoss-3.0.3_Tomcat4_1_12


 Do you have common-digester in
 jboss-3.0.3_tomcat-4.1.12/tomcat-4.1.x/server/lib/commons-digester.jar?




 -Original Message-
 From: James Mitchell [mailto:[EMAIL PROTECTED]]
 Sent: 09 October 2002 19:00
 To: Struts Users Mailing List
 Subject: RE: JBoss-3.0.3_Tomcat4_1_12

 Exact same setup (minus SP1 on XP)


 James Mitchell
 Software Engineer/Struts Evangelist
 http://www.open-tools.org

  -Original Message-
  From: Theo Harper [mailto:[EMAIL PROTECTED]]
  Sent: Wednesday, October 09, 2002 1:56 PM
  To: 'Struts Users Mailing List'
  Subject: RE: JBoss-3.0.3_Tomcat4_1_12
 
 
  Looks like I need to do a little more investigation.
 
  For info though,
  Fresh download of JBoss-3.0.3_Tomcat-4.1.12.
  JDK 1.4.1 (FCS)
  Windows XP SP1 (or Windows 2000 SP3)
  Fresh download of struts blank example
  CLASSPATH is empty.
 
  ...



 --
 To unsubscribe, e-mail:
mailto:[EMAIL PROTECTED]
For additional commands, e-mail:
mailto:[EMAIL PROTECTED]



--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




Re: JBoss-3.0.3_Tomcat4_1_12

2002-10-09 Thread Eddie Bush

It shouldn't matter.  That shouldn't even have a chance to affect a 
web-app -- that's in the server's private classloader path.

Theo Harper wrote:

Do you have common-digester in
jboss-3.0.3_tomcat-4.1.12/tomcat-4.1.x/server/lib/commons-digester.jar?

-- 
Eddie Bush




--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




Re: JBoss-3.0.3_Tomcat4_1_12

2002-10-09 Thread micael

Teresa,

Just think, we have taken twice the time it would have taken to make money 
to find out how to lose it to someone else.  What a team!

Micael

At 04:51 PM 10/9/2002 -0500, you wrote:
It shouldn't matter.  That shouldn't even have a chance to affect a 
web-app -- that's in the server's private classloader path.

Theo Harper wrote:

Do you have common-digester in
jboss-3.0.3_tomcat-4.1.12/tomcat-4.1.x/server/lib/commons-digester.jar?
--
Eddie Bush




--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




RE: JBoss-3.0.3_Tomcat4_1_12

2002-10-09 Thread Theo Harper

Indeed it shouldn't, but for some reason whilst loading the
configuration from WEB-INF, JBoss/Tomcat decides to use the Digester
class loaded using the system class loader and not the web app's class
loader.  I walked through the deployment code and the class loader for
the Digester is null.  My class loader knowledge isn't great but I
assume this means the system class loader.

The fact that it works for James Mitchell, suggests there is probably
something really obvious wrong with my set-up, but I can't see it.

-Original Message-
From: Eddie Bush [mailto:[EMAIL PROTECTED]] 
Sent: 09 October 2002 22:52
To: Struts Users Mailing List
Subject: Re: JBoss-3.0.3_Tomcat4_1_12

It shouldn't matter.  That shouldn't even have a chance to affect a 
web-app -- that's in the server's private classloader path.

Theo Harper wrote:

Do you have common-digester in
jboss-3.0.3_tomcat-4.1.12/tomcat-4.1.x/server/lib/commons-digester.jar?

-- 
Eddie Bush




--
To unsubscribe, e-mail:
mailto:[EMAIL PROTECTED]
For additional commands, e-mail:
mailto:[EMAIL PROTECTED]


--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




RE: JBoss-3.0.3_Tomcat4_1_12

2002-10-09 Thread Assenza, Chris

My struts app deploys fine with the distribution posted on JBoss' site;
however, my Jasper 2  or (perhaps JBoss' Catalina service) seems to be doing
some crazy things with my JSP pages.  

Apparently, custom tags nested within an iterator are being interpreted more
then once...in fact they're being interpreted exponentially within each
iteration...it's gruesome. =P

Bottom line is that I believe it might not be wise to jump to that
distribution of JBoss at this time.  JBoss-3.0.3_Tomcat4_0_5 seems to be
much stabler.   Although, kudos to the Tomcat folks, despite the possible
Jasper problems I've observed in my app, it is lightning fast!

Chris

-Original Message-
From: Theo Harper [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, October 09, 2002 6:07 PM
To: 'Struts Users Mailing List'
Subject: RE: JBoss-3.0.3_Tomcat4_1_12


Indeed it shouldn't, but for some reason whilst loading the
configuration from WEB-INF, JBoss/Tomcat decides to use the Digester
class loaded using the system class loader and not the web app's class
loader.  I walked through the deployment code and the class loader for
the Digester is null.  My class loader knowledge isn't great but I
assume this means the system class loader.

The fact that it works for James Mitchell, suggests there is probably
something really obvious wrong with my set-up, but I can't see it.

-Original Message-
From: Eddie Bush [mailto:[EMAIL PROTECTED]] 
Sent: 09 October 2002 22:52
To: Struts Users Mailing List
Subject: Re: JBoss-3.0.3_Tomcat4_1_12

It shouldn't matter.  That shouldn't even have a chance to affect a 
web-app -- that's in the server's private classloader path.

Theo Harper wrote:

Do you have common-digester in
jboss-3.0.3_tomcat-4.1.12/tomcat-4.1.x/server/lib/commons-digester.jar?

-- 
Eddie Bush




--
To unsubscribe, e-mail:
mailto:[EMAIL PROTECTED]
For additional commands, e-mail:
mailto:[EMAIL PROTECTED]


--
To unsubscribe, e-mail:
mailto:[EMAIL PROTECTED]
For additional commands, e-mail:
mailto:[EMAIL PROTECTED]

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




RE: JBoss-3.0.3_Tomcat4_1_12 [typo correction]

2002-10-09 Thread Assenza, Chris

 my Jasper 2  or (perhaps JBoss' Catalina service) seems 
 to be doing some crazy things with my JSP pages.  

That should be THE Jasper 2... not my Jasper 2.  Although it should be
obvious that is a typo, I didn't want anyone out there to assume that I had
been modifying Jasper or developing my own Catalina service for JBoss. ;-P

Chris

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




RE: JBoss-3.0.3_Tomcat4_1_12

2002-10-09 Thread Kevin . Bedell




In my book, Struts Kick Start, one of the chapters (ch 18, I believe)
provides detailed step by step instructions for integrating JBoss 3.0.3 and
Tomcat 4.1.12. There's a detailed sample app and design pattern discussion
as well.  (JBoss 3.0.3 and Tomcat 4.12 will be on the included CD-ROM -
along with Ant, XDoclet, Cactus, Junit, Strutstestcase, Axis, Torque, Mysql
and every other app we use!) I'll talk to my publisher to see if I can post
details prior to publication - it's in final edit now so I'm not sure if
they'll mind. Haven't seen PDF's for it yet, so I'd have to post excerpts
or something...

I start with the prototype application from JBoss and modify their default
ant script to build both the EJB jar file as well as the Struts war file.
I'm sure I include all the required libs in the war file in WEB-INF/lib. It
uses Struts 1.1b2. Works like a charm...

Won't be able to post anything until at least tomorrow night - don't know
if that will help :-

Good luck -- I'll see what I can do.

Kevin





Theo Harper [EMAIL PROTECTED] on 10/09/2002 06:07:10 PM

Please respond to Struts Users Mailing List
   [EMAIL PROTECTED]

To:'Struts Users Mailing List' [EMAIL PROTECTED]
cc: (bcc: Kevin Bedell/Systems/USHO/SunLife)
Subject:RE: JBoss-3.0.3_Tomcat4_1_12


Indeed it shouldn't, but for some reason whilst loading the
configuration from WEB-INF, JBoss/Tomcat decides to use the Digester
class loaded using the system class loader and not the web app's class
loader.  I walked through the deployment code and the class loader for
the Digester is null.  My class loader knowledge isn't great but I
assume this means the system class loader.

The fact that it works for James Mitchell, suggests there is probably
something really obvious wrong with my set-up, but I can't see it.

-Original Message-
From: Eddie Bush [mailto:[EMAIL PROTECTED]]
Sent: 09 October 2002 22:52
To: Struts Users Mailing List
Subject: Re: JBoss-3.0.3_Tomcat4_1_12

It shouldn't matter.  That shouldn't even have a chance to affect a
web-app -- that's in the server's private classloader path.

Theo Harper wrote:

Do you have common-digester in
jboss-3.0.3_tomcat-4.1.12/tomcat-4.1.x/server/lib/commons-digester.jar?

--
Eddie Bush




--
To unsubscribe, e-mail:
mailto:[EMAIL PROTECTED]
For additional commands, e-mail:
mailto:[EMAIL PROTECTED]


--
To unsubscribe, e-mail:   
mailto:[EMAIL PROTECTED]
For additional commands, e-mail: 
mailto:[EMAIL PROTECTED]







---
This e-mail message (including attachments, if any) is intended for the use
of the individual or entity to which it is addressed and may contain
information that is privileged, proprietary , confidential and exempt from
disclosure.  If you are not the intended recipient, you are notified that
any dissemination, distribution or copying of this communication is
strictly prohibited.  If you have received this communication in error,
please notify the sender and erase this e-mail message immediately.
---



--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




Re: JBoss-3.0.3_Tomcat4_1_12

2002-10-09 Thread Peter A. J. Pilgrim

Theo Harper wrote:
 Looks like there's a problem with JBoss's integration with Tomcat
 4.1.12.
 
 I tried the standard structs blank example and that would not deploy,
 although it would deploy on a vanilla tomcat 4.1.12.
 
 I have posted a bug report for JBoss and reverted to 4.0.4 for now, but
 I was looking forward to speed improvements in 4.1.12 :-(
 
 I might have a little look at the Catalina/Tomcat wrapper used by JBoss.
 
 Thanks,
 Theo
 

Blinking hell. I just downloaded 4.1.12 and Jboss 3.0.2 last week.
Yet to install JBoss. but Tomcat 4.1.12 worked fine with Struts 1.1
and Expresso Framework.
-- 
Peter Pilgrim

Ecommerce Java development way behind schedule, again.
   Need a new [IT] *striker*?Try the GNU style

``http://www.xenonsoft.demon.co.uk/no-it-striker.html''



--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




RE: JBoss-3.0.3_Tomcat4_1_12

2002-10-09 Thread James Mitchell

Well, this is interesting.  I just wasted an hour trying to figure out why
JBoss wouldn't load my app.

I kept getting ClassNotFoundException for some validator classes.  I
verified the jar was there and after redeploying the struts-example.war
(stock 1.1b1) a few times and restarting JBoss/Tomcat, I removed
commons-validator.jar from my war file and deployed it straight to JBoss
deploy dir, then redployed my same app (no changes), and bingo!  I'm up and
running again.

This is really strange.  Earlier today I was running the struts-example and
my app just fine.  Oh well, hope you got yours fixed.

Later


James Mitchell
Software Engineer/Struts Evangelist
http://www.open-tools.org

 -Original Message-
 From: James Mitchell [mailto:[EMAIL PROTECTED]]
 Sent: Wednesday, October 09, 2002 3:33 PM
 To: Struts Users Mailing List
 Subject: RE: JBoss-3.0.3_Tomcat4_1_12


 Yes, I do.

 James Mitchell
 Software Engineer/Struts Evangelist
 http://www.open-tools.org

  -Original Message-
  From: Theo Harper [mailto:[EMAIL PROTECTED]]
  Sent: Wednesday, October 09, 2002 3:25 PM
  To: 'Struts Users Mailing List'
  Subject: RE: JBoss-3.0.3_Tomcat4_1_12
 
 
  Do you have common-digester in
  jboss-3.0.3_tomcat-4.1.12/tomcat-4.1.x/server/lib/commons-digester.jar?
 
 
 
 
  -Original Message-
  From: James Mitchell [mailto:[EMAIL PROTECTED]]
  Sent: 09 October 2002 19:00
  To: Struts Users Mailing List
  Subject: RE: JBoss-3.0.3_Tomcat4_1_12
 
  Exact same setup (minus SP1 on XP)
 
 
  James Mitchell
  Software Engineer/Struts Evangelist
  http://www.open-tools.org
 
   -Original Message-
   From: Theo Harper [mailto:[EMAIL PROTECTED]]
   Sent: Wednesday, October 09, 2002 1:56 PM
   To: 'Struts Users Mailing List'
   Subject: RE: JBoss-3.0.3_Tomcat4_1_12
  
  
   Looks like I need to do a little more investigation.
  
   For info though,
 Fresh download of JBoss-3.0.3_Tomcat-4.1.12.
 JDK 1.4.1 (FCS)
 Windows XP SP1 (or Windows 2000 SP3)
 Fresh download of struts blank example
 CLASSPATH is empty.
  
   ...
 
 
 
  --
  To unsubscribe, e-mail:
 mailto:[EMAIL PROTECTED]
 For additional commands, e-mail:
mailto:[EMAIL PROTECTED]



--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]