You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by "Himstedt, Kevin" <Ke...@maritz.com> on 2003/05/02 22:30:49 UTC

FW: new to tomcat

> I am new to tomcat.  I think I am missing something in the setup b/c I am getting this error.  This code works through a java app client.  Any thoughts?
> 
> jakarta-tomcat-4.1.24
> 
> 
> C:\WINNT>java -version
> java version "1.3.1"
> Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.1-b
> Java HotSpot(TM) Client VM (build 1.3.1-b24, mixed mode)
> 
> using Borland 
> com.inprise.vbroker.orb.ORB version 4.5
> 
> getting following error: 
> 
> javax.servlet.ServletException: Error unmarshaling value [Invalid value tag [10]]
> 	at login.Login.doPost(Login.java:94)
> 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
> 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
> 	at org.apache.catalina.servlets.InvokerServlet.serveRequest(InvokerServlet.java:466)
> 	at org.apache.catalina.servlets.InvokerServlet.doPost(InvokerServlet.java:216)
> 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
> 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
> 	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
> 	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
> 	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:256)
> 	at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
> 	at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
> 	at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
> 	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
> 	at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
> 	at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
> 	at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
> 	at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2415)
> 	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
> 	at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
> 	at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:171)
> 	at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
> 	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172)
> 	at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
> 	at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
> 	at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
> 	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
> 	at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
> 	at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
> 	at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
> 	at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:223)
> 	at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:594)
> 	at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:392)
> 	at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:565)
> 	at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:619)
> 	at java.lang.Thread.run(Thread.java:484)
> 
> the tomcat console points to this chunk of code with the error line in red.
> 
>  public busobjs.SecUser lookupUserPermissions (java.lang.String arg0, 
>                                                                   java.lang.String arg1, 
>                                                                   int arg2) throws  java.lang.Exception > {
> 
>     while (true) {
>     if (!_is_local()) {
>       org.omg.CORBA.portable.OutputStream _output = null;
>       org.omg.CORBA.portable.InputStream  _input  = null;
>       com.maritz.afd.oe.busobjs.SecUser _result;
>       try {
>         _output = this._request("lookupUserPermissions", true);
>         org.omg.CORBA.WStringValueHelper.write(_output, arg0);
>         org.omg.CORBA.WStringValueHelper.write(_output, arg1);
>         _output.write_long((int)arg2);
>         _input = this._invoke(_output);
>         _result = (busobjs.SecUser)((org.omg.CORBA_2_3.portable.InputStream)_input).read_value(busobjs.SecUser.class);
>         return _result;
>       }
>       catch (org.omg.CORBA.portable.ApplicationException _exception) {
>         final org.omg.CORBA.portable.InputStream in = _exception.getInputStream();
>         java.lang.String _exception_id = _exception.getId();
>         if (_exception_id.equals("IDL:java/lang/Ex:1.0")) {
>           _exception_id = in.read_string();
>           throw (java.lang.Exception)((org.omg.CORBA_2_3.portable.InputStream)in).read_value();
>       }
>       throw new org.omg.CORBA.UNKNOWN("Unexpected User Exception: " + _exception_id);
>     }
>     catch (org.omg.CORBA.portable.RemarshalException _exception) {
>       continue;
>     }
>     finally {
>       this._releaseReply(_input);
>     }
>   } else {
>     final org.omg.CORBA.portable.ServantObject _so = _servant_preinvoke("lookupUserPermissions", _opsClass);
>     if (_so == null) {
>       continue;
>     }
>     final corba.factories.SecurityFactoryIIOPOperations _self = (corba.factories.SecurityFactoryIIOPOperations)_so.servant;
>     try {
>       busobjs.SecUser _ret = _self.lookupUserPermissions(arg0, arg1, arg2);
>       if (_so instanceof org.omg.CORBA.portable.ServantObjectExt) {
>         ((org.omg.CORBA.portable.ServantObjectExt)_so).normalCompletion();
>       }
>       return _ret;
>     } catch (java.lang.Exception x_1) {
>       if (_so instanceof org.omg.CORBA.portable.ServantObjectExt) {
>         ((org.omg.CORBA.portable.ServantObjectExt)_so).exceptionalCompletion((Throwable)x_1);
>       }
>       if (x_1 instanceof java.lang.RuntimeException) {
>         throw (java.lang.RuntimeException)x_1;
>       } else {
>         throw x_1;
>       }
>     } catch (java.lang.Error err) {
>       if (_so instanceof org.omg.CORBA.portable.ServantObjectExt) {
>         ((org.omg.CORBA.portable.ServantObjectExt)_so).exceptionalCompletion((Throwable)err);
>       }
>       throw err;
>     } finally {
>       _servant_postinvoke(_so);
>     }
>   }
>   }
> }
> 
> 


Confidentiality Warning:  This e-mail contains information intended only for the use of the individual or entity named above.  If the reader of this e-mail is not the intended recipient or the employee or agent responsible for delivering it to the intended recipient, any dissemination, publication or copying of this e-mail is strictly prohibited. The sender does not accept any responsibility for any loss, disruption or damage to your data or computer system that may occur while using data contained in, or transmitted with, this e-mail.   If you have received this e-mail in error, please immediately notify us by return e-mail.  Thank you.