Re: Error finding tiles-defs.xml

2006-03-13 Thread Dave Newton
Oshima Tlholoe wrote:
> Even in Tomcat, cos u have to configure your ActionServlet,and tell it which
> initial parameter to load at startup, hence you need to specify your
> tiles-defs.xml as an initial parameter. This is tomcat/Jboss related, I have
> never worked on Websphere.
>   

It's not Tomcat; I've been putting my tiles config file defs into the
struts config since day one.

Dave



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



Re: Error finding tiles-defs.xml

2006-03-12 Thread Oshima Tlholoe
hi Dave,
Even in Tomcat, cos u have to configure your ActionServlet,and tell it which
initial parameter to load at startup, hence you need to specify your
tiles-defs.xml as an initial parameter. This is tomcat/Jboss related, I have
never worked on Websphere.


On 3/10/06, Dave Newton <[EMAIL PROTECTED]> wrote:
>
> Hilton, Steve wrote:
> > Oshima, thank you VERY VERY much!  That fixed it.  I had looked on
> > so many web site, and at so many examples, and in so many books, and not
> > one single resource I looked at EVER said to add that code to web.xml.
> > Thanks again.  I really appreciate it!
> >
>
>
> Wow; I'm very confused.
>
> I've never put anything regarding tiles into my web.xml and can't figure
> out why you had to unless this is something websphere-ish.
>
> Is this a modules thing? I've never used them.
>
> Dave
>
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


--
Regards
Name : Oshima Tlholoe
Cell No: +2773 342 4393
Tel No : +2712 350 1282(w)
E-mail : [EMAIL PROTECTED]
simplicity is the ultimate sophistication


Re: Error finding tiles-defs.xml

2006-03-10 Thread Greg Reddin


On Mar 10, 2006, at 12:52 PM, Dave Newton wrote:


Hilton, Steve wrote:

Oshima, thank you VERY VERY much!  That fixed it.  I had  
looked on
so many web site, and at so many examples, and in so many books,  
and not
one single resource I looked at EVER said to add that code to  
web.xml.

Thanks again.  I really appreciate it!





Is this a modules thing? I've never used them.


That's what I was wondering too.  I'm surprised Steve had to do that.

Greg


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



Re: Error finding tiles-defs.xml

2006-03-10 Thread Dave Newton
Hilton, Steve wrote:
> Oshima, thank you VERY VERY much!  That fixed it.  I had looked on
> so many web site, and at so many examples, and in so many books, and not
> one single resource I looked at EVER said to add that code to web.xml.
> Thanks again.  I really appreciate it!
>   


Wow; I'm very confused.

I've never put anything regarding tiles into my web.xml and can't figure
out why you had to unless this is something websphere-ish.

Is this a modules thing? I've never used them.

Dave



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



RE: Error finding tiles-defs.xml

2006-03-10 Thread Hilton, Steve
Oshima, thank you VERY VERY much!  That fixed it.  I had looked on
so many web site, and at so many examples, and in so many books, and not
one single resource I looked at EVER said to add that code to web.xml.
Thanks again.  I really appreciate it!

Steve

-Original Message-
From: Oshima Tlholoe [mailto:[EMAIL PROTECTED] 
Sent: Friday, March 10, 2006 4:58 AM
To: Struts Users Mailing List
Subject: Re: Error finding tiles-defs.xml


hi Steve

did you include the your tiles-defs.xml in the web.xml so that its
loaded
when your ActionServlet starts up. asn the following

   definitions-config
   /WEB-INF/tiles-defs.xml



On 3/10/06, Oshima Tlholoe <[EMAIL PROTECTED]> wrote:
>
> hi Steve,
> I had a look at your code snipets and they seem right, this can be
stupid
> to mention but just check on your war file to see if the
tiles-defs.xml is
> copied under the WEB-INF/ directory,sometimes this are little mistakes
that
> we make.
>
>
> On 3/9/06, Hilton, Steve <[EMAIL PROTECTED]> wrote:
> >
> > If you look at the last 3 lines below (at the very bottom of this
> > e-mail)...
> > It says it can't find file '/WEB-INF/tiles- defs.xml'.  I've listed
my
> > tiles-def and struts-config files in here as well.  Both of those
files
> > reside under /WEB-INF.  I have set this up similar to every example
I
> > have been able to find, and always the same result.  Any reference
from
> > the struts-config file to a tiles definition also produces a warning
-
> > "Target page.default cannot be resolved in the context of the
following
> > modules: /".  Any ideas?  I cannot see what I have set up wrong
here?
> > Thanks.
> >
> >
> > == TILES-DEFS.XML ===
> > 
> >  >"-//Apache Software Foundation//DTD Tiles Configuration//EN"
> >"http://jakarta.apache.org/struts/dtds/tiles-config.dtd";>
> >
> > 
> > 
> >   
> >   
> >   
> >   
> >   
> >
> > 
> >
> >
> >
> > == STRUTS-CONFIG.XML ===
> > 
> >  > Struts Configuration 1.1//EN"
> >
> > "http://jakarta.apache.org/struts/dtds/struts-config_1_1.dtd ">
> >
> > 
> > 
> > 
> > 
> >
> > 
> > 
> > 
> >
> > 
> > 
> > 
> >
> > 
> > 
> > 
> > 
> >
> > 
> > 
> >   
> >
> >  
> >
> >  > processorClass="org.apache.struts.tiles.TilesRequestProcessor"
> > bufferSize="4096" debug="0"/>
> >
> > 
> >  > parameter="com.aegon.learntiles.resources.ApplicationResources"/>
> >
> > 
> > > value="/WEB-INF/tiles-defs.xml" />
> >   
> >> />
> >> value="true" />
> >
> > 
> >
> > 
> >
> >
> >
> > *** Starting the server ***
> >  Start Display Current Environment 
> > WebSphere Platform 5.0 [BASE 5.0.2 ptf2M0325.01]  running with
process
> > name localhost\localhost\server1 and process id 2348
> > Host Operating System is Windows XP, version 5.1
> > Java version = J2RE 1.3.1 IBM Windows 32 build cn131-20030711a (JIT
> > enabled: jitc), Java Compiler = jitc, Java VM name = Classic VM
> > was.install.root = C:\WSAD51\runtimes\base_v5
> > user.install.root = C:\WSAD51\runtimes\base_v5
> > Java Home = C:\WSAD51\runtimes\base_v5\java\jre
> > ws.ext.dirs =
> >
C:\WSAD51\runtimes\base_v5/java/lib;C:\WSAD51\runtimes\base_v5/classes;C
> >
:\WSAD51\runtimes\base_v5/classes;C:\WSAD51\runtimes\base_v5/lib;C:\WSAD
> >
51\runtimes\base_v5/lib/ext;C:\WSAD51\runtimes\base_v5/web/help;C:\WSAD5
> >
> >
1\runtimes\base_v5/deploytool/itp/plugins/com.ibm.etools.ejbdeploy/runti
> >
me;C:/WSAD51/wstools/eclipse/plugins/com.ibm.etools.webservice_5.1.0/run
> > time/worf.jar
> > Classpath =
> >
C:\WSAD51\runtimes\base_v5/properties;C:\WSAD51\runtimes\base_v5/propert
> >
> >
ies;C:\WSAD51\runtimes\base_v5/lib/bootstrap.jar;C:\WSAD51\runtimes\base
> >
_v5/lib/j2ee.jar;C:\WSAD51\runtimes\base_v5/lib/lmproxy.jar;C:/WSAD51/ws
> >
tools/eclipse/plugins/com.ibm.etools.websphere.tools.common_5.1.0/runtim
> >
> >
e/wteServers.jar;C:/WSAD51/wstools/eclipse/plu

Re: Error finding tiles-defs.xml

2006-03-10 Thread Oshima Tlholoe
hi Steve

did you include the your tiles-defs.xml in the web.xml so that its loaded
when your ActionServlet starts up. asn the following

   definitions-config
   /WEB-INF/tiles-defs.xml



On 3/10/06, Oshima Tlholoe <[EMAIL PROTECTED]> wrote:
>
> hi Steve,
> I had a look at your code snipets and they seem right, this can be stupid
> to mention but just check on your war file to see if the tiles-defs.xml is
> copied under the WEB-INF/ directory,sometimes this are little mistakes that
> we make.
>
>
> On 3/9/06, Hilton, Steve <[EMAIL PROTECTED]> wrote:
> >
> > If you look at the last 3 lines below (at the very bottom of this
> > e-mail)...
> > It says it can't find file '/WEB-INF/tiles- defs.xml'.  I've listed my
> > tiles-def and struts-config files in here as well.  Both of those files
> > reside under /WEB-INF.  I have set this up similar to every example I
> > have been able to find, and always the same result.  Any reference from
> > the struts-config file to a tiles definition also produces a warning -
> > "Target page.default cannot be resolved in the context of the following
> > modules: /".  Any ideas?  I cannot see what I have set up wrong here?
> > Thanks.
> >
> >
> > == TILES-DEFS.XML ===
> > 
> >  >"-//Apache Software Foundation//DTD Tiles Configuration//EN"
> >"http://jakarta.apache.org/struts/dtds/tiles-config.dtd";>
> >
> > 
> > 
> >   
> >   
> >   
> >   
> >   
> >
> > 
> >
> >
> >
> > == STRUTS-CONFIG.XML ===
> > 
> >  > Struts Configuration 1.1//EN"
> >
> > "http://jakarta.apache.org/struts/dtds/struts-config_1_1.dtd ">
> >
> > 
> > 
> > 
> > 
> >
> > 
> > 
> > 
> >
> > 
> > 
> > 
> >
> > 
> > 
> > 
> > 
> >
> > 
> > 
> >   
> >
> >  
> >
> >  > processorClass="org.apache.struts.tiles.TilesRequestProcessor"
> > bufferSize="4096" debug="0"/>
> >
> > 
> >  > parameter="com.aegon.learntiles.resources.ApplicationResources"/>
> >
> > 
> > > value="/WEB-INF/tiles-defs.xml" />
> >   
> >> />
> >> value="true" />
> >
> > 
> >
> > 
> >
> >
> >
> > *** Starting the server ***
> >  Start Display Current Environment 
> > WebSphere Platform 5.0 [BASE 5.0.2 ptf2M0325.01]  running with process
> > name localhost\localhost\server1 and process id 2348
> > Host Operating System is Windows XP, version 5.1
> > Java version = J2RE 1.3.1 IBM Windows 32 build cn131-20030711a (JIT
> > enabled: jitc), Java Compiler = jitc, Java VM name = Classic VM
> > was.install.root = C:\WSAD51\runtimes\base_v5
> > user.install.root = C:\WSAD51\runtimes\base_v5
> > Java Home = C:\WSAD51\runtimes\base_v5\java\jre
> > ws.ext.dirs =
> > C:\WSAD51\runtimes\base_v5/java/lib;C:\WSAD51\runtimes\base_v5/classes;C
> > :\WSAD51\runtimes\base_v5/classes;C:\WSAD51\runtimes\base_v5/lib;C:\WSAD
> > 51\runtimes\base_v5/lib/ext;C:\WSAD51\runtimes\base_v5/web/help;C:\WSAD5
> >
> > 1\runtimes\base_v5/deploytool/itp/plugins/com.ibm.etools.ejbdeploy/runti
> > me;C:/WSAD51/wstools/eclipse/plugins/com.ibm.etools.webservice_5.1.0/run
> > time/worf.jar
> > Classpath =
> > C:\WSAD51\runtimes\base_v5/properties;C:\WSAD51\runtimes\base_v5/propert
> >
> > ies;C:\WSAD51\runtimes\base_v5/lib/bootstrap.jar;C:\WSAD51\runtimes\base
> > _v5/lib/j2ee.jar;C:\WSAD51\runtimes\base_v5/lib/lmproxy.jar;C:/WSAD51/ws
> > tools/eclipse/plugins/com.ibm.etools.websphere.tools.common_5.1.0/runtim
> >
> > e/wteServers.jar;C:/WSAD51/wstools/eclipse/plugins/com.ibm.etools.websph
> > ere.tools.common_5.1.0/runtime/wasToolsCommon.jar
> > Java Library path =
> > C:\WSAD51\runtimes\base_v5/bin;C:\WSAD51\runtimes\base_v5/java/bin;C:\WS
> >
> > AD51\runtimes\base_v5/java/jre/bin;C:\wsad51\eclipse\jre\bin;.;C:\j2sdk1
> > .4.2_03\bin;C:\j2sdk1.4.2_03\bin;C:\WSAD51\runtimes\base_v5\java;C:\PVSW
> > \BIN;C:\PVSW\Bin\;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbe
> >
> > m;C:\Program Files\cvsnt;p:\lnrmmisc\lus\dll;C:\Program
> > Files\IBM\WebSphere MQ\bin;C:\Program Files\IBM\WebSphere
> > MQ\tools\c\samples\bin;C:\SNA\system;C:\Program
> > Files\Oracle\ora81\bin\;C:\Program Files\oracle\bin;C:\Program
> > Files\oracle\jre\1.1.7\bin;C:\Program Files\Microsoft SQL
> > Server\80\Tools\BINN;C:\Program Files\Microsoft Visual
> > Studio\Common\Tools\WinNT\;C:\Program Files\Microsoft Visual
> > Studio\Common\Tools\;C:\Program Files\Microsoft Visual
> > Studio\VC98\Bin\;C:\Program Files\Microsoft Visual
> > Studio\Common\MSDev98\Bin
> > * End Display Current Environment *
> > [3/8/06 10:51:45:657 CST] 4c8ff6a5 ManagerAdmin  I TRAS0017I: The
> > startup trace state is *=all=disabled.
> > [3/8/06 10:51:46:157 CST] 4c8ff6a5 AdminInitiali A ADMN0015I:
> > AdminService initialized
> > [3/8/06 10:51

Re: Error finding tiles-defs.xml

2006-03-10 Thread Oshima Tlholoe
hi Steve,
I had a look at your code snipets and they seem right, this can be stupid to
mention but just check on your war file to see if the tiles-defs.xml is
copied under the WEB-INF/ directory,sometimes this are little mistakes that
we make.

On 3/9/06, Hilton, Steve <[EMAIL PROTECTED]> wrote:
>
> If you look at the last 3 lines below (at the very bottom of this
> e-mail)...
> It says it can't find file '/WEB-INF/tiles-defs.xml'.  I've listed my
> tiles-def and struts-config files in here as well.  Both of those files
> reside under /WEB-INF.  I have set this up similar to every example I
> have been able to find, and always the same result.  Any reference from
> the struts-config file to a tiles definition also produces a warning -
> "Target page.default cannot be resolved in the context of the following
> modules: /".  Any ideas?  I cannot see what I have set up wrong here?
> Thanks.
>
>
> == TILES-DEFS.XML ===
> 
> "-//Apache Software Foundation//DTD Tiles Configuration//EN"
>"http://jakarta.apache.org/struts/dtds/tiles-config.dtd";>
>
> 
> 
>   
>   
>   
>   
>   
>
> 
>
>
>
> == STRUTS-CONFIG.XML ===
> 
>  Struts Configuration 1.1//EN"
>
> "http://jakarta.apache.org/struts/dtds/struts-config_1_1.dtd";>
>
> 
> 
> 
> 
>
> 
> 
> 
>
> 
> 
> 
>
> 
> 
> 
> 
>
> 
> 
>   
>
>  
>
>  processorClass="org.apache.struts.tiles.TilesRequestProcessor"
> bufferSize="4096" debug="0"/>
>
> 
>  parameter="com.aegon.learntiles.resources.ApplicationResources"/>
>
> 
> value="/WEB-INF/tiles-defs.xml" />
>   
>/>
>value="true" />
>
> 
>
> 
>
>
>
> *** Starting the server ***
>  Start Display Current Environment 
> WebSphere Platform 5.0 [BASE 5.0.2 ptf2M0325.01]  running with process
> name localhost\localhost\server1 and process id 2348
> Host Operating System is Windows XP, version 5.1
> Java version = J2RE 1.3.1 IBM Windows 32 build cn131-20030711a (JIT
> enabled: jitc), Java Compiler = jitc, Java VM name = Classic VM
> was.install.root = C:\WSAD51\runtimes\base_v5
> user.install.root = C:\WSAD51\runtimes\base_v5
> Java Home = C:\WSAD51\runtimes\base_v5\java\jre
> ws.ext.dirs =
> C:\WSAD51\runtimes\base_v5/java/lib;C:\WSAD51\runtimes\base_v5/classes;C
> :\WSAD51\runtimes\base_v5/classes;C:\WSAD51\runtimes\base_v5/lib;C:\WSAD
> 51\runtimes\base_v5/lib/ext;C:\WSAD51\runtimes\base_v5/web/help;C:\WSAD5
> 1\runtimes\base_v5/deploytool/itp/plugins/com.ibm.etools.ejbdeploy/runti
> me;C:/WSAD51/wstools/eclipse/plugins/com.ibm.etools.webservice_5.1.0/run
> time/worf.jar
> Classpath =
> C:\WSAD51\runtimes\base_v5/properties;C:\WSAD51\runtimes\base_v5/propert
> ies;C:\WSAD51\runtimes\base_v5/lib/bootstrap.jar;C:\WSAD51\runtimes\base
> _v5/lib/j2ee.jar;C:\WSAD51\runtimes\base_v5/lib/lmproxy.jar;C:/WSAD51/ws
> tools/eclipse/plugins/com.ibm.etools.websphere.tools.common_5.1.0/runtim
> e/wteServers.jar;C:/WSAD51/wstools/eclipse/plugins/com.ibm.etools.websph
> ere.tools.common_5.1.0/runtime/wasToolsCommon.jar
> Java Library path =
> C:\WSAD51\runtimes\base_v5/bin;C:\WSAD51\runtimes\base_v5/java/bin;C:\WS
> AD51\runtimes\base_v5/java/jre/bin;C:\wsad51\eclipse\jre\bin;.;C:\j2sdk1
> .4.2_03\bin;C:\j2sdk1.4.2_03\bin;C:\WSAD51\runtimes\base_v5\java;C:\PVSW
> \BIN;C:\PVSW\Bin\;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbe
> m;C:\Program Files\cvsnt;p:\lnrmmisc\lus\dll;C:\Program
> Files\IBM\WebSphere MQ\bin;C:\Program Files\IBM\WebSphere
> MQ\tools\c\samples\bin;C:\SNA\system;C:\Program
> Files\Oracle\ora81\bin\;C:\Program Files\oracle\bin;C:\Program
> Files\oracle\jre\1.1.7\bin;C:\Program Files\Microsoft SQL
> Server\80\Tools\BINN;C:\Program Files\Microsoft Visual
> Studio\Common\Tools\WinNT\;C:\Program Files\Microsoft Visual
> Studio\Common\Tools\;C:\Program Files\Microsoft Visual
> Studio\VC98\Bin\;C:\Program Files\Microsoft Visual
> Studio\Common\MSDev98\Bin
> * End Display Current Environment *
> [3/8/06 10:51:45:657 CST] 4c8ff6a5 ManagerAdmin  I TRAS0017I: The
> startup trace state is *=all=disabled.
> [3/8/06 10:51:46:157 CST] 4c8ff6a5 AdminInitiali A ADMN0015I:
> AdminService initialized
> [3/8/06 10:51:47:142 CST] 4c8ff6a5 Configuration A SECJ0215I:
> Successfully set JAAS login provider configuration class to
> com.ibm.ws.security.auth.login.Configuration.
> [3/8/06 10:51:47:189 CST] 4c8ff6a5 SecurityDMI SECJ0231I: The
> Security component's FFDC Diagnostic Module
> com.ibm.ws.security.core.SecurityDM registered successfully: true.
> [3/8/06 10:51:47:298 CST] 4c8ff6a5 SecurityCompo I SECJ0309I: Java 2
> Security is disabled.
> [3/8/06 10:51:47:298 CST] 4c8ff6a5 SecurityCompo I SECJ0212I: WCCM JAAS
> configuration information successfully pushed to logi