dtd validation of tld's

2004-03-14 Thread hanasaki
Any thoughts on why Tomcat would be giving an error saying:

Digester error... SEVERE Parse error Document is invalid: no grammar 
found

This is happening on all TLD's.  They are JSTL and Struts.   I am 
thinking it has something to do with the DTD specified in the TLD as an 
http:... and having only intermittent Internet connectivity.  The need 
is to find away around this issue while still using xml validation and 
not modifying the TLD's from the downloaded distribution.

Thanks

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


Re: dtd validation of tld's

2004-03-14 Thread hanasaki
I am using whatever is in tomcat 4.1.24.  Not sure what version of 
xerces that is or how to find out.

Funny thing is it worked some time ago.  The project just came out of 
5mo mothballs.



Adam Hardy wrote:
On 03/14/2004 08:59 PM hanasaki wrote:

Any thoughts on why Tomcat would be giving an error saying:

Digester error... SEVERE Parse error Document is invalid: no grammar 
found

This is happening on all TLD's.  They are JSTL and Struts.   I am 
thinking it has something to do with the DTD specified in the TLD as 
an http:... and having only intermittent Internet connectivity.  The 
need is to find away around this issue while still using xml 
validation and not modifying the TLD's from the downloaded distribution.

Are you using xerces 2.6.1?

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


Re: tiles config not in WEB-INF

2003-08-14 Thread Hanasaki JiJi
The main config file is easy... see below... but what about the tiles,
validator etc..?
servlet
servlet-namestrutsAction/servlet-name
servlet-classorg.apache.struts.action.ActionServlet/servlet-class
init-param
  param-nameconfig/param-name
  param-value/WEB-INF/struts/struts-config.xml/param-value
/init-param
init-param
  param-namedebug/param-name
  param-value2/param-value
/init-param
init-param
  param-namedetail/param-name
  param-value2/param-value
/init-param
load-on-startup2/load-on-startup
  /servlet
Vic Cekvenich wrote:
Review web.xml of any Struts app to see how.
.V
Hanasaki JiJi wrote:

How can the struts action servlet be told to read its config files from
WEB-INF/struts/conf
instead of
WEB-INF




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
=
= Management is doing things right; leadership is doing the =
=   right things.- Peter Drucker=
=___=
= http://www.sun.com/service/sunps/jdc/javacenter.pdf   =
=  www.sun.com | www.javasoft.com | http://www.sun.com/sunone   =
=


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


tiles config not in WEB-INF

2003-08-14 Thread Hanasaki JiJi
How can the struts action servlet be told to read its config files from
WEB-INF/struts/conf
instead of
WEB-INF
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


msg bean from jdbc/ldap vs properties files

2002-12-11 Thread Hanasaki JiJi
Is there any way to pull from jdbc and/or ldap instead of properties files?

Thanks
--
=
= Management is doing things right; leadership is doing the =
=   right things.- Peter Drucker=
=___=
= http://www.sun.com/service/sunps/jdc/javacenter.pdf   =
=  www.sun.com | www.javasoft.com | http://wwws.sun.com/sunone  =
=


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




tiles docs for current beta

2002-12-11 Thread Hanasaki JiJi
Where can the tiles docs for the current beta befound?  They are listed 
as todo in the downloaded Beta WAR docs.

looking for the xml config files docs and the api and the tags.

Thanks

--
=
= Management is doing things right; leadership is doing the =
=   right things.- Peter Drucker=
=___=
= http://www.sun.com/service/sunps/jdc/javacenter.pdf   =
=  www.sun.com | www.javasoft.com | http://wwws.sun.com/sunone  =
=


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



tld locations???

2002-12-05 Thread Hanasaki JiJi
Am I reading the below error correctly?  .tld must be in the WEB-INF dir
and not in any subdir of WEB-INF?

I have put the struts tld's in /WEB-INF/struts/ and specified to find
them there in web.xml

==


2002-12-05 23:33:41 ContextConfig[/j2eetemplate] Exception processing
TLD at resource path /WEB-INF/struts/struts-nested.tld
javax.servlet.ServletException: Exception processing TLD at resource
path /WEB-INF/struts/struts-nested.tld
 at
org.apache.catalina.startup.ContextConfig.tldScanTld(ContextConfig.java:1010)
 at
org.apache.catalina.startup.ContextConfig.tldScan(ContextConfig.java:870)
 at
org.apache.catalina.startup.ContextConfig.start(ContextConfig.java:647)
 at
org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:243)

...

- Root Cause -
java.lang.IllegalArgumentException: Invalid TLD resource path
/WEB-INF/struts/struts-nested.tld
 at
org.apache.catalina.startup.ContextConfig.tldScanTld(ContextConfig.java:1002)
 at
org.apache.catalina.startup.ContextConfig.tldScan(ContextConfig.java:870)
 at
org.apache.catalina.startup.ContextConfig.start(ContextConfig.java:647)
 at
org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:243)
 at
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:166)


--
=
= Management is doing things right; leadership is doing the =
=   right things.- Peter Drucker=
=___=
= http://www.sun.com/service/sunps/jdc/javacenter.pdf   =
=  www.sun.com | www.javasoft.com | http://wwws.sun.com/sunone  =
=



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




struts 1.0.2 examples fail to deploy on tomcat 4.1.12

2002-12-01 Thread Hanasaki JiJi
It seems that struts 1.0.2 examples fail to deploy on tomcat 4.1.12.

Should it be as simple as dropping the WAR files from the struts webapps 
 download into the webapps of tomcat and bouncing the server?
--
=
= Management is doing things right; leadership is doing the =
=   right things.- Peter Drucker=
=___=
= http://www.sun.com/service/sunps/jdc/javacenter.pdf   =
=  www.sun.com | www.javasoft.com | http://wwws.sun.com/sunone  =
=


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



struts 1.1-b2 struts-blank bug????

2002-12-01 Thread Hanasaki JiJi
anyone getting the below error from the blank file?

struts-blank/index.jsp


type Exception report

message

description The server encountered an internal error () that prevented 
it from fulfilling this request.

exception

org.apache.jasper.JasperException: Missing message for key welcome.title
	at 
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:248)
	at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:289)
	at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:240)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
	at 
org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:684)
	at 
org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:432)
	at 
org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:356)
	at org.apache.struts.actions.ForwardAction.execute(ForwardAction.java:158)
	at 
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:446)
	at 
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:266)
	at org.apache.struts.action.ActionServlet.process(ActionServlet.java:129
--
=
= Management is doing things right; leadership is doing the =
=   right things.- Peter Drucker=
=___=
= http://www.sun.com/service/sunps/jdc/javacenter.pdf   =
=  www.sun.com | www.javasoft.com | http://wwws.sun.com/sunone  =
=


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



Re: struts 1.1-b2 struts-blank bug????

2002-12-01 Thread Hanasaki JiJi
I added that entry and still ahve the same error.

Dinesh Samson J wrote:

Hi

The entry for welcome.title in your ApplicationResources.properties file
is missing.

regards,
 
Dinesh Samson J
IT Support
([EMAIL PROTECTED])
UAE Exchange Centre LLC
POBox 170, Hamdan Street
Abu Dhabi, United Arab Emirates
Mobile: +971-50-6682136
Phone: +971-2-6322166,6394342
Fax: +971-2-6340713

-Original Message-
From: Hanasaki JiJi [mailto:[EMAIL PROTECTED]] 
Sent: 02 December 2002 09:59
To: [EMAIL PROTECTED]
Subject: struts 1.1-b2 struts-blank bug

anyone getting the below error from the blank file?

struts-blank/index.jsp


type Exception report

message

description The server encountered an internal error () that prevented 
it from fulfilling this request.

exception

org.apache.jasper.JasperException: Missing message for key welcome.title
	at 
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.ja
va:248)
	at
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:289)
	at
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:240)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
	at 
org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatc
her.java:684)
	at 
org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDisp
atcher.java:432)
	at 
org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispat
cher.java:356)
	at
org.apache.struts.actions.ForwardAction.execute(ForwardAction.java:158)
	at 
org.apache.struts.action.RequestProcessor.processActionPerform(RequestPr
ocessor.java:446)
	at 
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:
266)
	at
org.apache.struts.action.ActionServlet.process(ActionServlet.java:129

--
=
= Management is doing things right; leadership is doing the =
=   right things.- Peter Drucker=
=___=
= http://www.sun.com/service/sunps/jdc/javacenter.pdf   =
=  www.sun.com | www.javasoft.com | http://wwws.sun.com/sunone  =
=


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