RE: Struts with JBuilder6.0 and Tomcat

2002-04-28 Thread B.Adji Maharyatno

We have this issue from last year.
Borland has yet resolved this at JBuilder6 or BES.

You can try this solution (althought not ideal).

1. Delete struts-config_1_0.dtd from the struts.jar (can use winzip or other
tools).
2. Copy the struts-config_1_0.dtd file at your WebApplication folder (the
root).
3. Copy the struts-config_1_0.dtd at JBuilder-Home\bin (if you want to use
the XML validator).

Assume you create a web-application folder:
project-home\web-application
Copy the file as in this root.
 WEB-INF

If your project is WebTest1 and your web-applicatino is also WebTest1,
normally you would have web-application folder as ...\WebTest1\WebTest1.

However, I found that using JBuilder 5 and Borland AppServer 4.5 have no
issues on using Struts. Just deploy the .war file to Borland AppServer 4.5
(using the deploy tool).

Hope will help.

Cheers.
BAM



-Original Message-
From: Ketan Malekar [mailto:[EMAIL PROTECTED]]
Sent: Saturday, May 29, 1999 11:22 PM
To: Struts Users Mailing List
Subject: Struts with JBuilder6.0 and Tomcat


hello friends,
Im using JBuilder 6.0 and have downloaded Struts Wizard for JBuilder6.0
(JBuilderStrutsWizard.jar). And included in the lib directory. Now I can
successfully JSP and corresponding beans through wizard but after deploying
it gives following error message:

---
javax.servlet.ServletException: Cannot find ActionMappings or
ActionFormBeans collection
at
org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImp
l.java:459)
at
f_00025rm._0002fform_0002fregions_0002ejspregions_jsp_0._jspService(_0002ffo
rm_0002fregions_0002ejspregions_jsp_0.java:187)
at
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:119)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at
org.apache.jasper.servlet.JspServlet$JspCountedServlet.service(JspServlet.ja
va:130)


Has anybody encountered the same problem? Or something Im forgetting to do?
Please guide me for the same.
Thanx in advance

Ketan Malekar

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




RE: URGENT!!!!! How to Shut off Struts Logging!!!

2002-04-09 Thread B.Adji Maharyatno

I put debug and detail to 0.

Cheers.
B. Adji Maharyatno
Singapore


-Original Message-
From: Struts Newsgroup [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, April 09, 2002 1:10 PM
To: [EMAIL PROTECTED]
Subject: URGENT! How to Shut off Struts Logging!!!


Subject: URGENT! How to Shut off Struts Logging!!!
From: Hyunjin Kim [EMAIL PROTECTED]
 ===
I am using struts 1.1b and log4j for my application, and struts is logging
same statement for multiple times and number of times it logs are doubling
each time a specific statement is called... and eventually, the number of
times a specific logging statement is so large that the server just hangs...


here's my code web.xml file where i configured Action Servlet...


servlet
servlet-nameaction/servlet-name
servlet-classorg.apache.struts.action.ActionServlet/servlet-class
init-param
  param-nameconfig/param-name
  param-value/WEB-INF/struts-config.xml/param-value
/init-param
init-param
  param-nameapplication/param-name
  param-valueApplicationResources/param-value
 /init-param
init-param
  param-namedebug/param-name
  param-value1/param-value
/init-param
init-param
  param-namedetail/param-name
  param-value1/param-value
/init-param
load-on-startup2/load-on-startup
  /servlet


and my log4j properties file...

log4j.rootCategory=DEBUG, A1

# A1 is set to be a RollingFileAppender.
log4j.appender.A1=org.apache.log4j.RollingFileAppender
log4j.appender.A1.File=../logs/nanoenc_application.log

log4j.appender.A1.MaxFileSize=5000KB
# Keep one backup file
log4j.appender.A1.MaxBackupIndex=10


# Print the date in ISO 8601 format
# like 2000-09-07 14:07:41,508 [main] INFO  MyApp - Entering application.
log4j.appender.A1.layout=org.apache.log4j.PatternLayout
log4j.appender.A1.layout.ConversionPattern=%d [%t] %-5p %c - %m%n

# for individual classes, try the following line.
log4j.category.com.nanoenc=ERROR
log4j.category.biz.itline=ERROR



How can I stop Struts to keep doubling number of times it's logging???

any help from struts/log4j gurus will be REALLY appreciated!! THANKS!!!




--
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]