RE: Error upgrading from 1.1 to 1.2.4

2004-12-08 Thread Mick.Knutson
)
at 
weblogic.servlet.internal.WebAppServletContext.setStarted(WebAppServletContext.java:5647)
at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:869)
at 
weblogic.j2ee.J2EEApplicationContainer.start(J2EEApplicationContainer.java:2022)
at 
weblogic.j2ee.J2EEApplicationContainer.activate(J2EEApplicationContainer.java:2063)
at 
weblogic.management.deploy.slave.SlaveDeployer$ComponentActivateTask.activateContainer(SlaveDeployer.java:2592)
at 
weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.doCommit(SlaveDeployer.java:2515)
at 
weblogic.management.deploy.slave.SlaveDeployer$Task.commit(SlaveDeployer.java:2317)
at 
weblogic.management.deploy.slave.SlaveDeployer$Task.checkAutoCommit(SlaveDeployer.java:2399)
at 
weblogic.management.deploy.slave.SlaveDeployer$Task.prepare(SlaveDeployer.java:2311)
at 
weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.prepare(SlaveDeployer.java:2479)
at 
weblogic.management.deploy.slave.SlaveDeployer.processPrepareTask(SlaveDeployer.java:798)
at 
weblogic.management.deploy.slave.SlaveDeployer.prepareDelta(SlaveDeployer.java:507)
at 
weblogic.management.deploy.slave.SlaveDeployer.prepareUpdate(SlaveDeployer.java:465)
at 
weblogic.drs.internal.SlaveCallbackHandler$1.execute(SlaveCallbackHandler.java:25)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)















Mick Knutson
Wells Fargo Business Direct
(415) 222-1020

This message may contain confidential and/or privileged information. If you 
are not the addressee or authorized to receive this for the addressee, you must 
not use, copy, disclose, or take any action based on this message or any 
information herein. If you have received this message in error, please advise 
the sender immediately by reply e-mail and delete this message. Thank you for 
your cooperation.




-Original Message-
From: David G. Friedman [mailto:[EMAIL PROTECTED]
Sent: Tuesday, December 07, 2004 5:02 PM
To: Struts Users Mailing List
Subject: RE: Error upgrading from 1.1 to 1.2.4


Mick,

I copied your DTD's into my files (Struts-config.xml, tiles-defs.xml,
validation.xml, web.xml) and could not reproduce the error (I even did this
with my NIC disabled).  Scratch that idea.

How about this idea?  Is this a valid commented out section?

 !--init-param
param-nameapplication/param-name
param-valueApplicationResources/param-value
/init-param--

Shouldn't here be spaces after the opening !-- and before the closing -- ?

Regards,
David

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Tuesday, December 07, 2004 7:10 PM
To: [EMAIL PROTECTED]
Subject: RE: Error upgrading from 1.1 to 1.2.4



struts-config:
==
?xml version=1.0 encoding=iso-8859-1?
!DOCTYPE struts-config PUBLIC
  -//Apache Software Foundation//DTD Struts Configuration 1.2//EN
  http://struts.apache.org/dtds/struts-config_1_2.dtd;
...
message-resources parameter=ApplicationResources null=false /
message-resources parameter=LookupMethodMessageResources
key=BUTTONS_KEY null=false /



web.xml:
===
?xml version=1.0 encoding=iso-8859-1?
!DOCTYPE web-app PUBLIC
  -//Sun Microsystems, Inc.//DTD Web Application 2.3//EN
  http://java.sun.com/j2ee/dtds/web-app_2_2.dtd;

...
servlet
servlet-nameaction/servlet-name

servlet-classcom.wf.bd.ice.struts.ExtendedActionServlet/servlet-class
init-param
param-nameconfig/param-name
param-value/WEB-INF/struts-config.xml/param-value
/init-param
!-- Move this to the struts-config.xml file --
!--init-param
param-nameapplication/param-name
param-valueApplicationResources/param-value
/init-param--
init-param
param-namedetail/param-name
param-value2/param-value
/init-param
load-on-startup1/load-on-startup
/servlet




tiles-defs:
=
?xml version=1.0 encoding=ISO-8859-1 ?

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




validation:
===
?xml version=1.0 encoding=iso-8859-1?
!DOCTYPE form-validation PUBLIC
  -//Apache Software Foundation//DTD Commons Validator Rules
Configuration 1.1.3//EN
  http://jakarta.apache.org/commons/dtds/validator_1_1_3.dtd;




validation-wfb:
===
?xml version=1.0 encoding=iso-8859-1?
!DOCTYPE form-validation PUBLIC
  -//Apache Software Foundation//DTD Commons Validator Rules
Configuration 1.1.3//EN
  http://jakarta.apache.org/commons/dtds/validator_1_1_3.dtd;




validation-rules:
==
!DOCTYPE

RE: Error upgrading from 1.1 to 1.2.4

2004-12-08 Thread Jim Barrows


 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
 Sent: Wednesday, December 08, 2004 3:23 PM
 To: [EMAIL PROTECTED]
 Subject: RE: Error upgrading from 1.1 to 1.2.4
 Importance: High
 
 
 Ok, I have removed the xml comments I made and I still get an error:
 BEA-101216 Servlet: action failed to preload on startup 
 in Web application: /.
 (full error below)...

It looks like your xml is now being parsed with no dtd problems.

This looks like you have an action mapped to /.  Which is odd and probably 
is not the case.
What does the rest of your struts-config look like?





 
 Here are my various xml descriptors:
 
 
 web.xml:
 =
 ?xml version=1.0 encoding=iso-8859-1?
 !DOCTYPE web-app PUBLIC
   -//Sun Microsystems, Inc.//DTD Web Application 2.3//EN
   http://java.sun.com/dtds/web-app_2_3.dtd;
 
 
 web-app
 
 !--
 ==
 = --
 !-- Define the filters within the Web Application

--
 !--
 ==
 = --
 
 !--filter
 filter-nameSecurityFilter/filter-name

 filter-classcom.baselogic.yoursos.security.SecurityContextFi
 lter/filter-class
 init-param
 param-nameyoursos-application/param-name
 param-valueyoursos-policy/param-value
 /init-param
 /filter--
 
 !--filter-mapping
 filter-nameSecurityFilter/filter-name
 url-pattern/*/url-pattern
 /filter-mapping--
 
 !--
 ==
 = --
 !-- Standard Action Servlet Configuration (with 
 debugging)  
--
 !--
 ==
 = --
 
 servlet
 servlet-nameaction/servlet-name

 servlet-classcom.wf.bd.ice.struts.ExtendedActionServlet/ser
 vlet-class
 init-param
 param-nameconfig/param-name
 param-value/WEB-INF/struts-config.xml/param-value
 /init-param
 init-param
 param-namedetail/param-name
 param-value1/param-value
 /init-param
 load-on-startup1/load-on-startup
 /servlet
 
 
 
 
 
 
 struts-config.xml:
 ==
 ?xml version=1.0 encoding=iso-8859-1?
 !DOCTYPE struts-config PUBLIC
   -//Apache Software Foundation//DTD Struts Configuration
 1.2//EN
   http://struts.apache.org/dtds/struts-config_1_2.dtd;
 
 
 !--
  NOTE: If you have a generator tool to create the 
 corresponding Java
 classes
  for you, you could include the details in the form-bean
 declarations.
  Otherwise, you would only define the form-bean element itself,
 with the
  corresponding name and type attributes, as shown here.
 --
 
 struts-config
 
 
 
 
 
 
 validation-nbbc.xml:
 =
 ?xml version=1.0 encoding=iso-8859-1?
 !DOCTYPE form-validation PUBLIC
   -//Apache Software Foundation//DTD Commons Validator Rules
 Configuration 1.1.3//EN
   
 http://jakarta.apache.org/commons/dtds/validator_1_1_3.dtd;
 
 form-validation
 ...more
 
 
 
 
 
 
 
 validation-rules.xml:
 
 !DOCTYPE form-validation PUBLIC
   -//Apache Software Foundation//DTD Commons Validator Rules
 Configuration 1.1.3//EN
   
 http://jakarta.apache.org/commons/dtds/validator_1_1_3.dtd;
 
 
 
 
 
 
 
 
 tiles-defs.xml:
 =
 ?xml version=1.0 encoding=ISO-8859-1 ?
 
  !DOCTYPE tiles-definitions PUBLIC
-//Apache Software Foundation//DTD Tiles 
 Configuration 1.1//EN
http://struts.apache.org/dtds/tiles-config_1_1.dtd;
 
 tiles-definitions
 
 
 
 
 
 
 
 
 The ERROR I get:
 =
 Dec 8, 2004 2:12:50 PM PST Error HTTP BEA-101216 Servlet:
 action failed to preload on startup in Web application: /.
 javax.servlet.UnavailableException: Parsing error processing 
 resource path
 at 
 org.apache.struts.action.ActionServlet.handleConfigException(A
 ctionServlet.java:1035)
 at 
 org.apache.struts.action.ActionServlet.parseModuleConfigFile(A
 ctionServlet.java:1012)
 at 
 org.apache.struts.action.ActionServlet.initModuleConfig(Action
 Servlet.java:955)
 at 
 org.apache.struts.action.ActionServlet.init(ActionServlet.java:470)
 at 
 com.wf.bd.ice.struts.ExtendedActionServlet.init(ExtendedAction
 Servlet.java:38)
 at javax.servlet.GenericServlet.init(GenericServlet.java:258)
 at 
 weblogic.servlet.internal.ServletStubImpl$ServletInitAction.ru
 n(ServletStubImpl.java:993)
 at 
 weblogic.security.acl.internal.AuthenticatedSubject.doAs(Authe
 nticatedSubject.java:317)
 at 
 weblogic.security.service.SecurityManager.runAs(SecurityManage
 r.java:118)
 at 
 weblogic.servlet.internal.ServletStubImpl.createServlet

RE: Error upgrading from 1.1 to 1.2.4

2004-12-08 Thread Mick.Knutson
 module. The factory will 
be
  initialized with parameters found in the first initialized plugin 
(generally the
  one associated with the default module).
true : One factory per module. (default)
false : one single shared factory for all modules

- definitions-parser-validate: (optional)
  Specify if xml parser should validate the Tiles configuration file.
true : validate. DTD should be specified in file header. (default)
false : no validation

Paths found in Tiles definitions are relative to the main context.
--

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

plug-in className=org.apache.struts.validator.ValidatorPlugIn
set-property property=pathnames 
value=/WEB-INF/validator-rules.xml,/WEB-INF/validation.xml,/WEB-INF/validation_nbbc.xml
 /
/plug-in

plug-in className=com.wf.bd.ice.delegates.ServicesFactory /

/struts-config






Mick Knutson
Wells Fargo Business Direct
(415) 222-1020

This message may contain confidential and/or privileged information. If you 
are not the addressee or authorized to receive this for the addressee, you must 
not use, copy, disclose, or take any action based on this message or any 
information herein. If you have received this message in error, please advise 
the sender immediately by reply e-mail and delete this message. Thank you for 
your cooperation.




-Original Message-
From: Jim Barrows [mailto:[EMAIL PROTECTED]
Sent: Wednesday, December 08, 2004 2:28 PM
To: Struts Users Mailing List
Subject: RE: Error upgrading from 1.1 to 1.2.4




 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
 Sent: Wednesday, December 08, 2004 3:23 PM
 To: [EMAIL PROTECTED]
 Subject: RE: Error upgrading from 1.1 to 1.2.4
 Importance: High
 
 
 Ok, I have removed the xml comments I made and I still get an error:
 BEA-101216 Servlet: action failed to preload on startup 
 in Web application: /.
 (full error below)...

It looks like your xml is now being parsed with no dtd problems.

This looks like you have an action mapped to /.  Which is odd and probably 
is not the case.
What does the rest of your struts-config look like?





 
 Here are my various xml descriptors:
 
 
 web.xml:
 =
 ?xml version=1.0 encoding=iso-8859-1?
 !DOCTYPE web-app PUBLIC
   -//Sun Microsystems, Inc.//DTD Web Application 2.3//EN
   http://java.sun.com/dtds/web-app_2_3.dtd;
 
 
 web-app
 
 !--
 ==
 = --
 !-- Define the filters within the Web Application

--
 !--
 ==
 = --
 
 !--filter
 filter-nameSecurityFilter/filter-name

 filter-classcom.baselogic.yoursos.security.SecurityContextFi
 lter/filter-class
 init-param
 param-nameyoursos-application/param-name
 param-valueyoursos-policy/param-value
 /init-param
 /filter--
 
 !--filter-mapping
 filter-nameSecurityFilter/filter-name
 url-pattern/*/url-pattern
 /filter-mapping--
 
 !--
 ==
 = --
 !-- Standard Action Servlet Configuration (with 
 debugging)  
--
 !--
 ==
 = --
 
 servlet
 servlet-nameaction/servlet-name

 servlet-classcom.wf.bd.ice.struts.ExtendedActionServlet/ser
 vlet-class
 init-param
 param-nameconfig/param-name
 param-value/WEB-INF/struts-config.xml/param-value
 /init-param
 init-param
 param-namedetail/param-name
 param-value1/param-value
 /init-param
 load-on-startup1/load-on-startup
 /servlet
 
 
 
 
 
 
 struts-config.xml:
 ==
 ?xml version=1.0 encoding=iso-8859-1?
 !DOCTYPE struts-config PUBLIC
   -//Apache Software Foundation//DTD Struts Configuration
 1.2//EN
   http://struts.apache.org/dtds/struts-config_1_2.dtd;
 
 
 !--
  NOTE: If you have a generator tool to create the 
 corresponding Java
 classes
  for you, you could include the details in the form-bean
 declarations.
  Otherwise, you would only define the form-bean element itself,
 with the
  corresponding name and type attributes, as shown here.
 --
 
 struts-config
 
 
 
 
 
 
 validation-nbbc.xml:
 =
 ?xml version=1.0 encoding=iso-8859-1?
 !DOCTYPE form-validation PUBLIC
   -//Apache Software Foundation//DTD Commons Validator Rules

RE: Error upgrading from 1.1 to 1.2.4

2004-12-08 Thread David G. Friedman
Mick,

I think the point wasn't for you to post everything but to examine the path
attribute of your action-mappings and see if you listed any as empty () or
ONLY a slash /, i.e. not /SOMETHING.  If you do have  or /, you
shouldn't do that.  Instead, we recommend you set the attribute
unknown=true for that particular action mapping to be used for anything
which fails to match any other action mapping.  Think of it as a default
action for unmatched struts invocations.

Regards,
David

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Wednesday, December 08, 2004 6:03 PM
To: [EMAIL PROTECTED]
Subject: RE: Error upgrading from 1.1 to 1.2.4
Importance: High


struts-config

!--
=== --
!-- Standard Form Bean
--
!--
=== --

form-beans

form-bean name=logoutForm
   dynamic=true
   type=org.apache.struts.validator.DynaValidatorForm
form-property name=action type=java.lang.String /
/form-bean

form-bean name=applicationListForm
   dynamic=true
   type=org.apache.struts.validator.DynaValidatorForm
form-property name=action type=java.lang.String /
form-property name=actionMap type=java.util.Map /
form-property name=applicationId type=java.lang.String /
form-property name=savedApplicationList
type=java.util.Collection /
/form-bean

form-bean name=customerSelectionForm
   type=org.apache.struts.validator.DynaValidatorForm
form-property name=action type=java.lang.String /
form-property name=business type=java.lang.String /
form-property name=firstOwner type=java.lang.String /
form-property name=secondOwner type=java.lang.String /
/form-bean

form-bean name=offerSelectionForm
   type=org.apache.struts.validator.DynaValidatorForm
form-property name=action type=java.lang.String /
form-property name=disposition_creditCard
type=java.lang.String /
form-property name=disposition_loansAndLines
type=java.lang.String /
form-property name=cardType type=java.lang.String /
/form-bean

form-bean name=productSelectionForm
   type=com.wf.bd.ice.form.ProductSelectionForm
/form-bean

form-bean name=businessValidatorForm
   type=com.wf.bd.ice.business.BusinessValidatorForm
/form-bean

form-bean name=firstOwnerForm
   type=com.wf.bd.ice.guarantor.GuarantorValidatorForm
/form-bean

form-bean name=secondOwnerForm
   type=com.wf.bd.ice.guarantor.GuarantorValidatorForm
/form-bean

form-bean name=noSecondOwnerForm
   type=org.apache.struts.validator.DynaValidatorForm
form-property name=action type=java.lang.String /
form-property name=concludeMode type=java.lang.String /
/form-bean


form-bean name=businessLineValidatorForm
   type=com.wf.bd.ice.product.BusinessLineValidatorForm
/form-bean

form-bean name=noBusinessLineForm
   type=org.apache.struts.validator.DynaValidatorForm
form-property name=action type=java.lang.String /
form-property name=concludeMode type=java.lang.String /
/form-bean

form-bean name=businessCardValidatorForm
   type=com.wf.bd.ice.product.BusinessCardValidatorForm
/form-bean


form-bean name=noBusinessCardForm
   type=org.apache.struts.validator.DynaValidatorForm
form-property name=action type=java.lang.String /
form-property name=concludeMode type=java.lang.String /
/form-bean

form-bean name=securedCardValidatorForm
   type=com.wf.bd.ice.product.SecuredCardValidatorForm
/form-bean

form-bean name=noSecuredCardForm
   type=org.apache.struts.validator.DynaValidatorForm
form-property name=action type=java.lang.String /
form-property name=concludeMode type=java.lang.String /
/form-bean

form-bean name=equipmentExpressValidatorForm
   type=com.wf.bd.ice.product.EquipmentExpressValidatorForm

/form-bean

form-bean name=noEquipExpressForm
   type=org.apache.struts.validator.DynaValidatorForm
form-property name=action type=java.lang.String /
form-property name=concludeMode type=java.lang.String /
/form-bean

form-bean name=acceptanceAgreementForm
   type=org.apache.struts.validator.DynaValidatorForm
form-property name=action type=java.lang.String

RE: Error upgrading from 1.1 to 1.2.4

2004-12-08 Thread Mick.Knutson
The failure is actually when deploying the ear into web logic. So there is 
nothing that was called to get this error except starting up the action Servlet 
itself.

BTW, Sorry for posting so much.



Mick Knutson
Wells Fargo Business Direct
(415) 222-1020

This message may contain confidential and/or privileged information. If you 
are not the addressee or authorized to receive this for the addressee, you must 
not use, copy, disclose, or take any action based on this message or any 
information herein. If you have received this message in error, please advise 
the sender immediately by reply e-mail and delete this message. Thank you for 
your cooperation.




-Original Message-
From: David G. Friedman [mailto:[EMAIL PROTECTED]
Sent: Wednesday, December 08, 2004 3:12 PM
To: Struts Users Mailing List
Subject: RE: Error upgrading from 1.1 to 1.2.4


Mick,

I think the point wasn't for you to post everything but to examine the path
attribute of your action-mappings and see if you listed any as empty () or
ONLY a slash /, i.e. not /SOMETHING.  If you do have  or /, you
shouldn't do that.  Instead, we recommend you set the attribute
unknown=true for that particular action mapping to be used for anything
which fails to match any other action mapping.  Think of it as a default
action for unmatched struts invocations.

Regards,
David

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Wednesday, December 08, 2004 6:03 PM
To: [EMAIL PROTECTED]
Subject: RE: Error upgrading from 1.1 to 1.2.4
Importance: High


struts-config

!--
=== --
!-- Standard Form Bean
--
!--
=== --

form-beans

form-bean name=logoutForm
   dynamic=true
   type=org.apache.struts.validator.DynaValidatorForm
form-property name=action type=java.lang.String /
/form-bean

form-bean name=applicationListForm
   dynamic=true
   type=org.apache.struts.validator.DynaValidatorForm
form-property name=action type=java.lang.String /
form-property name=actionMap type=java.util.Map /
form-property name=applicationId type=java.lang.String /
form-property name=savedApplicationList
type=java.util.Collection /
/form-bean

form-bean name=customerSelectionForm
   type=org.apache.struts.validator.DynaValidatorForm
form-property name=action type=java.lang.String /
form-property name=business type=java.lang.String /
form-property name=firstOwner type=java.lang.String /
form-property name=secondOwner type=java.lang.String /
/form-bean

form-bean name=offerSelectionForm
   type=org.apache.struts.validator.DynaValidatorForm
form-property name=action type=java.lang.String /
form-property name=disposition_creditCard
type=java.lang.String /
form-property name=disposition_loansAndLines
type=java.lang.String /
form-property name=cardType type=java.lang.String /
/form-bean

form-bean name=productSelectionForm
   type=com.wf.bd.ice.form.ProductSelectionForm
/form-bean

form-bean name=businessValidatorForm
   type=com.wf.bd.ice.business.BusinessValidatorForm
/form-bean

form-bean name=firstOwnerForm
   type=com.wf.bd.ice.guarantor.GuarantorValidatorForm
/form-bean

form-bean name=secondOwnerForm
   type=com.wf.bd.ice.guarantor.GuarantorValidatorForm
/form-bean

form-bean name=noSecondOwnerForm
   type=org.apache.struts.validator.DynaValidatorForm
form-property name=action type=java.lang.String /
form-property name=concludeMode type=java.lang.String /
/form-bean


form-bean name=businessLineValidatorForm
   type=com.wf.bd.ice.product.BusinessLineValidatorForm
/form-bean

form-bean name=noBusinessLineForm
   type=org.apache.struts.validator.DynaValidatorForm
form-property name=action type=java.lang.String /
form-property name=concludeMode type=java.lang.String /
/form-bean

form-bean name=businessCardValidatorForm
   type=com.wf.bd.ice.product.BusinessCardValidatorForm
/form-bean


form-bean name=noBusinessCardForm
   type=org.apache.struts.validator.DynaValidatorForm
form-property name=action type=java.lang.String /
form-property name=concludeMode type=java.lang.String /
/form-bean

form-bean name=securedCardValidatorForm
   type

RE: Error upgrading from 1.1 to 1.2.4

2004-12-08 Thread David G. Friedman
Mick,

Have you tried commenting out all actions from your action-mappings segment
to see if it is specific to that section or if it is something else in the
config file?  When all else fails, the process of elimination helps.

Regards,
David

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Wednesday, December 08, 2004 6:51 PM
To: [EMAIL PROTECTED]
Subject: RE: Error upgrading from 1.1 to 1.2.4


So how to fix it? :-) just so you don't get bored. I am definitely not bored
right now, and actually wish this would end as I would prefer bored over
this... ;-)



Mick Knutson
Wells Fargo Business Direct
(415) 222-1020

This message may contain confidential and/or privileged information. If you
are not the addressee or authorized to receive this for the addressee, you
must not use, copy, disclose, or take any action based on this message or
any information herein. If you have received this message in error, please
advise the sender immediately by reply e-mail and delete this message. Thank
you for your cooperation.




-Original Message-
From: Jim Barrows [mailto:[EMAIL PROTECTED]
Sent: Wednesday, December 08, 2004 3:46 PM
To: Struts Users Mailing List
Subject: RE: Error upgrading from 1.1 to 1.2.4




 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
 Sent: Wednesday, December 08, 2004 4:42 PM
 To: [EMAIL PROTECTED]
 Subject: RE: Error upgrading from 1.1 to 1.2.4


 The failure is actually when deploying the ear into web
 logic. So there is nothing that was called to get this error
 except starting up the action Servlet itself.

 BTW, Sorry for posting so much.

Hey, keeps me from being bored.

Right... I think the error is being thrown as the servlet reads the
struts-config.xml file.



 
 Mick Knutson
 Wells Fargo Business Direct
 (415) 222-1020

 This message may contain confidential and/or privileged
 information. If you are not the addressee or authorized to
 receive this for the addressee, you must not use, copy,
 disclose, or take any action based on this message or any
 information herein. If you have received this message in
 error, please advise the sender immediately by reply e-mail
 and delete this message. Thank you for your cooperation.
 



 -Original Message-
 From: David G. Friedman [mailto:[EMAIL PROTECTED]
 Sent: Wednesday, December 08, 2004 3:12 PM
 To: Struts Users Mailing List
 Subject: RE: Error upgrading from 1.1 to 1.2.4


 Mick,

 I think the point wasn't for you to post everything but to
 examine the path
 attribute of your action-mappings and see if you listed any
 as empty () or
 ONLY a slash /, i.e. not /SOMETHING.  If you do have 
 or /, you
 shouldn't do that.  Instead, we recommend you set the attribute
 unknown=true for that particular action mapping to be used
 for anything
 which fails to match any other action mapping.  Think of it
 as a default
 action for unmatched struts invocations.

 Regards,
 David

 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
 Sent: Wednesday, December 08, 2004 6:03 PM
 To: [EMAIL PROTECTED]
 Subject: RE: Error upgrading from 1.1 to 1.2.4
 Importance: High


 struts-config

 !--
 ==
 = --
 !-- Standard Form Bean
 --
 !--
 ==
 = --

 form-beans

 form-bean name=logoutForm
  dynamic=true

 type=org.apache.struts.validator.DynaValidatorForm
 form-property name=action type=java.lang.String /
 /form-bean

 form-bean name=applicationListForm
  dynamic=true

 type=org.apache.struts.validator.DynaValidatorForm
 form-property name=action type=java.lang.String /
 form-property name=actionMap type=java.util.Map /
 form-property name=applicationId
 type=java.lang.String /
 form-property name=savedApplicationList
 type=java.util.Collection /
 /form-bean

 form-bean name=customerSelectionForm

 type=org.apache.struts.validator.DynaValidatorForm
 form-property name=action type=java.lang.String /
 form-property name=business type=java.lang.String /
 form-property name=firstOwner
 type=java.lang.String /
 form-property name=secondOwner
 type=java.lang.String /
 /form-bean

 form-bean name=offerSelectionForm

 type=org.apache.struts.validator.DynaValidatorForm
 form-property name=action type=java.lang.String /
 form-property name=disposition_creditCard
 type=java.lang.String /
 form-property name=disposition_loansAndLines
 type=java.lang.String /
 form-property name=cardType type=java.lang.String /
 /form-bean

 form-bean name=productSelectionForm

RE: Error upgrading from 1.1 to 1.2.4

2004-12-08 Thread Mick.Knutson
No luck. I commented out all my actions, and the error did not change.


Mick Knutson
Wells Fargo Business Direct
(415) 222-1020

This message may contain confidential and/or privileged information. If you 
are not the addressee or authorized to receive this for the addressee, you must 
not use, copy, disclose, or take any action based on this message or any 
information herein. If you have received this message in error, please advise 
the sender immediately by reply e-mail and delete this message. Thank you for 
your cooperation.




-Original Message-
From: David G. Friedman [mailto:[EMAIL PROTECTED]
Sent: Wednesday, December 08, 2004 3:57 PM
To: Struts Users Mailing List
Subject: RE: Error upgrading from 1.1 to 1.2.4


Mick,

Have you tried commenting out all actions from your action-mappings segment
to see if it is specific to that section or if it is something else in the
config file?  When all else fails, the process of elimination helps.

Regards,
David

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Wednesday, December 08, 2004 6:51 PM
To: [EMAIL PROTECTED]
Subject: RE: Error upgrading from 1.1 to 1.2.4


So how to fix it? :-) just so you don't get bored. I am definitely not bored
right now, and actually wish this would end as I would prefer bored over
this... ;-)



Mick Knutson
Wells Fargo Business Direct
(415) 222-1020

This message may contain confidential and/or privileged information. If you
are not the addressee or authorized to receive this for the addressee, you
must not use, copy, disclose, or take any action based on this message or
any information herein. If you have received this message in error, please
advise the sender immediately by reply e-mail and delete this message. Thank
you for your cooperation.




-Original Message-
From: Jim Barrows [mailto:[EMAIL PROTECTED]
Sent: Wednesday, December 08, 2004 3:46 PM
To: Struts Users Mailing List
Subject: RE: Error upgrading from 1.1 to 1.2.4




 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
 Sent: Wednesday, December 08, 2004 4:42 PM
 To: [EMAIL PROTECTED]
 Subject: RE: Error upgrading from 1.1 to 1.2.4


 The failure is actually when deploying the ear into web
 logic. So there is nothing that was called to get this error
 except starting up the action Servlet itself.

 BTW, Sorry for posting so much.

Hey, keeps me from being bored.

Right... I think the error is being thrown as the servlet reads the
struts-config.xml file.



 
 Mick Knutson
 Wells Fargo Business Direct
 (415) 222-1020

 This message may contain confidential and/or privileged
 information. If you are not the addressee or authorized to
 receive this for the addressee, you must not use, copy,
 disclose, or take any action based on this message or any
 information herein. If you have received this message in
 error, please advise the sender immediately by reply e-mail
 and delete this message. Thank you for your cooperation.
 



 -Original Message-
 From: David G. Friedman [mailto:[EMAIL PROTECTED]
 Sent: Wednesday, December 08, 2004 3:12 PM
 To: Struts Users Mailing List
 Subject: RE: Error upgrading from 1.1 to 1.2.4


 Mick,

 I think the point wasn't for you to post everything but to
 examine the path
 attribute of your action-mappings and see if you listed any
 as empty () or
 ONLY a slash /, i.e. not /SOMETHING.  If you do have 
 or /, you
 shouldn't do that.  Instead, we recommend you set the attribute
 unknown=true for that particular action mapping to be used
 for anything
 which fails to match any other action mapping.  Think of it
 as a default
 action for unmatched struts invocations.

 Regards,
 David
  -Original Message-
  From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED]
  Sent: Wednesday, December 08, 2004 3:23 PM
  To: [EMAIL PROTECTED]
  Subject: RE: Error upgrading from 1.1 to 1.2.4
  Importance: High
 
 
  Ok, I have removed the xml comments I made and I still get an error:
  BEA-101216 Servlet: action failed to preload on startup
  in Web application: /.
  (full error below)...

 It looks like your xml is now being parsed with no dtd problems.

 This looks like you have an action mapped to /.  Which is odd and
 probably is not the case.
 What does the rest of your struts-config look like?





 
  Here are my various xml descriptors:
  
 
  web.xml:
  =
  ?xml version=1.0 encoding=iso-8859-1?
  !DOCTYPE web-app PUBLIC
-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN
http://java.sun.com/dtds/web-app_2_3.dtd;
 
 
  web-app
 
  !--
  ==
  = --
  !-- Define the filters within the Web Application

RE: Error upgrading from 1.1 to 1.2.4

2004-12-08 Thread Mick.Knutson
Now I reverted all my xml files back to the original ones in cvs and then 
deployed and I get this error:

Parsing of JSP File '/WEB-INF/default/default.jsp' failed:

 /WEB-INF/default/default.jsp(5): Error in using tag library 
uri='/WEB-INF/struts-html.tld' prefix='html': The Tag class 
'org.apache.struts.taglib.html.FormTag' has no setter method corresponding to 
TLD declared attribute 'acceptCharset', (JSP 1.1 spec, 5.4.1)
probably occurred due to an error in /WEB-INF/default/default.jsp line 5:
%@ taglib uri=/WEB-INF/struts-html.tld prefix=html % 



I did still have all the correct 1.2.4 libs in place though.
Then, I added just the updated header for the struts-config.xml file to 1.2 and 
I get the same error as before

  Dec 8, 2004 2:12:50 PM PST Error HTTP BEA-101216 Servlet:
  action failed to preload on startup in Web application: /.
  javax.servlet.UnavailableException: Parsing error processing
  resource path



Mick Knutson
Wells Fargo Business Direct
(415) 222-1020

This message may contain confidential and/or privileged information. If you 
are not the addressee or authorized to receive this for the addressee, you must 
not use, copy, disclose, or take any action based on this message or any 
information herein. If you have received this message in error, please advise 
the sender immediately by reply e-mail and delete this message. Thank you for 
your cooperation.




-Original Message-
From: Knutson, Mick 
Sent: Wednesday, December 08, 2004 4:22 PM
To: 'Struts Users Mailing List'
Subject: RE: Error upgrading from 1.1 to 1.2.4


No luck. I commented out all my actions, and the error did not change.


Mick Knutson
Wells Fargo Business Direct
(415) 222-1020

This message may contain confidential and/or privileged information. If you 
are not the addressee or authorized to receive this for the addressee, you must 
not use, copy, disclose, or take any action based on this message or any 
information herein. If you have received this message in error, please advise 
the sender immediately by reply e-mail and delete this message. Thank you for 
your cooperation.




-Original Message-
From: David G. Friedman [mailto:[EMAIL PROTECTED]
Sent: Wednesday, December 08, 2004 3:57 PM
To: Struts Users Mailing List
Subject: RE: Error upgrading from 1.1 to 1.2.4


Mick,

Have you tried commenting out all actions from your action-mappings segment
to see if it is specific to that section or if it is something else in the
config file?  When all else fails, the process of elimination helps.

Regards,
David

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Wednesday, December 08, 2004 6:51 PM
To: [EMAIL PROTECTED]
Subject: RE: Error upgrading from 1.1 to 1.2.4


So how to fix it? :-) just so you don't get bored. I am definitely not bored
right now, and actually wish this would end as I would prefer bored over
this... ;-)



Mick Knutson
Wells Fargo Business Direct
(415) 222-1020

This message may contain confidential and/or privileged information. If you
are not the addressee or authorized to receive this for the addressee, you
must not use, copy, disclose, or take any action based on this message or
any information herein. If you have received this message in error, please
advise the sender immediately by reply e-mail and delete this message. Thank
you for your cooperation.




-Original Message-
From: Jim Barrows [mailto:[EMAIL PROTECTED]
Sent: Wednesday, December 08, 2004 3:46 PM
To: Struts Users Mailing List
Subject: RE: Error upgrading from 1.1 to 1.2.4




 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
 Sent: Wednesday, December 08, 2004 4:42 PM
 To: [EMAIL PROTECTED]
 Subject: RE: Error upgrading from 1.1 to 1.2.4


 The failure is actually when deploying the ear into web
 logic. So there is nothing that was called to get this error
 except starting up the action Servlet itself.

 BTW, Sorry for posting so much.

Hey, keeps me from being bored.

Right... I think the error is being thrown as the servlet reads the
struts-config.xml file.



 
 Mick Knutson
 Wells Fargo Business Direct
 (415) 222-1020

 This message may contain confidential and/or privileged
 information. If you are not the addressee or authorized to
 receive this for the addressee, you must not use, copy,
 disclose, or take any action based on this message or any
 information herein. If you have received this message in
 error, please advise the sender immediately by reply e-mail
 and delete this message. Thank you for your cooperation.
 



 -Original Message-
 From: David G. Friedman [mailto:[EMAIL PROTECTED]
 Sent

RE: Error upgrading from 1.1 to 1.2.4

2004-12-07 Thread Mick.Knutson
)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)

I have changed the web.xml descriptor header to -//Sun Microsystems, Inc.//DTD 
Web Application 2.3//EN, I why does the actual dtd refer to 2.2 as there is 
not a 2.3.dtd? I still have the same issues though.


Mick Knutson
Wells Fargo Business Direct
(415) 222-1020

This message may contain confidential and/or privileged information. If you 
are not the addressee or authorized to receive this for the addressee, you must 
not use, copy, disclose, or take any action based on this message or any 
information herein. If you have received this message in error, please advise 
the sender immediately by reply e-mail and delete this message. Thank you for 
your cooperation.




-Original Message-
From: Niall Pemberton [mailto:[EMAIL PROTECTED]
Sent: Monday, December 06, 2004 4:38 PM
To: Struts Users Mailing List
Subject: Re: Error upgrading from 1.1 to 1.2.4


Theres a typo in your declaration (you have DTD Struts Configuration 1.1):

!DOCTYPE struts-config PUBLIC
  -//Apache Software Foundation//DTD Struts Configuration 1.2//EN
  http://struts.apache.org/dtds/struts-config_1_2.dtd;

Upgrade notes are here:

http://wiki.apache.org/struts/StrutsUpgradeNotes11to124

Niall

- Original Message - 
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, December 07, 2004 12:04 AM
Subject: RE: Error upgrading from 1.1 to 1.2.4


Well, I tried that and now I get the same error in the struts-config file. I
have tried:

?xml version=1.0 encoding=iso-8859-1?
!DOCTYPE struts-config SYSTEM
  http://struts.apache.org/dtds/struts-config_1_2.dtd;

as well as:

?xml version=1.0 encoding=iso-8859-1?
!DOCTYPE struts-config PUBLIC
  -//Apache Software Foundation//DTD Struts Configuration
1.1//EN
  http://struts.apache.org/dtds/struts-config_1_2.dtd;





Mick Knutson
Wells Fargo Business Direct
(415) 222-1020

This message may contain confidential and/or privileged information. If you
are not the addressee or authorized to receive this for the addressee, you
must not use, copy, disclose, or take any action based on this message or
any information herein. If you have received this message in error, please
advise the sender immediately by reply e-mail and delete this message. Thank
you for your cooperation.




-Original Message-
From: David G. Friedman [mailto:[EMAIL PROTECTED]
Sent: Thursday, December 02, 2004 4:45 PM
To: Struts Users Mailing List
Subject: RE: Error upgrading from 1.1 to 1.2.4


Shouldn't you change PUBLIC to SYSTEM?  See changing PUBLIC to SYSTEM for a
local DTD in this page:
http://struts.apache.org/userGuide/installation-was352-x.html

Regards,
David

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Thursday, December 02, 2004 7:33 PM
To: [EMAIL PROTECTED]
Subject: Error upgrading from 1.1 to 1.2.4
Importance: High


I am trying to upgrade and I switched the jars and other files required from
the binary release. Then I updated the dtd declarations of my struts-config,
validation, validation-rules, and validation-nbbc (our project rules).
Everything compiles fine, but I get the following error when I deploy:

[INFO] TilesPlugin - Tiles definition factory loaded for module ''.
[INFO] ValidatorPlugIn - Loading validation rules file from
'/WEB-INF/validator-rules.xml'
[INFO] ValidatorPlugIn - Loading validation rules file from
'/WEB-INF/validation.xml'
[INFO] ValidatorPlugIn - Loading validation rules file from
'/WEB-INF/validation_nbbc.xml'
[ERROR] ValidatorPlugIn - jakarta.apache.org
java.net.UnknownHostException:
jakarta.apache.orgjava.net.UnknownHostException: jakarta.apache.org
at java.net.InetAddress.getAllByName0(InetAddress.java:1004)
at java.net.InetAddress.getAllByName0(InetAddress.java:969)
at java.net.InetAddress.getAllByName(InetAddress.java:963)
at weblogic.net.http.HttpClient.openServer(HttpClient.java:263)
at weblogic.net.http.HttpClient.openServer(HttpClient.java:327)
at weblogic.net.http.HttpClient.init(HttpClient.java:128)
at
weblogic.net.http.HttpURLConnection.getHttpClient(HttpURLConnection.java:127
)
at
weblogic.net.http.HttpURLConnection.getInputStream(HttpURLConnection.java:32
9)
at java.net.URL.openStream(URL.java:960)
at
weblogic.apache.xerces.impl.XMLEntityManager.startEntity(XMLEntityManager.ja
va:836)
at
weblogic.apache.xerces.impl.XMLEntityManager.startDTDEntity(XMLEntityManager
.java:796)
at
weblogic.apache.xerces.impl.XMLDTDScannerImpl.setInputSource(XMLDTDScannerIm
pl.java:275)
at
weblogic.apache.xerces.impl.XMLDocumentScannerImpl$DTDDispatcher.dispatch(XM
LDocumentScannerImpl.java:841

RE: Error upgrading from 1.1 to 1.2.4

2004-12-07 Thread David G. Friedman
Mick,

What is the DTD in your struts-config.xml file?

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Tuesday, December 07, 2004 6:50 PM
To: [EMAIL PROTECTED]
Subject: RE: Error upgrading from 1.1 to 1.2.4


Now I am getting another error after following those directions in my
application logs:

[INFO] PropertyMessageResources - Initializing,
config='org.apache.struts.util.LocalStrings', returnNull=true
[INFO] PropertyMessageResources - Initializing,
config='org.apache.struts.action.ActionResources', returnNull=true
[ERROR] ActionServlet - Parsing error processing resource path
java.net.UnknownHostException:
struts.apache.orgjava.net.UnknownHostException: struts.apache.org
at java.net.InetAddress.getAllByName0(InetAddress.java:1004)
at java.net.InetAddress.getAllByName0(InetAddress.java:969)
at java.net.InetAddress.getAllByName(InetAddress.java:963)
at weblogic.net.http.HttpClient.openServer(HttpClient.java:263)
at weblogic.net.http.HttpClient.openServer(HttpClient.java:327)
at weblogic.net.http.HttpClient.init(HttpClient.java:128)
at
weblogic.net.http.HttpURLConnection.getHttpClient(HttpURLConnection.java:127
)
at
weblogic.net.http.HttpURLConnection.getInputStream(HttpURLConnection.java:32
9)
at java.net.URL.openStream(URL.java:960)
at
weblogic.apache.xerces.impl.XMLEntityManager.startEntity(XMLEntityManager.ja
va:836)
at
weblogic.apache.xerces.impl.XMLEntityManager.startDTDEntity(XMLEntityManager
.java:796)
at
weblogic.apache.xerces.impl.XMLDTDScannerImpl.setInputSource(XMLDTDScannerIm
pl.java:275)
at
weblogic.apache.xerces.impl.XMLDocumentScannerImpl$DTDDispatcher.dispatch(XM
LDocumentScannerImpl.java:841)
at
weblogic.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLD
ocumentFragmentScannerImpl.java:329)
at
weblogic.apache.xerces.parsers.DTDConfiguration.parse(DTDConfiguration.java:
525)
at
weblogic.apache.xerces.parsers.DTDConfiguration.parse(DTDConfiguration.java:
581)
at
weblogic.apache.xerces.parsers.XMLParser.parse(XMLParser.java:152)
at
weblogic.apache.xerces.parsers.AbstractSAXParser.parse(AbstractSAXParser.jav
a:1175)
at
weblogic.xml.jaxp.WebLogicXMLReader.parse(WebLogicXMLReader.java:135)
at
weblogic.xml.jaxp.RegistryXMLReader.parse(RegistryXMLReader.java:138)
at org.apache.commons.digester.Digester.parse(Digester.java:1548)
at
org.apache.struts.action.ActionServlet.parseModuleConfigFile(ActionServlet.j
ava:1006)
at
org.apache.struts.action.ActionServlet.initModuleConfig(ActionServlet.java:9
55)
at
org.apache.struts.action.ActionServlet.init(ActionServlet.java:470)
at
com.wf.bd.ice.struts.ExtendedActionServlet.init(ExtendedActionServlet.java:3
8)
at javax.servlet.GenericServlet.init(GenericServlet.java:258)
at
weblogic.servlet.internal.ServletStubImpl$ServletInitAction.run(ServletStubI
mpl.java:993)
at
weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubjec
t.java:317)
at
weblogic.security.service.SecurityManager.runAs(SecurityManager.java:118)
at
weblogic.servlet.internal.ServletStubImpl.createServlet(ServletStubImpl.java
:869)
at
weblogic.servlet.internal.ServletStubImpl.createInstances(ServletStubImpl.ja
va:848)
at
weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl.jav
a:787)
at
weblogic.servlet.internal.WebAppServletContext.preloadServlet(WebAppServletC
ontext.java:3252)
at
weblogic.servlet.internal.WebAppServletContext.preloadServlets(WebAppServlet
Context.java:3209)
at
weblogic.servlet.internal.WebAppServletContext.preloadServlets(WebAppServlet
Context.java:3195)
at
weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServle
tContext.java:3174)
at
weblogic.servlet.internal.WebAppServletContext.setStarted(WebAppServletConte
xt.java:5647)
at
weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:869)
at
weblogic.j2ee.J2EEApplicationContainer.start(J2EEApplicationContainer.java:2
022)
at
weblogic.j2ee.J2EEApplicationContainer.activate(J2EEApplicationContainer.jav
a:2063)
at
weblogic.management.deploy.slave.SlaveDeployer$ComponentActivateTask.activat
eContainer(SlaveDeployer.java:2592)
at
weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.doCommit(SlaveDe
ployer.java:2515)
at
weblogic.management.deploy.slave.SlaveDeployer$Task.commit(SlaveDeployer.jav
a:2317)
at
weblogic.management.deploy.slave.SlaveDeployer$Task.checkAutoCommit(SlaveDep
loyer.java:2399)
at weblogic.ma
agement.deploy.slave.SlaveDeployer$Task.prepare(SlaveDeployer.java:2311)
at
weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.prepare(SlaveDep
loyer.java:2479

RE: Error upgrading from 1.1 to 1.2.4

2004-12-07 Thread Mick.Knutson
$ActivateTask.prepare(SlaveDeployer.java:2479)
at 
weblogic.management.deploy.slave.SlaveDeployer.processPrepareTask(SlaveDeployer.java:798)
at 
weblogic.management.deploy.slave.SlaveDeployer.prepareDelta(SlaveDeployer.java:507)
at 
weblogic.management.deploy.slave.SlaveDeployer.prepareUpdate(SlaveDeployer.java:465)
at 
weblogic.drs.internal.SlaveCallbackHandler$1.execute(SlaveCallbackHandler.java:25)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)
 





Mick Knutson
Wells Fargo Business Direct
(415) 222-1020

This message may contain confidential and/or privileged information. If you 
are not the addressee or authorized to receive this for the addressee, you must 
not use, copy, disclose, or take any action based on this message or any 
information herein. If you have received this message in error, please advise 
the sender immediately by reply e-mail and delete this message. Thank you for 
your cooperation.




-Original Message-
From: David G. Friedman [mailto:[EMAIL PROTECTED]
Sent: Tuesday, December 07, 2004 3:57 PM
To: Struts Users Mailing List
Subject: RE: Error upgrading from 1.1 to 1.2.4


Mick,

What is the DTD in your struts-config.xml file?

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Tuesday, December 07, 2004 6:50 PM
To: [EMAIL PROTECTED]
Subject: RE: Error upgrading from 1.1 to 1.2.4


Now I am getting another error after following those directions in my
application logs:

[INFO] PropertyMessageResources - Initializing,
config='org.apache.struts.util.LocalStrings', returnNull=true
[INFO] PropertyMessageResources - Initializing,
config='org.apache.struts.action.ActionResources', returnNull=true
[ERROR] ActionServlet - Parsing error processing resource path
java.net.UnknownHostException:
struts.apache.orgjava.net.UnknownHostException: struts.apache.org
at java.net.InetAddress.getAllByName0(InetAddress.java:1004)
at java.net.InetAddress.getAllByName0(InetAddress.java:969)
at java.net.InetAddress.getAllByName(InetAddress.java:963)
at weblogic.net.http.HttpClient.openServer(HttpClient.java:263)
at weblogic.net.http.HttpClient.openServer(HttpClient.java:327)
at weblogic.net.http.HttpClient.init(HttpClient.java:128)
at
weblogic.net.http.HttpURLConnection.getHttpClient(HttpURLConnection.java:127
)
at
weblogic.net.http.HttpURLConnection.getInputStream(HttpURLConnection.java:32
9)
at java.net.URL.openStream(URL.java:960)
at
weblogic.apache.xerces.impl.XMLEntityManager.startEntity(XMLEntityManager.ja
va:836)
at
weblogic.apache.xerces.impl.XMLEntityManager.startDTDEntity(XMLEntityManager
.java:796)
at
weblogic.apache.xerces.impl.XMLDTDScannerImpl.setInputSource(XMLDTDScannerIm
pl.java:275)
at
weblogic.apache.xerces.impl.XMLDocumentScannerImpl$DTDDispatcher.dispatch(XM
LDocumentScannerImpl.java:841)
at
weblogic.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLD
ocumentFragmentScannerImpl.java:329)
at
weblogic.apache.xerces.parsers.DTDConfiguration.parse(DTDConfiguration.java:
525)
at
weblogic.apache.xerces.parsers.DTDConfiguration.parse(DTDConfiguration.java:
581)
at
weblogic.apache.xerces.parsers.XMLParser.parse(XMLParser.java:152)
at
weblogic.apache.xerces.parsers.AbstractSAXParser.parse(AbstractSAXParser.jav
a:1175)
at
weblogic.xml.jaxp.WebLogicXMLReader.parse(WebLogicXMLReader.java:135)
at
weblogic.xml.jaxp.RegistryXMLReader.parse(RegistryXMLReader.java:138)
at org.apache.commons.digester.Digester.parse(Digester.java:1548)
at
org.apache.struts.action.ActionServlet.parseModuleConfigFile(ActionServlet.j
ava:1006)
at
org.apache.struts.action.ActionServlet.initModuleConfig(ActionServlet.java:9
55)
at
org.apache.struts.action.ActionServlet.init(ActionServlet.java:470)
at
com.wf.bd.ice.struts.ExtendedActionServlet.init(ExtendedActionServlet.java:3
8)
at javax.servlet.GenericServlet.init(GenericServlet.java:258)
at
weblogic.servlet.internal.ServletStubImpl$ServletInitAction.run(ServletStubI
mpl.java:993)
at
weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubjec
t.java:317)
at
weblogic.security.service.SecurityManager.runAs(SecurityManager.java:118)
at
weblogic.servlet.internal.ServletStubImpl.createServlet(ServletStubImpl.java
:869)
at
weblogic.servlet.internal.ServletStubImpl.createInstances(ServletStubImpl.ja
va:848)
at
weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl.jav
a:787)
at
weblogic.servlet.internal.WebAppServletContext.preloadServlet(WebAppServletC
ontext.java:3252)
at
weblogic.servlet.internal.WebAppServletContext.preloadServlets(WebAppServlet
Context.java:3209

RE: Error upgrading from 1.1 to 1.2.4

2004-12-07 Thread David G. Friedman
Mick,

I copied your DTD's into my files (Struts-config.xml, tiles-defs.xml,
validation.xml, web.xml) and could not reproduce the error (I even did this
with my NIC disabled).  Scratch that idea.

How about this idea?  Is this a valid commented out section?

 !--init-param
param-nameapplication/param-name
param-valueApplicationResources/param-value
/init-param--

Shouldn't here be spaces after the opening !-- and before the closing -- ?

Regards,
David

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Tuesday, December 07, 2004 7:10 PM
To: [EMAIL PROTECTED]
Subject: RE: Error upgrading from 1.1 to 1.2.4



struts-config:
==
?xml version=1.0 encoding=iso-8859-1?
!DOCTYPE struts-config PUBLIC
  -//Apache Software Foundation//DTD Struts Configuration 1.2//EN
  http://struts.apache.org/dtds/struts-config_1_2.dtd;
...
message-resources parameter=ApplicationResources null=false /
message-resources parameter=LookupMethodMessageResources
key=BUTTONS_KEY null=false /



web.xml:
===
?xml version=1.0 encoding=iso-8859-1?
!DOCTYPE web-app PUBLIC
  -//Sun Microsystems, Inc.//DTD Web Application 2.3//EN
  http://java.sun.com/j2ee/dtds/web-app_2_2.dtd;

...
servlet
servlet-nameaction/servlet-name

servlet-classcom.wf.bd.ice.struts.ExtendedActionServlet/servlet-class
init-param
param-nameconfig/param-name
param-value/WEB-INF/struts-config.xml/param-value
/init-param
!-- Move this to the struts-config.xml file --
!--init-param
param-nameapplication/param-name
param-valueApplicationResources/param-value
/init-param--
init-param
param-namedetail/param-name
param-value2/param-value
/init-param
load-on-startup1/load-on-startup
/servlet




tiles-defs:
=
?xml version=1.0 encoding=ISO-8859-1 ?

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




validation:
===
?xml version=1.0 encoding=iso-8859-1?
!DOCTYPE form-validation PUBLIC
  -//Apache Software Foundation//DTD Commons Validator Rules
Configuration 1.1.3//EN
  http://jakarta.apache.org/commons/dtds/validator_1_1_3.dtd;




validation-wfb:
===
?xml version=1.0 encoding=iso-8859-1?
!DOCTYPE form-validation PUBLIC
  -//Apache Software Foundation//DTD Commons Validator Rules
Configuration 1.1.3//EN
  http://jakarta.apache.org/commons/dtds/validator_1_1_3.dtd;




validation-rules:
==
!DOCTYPE form-validation PUBLIC
  -//Apache Software Foundation//DTD Commons Validator Rules
Configuration 1.1.3//EN
  http://jakarta.apache.org/commons/dtds/validator_1_1_3.dtd;



Here is the 500 error I get on the UI:





Error 503--Service Unavailable
javax.servlet.UnavailableException: Parsing error processing resource path
at
org.apache.struts.action.ActionServlet.handleConfigException(ActionServlet.j
ava:1035)
at
org.apache.struts.action.ActionServlet.parseModuleConfigFile(ActionServlet.j
ava:1012)
at
org.apache.struts.action.ActionServlet.initModuleConfig(ActionServlet.java:9
55)
at org.apache.struts.action.ActionServlet.init(ActionServlet.java:470)
at
com.wf.bd.ice.struts.ExtendedActionServlet.init(ExtendedActionServlet.java:3
8)
at javax.servlet.GenericServlet.init(GenericServlet.java:258)
at
weblogic.servlet.internal.ServletStubImpl$ServletInitAction.run(ServletStubI
mpl.java:993)
at
weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubjec
t.java:317)
at
weblogic.security.service.SecurityManager.runAs(SecurityManager.java:118)
at
weblogic.servlet.internal.ServletStubImpl.createServlet(ServletStubImpl.java
:869)
at
weblogic.servlet.internal.ServletStubImpl.createInstances(ServletStubImpl.ja
va:848)
at
weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl.jav
a:787)
at
weblogic.servlet.internal.WebAppServletContext.preloadServlet(WebAppServletC
ontext.java:3252)
at
weblogic.servlet.internal.WebAppServletContext.preloadServlets(WebAppServlet
Context.java:3209)
at
weblogic.servlet.internal.WebAppServletContext.preloadServlets(WebAppServlet
Context.java:3195)
at
weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServle
tContext.java:3174)
at
weblogic.servlet.internal.WebAppServletContext.setStarted(WebAppServletConte
xt.java:5647)
at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:869)
at
weblogic.j2ee.J2EEApplicationContainer.start(J2EEApplicationContainer.java:2
022

RE: Error upgrading from 1.1 to 1.2.4

2004-12-07 Thread Mick.Knutson
I just got handed a production emergency task. So maybe I will get back to this 
late tomorrow then let you know


Mick Knutson
Wells Fargo Business Direct
(415) 222-1020

This message may contain confidential and/or privileged information. If you 
are not the addressee or authorized to receive this for the addressee, you must 
not use, copy, disclose, or take any action based on this message or any 
information herein. If you have received this message in error, please advise 
the sender immediately by reply e-mail and delete this message. Thank you for 
your cooperation.




-Original Message-
From: David G. Friedman [mailto:[EMAIL PROTECTED]
Sent: Tuesday, December 07, 2004 5:02 PM
To: Struts Users Mailing List
Subject: RE: Error upgrading from 1.1 to 1.2.4


Mick,

I copied your DTD's into my files (Struts-config.xml, tiles-defs.xml,
validation.xml, web.xml) and could not reproduce the error (I even did this
with my NIC disabled).  Scratch that idea.

How about this idea?  Is this a valid commented out section?

 !--init-param
param-nameapplication/param-name
param-valueApplicationResources/param-value
/init-param--

Shouldn't here be spaces after the opening !-- and before the closing -- ?

Regards,
David

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Tuesday, December 07, 2004 7:10 PM
To: [EMAIL PROTECTED]
Subject: RE: Error upgrading from 1.1 to 1.2.4



struts-config:
==
?xml version=1.0 encoding=iso-8859-1?
!DOCTYPE struts-config PUBLIC
  -//Apache Software Foundation//DTD Struts Configuration 1.2//EN
  http://struts.apache.org/dtds/struts-config_1_2.dtd;
...
message-resources parameter=ApplicationResources null=false /
message-resources parameter=LookupMethodMessageResources
key=BUTTONS_KEY null=false /



web.xml:
===
?xml version=1.0 encoding=iso-8859-1?
!DOCTYPE web-app PUBLIC
  -//Sun Microsystems, Inc.//DTD Web Application 2.3//EN
  http://java.sun.com/j2ee/dtds/web-app_2_2.dtd;

...
servlet
servlet-nameaction/servlet-name

servlet-classcom.wf.bd.ice.struts.ExtendedActionServlet/servlet-class
init-param
param-nameconfig/param-name
param-value/WEB-INF/struts-config.xml/param-value
/init-param
!-- Move this to the struts-config.xml file --
!--init-param
param-nameapplication/param-name
param-valueApplicationResources/param-value
/init-param--
init-param
param-namedetail/param-name
param-value2/param-value
/init-param
load-on-startup1/load-on-startup
/servlet




tiles-defs:
=
?xml version=1.0 encoding=ISO-8859-1 ?

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




validation:
===
?xml version=1.0 encoding=iso-8859-1?
!DOCTYPE form-validation PUBLIC
  -//Apache Software Foundation//DTD Commons Validator Rules
Configuration 1.1.3//EN
  http://jakarta.apache.org/commons/dtds/validator_1_1_3.dtd;




validation-wfb:
===
?xml version=1.0 encoding=iso-8859-1?
!DOCTYPE form-validation PUBLIC
  -//Apache Software Foundation//DTD Commons Validator Rules
Configuration 1.1.3//EN
  http://jakarta.apache.org/commons/dtds/validator_1_1_3.dtd;




validation-rules:
==
!DOCTYPE form-validation PUBLIC
  -//Apache Software Foundation//DTD Commons Validator Rules
Configuration 1.1.3//EN
  http://jakarta.apache.org/commons/dtds/validator_1_1_3.dtd;



Here is the 500 error I get on the UI:





Error 503--Service Unavailable
javax.servlet.UnavailableException: Parsing error processing resource path
at
org.apache.struts.action.ActionServlet.handleConfigException(ActionServlet.j
ava:1035)
at
org.apache.struts.action.ActionServlet.parseModuleConfigFile(ActionServlet.j
ava:1012)
at
org.apache.struts.action.ActionServlet.initModuleConfig(ActionServlet.java:9
55)
at org.apache.struts.action.ActionServlet.init(ActionServlet.java:470)
at
com.wf.bd.ice.struts.ExtendedActionServlet.init(ExtendedActionServlet.java:3
8)
at javax.servlet.GenericServlet.init(GenericServlet.java:258)
at
weblogic.servlet.internal.ServletStubImpl$ServletInitAction.run(ServletStubI
mpl.java:993)
at
weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubjec
t.java:317)
at
weblogic.security.service.SecurityManager.runAs(SecurityManager.java:118)
at
weblogic.servlet.internal.ServletStubImpl.createServlet(ServletStubImpl.java
:869)
at
weblogic.servlet.internal.ServletStubImpl.createInstances(ServletStubImpl.ja
va

RE: Error upgrading from 1.1 to 1.2.4

2004-12-06 Thread Mick.Knutson
Well, I tried that and now I get the same error in the struts-config file. I 
have tried:

?xml version=1.0 encoding=iso-8859-1?
!DOCTYPE struts-config SYSTEM
  http://struts.apache.org/dtds/struts-config_1_2.dtd;

as well as:

?xml version=1.0 encoding=iso-8859-1?
!DOCTYPE struts-config PUBLIC
  -//Apache Software Foundation//DTD Struts Configuration
1.1//EN
  http://struts.apache.org/dtds/struts-config_1_2.dtd;





Mick Knutson
Wells Fargo Business Direct
(415) 222-1020

This message may contain confidential and/or privileged information. If you 
are not the addressee or authorized to receive this for the addressee, you must 
not use, copy, disclose, or take any action based on this message or any 
information herein. If you have received this message in error, please advise 
the sender immediately by reply e-mail and delete this message. Thank you for 
your cooperation.




-Original Message-
From: David G. Friedman [mailto:[EMAIL PROTECTED]
Sent: Thursday, December 02, 2004 4:45 PM
To: Struts Users Mailing List
Subject: RE: Error upgrading from 1.1 to 1.2.4


Shouldn't you change PUBLIC to SYSTEM?  See changing PUBLIC to SYSTEM for a
local DTD in this page:
http://struts.apache.org/userGuide/installation-was352-x.html

Regards,
David

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Thursday, December 02, 2004 7:33 PM
To: [EMAIL PROTECTED]
Subject: Error upgrading from 1.1 to 1.2.4
Importance: High


I am trying to upgrade and I switched the jars and other files required from
the binary release. Then I updated the dtd declarations of my struts-config,
validation, validation-rules, and validation-nbbc (our project rules).
Everything compiles fine, but I get the following error when I deploy:

[INFO] TilesPlugin - Tiles definition factory loaded for module ''.
[INFO] ValidatorPlugIn - Loading validation rules file from
'/WEB-INF/validator-rules.xml'
[INFO] ValidatorPlugIn - Loading validation rules file from
'/WEB-INF/validation.xml'
[INFO] ValidatorPlugIn - Loading validation rules file from
'/WEB-INF/validation_nbbc.xml'
[ERROR] ValidatorPlugIn - jakarta.apache.org
java.net.UnknownHostException:
jakarta.apache.orgjava.net.UnknownHostException: jakarta.apache.org
at java.net.InetAddress.getAllByName0(InetAddress.java:1004)
at java.net.InetAddress.getAllByName0(InetAddress.java:969)
at java.net.InetAddress.getAllByName(InetAddress.java:963)
at weblogic.net.http.HttpClient.openServer(HttpClient.java:263)
at weblogic.net.http.HttpClient.openServer(HttpClient.java:327)
at weblogic.net.http.HttpClient.init(HttpClient.java:128)
at
weblogic.net.http.HttpURLConnection.getHttpClient(HttpURLConnection.java:127
)
at
weblogic.net.http.HttpURLConnection.getInputStream(HttpURLConnection.java:32
9)
at java.net.URL.openStream(URL.java:960)
at
weblogic.apache.xerces.impl.XMLEntityManager.startEntity(XMLEntityManager.ja
va:836)
at
weblogic.apache.xerces.impl.XMLEntityManager.startDTDEntity(XMLEntityManager
.java:796)
at
weblogic.apache.xerces.impl.XMLDTDScannerImpl.setInputSource(XMLDTDScannerIm
pl.java:275)
at
weblogic.apache.xerces.impl.XMLDocumentScannerImpl$DTDDispatcher.dispatch(XM
LDocumentScannerImpl.java:841)
at
weblogic.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLD
ocumentFragmentScannerImpl.java:329)
at
weblogic.apache.xerces.parsers.DTDConfiguration.parse(DTDConfiguration.java:
525)
at
weblogic.apache.xerces.parsers.DTDConfiguration.parse(DTDConfiguration.java:
581)
at
weblogic.apache.xerces.parsers.XMLParser.parse(XMLParser.java:152)
at
weblogic.apache.xerces.parsers.AbstractSAXParser.parse(AbstractSAXParser.jav
a:1175)
at
weblogic.xml.jaxp.WebLogicXMLReader.parse(WebLogicXMLReader.java:135)
at
weblogic.xml.jaxp.RegistryXMLReader.parse(RegistryXMLReader.java:138)
at org.apache.commons.digester.Digester.parse(Digester.java:1567)
at
org.apache.commons.validator.ValidatorResources.init(ValidatorResources.ja
va:159)
at
org.apache.struts.validator.ValidatorPlugIn.initResources(ValidatorPlugIn.ja
va:233)
at
org.apache.struts.validator.ValidatorPlugIn.init(ValidatorPlugIn.java:164)
at
org.apache.struts.action.ActionServlet.initModulePlugIns(ActionServlet.java:
839)
at
org.apache.struts.action.ActionServlet.init(ActionServlet.java:332)
at
com.wf.bd.ice.struts.ExtendedActionServlet.init(ExtendedActionServlet.java:3
8)
at javax.servlet.GenericServlet.init(GenericServlet.java:258)
at
weblogic.servlet.internal.ServletStubImpl$ServletInitAction.run(ServletStubI
mpl.java:993)
at
weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubjec
t.java:317)
at
weblogic.security.service.SecurityManager.runAs(SecurityManager.java:118

RE: Error upgrading from 1.1 to 1.2.4

2004-12-06 Thread Mick.Knutson
Well, I tried that and now I get the same error in the struts-config file. I 
have tried:

?xml version=1.0 encoding=iso-8859-1?
!DOCTYPE struts-config SYSTEM
  http://struts.apache.org/dtds/struts-config_1_2.dtd;

as well as:

?xml version=1.0 encoding=iso-8859-1?
!DOCTYPE struts-config PUBLIC
  -//Apache Software Foundation//DTD Struts Configuration
1.1//EN
  http://struts.apache.org/dtds/struts-config_1_2.dtd;





Mick Knutson
Wells Fargo Business Direct
(415) 222-1020

This message may contain confidential and/or privileged information. If you 
are not the addressee or authorized to receive this for the addressee, you must 
not use, copy, disclose, or take any action based on this message or any 
information herein. If you have received this message in error, please advise 
the sender immediately by reply e-mail and delete this message. Thank you for 
your cooperation.




-Original Message-
From: David G. Friedman [mailto:[EMAIL PROTECTED]
Sent: Thursday, December 02, 2004 4:45 PM
To: Struts Users Mailing List
Subject: RE: Error upgrading from 1.1 to 1.2.4


Shouldn't you change PUBLIC to SYSTEM?  See changing PUBLIC to SYSTEM for a
local DTD in this page:
http://struts.apache.org/userGuide/installation-was352-x.html

Regards,
David

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Thursday, December 02, 2004 7:33 PM
To: [EMAIL PROTECTED]
Subject: Error upgrading from 1.1 to 1.2.4
Importance: High


I am trying to upgrade and I switched the jars and other files required from
the binary release. Then I updated the dtd declarations of my struts-config,
validation, validation-rules, and validation-nbbc (our project rules).
Everything compiles fine, but I get the following error when I deploy:

[INFO] TilesPlugin - Tiles definition factory loaded for module ''.
[INFO] ValidatorPlugIn - Loading validation rules file from
'/WEB-INF/validator-rules.xml'
[INFO] ValidatorPlugIn - Loading validation rules file from
'/WEB-INF/validation.xml'
[INFO] ValidatorPlugIn - Loading validation rules file from
'/WEB-INF/validation_nbbc.xml'
[ERROR] ValidatorPlugIn - jakarta.apache.org
java.net.UnknownHostException:
jakarta.apache.orgjava.net.UnknownHostException: jakarta.apache.org
at java.net.InetAddress.getAllByName0(InetAddress.java:1004)
at java.net.InetAddress.getAllByName0(InetAddress.java:969)
at java.net.InetAddress.getAllByName(InetAddress.java:963)
at weblogic.net.http.HttpClient.openServer(HttpClient.java:263)
at weblogic.net.http.HttpClient.openServer(HttpClient.java:327)
at weblogic.net.http.HttpClient.init(HttpClient.java:128)
at
weblogic.net.http.HttpURLConnection.getHttpClient(HttpURLConnection.java:127
)
at
weblogic.net.http.HttpURLConnection.getInputStream(HttpURLConnection.java:32
9)
at java.net.URL.openStream(URL.java:960)
at
weblogic.apache.xerces.impl.XMLEntityManager.startEntity(XMLEntityManager.ja
va:836)
at
weblogic.apache.xerces.impl.XMLEntityManager.startDTDEntity(XMLEntityManager
.java:796)
at
weblogic.apache.xerces.impl.XMLDTDScannerImpl.setInputSource(XMLDTDScannerIm
pl.java:275)
at
weblogic.apache.xerces.impl.XMLDocumentScannerImpl$DTDDispatcher.dispatch(XM
LDocumentScannerImpl.java:841)
at
weblogic.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLD
ocumentFragmentScannerImpl.java:329)
at
weblogic.apache.xerces.parsers.DTDConfiguration.parse(DTDConfiguration.java:
525)
at
weblogic.apache.xerces.parsers.DTDConfiguration.parse(DTDConfiguration.java:
581)
at
weblogic.apache.xerces.parsers.XMLParser.parse(XMLParser.java:152)
at
weblogic.apache.xerces.parsers.AbstractSAXParser.parse(AbstractSAXParser.jav
a:1175)
at
weblogic.xml.jaxp.WebLogicXMLReader.parse(WebLogicXMLReader.java:135)
at
weblogic.xml.jaxp.RegistryXMLReader.parse(RegistryXMLReader.java:138)
at org.apache.commons.digester.Digester.parse(Digester.java:1567)
at
org.apache.commons.validator.ValidatorResources.init(ValidatorResources.ja
va:159)
at
org.apache.struts.validator.ValidatorPlugIn.initResources(ValidatorPlugIn.ja
va:233)
at
org.apache.struts.validator.ValidatorPlugIn.init(ValidatorPlugIn.java:164)
at
org.apache.struts.action.ActionServlet.initModulePlugIns(ActionServlet.java:
839)
at
org.apache.struts.action.ActionServlet.init(ActionServlet.java:332)
at
com.wf.bd.ice.struts.ExtendedActionServlet.init(ExtendedActionServlet.java:3
8)
at javax.servlet.GenericServlet.init(GenericServlet.java:258)
at
weblogic.servlet.internal.ServletStubImpl$ServletInitAction.run(ServletStubI
mpl.java:993)
at
weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubjec
t.java:317)
at
weblogic.security.service.SecurityManager.runAs(SecurityManager.java:118

RE: Error upgrading from 1.1 to 1.2.4

2004-12-06 Thread Mick.Knutson
Well, I tried that and now I get the same error in the struts-config file. I 
have tried:

?xml version=1.0 encoding=iso-8859-1?
!DOCTYPE struts-config SYSTEM
   http://struts.apache.org/dtds/struts-config_1_2.dtd;

as well as:

?xml version=1.0 encoding=iso-8859-1?
!DOCTYPE struts-config PUBLIC
  -//Apache Software Foundation//DTD Struts Configuration
1.1//EN
   http://struts.apache.org/dtds/struts-config_1_2.dtd;





Mick Knutson
Wells Fargo Business Direct
(415) 222-1020

This message may contain confidential and/or privileged information. If you 
are not the addressee or authorized to receive this for the addressee, you must 
not use, copy, disclose, or take any action based on this message or any 
information herein. If you have received this message in error, please advise 
the sender immediately by reply e-mail and delete this message. Thank you for 
your cooperation.




-Original Message-
From: David G. Friedman [ mailto:[EMAIL PROTECTED]
Sent: Thursday, December 02, 2004 4:45 PM
To: Struts Users Mailing List
Subject: RE: Error upgrading from 1.1 to 1.2.4


Shouldn't you change PUBLIC to SYSTEM?  See changing PUBLIC to SYSTEM for a
local DTD in this page:
http://struts.apache.org/userGuide/installation-was352-x.html

Regards,
David

-Original Message-
From: [EMAIL PROTECTED] [ mailto:[EMAIL PROTECTED]
Sent: Thursday, December 02, 2004 7:33 PM
To: [EMAIL PROTECTED]
Subject: Error upgrading from 1.1 to 1.2.4
Importance: High


I am trying to upgrade and I switched the jars and other files required from
the binary release. Then I updated the dtd declarations of my struts-config,
validation, validation-rules, and validation-nbbc (our project rules).
Everything compiles fine, but I get the following error when I deploy:

[INFO] TilesPlugin - Tiles definition factory loaded for module ''.
[INFO] ValidatorPlugIn - Loading validation rules file from
'/WEB-INF/validator-rules.xml'
[INFO] ValidatorPlugIn - Loading validation rules file from
'/WEB-INF/validation.xml'
[INFO] ValidatorPlugIn - Loading validation rules file from
'/WEB-INF/validation_nbbc.xml'
[ERROR] ValidatorPlugIn - jakarta.apache.org
java.net.UnknownHostException:
jakarta.apache.orgjava.net.UnknownHostException: jakarta.apache.org
at java.net.InetAddress.getAllByName0(InetAddress.java:1004)
at java.net.InetAddress.getAllByName0(InetAddress.java:969)
at java.net.InetAddress.getAllByName(InetAddress.java:963)
at weblogic.net.http.HttpClient.openServer(HttpClient.java:263)
at weblogic.net.http.HttpClient.openServer(HttpClient.java:327)
at weblogic.net.http.HttpClient.init(HttpClient.java:128)
at
weblogic.net.http.HttpURLConnection.getHttpClient(HttpURLConnection.java:127
)
at
weblogic.net.http.HttpURLConnection.getInputStream(HttpURLConnection.java:32
9)
at java.net.URL.openStream(URL.java:960)
at
weblogic.apache.xerces.impl.XMLEntityManager.startEntity(XMLEntityManager.ja
va:836)
at
weblogic.apache.xerces.impl.XMLEntityManager.startDTDEntity(XMLEntityManager
.java:796)
at
weblogic.apache.xerces.impl.XMLDTDScannerImpl.setInputSource(XMLDTDScannerIm
pl.java:275)
at
weblogic.apache.xerces.impl.XMLDocumentScannerImpl$DTDDispatcher.dispatch(XM
LDocumentScannerImpl.java:841)
at
weblogic.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLD
ocumentFragmentScannerImpl.java:329)
at
weblogic.apache.xerces.parsers.DTDConfiguration.parse(DTDConfiguration.java:
525)
at
weblogic.apache.xerces.parsers.DTDConfiguration.parse(DTDConfiguration.java:
581)
at
weblogic.apache.xerces.parsers.XMLParser.parse(XMLParser.java:152)
at
weblogic.apache.xerces.parsers.AbstractSAXParser.parse(AbstractSAXParser.jav
a:1175)
at
weblogic.xml.jaxp.WebLogicXMLReader.parse(WebLogicXMLReader.java:135)
at
weblogic.xml.jaxp.RegistryXMLReader.parse(RegistryXMLReader.java:138)
at org.apache.commons.digester.Digester.parse(Digester.java:1567)
at
org.apache.commons.validator.ValidatorResources.init(ValidatorResources.ja
va:159)
at
org.apache.struts.validator.ValidatorPlugIn.initResources(ValidatorPlugIn.ja
va:233)
at
org.apache.struts.validator.ValidatorPlugIn.init(ValidatorPlugIn.java:164)
at
org.apache.struts.action.ActionServlet.initModulePlugIns(ActionServlet.java:
839)
at
org.apache.struts.action.ActionServlet.init(ActionServlet.java:332)
at
com.wf.bd.ice.struts.ExtendedActionServlet.init(ExtendedActionServlet.java:3
8)
at javax.servlet.GenericServlet.init(GenericServlet.java:258)
at
weblogic.servlet.internal.ServletStubImpl$ServletInitAction.run(ServletStubI
mpl.java:993)
at
weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubjec
t.java:317)
at
weblogic.security.service.SecurityManager.runAs(SecurityManager.java:118

Re: Error upgrading from 1.1 to 1.2.4

2004-12-06 Thread Niall Pemberton
Theres a typo in your declaration (you have DTD Struts Configuration 1.1):

!DOCTYPE struts-config PUBLIC
  -//Apache Software Foundation//DTD Struts Configuration 1.2//EN
  http://struts.apache.org/dtds/struts-config_1_2.dtd;

Upgrade notes are here:

http://wiki.apache.org/struts/StrutsUpgradeNotes11to124

Niall

- Original Message - 
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, December 07, 2004 12:04 AM
Subject: RE: Error upgrading from 1.1 to 1.2.4


Well, I tried that and now I get the same error in the struts-config file. I
have tried:

?xml version=1.0 encoding=iso-8859-1?
!DOCTYPE struts-config SYSTEM
  http://struts.apache.org/dtds/struts-config_1_2.dtd;

as well as:

?xml version=1.0 encoding=iso-8859-1?
!DOCTYPE struts-config PUBLIC
  -//Apache Software Foundation//DTD Struts Configuration
1.1//EN
  http://struts.apache.org/dtds/struts-config_1_2.dtd;





Mick Knutson
Wells Fargo Business Direct
(415) 222-1020

This message may contain confidential and/or privileged information. If you
are not the addressee or authorized to receive this for the addressee, you
must not use, copy, disclose, or take any action based on this message or
any information herein. If you have received this message in error, please
advise the sender immediately by reply e-mail and delete this message. Thank
you for your cooperation.




-Original Message-
From: David G. Friedman [mailto:[EMAIL PROTECTED]
Sent: Thursday, December 02, 2004 4:45 PM
To: Struts Users Mailing List
Subject: RE: Error upgrading from 1.1 to 1.2.4


Shouldn't you change PUBLIC to SYSTEM?  See changing PUBLIC to SYSTEM for a
local DTD in this page:
http://struts.apache.org/userGuide/installation-was352-x.html

Regards,
David

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Thursday, December 02, 2004 7:33 PM
To: [EMAIL PROTECTED]
Subject: Error upgrading from 1.1 to 1.2.4
Importance: High


I am trying to upgrade and I switched the jars and other files required from
the binary release. Then I updated the dtd declarations of my struts-config,
validation, validation-rules, and validation-nbbc (our project rules).
Everything compiles fine, but I get the following error when I deploy:

[INFO] TilesPlugin - Tiles definition factory loaded for module ''.
[INFO] ValidatorPlugIn - Loading validation rules file from
'/WEB-INF/validator-rules.xml'
[INFO] ValidatorPlugIn - Loading validation rules file from
'/WEB-INF/validation.xml'
[INFO] ValidatorPlugIn - Loading validation rules file from
'/WEB-INF/validation_nbbc.xml'
[ERROR] ValidatorPlugIn - jakarta.apache.org
java.net.UnknownHostException:
jakarta.apache.orgjava.net.UnknownHostException: jakarta.apache.org
at java.net.InetAddress.getAllByName0(InetAddress.java:1004)
at java.net.InetAddress.getAllByName0(InetAddress.java:969)
at java.net.InetAddress.getAllByName(InetAddress.java:963)
at weblogic.net.http.HttpClient.openServer(HttpClient.java:263)
at weblogic.net.http.HttpClient.openServer(HttpClient.java:327)
at weblogic.net.http.HttpClient.init(HttpClient.java:128)
at
weblogic.net.http.HttpURLConnection.getHttpClient(HttpURLConnection.java:127
)
at
weblogic.net.http.HttpURLConnection.getInputStream(HttpURLConnection.java:32
9)
at java.net.URL.openStream(URL.java:960)
at
weblogic.apache.xerces.impl.XMLEntityManager.startEntity(XMLEntityManager.ja
va:836)
at
weblogic.apache.xerces.impl.XMLEntityManager.startDTDEntity(XMLEntityManager
.java:796)
at
weblogic.apache.xerces.impl.XMLDTDScannerImpl.setInputSource(XMLDTDScannerIm
pl.java:275)
at
weblogic.apache.xerces.impl.XMLDocumentScannerImpl$DTDDispatcher.dispatch(XM
LDocumentScannerImpl.java:841)
at
weblogic.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLD
ocumentFragmentScannerImpl.java:329)
at
weblogic.apache.xerces.parsers.DTDConfiguration.parse(DTDConfiguration.java:
525)
at
weblogic.apache.xerces.parsers.DTDConfiguration.parse(DTDConfiguration.java:
581)
at
weblogic.apache.xerces.parsers.XMLParser.parse(XMLParser.java:152)
at
weblogic.apache.xerces.parsers.AbstractSAXParser.parse(AbstractSAXParser.jav
a:1175)
at
weblogic.xml.jaxp.WebLogicXMLReader.parse(WebLogicXMLReader.java:135)
at
weblogic.xml.jaxp.RegistryXMLReader.parse(RegistryXMLReader.java:138)
at org.apache.commons.digester.Digester.parse(Digester.java:1567)
at
org.apache.commons.validator.ValidatorResources.init(ValidatorResources.ja
va:159)
at
org.apache.struts.validator.ValidatorPlugIn.initResources(ValidatorPlugIn.ja
va:233)
at
org.apache.struts.validator.ValidatorPlugIn.init(ValidatorPlugIn.java:164)
at
org.apache.struts.action.ActionServlet.initModulePlugIns(ActionServlet.java:
839

RE: Error upgrading from 1.1 to 1.2.4

2004-12-02 Thread David G. Friedman
Shouldn't you change PUBLIC to SYSTEM?  See changing PUBLIC to SYSTEM for a
local DTD in this page:
http://struts.apache.org/userGuide/installation-was352-x.html

Regards,
David

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Thursday, December 02, 2004 7:33 PM
To: [EMAIL PROTECTED]
Subject: Error upgrading from 1.1 to 1.2.4
Importance: High


I am trying to upgrade and I switched the jars and other files required from
the binary release. Then I updated the dtd declarations of my struts-config,
validation, validation-rules, and validation-nbbc (our project rules).
Everything compiles fine, but I get the following error when I deploy:

[INFO] TilesPlugin - Tiles definition factory loaded for module ''.
[INFO] ValidatorPlugIn - Loading validation rules file from
'/WEB-INF/validator-rules.xml'
[INFO] ValidatorPlugIn - Loading validation rules file from
'/WEB-INF/validation.xml'
[INFO] ValidatorPlugIn - Loading validation rules file from
'/WEB-INF/validation_nbbc.xml'
[ERROR] ValidatorPlugIn - jakarta.apache.org
java.net.UnknownHostException:
jakarta.apache.orgjava.net.UnknownHostException: jakarta.apache.org
at java.net.InetAddress.getAllByName0(InetAddress.java:1004)
at java.net.InetAddress.getAllByName0(InetAddress.java:969)
at java.net.InetAddress.getAllByName(InetAddress.java:963)
at weblogic.net.http.HttpClient.openServer(HttpClient.java:263)
at weblogic.net.http.HttpClient.openServer(HttpClient.java:327)
at weblogic.net.http.HttpClient.init(HttpClient.java:128)
at
weblogic.net.http.HttpURLConnection.getHttpClient(HttpURLConnection.java:127
)
at
weblogic.net.http.HttpURLConnection.getInputStream(HttpURLConnection.java:32
9)
at java.net.URL.openStream(URL.java:960)
at
weblogic.apache.xerces.impl.XMLEntityManager.startEntity(XMLEntityManager.ja
va:836)
at
weblogic.apache.xerces.impl.XMLEntityManager.startDTDEntity(XMLEntityManager
.java:796)
at
weblogic.apache.xerces.impl.XMLDTDScannerImpl.setInputSource(XMLDTDScannerIm
pl.java:275)
at
weblogic.apache.xerces.impl.XMLDocumentScannerImpl$DTDDispatcher.dispatch(XM
LDocumentScannerImpl.java:841)
at
weblogic.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLD
ocumentFragmentScannerImpl.java:329)
at
weblogic.apache.xerces.parsers.DTDConfiguration.parse(DTDConfiguration.java:
525)
at
weblogic.apache.xerces.parsers.DTDConfiguration.parse(DTDConfiguration.java:
581)
at
weblogic.apache.xerces.parsers.XMLParser.parse(XMLParser.java:152)
at
weblogic.apache.xerces.parsers.AbstractSAXParser.parse(AbstractSAXParser.jav
a:1175)
at
weblogic.xml.jaxp.WebLogicXMLReader.parse(WebLogicXMLReader.java:135)
at
weblogic.xml.jaxp.RegistryXMLReader.parse(RegistryXMLReader.java:138)
at org.apache.commons.digester.Digester.parse(Digester.java:1567)
at
org.apache.commons.validator.ValidatorResources.init(ValidatorResources.ja
va:159)
at
org.apache.struts.validator.ValidatorPlugIn.initResources(ValidatorPlugIn.ja
va:233)
at
org.apache.struts.validator.ValidatorPlugIn.init(ValidatorPlugIn.java:164)
at
org.apache.struts.action.ActionServlet.initModulePlugIns(ActionServlet.java:
839)
at
org.apache.struts.action.ActionServlet.init(ActionServlet.java:332)
at
com.wf.bd.ice.struts.ExtendedActionServlet.init(ExtendedActionServlet.java:3
8)
at javax.servlet.GenericServlet.init(GenericServlet.java:258)
at
weblogic.servlet.internal.ServletStubImpl$ServletInitAction.run(ServletStubI
mpl.java:993)
at
weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubjec
t.java:317)
at
weblogic.security.service.SecurityManager.runAs(SecurityManager.java:118)
at
weblogic.servlet.internal.ServletStubImpl.createServlet(ServletStubImpl.java
:869)
at
weblogic.servlet.internal.ServletStubImpl.createInstances(ServletStubImpl.ja
va:848)
at
weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl.jav
a:787)
at weblogic.servlet.internal.WebAppServletContext.preloadServlet
WebAppServletContext.java:3252)
at
weblogic.servlet.internal.WebAppServletContext.preloadServlets(WebAppServlet
Context.java:3209)
at
weblogic.servlet.internal.WebAppServletContext.preloadServlets(WebAppServlet
Context.java:3195)
at
weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServle
tContext.java:3174)
at
weblogic.servlet.internal.WebAppServletContext.setStarted(WebAppServletConte
xt.java:5647)
at
weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:869)
at
weblogic.j2ee.J2EEApplicationContainer.start(J2EEApplicationContainer.java:2
022)
at
weblogic.j2ee.J2EEApplicationContainer.activate(J2EEApplicationContainer.jav
a:2063)
at