-
1. Re: jnlp requires javax.servlet.InputStream?
adrian_p Aug 18, 2005 9:52 PM (in response to elkner)Same problem here... What's happening? How can we solve this?
-
2. Re: jnlp requires javax.servlet.InputStream?
martindonaghy Aug 19, 2005 7:29 AM (in response to elkner)Guys,
I have just had the same error. If you add the file C:\jboss\jboss-4.0.3RC2\server\all\lib\javax.servlet.jar to the client's classpath it will solve the problem.
BTW the client jars I use are:
jbossall-client.jar
jboss-aop-jdk50.jar
jboss-aspect-library-jdk50.jar
jboss-remoting.jar
javax.servlet.jar
Martin -
3. Re: jnlp requires javax.servlet.InputStream?
elkner Aug 19, 2005 9:21 AM (in response to elkner)Yes, one needs javax.servlet.jar now, too. Actually the subject should be named "Needs a client to be a server?" At the moment my rich client application requires:
./server/all/deploy/jboss-hibernate.deployer/ejb3-persistence.jar
./server/all/deploy/jboss-aop-jdk50.deployer/jboss-aop-jdk50.jar
./server/all/deploy/jboss-aop-jdk50.deployer/jboss-aspect-library-jdk50.jar
./server/all/deploy/ejb3.deployer/jboss-ejb3.jar
./server/all/deploy/ejb3.deployer/jboss-ejb3x.jar
./server/all/lib/jboss-remoting.jar
./server/all/lib/jboss-j2ee.jar
./server/all/lib/javax.servlet.jar
./client/jboss-client.jar
./client/jboss-common-client.jar
./client/jboss-transaction-client.jar
./client/jbossmq-client.jar
./client/jbosssx-client.jar
./client/jmx-invoker-adaptor-client.jar
./client/jnp-client.jar
./lib/concurrent.jar
./server/all/deploy/jboss-hibernate.deployer/hibernate3.jar
./server/all/deploy/jboss-hibernate.deployer/asm-attrs.jar
./server/all/deploy/jboss-hibernate.deployer/asm.jar
./server/all/deploy/jboss-hibernate.deployer/cglib-2.1.1.jar
So about 6 MB - this is almost unbelievable - remember - this is a client app and not a server! Actually the server should do all the work. The client should just have the required stuff to connect/authenticate and send stuff to/receive stuff from the server and I can hardly understand, why there is such a lot of overhead/redundant/never used stuff in those archives. Probably poor design or the lazyness of developers to properly separate client and server stuff ... -
4. Re: jnlp requires javax.servlet.InputStream?
adrian_p Aug 19, 2005 11:42 AM (in response to elkner)
:elkner thanksss a lot.. you're the man..
I've solved my problems... -
5. Re: jnlp requires javax.servlet.InputStream?
myhappylife Aug 24, 2005 1:45 AM (in response to elkner)if 4.0.3RC1 also add:
server/all/deploy/ejb3.deployer/commons-httpclient.jar