RE: Re-deploying in JBoss3.2.3
I generally explode the ear and war files creating a directory structure in the 'deploy' directory. I can then added and amend JSP's at will within the directory structure. If I have a new class or changed any of the xml's (struts-config, tiles-config) then I simply touch the application.xml and Jboss goes ahead and runs through a re-deployment. Hope this helps. -- Marc -Original Message- From: Ramadoss Chinnakuzhandai [mailto:[EMAIL PROTECTED] Sent: 26 January 2004 19:32 To: [EMAIL PROTECTED] Subject: Re-deploying in JBoss3.2.3 Importance: High Hi, Can anybody suggest me Is there anyway I can avoid re-deploy the ear file contains war again and again whenever we make changes to JSP's in JBoss 3.2.3 bundle with Tomcat 4.1.29..? earlier we were running separate container(JBoss and Tomcat as different container) and were able to re-deploy the war file without affecting the ear. Thank you in advance. -Ramadoss - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Issue
Hi All, I can't seem to set the value of the 'name' attribute this tag renders, it is always name="". Could someone enlighten me on how to set this attribute? Kind regards, -- Marc - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Message Resources Problem?
Aha! There seems to have been something odd about the DOCTYPE defined in the struts-config.xml The Struts Console could not read the file. So, I re-did the DOCTYPE and... No more exceptions! Many thanks. Kind regards, -- Marc -Original Message- From: James Mitchell [mailto:[EMAIL PROTECTED] Sent: 13 June 2003 16:21 To: Struts Users Mailing List Subject: Re: Message Resources Problem? Ok, first thing I would do is verify that the entry for your struts-config is correct in your web.xml. Next thing I would do is deploy the ear expanded instead of packaged and play around with various settings.such as moving around the elements in the struts-config (in case you've gotten them out of order. Touch the web.xml and JBoss will instantly redploy your app. Verify the struts-config by using the Struts Cosole by James Holmes: http://jamesholmes.com/struts Hope this helps -- James Mitchell Software Developer/Struts Evangelist http://www.struts-atlanta.org 770-822-3359 AIM:jmitchtx - Original Message - From: "Marc L. Veary" <[EMAIL PROTECTED]> To: "'Struts Users Mailing List'" <[EMAIL PROTECTED]> Sent: Friday, June 13, 2003 11:08 AM Subject: RE: Message Resources Problem? > I am using ant to automate a WAR contained in an EAR and this is then copied > directly to the deploy directory of JBoss. > > Regards, > -- > Marc > > > -Original Message- > From: James Mitchell [mailto:[EMAIL PROTECTED] > Sent: 13 June 2003 16:01 > To: Struts Users Mailing List > Subject: Re: Message Resources Problem? > > > Marc, are you deploying a .war file or do you use the exploded format? > > > -- > James Mitchell > Software Developer/Struts Evangelist > http://www.struts-atlanta.org > 770-822-3359 > AIM:jmitchtx > > > - Original Message - > From: <[EMAIL PROTECTED]> > To: "Struts Users Mailing List" <[EMAIL PROTECTED]> > Sent: Friday, June 13, 2003 10:53 AM > Subject: Re: Message Resources Problem? > > > > Hi Marc, > > > > I have pretty much the same configuration as you do (jboss, struts, > > jdk1.4.1). > > > > I don't know what is causing your exceptions. But I can tell you that I > > don't suffer the same problem. > > So my guess is that something is wrong. > > > > Sorry, can't help you any further. > > > > Cheers, > > > > Harm. > > > > > > > > > > "Marc L. Veary" <[EMAIL PROTECTED]> > > 06/13/2003 04:49 PM > > Please respond to > > "Struts Users Mailing List" <[EMAIL PROTECTED]> > > > > > > To > > "'Struts Users Mailing List'" <[EMAIL PROTECTED]> > > cc > > > > Subject > > Message Resources Problem? > > > > > > > > > > > > > > Hi > > > > I have: > > > > jakarta-struts-1.1-b3, JBoss 3.2.1, JDK 1.3.1_08 > > > > A simple application which uses and everything > > works, except > > when a JSP is rendered which contains one or more of the above tag JBoss > > shows some exceptions: > > > > Element type "message-resource" must be declared > > > > and: > > > > Element type "plug-in must be declared > > > > These elements are present in the struts-config.xml, and the message > > resource is being read, > > it is just these odd exceptions? > > > > Any clues would be gratefully recieved. > > > > Kindly, > > -- > > Marc (A Newbie to Struts) > > > > > > - > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > > > > - > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Message Resources Problem?
Thanks for the help. I'll go and do this right now, and let you know the results. Cheers m8... Regards, -- Marc -Original Message- From: James Mitchell [mailto:[EMAIL PROTECTED] Sent: 13 June 2003 16:21 To: Struts Users Mailing List Subject: Re: Message Resources Problem? Ok, first thing I would do is verify that the entry for your struts-config is correct in your web.xml. Next thing I would do is deploy the ear expanded instead of packaged and play around with various settings.such as moving around the elements in the struts-config (in case you've gotten them out of order. Touch the web.xml and JBoss will instantly redploy your app. Verify the struts-config by using the Struts Cosole by James Holmes: http://jamesholmes.com/struts Hope this helps -- James Mitchell Software Developer/Struts Evangelist http://www.struts-atlanta.org 770-822-3359 AIM:jmitchtx - Original Message ----- From: "Marc L. Veary" <[EMAIL PROTECTED]> To: "'Struts Users Mailing List'" <[EMAIL PROTECTED]> Sent: Friday, June 13, 2003 11:08 AM Subject: RE: Message Resources Problem? > I am using ant to automate a WAR contained in an EAR and this is then copied > directly to the deploy directory of JBoss. > > Regards, > -- > Marc > > > -Original Message- > From: James Mitchell [mailto:[EMAIL PROTECTED] > Sent: 13 June 2003 16:01 > To: Struts Users Mailing List > Subject: Re: Message Resources Problem? > > > Marc, are you deploying a .war file or do you use the exploded format? > > > -- > James Mitchell > Software Developer/Struts Evangelist > http://www.struts-atlanta.org > 770-822-3359 > AIM:jmitchtx > > > - Original Message - > From: <[EMAIL PROTECTED]> > To: "Struts Users Mailing List" <[EMAIL PROTECTED]> > Sent: Friday, June 13, 2003 10:53 AM > Subject: Re: Message Resources Problem? > > > > Hi Marc, > > > > I have pretty much the same configuration as you do (jboss, struts, > > jdk1.4.1). > > > > I don't know what is causing your exceptions. But I can tell you that I > > don't suffer the same problem. > > So my guess is that something is wrong. > > > > Sorry, can't help you any further. > > > > Cheers, > > > > Harm. > > > > > > > > > > "Marc L. Veary" <[EMAIL PROTECTED]> > > 06/13/2003 04:49 PM > > Please respond to > > "Struts Users Mailing List" <[EMAIL PROTECTED]> > > > > > > To > > "'Struts Users Mailing List'" <[EMAIL PROTECTED]> > > cc > > > > Subject > > Message Resources Problem? > > > > > > > > > > > > > > Hi > > > > I have: > > > > jakarta-struts-1.1-b3, JBoss 3.2.1, JDK 1.3.1_08 > > > > A simple application which uses and everything > > works, except > > when a JSP is rendered which contains one or more of the above tag JBoss > > shows some exceptions: > > > > Element type "message-resource" must be declared > > > > and: > > > > Element type "plug-in must be declared > > > > These elements are present in the struts-config.xml, and the message > > resource is being read, > > it is just these odd exceptions? > > > > Any clues would be gratefully recieved. > > > > Kindly, > > -- > > Marc (A Newbie to Struts) > > > > > > - > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > > > > - > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Message Resources Problem?
I am using ant to automate a WAR contained in an EAR and this is then copied directly to the deploy directory of JBoss. Regards, -- Marc -Original Message- From: James Mitchell [mailto:[EMAIL PROTECTED] Sent: 13 June 2003 16:01 To: Struts Users Mailing List Subject: Re: Message Resources Problem? Marc, are you deploying a .war file or do you use the exploded format? -- James Mitchell Software Developer/Struts Evangelist http://www.struts-atlanta.org 770-822-3359 AIM:jmitchtx - Original Message - From: <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Friday, June 13, 2003 10:53 AM Subject: Re: Message Resources Problem? > Hi Marc, > > I have pretty much the same configuration as you do (jboss, struts, > jdk1.4.1). > > I don't know what is causing your exceptions. But I can tell you that I > don't suffer the same problem. > So my guess is that something is wrong. > > Sorry, can't help you any further. > > Cheers, > > Harm. > > > > > "Marc L. Veary" <[EMAIL PROTECTED]> > 06/13/2003 04:49 PM > Please respond to > "Struts Users Mailing List" <[EMAIL PROTECTED]> > > > To > "'Struts Users Mailing List'" <[EMAIL PROTECTED]> > cc > > Subject > Message Resources Problem? > > > > > > > Hi > > I have: > > jakarta-struts-1.1-b3, JBoss 3.2.1, JDK 1.3.1_08 > > A simple application which uses and everything > works, except > when a JSP is rendered which contains one or more of the above tag JBoss > shows some exceptions: > > Element type "message-resource" must be declared > > and: > > Element type "plug-in must be declared > > These elements are present in the struts-config.xml, and the message > resource is being read, > it is just these odd exceptions? > > Any clues would be gratefully recieved. > > Kindly, > -- > Marc (A Newbie to Struts) > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Message Resources Problem?
Hi Harm, I followed the install instructions to the letter as well with the latest versions of the various required libraries (xerces, etc). Here is some more of the stacktrace: 14:33:47,421 ERROR [Digester] Parse Error at line 64 column 66: Element type "me ssage-resources" must be declared. org.xml.sax.SAXParseException: Element type "message-resources" must be declared . at org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(Er rorHandlerWrapper.java:232) at org.apache.xerces.util.ErrorHandlerWrapper.error(ErrorHandlerWrapper. java:173) at org.apache.xerces.impl.XMLErrorReporter.reportError(XMLErrorReporter. java:362) at org.apache.xerces.impl.XMLErrorReporter.reportError(XMLErrorReporter. java:296) at org.apache.xerces.impl.dtd.XMLDTDValidator.handleStartElement(XMLDTDV alidator.java:2874) at org.apache.xerces.impl.dtd.XMLDTDValidator.emptyElement(XMLDTDValidat or.java:814) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanStartElemen t(XMLDocumentFragmentScannerImpl.java:748) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContent Dispatcher.dispatch(XMLDocumentFragmentScannerImpl.java:1454) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(XM LDocumentFragmentScannerImpl.java:333) Kind regards, -- Marc - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Message Resources Problem?
Hi I have: jakarta-struts-1.1-b3, JBoss 3.2.1, JDK 1.3.1_08 A simple application which uses and everything works, except when a JSP is rendered which contains one or more of the above tag JBoss shows some exceptions: Element type "message-resource" must be declared and: Element type "plug-in must be declared These elements are present in the struts-config.xml, and the message resource is being read, it is just these odd exceptions? Any clues would be gratefully recieved. Kindly, -- Marc (A Newbie to Struts) - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]