RE: Struts related problem..!

2006-04-21 Thread Santosh Koti








 

Well thanks , Manu , I have tried putting
a new version jars , what all jars are required , onlu struts.jar file or even
those ‘common-*’ set of jar files also…?

 



Thanks,

Santosh.

"Don't talk about yourself; it
will be done when you leave. "



 

-Original Message-
From: Manu George
[mailto:[EMAIL PROTECTED] 
Sent: Friday, April 21, 2006 11:56
AM
To: user@geronimo.apache.org
Subject: Re: Struts related
problem..!

 

Hi Santosh,
  
The errors you are getting like Element type "plug-in"
must be declared. mean that that version does not support these tags. So
probably you areusing a newer version in weblogic not an older version.

Regards
Manu







 CAUTION - Disclaimer *
This e-mail contains PRIVILEGED AND CONFIDENTIAL INFORMATION intended solely for the use of the addressee(s). If you are not the intended recipient, please notify the sender by e-mail and delete the original message. Further, you are not to copy, disclose, or distribute this e-mail or its contents to any other person and any such actions are unlawful. This e-mail may contain viruses. Infosys has taken every reasonable precaution to minimize this risk, but is not liable for any damage you may sustain as a result of any virus in this e-mail. You should carry out your own virus checks before opening the e-mail or attachment. Infosys reserves the right to monitor and review the content of all messages sent to or from this e-mail address. Messages sent to or from this e-mail address may be stored on the Infosys e-mail system.
***INFOSYS End of Disclaimer INFOSYS***


Re: Struts related problem..!

2006-04-20 Thread Manu George
Hi Santosh,
  
The errors you are getting like
Element type "plug-in" must be declared. mean that that version does
not support these tags. So probably you areusing a newer version in
weblogic not an older version.

Regards
Manu



Re: Struts related problem..!

2006-04-20 Thread Manu George
Hi Santosh,
  
The errors seem to have been caused due to the struts config not being
compliant with the dtd of struts version you are using. One reason I
can think of why it worked in weblogic is that weblogic may have had
the older version of struts in its path somewhere and that got picked
up instead. 

Regards
Manu On 4/20/06, Santosh Koti <[EMAIL PROTECTED]> wrote:














 

Hi Guys,

 

I am trying to deploy  a sample
application  to the WAS CE. 

 

Deployment: 

Following are the steps taken for deployement:

1.   
Entity Beans
got deployed (involved writing openejb-jar.xml for entity/session beans).

2.   
CMR
relationships resolved 

3.   
Created DataBase
pool through Database-deployment plan (mydb-plan.xml file)

4.   
Accordingly
updated application.xml, Geronimo-appilcation.xml, 

 

  Deployment
Status: Properly deployed.

 

Runtime Testing:

 
 While
testing the RI, we got the following errors:





a) Struts-related -
Problems:

  
 Problem Description:    

 
Server throws the following logs , every time a jsp is called out.
Basically we
use tiles in our presentation layout.

 
The 'tiles' tag is not identified by the server. As a result we
cannot see any tiles on our JSPs. 

 

1.   
org.xml.sax.SAXParseException:
Element type "controller" must be declared.

2.   
org.apache.commons.digester.Digester  
- Parse Error at line 864 column 70: Element type "message-resources"
must be   declared.

  org.xml.sax.SAXParseException:
Element type "message-resources" must be declared.

3.
org.xml.sax.SAXParseException:
Element type "plug-in" must be declared.

4.
org.apache.commons.digester.Digester  
- Parse Error at line 880 column 17: The content of element type "struts-config"
must match "(data-sources?,form-beans?,global-forwards?,action-mappings?)".

  org.xml.sax.SAXParseException:
The content of element type "struts-config" must match "(data-sources?,form-beans?,global-


  forwards?,action-mappings?)".

 

 

 

Ofcourse
from the log (point no.4) it clearly says that the  struts-config is
compliant with older DTD version but not the latest one. I don't know the
same application was working fine in weblogic. Any leads…?

 

Thanks
in Advance..for ur
 help !

  


Thanks,

Santosh.

 

 

 

"Don't talk about yourself; it will be done when you
leave. "

 







 CAUTION - Disclaimer *
This e-mail contains PRIVILEGED AND CONFIDENTIAL INFORMATION intended
solely for the use of the addressee(s). If you are not the intended
recipient, please notify the sender by e-mail and delete the original
message. Further, you are not to copy, disclose, or distribute this
e-mail or its contents to any other person and any such actions are
unlawful. This e-mail may contain viruses. Infosys has taken every
reasonable precaution to minimize this risk, but is not liable for any
damage you may sustain as a result of any virus in this e-mail. You
should carry out your own virus checks before opening the e-mail or
attachment. Infosys reserves the right to monitor and review the
content of all messages sent to or from this e-mail address. Messages
sent to or from this e-mail address may be stored on the Infosys e-mail
system.
***INFOSYS End of Disclaimer INFOSYS***




Struts related problem..!

2006-04-20 Thread Santosh Koti








 

Hi Guys,

 

I am trying to deploy  a sample
application  to the WAS CE. 

 

Deployment: 

Following are the steps taken for deployement:

1.   Entity Beans
got deployed (involved writing openejb-jar.xml for entity/session beans).

2.   CMR
relationships resolved 

3.   Created DataBase
pool through Database-deployment plan (mydb-plan.xml file)

4.   Accordingly
updated application.xml, Geronimo-appilcation.xml, 

 

  Deployment
Status: Properly deployed.

 

Runtime Testing:

  While
testing the RI, we got the following errors:





a) Struts-related -
Problems:

  
 Problem Description:    

 
Server throws the following logs , every time a jsp is called out. Basically we
use tiles in our presentation layout.

 
The ‘tiles’ tag is not identified by the server. As a result we
cannot see any tiles on our JSPs. 

 

1.   org.xml.sax.SAXParseException:
Element type "controller" must be declared.

2.   org.apache.commons.digester.Digester  
- Parse Error at line 864 column 70: Element type "message-resources"
must be   declared.

  org.xml.sax.SAXParseException:
Element type "message-resources" must be declared.

3.org.xml.sax.SAXParseException:
Element type "plug-in" must be declared.

4.org.apache.commons.digester.Digester  
- Parse Error at line 880 column 17: The content of element type "struts-config"
must match "(data-sources?,form-beans?,global-forwards?,action-mappings?)".

  org.xml.sax.SAXParseException:
The content of element type "struts-config" must match "(data-sources?,form-beans?,global-


  forwards?,action-mappings?)".

 

 

 

Ofcourse
from the log (point no.4) it clearly says that the  struts-config is
compliant with older DTD version but not the latest one. I don’t know the
same application was working fine in weblogic. Any leads…?

 

Thanks
in Advance..for ur help !

  


Thanks,

Santosh.

 

 

 

"Don't talk about yourself; it will be done when you
leave. "

 







 CAUTION - Disclaimer *
This e-mail contains PRIVILEGED AND CONFIDENTIAL INFORMATION intended solely for the use of the addressee(s). If you are not the intended recipient, please notify the sender by e-mail and delete the original message. Further, you are not to copy, disclose, or distribute this e-mail or its contents to any other person and any such actions are unlawful. This e-mail may contain viruses. Infosys has taken every reasonable precaution to minimize this risk, but is not liable for any damage you may sustain as a result of any virus in this e-mail. You should carry out your own virus checks before opening the e-mail or attachment. Infosys reserves the right to monitor and review the content of all messages sent to or from this e-mail address. Messages sent to or from this e-mail address may be stored on the Infosys e-mail system.
***INFOSYS End of Disclaimer INFOSYS***