Yes,

I did.  Strangely enough it worked after updating to struts 1.1!

Thanks,

Michael

----- Original Message -----
From: "James Ward" <[EMAIL PROTECTED]>
To: "Michael Delamere" <[EMAIL PROTECTED]>
Sent: Tuesday, May 21, 2002 4:51 PM
Subject: RE: [JBoss-user] error when redeploying ear file


> Cool!  Did you get your app working?
>
> -James
>
>
> > -----Original Message-----
> > From: Michael Delamere [mailto:[EMAIL PROTECTED]]
> > Sent: Monday, May 20, 2002 7:09 PM
> > To: James Ward
> > Subject: Re: [JBoss-user] error when redeploying ear file
> >
> > James,
> >
> > I just wanted to let you know that after I updated to Struts 1.1 it
worked
> > without me making any other changes.
> >
> > Thanks for your time,
> >
> > Michael
> >
> >
> > ----- Original Message -----
> > From: "James Ward" <[EMAIL PROTECTED]>
> > To: "Michael Delamere" <[EMAIL PROTECTED]>;
> > <[EMAIL PROTECTED]>
> > Sent: Tuesday, May 21, 2002 1:26 AM
> > Subject: RE: [JBoss-user] error when redeploying ear file
> >
> >
> > > Sorry, I forgot to mention that we are using Struts 1.1 and I do need
to
> > fix my build.xml which currently puts the struts.jar and tiles.jar in
the
> > WEB-INF/lib dir of the wars.  You can comment out those lines to fix
that.
> > Otherwise you will have deployment issues.  Sorry for the hassle, as you
> > can
> > tell we are still in pre-alpha development, but I do know that it does
> > work
> > in JBoss 2.4.6 and JBoss 3.0 RC2.  So, I am hoping that you can look at
> > how
> > we have configured it all and compare that to your config.
> > >   Maybe we should move this thread out of jboss-user until the
questions
> > come back around to being jboss issues.
> > >
> > > BTW: There are some developer docs at:
> > http://www.cayambe.org/docs/developer
> > >
> > > -James
> > >
> > >
> > > > -----Original Message-----
> > > > From: Michael Delamere [mailto:[EMAIL PROTECTED]]
> > > > Sent: Monday, May 20, 2002 5:14 PM
> > > > To: [EMAIL PROTECTED]; James Ward
> > > > Subject: Re: [JBoss-user] error when redeploying ear file
> > > >
> > > > James,
> > > >
> > > > I´ve downloaded the application that you suggested.  Unfortunately
> > when
> > > > trying to build using ant I get the folowing error:
> > > >
> > > > Before you ask, I´ve got STRUTS_HOME and LOG4J_HOME set.  They are
> > also
> > in
> > > > my classpath.  Am I maybe using the wrong version of struts?
> > > >
> > > > =============== ERROR ====================
> > > > compile:
> > > >     [mkdir] Created dir: /home/mdelamere/public_html/core/build
> > > >     [javac] Compiling 74 source files to
> > > > /home/mdelamere/public_html/core/build
> > > >     [javac]
> > > >
> >
/home/mdelamere/public_html/core/src/org/cayambe/web/cart/action/CartActio
> > > > nS
> > > > ervlet.java:3: package org.apache.struts.tiles does not exist
> > > >     [javac] import org.apache.struts.tiles.ActionComponentServlet;
> > > >     [javac]                                ^
> > > >     [javac]
> > > >
> >
/home/mdelamere/public_html/core/src/org/cayambe/web/cart/action/CartActio
> > > > nS
> > > > ervlet.java:18: cannot resolve symbol
> > > >     [javac] symbol  : class ActionComponentServlet
> > > >     [javac] location: class
> > org.cayambe.web.cart.action.CartActionServlet
> > > >     [javac] public class CartActionServlet extends
> > ActionComponentServlet
> > > > {
> > > >     [javac]                                        ^
> > > >     [javac]
> > > >
> >
/home/mdelamere/public_html/core/src/org/cayambe/web/cart/action/CartActio
> > > > nS
> > > > ervlet.java:59: cannot resolve symbol
> > > >     [javac] symbol  : variable super
> > > >     [javac] location: class
> > org.cayambe.web.cart.action.CartActionServlet
> > > >     [javac]      super.doPost(request,response);
> > > >     [javac]      ^
> > > >     [javac] Note:
> > > >
/home/mdelamere/public_html/core/src/org/cayambe/web/tag/NodesTag.java
> > > > uses
> > > > or overrides a deprecated API.
> > > >     [javac] Note: Recompile with -deprecation for details.
> > > >     [javac] 3 errors
> > > >
> > > > BUILD FAILED
> > > > =========================================================
> > > >
> > > > I have had a look at the build.xml and have seen, as you said, that
> > you
> > > > have
> > > > classes in your WEB-INF/classes folder.  I´m going to have another
> > look
> > > > into
> > > > this to see what I´m doing wrong.  Just a matter of interest, have
you
> > > > tried
> > > > you app in JBOSS3.0RC2 or only in JBOSS2.4.x?
> > > >
> > > > Thanks,
> > > >
> > > > Michael
> > > >
> > > >
> > > > ----- Original Message -----
> > > > From: "James Ward" <[EMAIL PROTECTED]>
> > > > To: <[EMAIL PROTECTED]>
> > > > Cc: "Michael Delamere" <[EMAIL PROTECTED]>
> > > > Sent: Tuesday, May 21, 2002 12:26 AM
> > > > Subject: RE: [JBoss-user] error when redeploying ear file
> > > >
> > > >
> > > > > There is something wrong there...  In one of my projects ( Cayambe
> > > > http://www.sf.net/projects/cayambe ) we are doing this in JBoss
2.4.6
> > and
> > > > JBoss 3 RC2.  We have all the Struts related classes (Actions and
> > beans)
> > > > in
> > > > the same war file as all the other classes.  We only have code in
cvs
> > > > right
> > > > now, but it is easy to check out the code and compile it.  For JBoss
> > 3,
> > > > just
> > > > drop the struts jars and the cayambe.ear in the deploy dir.  If you
> > still
> > > > get similar errors, there is something weird going on, maybe a fre
> > > > > sh install would work better.
> > > > >
> > > > > -James
> > > > >
> > > > >
> > > > > > -----Original Message-----
> > > > > > From: Michael Delamere [mailto:[EMAIL PROTECTED]]
> > > > > > Sent: Monday, May 20, 2002 4:14 PM
> > > > > > To: [EMAIL PROTECTED]; James Ward
> > > > > > Subject: Re: [JBoss-user] error when redeploying ear file
> > > > > >
> > > > > > Sorry,
> > > > > >
> > > > > > I forgot to mention that I´m using JBOSS3.0RC2!
> > > > > >
> > > > > > Would JBOSS2.4.6 solve the problem?  I´m actually having to put
my
> > > > struts
> > > > > > action and form classes into a seperate jar file which I then
> > deploy
> > > > into
> > > > > > the tomcat/lib folder.  Apparently this has something to do with
> > the
> > > > > > classloader which means that my classes in the *.war/web-
> > inf/classes
> > > > don´t
> > > > > > get loaded when deploying via JBOSS!?  This is a fairly
> > inconvenient
> > > > way
> > > > > > of
> > > > > > working and I would love to find a better solution.  Is this
also
> > > > solved
> > > > > > in
> > > > > > jboss2.4.6.  I would be nice to have everything in one ear/war
> > file.
> > > > > >
> > > > > > Thanks,
> > > > > >
> > > > > > Michael
> > > > > >
> > > > > >
> > > > > > ----- Original Message -----
> > > > > > From: "James Ward" <[EMAIL PROTECTED]>
> > > > > > To: <[EMAIL PROTECTED]>
> > > > > > Cc: <[EMAIL PROTECTED]>
> > > > > > Sent: Tuesday, May 21, 2002 12:02 AM
> > > > > > Subject: RE: [JBoss-user] error when redeploying ear file
> > > > > >
> > > > > >
> > > > > > > I think I have seen this before.  If you are not yet using
2.4.6
> > > > with
> > > > > > Tomcat 4, give that a try.  You could also try to put your
struts
> > jar
> > > > > > files
> > > > > > in the lib/ext dir.
> > > > > > >
> > > > > > > -James
> > > > > > >
> > > > > > >
> > > > > > > > -----Original Message-----
> > > > > > > > From: Michael Delamere [mailto:[EMAIL PROTECTED]]
> > > > > > > > Sent: Monday, May 20, 2002 3:49 PM
> > > > > > > > To: [EMAIL PROTECTED]
> > > > > > > > Subject: [JBoss-user] error when redeploying ear file
> > > > > > > >
> > > > > > > > Hi,
> > > > > > > >
> > > > > > > > I´m going to get at least one answer from you today :-).
> > Please!
> > > > > > > >
> > > > > > > > Can someone tell me why I get this error when redeploying
> > (copying
> > > > > > over)
> > > > > > > > an
> > > > > > > > ear file?
> > > > > > > >
> > > > > > > > ============ ERROR ===============================
> > > > > > > > ClassException: org.apache.struts.action.ActionForm; local
> > class
> > > > > > > > incompatible: stream classdesc serialVersionUID =
> > > > 868866204196005189,
> > > > > > > > local
> > > > > > > > class serialVersionUID = 4799035742323645273
> > > > > > > > java.io.InvalidClassException:
> > > > org.apache.struts.action.ActionForm;
> > > > > > local
> > > > > > > > class incompatible: stream classdesc serialVersionUID =
> > > > > > > > 868866204196005189,
> > > > > > > > local class serialVersionUID = 4799035742323645273
> > > > > > > >         at
> > > > > > > >
> > java.io.ObjectStreamClass.initNonProxy(ObjectStreamClass.java:454)
> > > > > > > >         at
> > > > > > > >
> > > > > >
> > > >
> > java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1511)
> > > > > > > >         at
> > > > > > > >
> > > > java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1425)
> > > > > > > >         at
> > > > > > > >
> > > > > >
> > > >
> > java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1511)
> > > > > > > >         at
> > > > > > > >
> > > > java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1425)
> > > > > > > >         at
> > > > > > > >
> > > > > >
> > > >
> >
java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1616)
> > > > > > > >         at
> > > > > > > >
> > java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1264)
> > > > > > > >         at
> > > > > > > >
> > java.io.ObjectInputStream.readObject(ObjectInputStream.java:322)
> > > > > > > >         at
> > > > > > > >
> > > > > >
> > > >
> >
org.apache.catalina.session.StandardSession.readObject(StandardSession.jav
> > > > > > > > a:
> > > > > > > > 1268)
> > > > > > > >         at
> > > > > > > >
> > > > > >
> > > >
> >
org.apache.catalina.session.StandardSession.readObjectData(StandardSession
> > > > > > > > .j
> > > > > > > > ava:810)
> > > > > > > >         at
> > > > > > > >
> > > > > >
> > > >
> >
org.apache.catalina.session.StandardManager.load(StandardManager.java:411)
> > > > > > > >         at
> > > > > > > >
> > > > > >
> > > >
> >
org.apache.catalina.session.StandardManager.start(StandardManager.java:617
> > > > > > > > )
> > > > > > > >
> > ==================================================================
> > > > > > > >
> > > > > > > > Thanks in advance.
> > > > > > > >
> > > > > > > > Regards,
> > > > > > > >
> > > > > > > >  Michael
> > > > > > > >
> > > > > > > > p.s.  I posted a message about getting this error "The Pool
> > for
> > > > > > > > com.morelogs.guestbook.beans.gbEntryCMP has been overloaded.
> > You
> > > > > > should
> > > > > > > > change pool parameters.".  No answer?
> > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > >
> > _______________________________________________________________
> > > > > > > >
> > > > > > > > Don't miss the 2002 Sprint PCS Application Developer's
> > Conference
> > > > > > > > August 25-28 in Las Vegas --
> > > > http://devcon.sprintpcs.com/adp/index.cfm
> > > > > > > >
> > > > > > > > _______________________________________________
> > > > > > > > JBoss-user mailing list
> > > > > > > > [EMAIL PROTECTED]
> > > > > > > > https://lists.sourceforge.net/lists/listinfo/jboss-user
> > > > >
> > >
>


_______________________________________________________________

Don't miss the 2002 Sprint PCS Application Developer's Conference
August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm

_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to