|That's all I needed to hear. Thank you very much.
i am glad I still can talk the talk, but does it help you?
marc
|
|> -----Original Message-----
|> From: [EMAIL PROTECTED]
|> [mailto:[EMAIL PROTECTED]]On Behalf Of marc fleury
|> Sent: Tuesday, October 24, 2000 4:31 PM
|> To: jBoss
|> Subject: RE: [jBoss-User] Error unmarshaling return
|>
|>
|> It seems that SOMEWHERE in your classpath you have an old
|> version of SOME
|> class you pass back...
|>
|> really clean up your ClassPath, in fact try removing it
|> completely ! (point
|> to the jar that contains the right classes and make sure it
|> is the same as
|> the one you deploy, obviously they don't match per the exception!!!!!)
|>
|> try java -classpath trisect.jar bla bla
|>
|> marc
|>
|> |-----Original Message-----
|> |From: [EMAIL PROTECTED]
|> |[mailto:[EMAIL PROTECTED]]On Behalf Of Michael Lepine
|> |Sent: Tuesday, October 24, 2000 12:51 PM
|> |To: 'jBoss'
|> |Subject: RE: [jBoss-User] Error unmarshaling return
|> |
|> |
|> |I apologize, because I know this is getting annoying, but I
|> do appreciate
|> |the help.
|> |
|> |Now that I've looked into it more deeply, I don't think it is a
|> |jBoss-specific problem, but I still can't find much help
|> anywhere else (the
|> |suggestions so far have been in line with what I've found at
|> java.sun.com
|> |though and definitely helpful suggestions).
|> |
|> |In short, I call a method in a bean that throws an exception
|> that I declare
|> |in its throws clause. I also declare this exception in the
|> throws clause of
|> |the remote interface for that bean. All of my classes are
|> sync'd up (as far
|> |as I can tell but maybe not from the error message generated) and
|> |I am using
|> |the most recent jboss-client.jar file.
|> |
|> |The stack trace and server output follow. Once again, thank
|> you for taking
|> |the time to help.
|> |
|> |__________________________________________________________
|> |Here is the trace:
|> |
|> |java.rmi.UnmarshalException: Error unmarshaling return; nested
|> |exception is:
|> | java.io.InvalidClassException:
|> |com.trisect.system.process.exceptions.Tri_UnauthorizedUserExc
|> eption; Local
|> |class not compatible: stream classdesc
|> serialVersionUID=6579009159830866896
|> |local class serialVersionUID=1970343122368743610
|> |java.io.InvalidClassException:
|> |com.trisect.system.process.exceptions.Tri_UnauthorizedUserExc
|> eption; Local
|> |class not compatible: stream classdesc
|> serialVersionUID=6579009159830866896
|> |local class serialVersionUID=1970343122368743610
|> | at
|> |java.io.ObjectStreamClass.validateLocalClass(ObjectStreamClas
|> s.java:523)
|> | at
|> java.io.ObjectStreamClass.setClass(ObjectStreamClass.java:567)
|> | at
|> |java.io.ObjectInputStream.inputClassDescriptor(ObjectInputStr
|> eam.java:936)
|> | at
|> java.io.ObjectInputStream.readObject(ObjectInputStream.java:366)
|> | at
|> java.io.ObjectInputStream.readObject(ObjectInputStream.java:236)
|> | at
|> |java.io.ObjectInputStream.inputObject(ObjectInputStream.java:1186)
|> | at
|> java.io.ObjectInputStream.readObject(ObjectInputStream.java:386)
|> | at
|> java.io.ObjectInputStream.readObject(ObjectInputStream.java:236)
|> | at
|> |sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCa
|> ll.java:212)
|> | at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:122)
|> | at
|> |org.jboss.ejb.plugins.jrmp.server.JRMPContainerInvoker_Stub.i
|> nvoke(Unknown
|> |Source)
|> | at
|> |org.jboss.ejb.plugins.jrmp.interfaces.StatelessSessionProxy.invoke(
|> |Stateless
|> |SessionProxy.java:175)
|> | at $Proxy1.create(Unknown Source)
|> | at
|> |com.trisect.system.process.test.Tri_TestProcessCreator.testCreatePr
|> |ocess(Tri
|> |_TestProcessCreator.java:346)
|> | at
|> |com.trisect.system.process.test.Tri_TestProcess.main(Tri_TestProces
|> |s.java:96
|> |) Exception: Error unmarshaling return; nested exception is:
|> | java.io.InvalidClassException:
|> |com.trisect.system.process.exceptions.Tri_UnauthorizedUserExc
|> eption; Local
|> |class not compatible: stream classdesc
|> serialVersionUID=6579009159830866896
|> |local class serialVersionUID=1970343122368743610
|> |
|> |__________________________________________________________
|> |
|> |Here is the output from the server:
|> |
|> |[Default] JRMPCI:invokeHome public abstract
|> |com.trisect.system.process.Tri_Proce
|> |ssCreatorRemote
|> com.trisect.system.process.Tri_ProcessCreatorHome.create()
|> |throw
|> |s java.rmi.RemoteException,javax.ejb.CreateException
|> |[Default] JRMPCI:invokeHome public abstract
|> |com.trisect.system.process.Tri_Proce
|> |ssCreatorRemote
|> com.trisect.system.process.Tri_ProcessCreatorHome.create()
|> |throw
|> |s java.rmi.RemoteException,javax.ejb.CreateException
|> |[Tri_ProcessCreator] Trouble reading from local log file
|> backlog\log.dat:
|> |Expect
|> |ing code
|> |[Default] JRMPCI:invokeHome public abstract
|> |com.trisect.system.process.Tri_Proce
|> |ssCreatorRemote
|> com.trisect.system.process.Tri_ProcessCreatorHome.create()
|> |throw
|> |s java.rmi.RemoteException,javax.ejb.CreateException
|> |[Default] JRMPCI:invokeHome public abstract
|> |com.trisect.system.process.Tri_Proce
|> |ssCreatorRemote
|> com.trisect.system.process.Tri_ProcessCreatorHome.create()
|> |throw
|> |s java.rmi.RemoteException,javax.ejb.CreateException
|> |[Tri_ProcessCreator] The user identified by user id: 2, is not
|> |authorized to
|> |inv
|> |oke this process: 2
|> |
|> |
|> |
|> |> -----Original Message-----
|> |> From: [EMAIL PROTECTED]
|> |> [mailto:[EMAIL PROTECTED]]On Behalf Of marc fleury
|> |> Sent: Tuesday, October 24, 2000 3:18 PM
|> |> To: jBoss
|> |> Subject: RE: [jBoss-User] Error unmarshaling return
|> |>
|> |>
|> |> michel,
|> |>
|> |> I need the server side message, anything wrong there? also
|> |> there must be a
|> |> "full stack" somewhere, if not it is not jboss stuff afaik.
|> |>
|> |> marc
|> |>
|> |>
|> |> |-----Original Message-----
|> |> |From: [EMAIL PROTECTED]
|> |> |[mailto:[EMAIL PROTECTED]]On Behalf Of
|> Michael Lepine
|> |> |Sent: Tuesday, October 24, 2000 11:32 AM
|> |> |To: 'jBoss'
|> |> |Subject: RE: [jBoss-User] Error unmarshaling return
|> |> |
|> |> |
|> |> |After checking and making sure I had the same
|> jboss-client.jar in my
|> |> |classpath as in the jboss/client directory, I downloaded the
|> |> latest jboss
|> |> |binary files in the jBoss-2.0_BETA_PROD_03.zip and took the
|> |> |jboss-client.jar
|> |> |file from the archive, placing it in my classpath and in the
|> |> jboss/client
|> |> |directory too. I still get the same error unfortunately.
|> |> |
|> |> |If I did something wrong or am being thick, please let me
|> |> know. Otherwise,
|> |> |I'm off to continue trouble shooting.
|> |> |
|> |> |Thanks for your help.
|> |> |
|> |> |> -----Original Message-----
|> |> |> From: [EMAIL PROTECTED]
|> |> |> [mailto:[EMAIL PROTECTED]]On Behalf Of
|> Aaron Mulder
|> |> |> Sent: Tuesday, October 24, 2000 11:40 AM
|> |> |> To: jBoss
|> |> |> Subject: RE: [jBoss-User] Error unmarshaling return
|> |> |>
|> |> |>
|> |> |> You need to update the file "jboss-client.jar" that
|> |> |> your client is
|> |> |> using. You can get it from the client directory of your
|> |> |> jBoss server.
|> |> |> That file tends to change between releases of the server, and
|> |> |> your clients
|> |> |> need to keep up to date.
|> |> |>
|> |> |> Aaron
|> |> |>
|> |> |> On Tue, 24 Oct 2000, Michael Lepine wrote:
|> |> |> > Thank you, that does make sense. I did rebuild and redeploy
|> |> |> a new jar of the
|> |> |> > classes that I'm working with and retested, but I still get
|> |> |> the exception
|> |> |> > with the same message. I'll eventually figure it out, but
|> |> |> if anyone has any
|> |> |> > further suggestions, I'd definitely like to hear them.
|> |> |> >
|> |> |> > Thanks again for taking the time to help, Juha.
|> |> |>
|> |> |>
|> |> |>
|> |> |> --
|> |> |> --------------------------------------------------------------
|> |> |> To subscribe: [EMAIL PROTECTED]
|> |> |> To unsubscribe: [EMAIL PROTECTED]
|> |> |> Problems?: [EMAIL PROTECTED]
|> |> |>
|> |> |>
|> |> |
|> |> |
|> |> |
|> |> |--
|> |> |--------------------------------------------------------------
|> |> |To subscribe: [EMAIL PROTECTED]
|> |> |To unsubscribe: [EMAIL PROTECTED]
|> |> |Problems?: [EMAIL PROTECTED]
|> |> |
|> |> |
|> |>
|> |>
|> |>
|> |> --
|> |> --------------------------------------------------------------
|> |> To subscribe: [EMAIL PROTECTED]
|> |> To unsubscribe: [EMAIL PROTECTED]
|> |> Problems?: [EMAIL PROTECTED]
|> |>
|> |>
|> |
|> |
|> |
|> |--
|> |--------------------------------------------------------------
|> |To subscribe: [EMAIL PROTECTED]
|> |To unsubscribe: [EMAIL PROTECTED]
|> |Problems?: [EMAIL PROTECTED]
|> |
|> |
|>
|>
|>
|> --
|> --------------------------------------------------------------
|> To subscribe: [EMAIL PROTECTED]
|> To unsubscribe: [EMAIL PROTECTED]
|> Problems?: [EMAIL PROTECTED]
|>
|>
|
|
|--
|--------------------------------------------------------------
|To subscribe: [EMAIL PROTECTED]
|To unsubscribe: [EMAIL PROTECTED]
|Problems?: [EMAIL PROTECTED]
|
|
--
--------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Problems?: [EMAIL PROTECTED]