sure. i needed to add
<jar href="servlet.jar" />
in the resources section of my jnlp file.
my changes are attached in the zip file. could be that i do some more
changes because in my downloaded sources getDescriptorRepository doesn't
work (code commented out).
(See attached file: changes.zip)
greetings,
Juergen
Yes, please post your additions, this may be helpful for everyone.
could you please explain which jar file was missing? The FAQyou mentioned
is
very large and I did not find the respective section.
thanks,
Thomas
> -----Urspr�ngliche Nachricht-----
> Von: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]
> Gesendet: Freitag, 27. September 2002 11:03
> An: OJB Users List
> Betreff: Antwort: Re: problem with client / server mode in
> java webstart
>
>
>
> sorry for the incomplete mail. here the rest:
>
> as i tried lots of things to solve my problem, i added a
> GZIPInputStream
> (and output) to PersistenceBrokerClient and Servlet. this
> could give us a
> performance boost on slow network connections. should i post
> the new files
> anywhere, or could this cause other problems?
>
> Juergen
>
>
>
>
>
>
> finally i solved my problem. i found some webstart options
> that described
> how to turn on logging in webstart
> (http://www.vamphq.com/jwsfaq.html).
> simply had to add a jar file to my jnlp. so this problem was not ojb
> specific.
>
> as i tried lots of things to solve my problem, i added a
> GZIPInputStream
> (and output) to PersistenceBrokerClient and Servlet. this could
>
> Juergen
>
>
>
>
>
> i already thought about this but we had it running in an
> earlier release of
> our software. the next thing is, that our software is signed, so there
> should be no security problems.
>
> juergen
>
>
>
>
> Hi,
>
> Maybe this is a security issue. Webstart is tightly
> integrated into the
> Java Security mechanisms. Maybe the client is not allowed to have a
> socket connection for some reason?
>
> cheers,
> Thomas
>
> [EMAIL PROTECTED] wrote:
> > hi!
> > my problem is a different behavior when i start my application from
> > webstart
> > or when i start the application directly. the error occours, when a
> servlet
> > (running in tomcat 4.0.5 standalone, java 1.4.1) tries to write a
> > serialized
> > object onto a socket (this happens in ojb code). everything
> works fine,
> > when
> > the application is started
> > in non-webstart mode ( i use webstart 1.2, comes along with
> jre 1.4.1). i
> > attached my stacktrace (from tomcat).
> >
> >
> >
> > java.net.SocketException: Software caused connection abort:
> socket write
> > error
> > at java.net.SocketOutputStream.socketWrite0(Native Method)
> > at
> java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:92)
> > at java.net.SocketOutputStream.write(SocketOutputStream.java:136)
> > at
> >
> org.apache.catalina.connector.ResponseBase.flushBuffer(Respons
> eBase.java:674
>
>
>
> >
> > )
> > at
> >
> org.apache.catalina.connector.HttpResponseBase.flushBuffer(Htt
> pResponseBase.
>
>
>
> >
> > java:764)
> > at
> org.apache.catalina.connector.ResponseBase.write(ResponseBase.
> java:647)
> > at
> >
> org.apache.catalina.connector.ResponseStream.write(ResponseStr
> eam.java:312)
> > at
> >
> org.apache.catalina.connector.http.HttpResponseStream.write(Ht
> tpResponseStre
>
>
>
> >
> > am.java:182)
> > at
> java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:69)
> > at
> java.io.BufferedOutputStream.write(BufferedOutputStream.java:113)
> > at
> >
> java.io.ObjectOutputStream$BlockDataOutputStream.write(ObjectO
utputStream.ja
>
>
>
> >
> > va:1602)
> > at
> >
> java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStre
> am.java:1323)
> > at
> >
> java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.
> java:1302)
> > at
> >
> java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStr
> eam.java:1245)
>
>
>
> >
> > at
> java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1052)
> > at
> java.io.ObjectOutputStream.writeArray(ObjectOutputStream.java:1224)
> > at
> java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1050)
> > at
> >
> java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStre
> am.java:1330)
> > at
> >
> java.io.ObjectOutputStream.defaultWriteObject(ObjectOutputStre
> am.java:367)
> > at java.lang.Throwable.writeObject(Throwable.java:648)
> > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> > at
> >
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccess
> orImpl.java:39
>
>
>
> >
> > )
> > at
> >
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMeth
> odAccessorImpl
>
>
>
> >
> > .java:25)
> > at java.lang.reflect.Method.invoke(Method.java:324)
> > at
> java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.
> java:795)
> > at
> >
> java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.
> java:1294)
> > at
> >
> java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStr
> eam.java:1245)
>
>
>
> >
> > at
> java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1052)
> > at
> >
> java.io.ObjectOutputStream.writeFatalException(ObjectOutputStr
> eam.java:1353)
>
>
>
> >
> > at
> java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:281)
> > at
> >
> org.apache.ojb.broker.server.PersistenceBrokerServlet.doPost(P
> ersistenceBrok
>
>
>
> >
> > erServlet.java:179)
> > at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
> > at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
> > at
> >
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilt
> er(Application
>
>
>
> >
> > FilterChain.java:247)
> > at
> >
> org.apache.catalina.core.ApplicationFilterChain.doFilter(Appli
> cationFilterCh
>
>
>
> >
> > ain.java:193)
> > at
> >
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardW
> rapperValve.ja
>
>
>
> >
> > va:243)
> > at
> >
> org.apache.catalina.core.StandardPipeline.invokeNext(StandardP
> ipeline.java:5
>
>
>
> >
> > 66)
> > at
> >
> org.apache.catalina.core.StandardPipeline.invoke(StandardPipel
> ine.java:472)
> > at
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
> > at
> >
> org.apache.catalina.core.StandardContextValve.invoke(StandardC
> ontextValve.ja
>
>
>
> >
> > va:190)
> > at
> >
> org.apache.catalina.core.StandardPipeline.invokeNext(StandardP
> ipeline.java:5
>
>
>
> >
> > 66)
> > at
> >
> org.apache.catalina.valves.CertificatesValve.invoke(Certificat
> esValve.java:2
>
>
>
> >
> > 46)
> > at
> >
> org.apache.catalina.core.StandardPipeline.invokeNext(StandardP
> ipeline.java:5
>
>
>
> >
> > 64)
> > at
> >
> org.apache.catalina.core.StandardPipeline.invoke(StandardPipel
> ine.java:472)
> > at
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
> > at
> >
> org.apache.catalina.core.StandardContext.invoke(StandardContex
> t.java:2347)
> > at
> >
> org.apache.catalina.core.StandardHostValve.invoke(StandardHost
> Valve.java:180
>
>
>
> >
> > )
> > at
> >
> org.apache.catalina.core.StandardPipeline.invokeNext(StandardP
> ipeline.java:5
>
>
>
> >
> > 66)
> > at
> >
> org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDi
> spatcherValve.
>
>
>
> >
> > java:170)
> > at
> >
> org.apache.catalina.core.StandardPipeline.invokeNext(StandardP
> ipeline.java:5
>
>
>
> >
> > 64)
> > at
> >
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReport
> Valve.java:170
>
>
>
> >
> > )
> > at
> >
> org.apache.catalina.core.StandardPipeline.invokeNext(StandardP
> ipeline.java:5
>
>
>
> >
> > 64)
> > at
> >
> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValv
> e.java:468)
> > at
> >
> org.apache.catalina.core.StandardPipeline.invokeNext(StandardP
> ipeline.java:5
>
>
>
> >
> > 64)
> > at
> >
> org.apache.catalina.core.StandardPipeline.invoke(StandardPipel
> ine.java:472)
> > at
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
> > at
> >
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEn
> gineValve.java
>
>
>
> >
> > :174)
> > at
> >
> org.apache.catalina.core.StandardPipeline.invokeNext(StandardP
> ipeline.java:5
>
>
>
> >
> > 66)
> > at
> >
> org.apache.catalina.core.StandardPipeline.invoke(StandardPipel
> ine.java:472)
> > at
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
> > at
> >
> org.apache.catalina.connector.http.HttpProcessor.process(HttpP
> rocessor.java:
>
>
>
> > 1027)
> > at
> >
> org.apache.catalina.connector.http.HttpProcessor.run(HttpProce
> ssor.java:1125
>
>
>
> >
> > )
> > at java.lang.Thread.run(Thread.java:536)
> >
> >
> >
> >
> > --
> > To unsubscribe, e-mail:
> <mailto:[EMAIL PROTECTED]
> >
> > For additional commands, e-mail:
> <mailto:[EMAIL PROTECTED]
> >
> >
> >
> >
> >
>
>
>
> --
> To unsubscribe, e-mail:
> <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
> <mailto:[EMAIL PROTECTED]>
>
>
>
>
>
>
> --
> To unsubscribe, e-mail:
> <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
> <mailto:[EMAIL PROTECTED]>
>
>
>
>
>
>
> --
> To unsubscribe, e-mail:
> <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
> <mailto:[EMAIL PROTECTED]>
>
>
>
>
>
>
> --
> To unsubscribe, e-mail:
> <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
> <mailto:[EMAIL PROTECTED]>
>
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
=?iso-8859-1?Q?changes.zip?=
Description: .ZIP File
-- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
