How to unsubscribe ??

2001-08-23 Thread Sunil Chandurkar

Hi
I want quit this list.. anyone of u wud like to tell
me how to unscribe this

Thanx for cooperation shown till now...

/sunil

_
Get LifeTime Free email Visit  --- http://www.nagpurcity.net



My Question is other than tomcat stuffs

2001-07-31 Thread Sunil Chandurkar

Hello All.

Reason behind asking following question is users of this tomcat group are more and 
very much prompt I ever seen. So please if even I am doing anything wrong I believe 
you all pardon me.

I, Sunil chandurkar, 25 yrs. old, looking for IT business opportunity in India. 
Actually my problem is FUNDING. I am looking for funding from other companies. But I 
am new in this field, so I don't know even how to approach VCs or even how to find 
companies which can help me to establish my setup.

Apart from this, Does anybody have an idea about Outsourcing? 

At least tell me names of websites from which I can actually get more knowledge to 
establish my own firm here in bombay. 

I have team of 10 software engineers, skilled in fields like VC++,VB, ASP, Java 
technologies and Database stuffs, also I have lots of confidance to make my dreams 
happen.

Thanx in Advance

/sunil

_
Get LifeTime Free email Visit  --- http://www.nagpurcity.net



How can I get Tomcat Code?

2001-07-13 Thread Sunil Chandurkar

Hello all..

How can I get source code for Tomcat?
I want to try to build this code for VxWorks?
If anybody can help me to build it for VxWorks please
let me know.
Please provide me link to get code if possible?


/sunil


--- Sunil Chandurkar [EMAIL PROTECTED]
 wrote:
hi all

Do anybody knows about how to run Tomcat on Vxworks (Real Time Opearting System)?

First of tell me, do anybody know any webserver runs on VxWorks? 
I know two web servers Wind Web Server and Go Ahead Web Server, but these webserver 
not supporting servlets and I want a Web Server which supports Servlets? 

can you please send me links to those webservers those can be running on VxWorks OS 
and also supports Servlet.

Most of the RTOS Web server supports CGI but I want to use Servlet.

Thanx in Advance

/Sunil

Sunil Chandurkar
Software Engineer
Kuokoa Networks Inc.
[EMAIL PROTECTED]


_
Get LifeTime Free email Visit  --- http://www.nagpurcity.net

_
Get LifeTime Free email Visit  --- http://www.nagpurcity.net



Tomcat + VxWorks (RTOS)

2001-07-12 Thread Sunil Chandurkar

hi all

Do anybody knows about how to run Tomcat on Vxworks (Real Time Opearting System)?

First of tell me, do anybody know any webserver runs on VxWorks? 
I know two web servers Wind Web Server and Go Ahead Web Server, but these webserver 
not supporting servlets and I want a Web Server which supports Servlets? 

can you please send me links to those webservers those can be running on VxWorks OS 
and also supports Servlet.

Most of the RTOS Web server supports CGI but I want to use Servlet.

Thanx in Advance

/Sunil

Sunil Chandurkar
Software Engineer
Kuokoa Networks Inc.
[EMAIL PROTECTED]


_
Get LifeTime Free email Visit  --- http://www.nagpurcity.net



Mr. Matt - Re: Tomcat + VxWorks (RTOS)

2001-07-12 Thread Sunil Chandurkar


Hope you know you can any task like tomcat on vxworks provided it should be .out file 
.. can you please tell me how to run tomcat as a task on vxworks..

/sunil
--- Matt Goodall [EMAIL PROTECTED]
 wrote:
VxWorks - are you insane? ;-)

VxWorks supports Java these days doesn't it? If so could you not simply run
Tomcat as a task and use it as the web server as well as the servlet
container?. I know it's not the most efficient setup but it's probably a
*lot* easier. You could change Tomcat's port to 80 to make it respond on the
standard HTTP port.

Cheers, Matt

- Original Message -
From: Sunil Chandurkar [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, July 12, 2001 3:56 PM
Subject: Tomcat + VxWorks (RTOS)


 hi all

 Do anybody knows about how to run Tomcat on Vxworks (Real Time Opearting
System)?

 First of tell me, do anybody know any webserver runs on VxWorks?
 I know two web servers Wind Web Server and Go Ahead Web Server, but these
webserver not supporting servlets and I want a Web Server which supports
Servlets?

 can you please send me links to those webservers those can be running on
VxWorks OS and also supports Servlet.

 Most of the RTOS Web server supports CGI but I want to use Servlet.

 Thanx in Advance

 /Sunil

 Sunil Chandurkar
 Software Engineer
 Kuokoa Networks Inc.
 [EMAIL PROTECTED]


 _
 Get LifeTime Free email Visit  --- http://www.nagpurcity.net


_
Get LifeTime Free email Visit  --- http://www.nagpurcity.net



Invoke New Window From Applet

2001-07-06 Thread Sunil Chandurkar

Hi There

I know the question i'm going to ask, the best place is Java Forum, and I have tried 
there. but i didn't find quick response compartively here...I m asking you all this 
question...

Actually from Browser Applet I want to open new Window which should look like New 
Application: What exactly I want you can see it by visiting followin site...

I want the same way, they are invoking their application from applet..
please visit following site and let me know How can I invoke such window or 
application from applet

http://www.truesan.com/products/resources/sandesigner/sandesigner.htm

/sunil

_
Get LifeTime Free email Visit  --- http://www.nagpurcity.net



Exception: I don't understand

2001-04-21 Thread Sunil Chandurkar

Hello All:

I am getting following exception on calling servlet from applet.

2001-04-21 03:11:13 - Ctx( ): IOException in: R( +/MyFolder/Mytest.class+ null) 
Connection reset by peer: socket write error.

When first time i visit local site at that time its not giving an exception but when i 
visit it second time at that time only i am getting this exception. The best part is 
it doesn't affect funtionality of my applet as well as servlet. 

I am sure this is an exception from web server not from servlet. Because  I have 
written all try-catch blocks in my servlet code at appropriate places.
There is one Folder "MyFolder" in ROOT directory and HTML file calling my applet is 
placed at ROOT.

First of tell me wht this error me and when generally this occur.

thanx in advance...

/sunil












_
Get LifeTime Free email Visit  --- http://www.nagpurcity.net



is it possible? (Modal Dialog thru Applet)

2001-04-17 Thread Sunil Chandurkar

Hello All

I need some more guidance on getting Modal Dialog Box from Applet. I could generate 
dialog box from applet on some press button, but all those are modeless dialog boxes.

I have tried this stuff by calling Javascript, but there is restriction in Java script 
on calling modal dialog boxes, because there are alert and confirm dialog boxes in 
java script, but i want my own customize dialog box.. popup from applet on pressign 
some button.

But, is it possible to popup our own customize dialog box from Browser(Applet)?

thanx in advance

/sunil

_
Get LifeTime Free email Visit  --- http://www.nagpurcity.net



Hades - RE: is it possible? (Modal Dialog thru Applet)

2001-04-17 Thread Sunil Chandurkar

Will it work with Netscape also.

/sunil

--- "Hunor Nam" [EMAIL PROTECTED]
 wrote:
You could use showModalDialog, java script method, but it's suported
only by IE4+
Syntax:
   vReturnValue =3D window.showModalDialog(sURL [, vArguments] [,
sFeatures])

   Hades

-Original Message-----
From: Sunil Chandurkar [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, April 17, 2001 4:14 PM
To: [EMAIL PROTECTED]
Subject: is it possible? (Modal Dialog thru Applet)


Hello All



I need some more guidance on getting Modal Dialog Box from Applet. I
could generate dialog box from applet on some press button, but all
those are modeless dialog boxes.



I have tried this stuff by calling Javascript, but there is restriction
in Java script on calling modal dialog boxes, because there are alert
and confirm dialog boxes in java script, but i want my own customize
dialog box.. popup from applet on pressign some button.



But, is it possible to popup our own customize dialog box from
Browser(Applet)?



thanx in advance



/sunil

_
Get LifeTime Free email Visit  --- http://www.nagpurcity.net

_
Get LifeTime Free email Visit  --- http://www.nagpurcity.net



How can I run Batch file from servlet ??

2001-04-16 Thread Sunil Chandurkar

Hello All !! 

I am in big trouble, i want to call batch file on the server from the servlet. I have 
tried the following option but they didn't work.. please let me know if is there any 
way to do it... 

Process p = Runtime.getRuntime().exec 
("cmd D:\\myFolder\\myBatchFile.bat"); 
p.waitFor(); 

also i have tried without cmd option: 
Process p = Runtime.getRuntime().exec 
("D:\\myFolder\\myBatchFile.bat"); 
p.waitFor(); 

Its not throwing an exception and not even giving me any output.. 

Thanx in Advance...

/sunil 



_
Get LifeTime Free email Visit  --- http://www.nagpurcity.net



RE: How can I run Batch file from servlet ??

2001-04-16 Thread Sunil Chandurkar

Randy 
Actually this batch file contains sql command..
like
osql -U sa -P -i D:\Myfolder\CreateDatabase.sql

i have tried this time.. with "/c start" option
Process p = Runtime.getRuntime().exec 
 ("cmd /c start D:\\myFolder\\myBatchFile.bat"); 
 p.waitFor(); 
and this time its able to fire the batch file
but that batch file itself giving error that "The name specified is not recognized as 
an internal or external command"

The good thing is this option of running batch file is working with standalone java 
application but not with servlet..

/sunil
--- Randy Layman [EMAIL PROTECTED]
 wrote:

   When you create a process like this, its up to you to read and write
to the process.  This means that any output from your batch file will be
lost unless you deal with is (Process has methods to get the input and
output streams for standard in/out/error).

   I would suggest you try running your batch file from the tomcat's
home directory.  The problem is usually one of two things.  Either you have
relative paths which aren't valid in the current context or you are
expecting environment variables that aren't valid.  (Or possibly its
actually working but you aren't catching the batch file's input to know
that).

   Randy


 -Original Message-
 From: Sunil Chandurkar [mailto:[EMAIL PROTECTED]]
 Sent: Monday, April 16, 2001 11:47 AM
 To: [EMAIL PROTECTED]
 Subject: How can I run Batch file from servlet ??
 
 
 Hello All !! 
 
 I am in big trouble, i want to call batch file on the server 
 from the servlet. I have tried the following option but they 
 didn't work.. please let me know if is there any way to do it... 
 
 Process p = Runtime.getRuntime().exec 
 ("cmd D:\\myFolder\\myBatchFile.bat"); 
 p.waitFor(); 
 
 also i have tried without cmd option: 
 Process p = Runtime.getRuntime().exec 
 ("D:\\myFolder\\myBatchFile.bat"); 
 p.waitFor(); 
 
 Its not throwing an exception and not even giving me any output.. 
 
 Thanx in Advance...
 
 /sunil 
 
 
 
 _
 Get LifeTime Free email Visit  --- http://www.nagpurcity.net


_
Get LifeTime Free email Visit  --- http://www.nagpurcity.net



Randy - RE: How can I run Batch file from servlet ??

2001-04-16 Thread Sunil Chandurkar


I have set that path variable already.. still its not working did u find anyother 
solution

thanx.. for responding lot...

/sunil
--- Randy Layman [EMAIL PROTECTED]
 wrote:

   That sounds like the PATH environment variable isn't set (as in it
can't find osql).

 -Original Message-
 From: Sunil Chandurkar [mailto:[EMAIL PROTECTED]]
 Sent: Monday, April 16, 2001 12:08 PM
 To: [EMAIL PROTECTED]
 Subject: RE: How can I run Batch file from servlet ??
 
 
 Randy 
 Actually this batch file contains sql command..
 like
 osql -U sa -P -i D:\Myfolder\CreateDatabase.sql
 
 i have tried this time.. with "/c start" option
 Process p = Runtime.getRuntime().exec 
  ("cmd /c start D:\\myFolder\\myBatchFile.bat"); 
  p.waitFor(); 
 and this time its able to fire the batch file
 but that batch file itself giving error that "The name 
 specified is not recognized as an internal or external command"
 
 The good thing is this option of running batch file is 
 working with standalone java application but not with servlet..
 
 /sunil
 --- Randy Layman [EMAIL PROTECTED]
  wrote:
 
 When you create a process like this, its up to you to 
 read and write
 to the process.  This means that any output from your batch 
 file will be
 lost unless you deal with is (Process has methods to get the 
 input and
 output streams for standard in/out/error).
 
 I would suggest you try running your batch file from 
 the tomcat's
 home directory.  The problem is usually one of two things.  
 Either you have
 relative paths which aren't valid in the current context or you are
 expecting environment variables that aren't valid.  (Or possibly its
 actually working but you aren't catching the batch file's 
 input to know
 that).
 
 Randy
 
 
  -Original Message-
  From: Sunil Chandurkar [mailto:[EMAIL PROTECTED]]
  Sent: Monday, April 16, 2001 11:47 AM
  To: [EMAIL PROTECTED]
  Subject: How can I run Batch file from servlet ??
  
  
  Hello All !! 
  
  I am in big trouble, i want to call batch file on the server 
  from the servlet. I have tried the following option but they 
  didn't work.. please let me know if is there any way to do it... 
  
  Process p = Runtime.getRuntime().exec 
  ("cmd D:\\myFolder\\myBatchFile.bat"); 
  p.waitFor(); 
  
  also i have tried without cmd option: 
  Process p = Runtime.getRuntime().exec 
  ("D:\\myFolder\\myBatchFile.bat"); 
  p.waitFor(); 
  
  Its not throwing an exception and not even giving me any output.. 
  
  Thanx in Advance...
  
  /sunil 
  
  
  
  _
  Get LifeTime Free email Visit  --- http://www.nagpurcity.net
 
 
 _
 Get LifeTime Free email Visit  --- http://www.nagpurcity.net


_
Get LifeTime Free email Visit  --- http://www.nagpurcity.net



RE: Randy - RE: How can I run Batch file from servlet ??

2001-04-16 Thread Sunil Chandurkar


Thanx..

its working very finely

/sunil
--- Randy Layman [EMAIL PROTECTED]
 wrote:

   Try replacing the relative osql with the fully-qualified path name
(i.e. "C:\Program Files\Oracle Apps\bin\osql.exe").

   I have several servlets that utilize external processes (and several
other applications).  I've found that you can never count on environment
variables to be correctly set, even when you use cmd.

   Randy

 -Original Message-
 From: Sunil Chandurkar [mailto:[EMAIL PROTECTED]]
 Sent: Monday, April 16, 2001 12:44 PM
 To: [EMAIL PROTECTED]
 Subject: Randy - RE: How can I run Batch file from servlet ??
 
 
 
 I have set that path variable already.. still its not working 
 did u find anyother solution
 
 thanx.. for responding lot...
 
 /sunil
 --- Randy Layman [EMAIL PROTECTED]
  wrote:
 
 That sounds like the PATH environment variable isn't 
 set (as in it
 can't find osql).
 
  -Original Message-
  From: Sunil Chandurkar [mailto:[EMAIL PROTECTED]]
  Sent: Monday, April 16, 2001 12:08 PM
  To: [EMAIL PROTECTED]
  Subject: RE: How can I run Batch file from servlet ??
  
  
  Randy 
  Actually this batch file contains sql command..
  like
  osql -U sa -P -i D:\Myfolder\CreateDatabase.sql
  
  i have tried this time.. with "/c start" option
  Process p = Runtime.getRuntime().exec 
   ("cmd /c start D:\\myFolder\\myBatchFile.bat"); 
   p.waitFor(); 
  and this time its able to fire the batch file
  but that batch file itself giving error that "The name 
  specified is not recognized as an internal or external command"
  
  The good thing is this option of running batch file is 
  working with standalone java application but not with servlet..
  
  /sunil
  --- Randy Layman [EMAIL PROTECTED]
   wrote:
  
   When you create a process like this, its up to you to 
  read and write
  to the process.  This means that any output from your batch 
  file will be
  lost unless you deal with is (Process has methods to get the 
  input and
  output streams for standard in/out/error).
  
   I would suggest you try running your batch file from 
  the tomcat's
  home directory.  The problem is usually one of two things.  
  Either you have
  relative paths which aren't valid in the current context 
 or you are
  expecting environment variables that aren't valid.  (Or 
 possibly its
  actually working but you aren't catching the batch file's 
  input to know
  that).
  
   Randy
  
  
   -----Original Message-
   From: Sunil Chandurkar [mailto:[EMAIL PROTECTED]]
   Sent: Monday, April 16, 2001 11:47 AM
   To: [EMAIL PROTECTED]
   Subject: How can I run Batch file from servlet ??
   
   
   Hello All !! 
   
   I am in big trouble, i want to call batch file on the server 
   from the servlet. I have tried the following option but they 
   didn't work.. please let me know if is there any way to 
 do it... 
   
   Process p = Runtime.getRuntime().exec 
   ("cmd D:\\myFolder\\myBatchFile.bat"); 
   p.waitFor(); 
   
   also i have tried without cmd option: 
   Process p = Runtime.getRuntime().exec 
   ("D:\\myFolder\\myBatchFile.bat"); 
   p.waitFor(); 
   
   Its not throwing an exception and not even giving me 
 any output.. 
   
   Thanx in Advance...
   
   /sunil 
   
   
   
   _
   Get LifeTime Free email Visit  --- http://www.nagpurcity.net
  
  
  _
  Get LifeTime Free email Visit  --- http://www.nagpurcity.net
 
 
 _
 Get LifeTime Free email Visit  --- http://www.nagpurcity.net


_
Get LifeTime Free email Visit  --- http://www.nagpurcity.net



Getting an error during SSL

2001-04-12 Thread Sunil Chandurkar

Hello all

to achieve SSL i followed all the steps... given in
documentation.

I got test certificate e.g. t1.cacert from DST, i have imported it on to my machine 
using keytool command
this time it was imported successfully at
user/home/.keystore according to i have changed my server.xml also.

I have downloaded JSSE1.0.2 set all class path as given
i also added jar files of JSSE to jdk/jre/lib/ext

in short i have done everything given in documentation

After doing all this when i was trying to visit my webserver from other machine.. on 
browser error i am getting is "page not found" and on webserver i'm getting following 
error:



Ctx : 400 R / null
Ctx : IOException in: R / Socket Closed


I don't understand the meaning of this.

not only this.. i have tried to generate keystore values without using any other 
certificates..
i have just used keytool -genkey ..  comman 
with -keyalg RSA.

at that time it was giving me same error in server side
and browser side it was giving me error :
name of site is not matches with the name given in certificate 

so please help me.. 

thanx in advance

sunil





 









_
Get LifeTime Free email Visit  --- http://www.nagpurcity.net



Welcome File : index.html

2001-04-10 Thread Sunil Chandurkar

Hello can i change welcome file index.html to
my sample.html

I have tried this by changing contents of welcome-file tag of file web.xml
still it didn't work..

please let me know the way... 

Thanx in advance

regards
sunil

_
Get LifeTime Free email Visit  --- http://www.nagpurcity.net



Repaint( )

2001-04-04 Thread Sunil Chandurkar

Hello All !!

Do anybody of you know how to repaint particular area of Applet rather than repainting 
an entire applet.
First tell me is it possible to repaint particular area. 

Sorry I am asking this question in Tomcat user list
but i found this is the only way to ask this question
where lots of world class personality shares their views.

Thanks in Advance

Regards

Sunil

_
Get LifeTime Free email Visit  --- http://www.nagpurcity.net



doGet - doPost

2001-03-27 Thread Sunil Chandurkar

Hello All..

Though i'm working on servlets from couple of months
i'm getting confused between doGet and doPost whenever i'm trying to do Applet-Servlet 
Communication.

My Problem is :

On particular event my Applet is sending one string to Servlet and inresponse servlet 
is sending one Vector to applet.
If i will keep on performing Applet - Servlet communication,hardly i can perform 2-3 
transactions.
On 4th request from applet to servlet .. my browser gets hung.
I have written entire code in doPost of servlet.

I am very much confused where shall i write the code on servlet side in doGet or in 
doPost.. and one more thing.. i have tried by writing code into doGet also.

I have already visited lots of sites from where i could get this solution.. and 
according to their samples. i did everything. but still problem is there only.

If anybody is having perfect solution on this Applet-Servlet communication please let 
me know...

Regards
Sunil




_
Get LifeTime Free email Visit  --- http://www.nagpurcity.net



Re: chart in jsp

2001-03-26 Thread Sunil Chandurkar


Applet is time consuming stuff for genrating dynamic chart.. go for XML.. thats only 
recommended solution

sunil
--- "Kenneth Westelinck" [EMAIL PROTECTED]
 wrote:
Hi,


Maybe you should use an applet.


regards,

Kenneth Westelinck

From: Ludovic Maitre [EMAIL PROTECTED]
Reply-To: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Re: chart in jsp
Date: Mon, 26 Mar 2001 14:34:46 +0200

Altuð Altýntaþ (Koç.Net) wrote:
 
  are there  any way to draw a dynamic chart in jsp ?
 
  any source  or idea ?
 
  thanks ..
 
  Altug

Perhaps that you can generate an SVG image (cf www.w3.org) from your
data but it's more easy with XML than with JSP.
And your public must have a SVG plugin on their browser.

Regards,

--
  [EMAIL PROTECTED]

  INRIA - 2004 route des lucioles - BP 93Tel: (33/0) 4 92 38 50 41
  06902   SOPHIA-ANTIPOLIS cedex (France)Fax: (33/0) 4 92 38 76 02

_
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.

_
Get LifeTime Free email Visit  --- http://www.nagpurcity.net



Re: Tomcat and Jsp files

2001-03-25 Thread Sunil Chandurkar

See for testing purpose you can use
"examples" as a context. 
You will find something like this in ur tomcat home 
folder: Tomcat_HOME\webapps\examples\jsp
inside this folder u will find lots of sample folders.
If you want to create new folder you can create here only... for example "TestFolder"
then u can copy all ur jsp files here : Tomcat_HOME\webapps\examples\jsp\TestFolder
and required class files(like applet files) u can copy at 
TOMCAT_HOME\webapps\examples\WEB-INF\classes

then u can run from ur browser like this

http://locahost:8080/examples/jsp/TestFolder/test.jsp

/sunil

--- Chris Andreou [EMAIL PROTECTED]
 wrote:
Hi I am using Tomcat 3.2.1 and Apache on an Nt platform. My confusion is
this: 
In http.conf file I have :

JkMount /*.jsp ajp12
JkMount /servlet/* ajp12

Should all the .jsp files be under the webapps directory? I have a jsp file
under my webroot Apache directory but Tomcat does not see it? 

Thanks

Chris

_
Get LifeTime Free email Visit  --- http://www.nagpurcity.net



How to JSP on Tomcat ...urgent !!!!.

2001-03-21 Thread Sunil Chandurkar

Hello all,

Today is my first day to work on JSP, I have created 
very simple JSP file, and was trying to run
it was giving proper output and also it was giving me following error,

Firsly i have started Apache service using net start option and then I have started 
tomcat server.

Please help me to run JSP on Tomcat server


2001-03-21 04:12:27 - Ctx( /examples ): Exception in: R( /examples + 
/jsp/dates/date.jsp + null) - 
javax.servlet.ServletException at 
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:399) at 
javax.servlet.http.HttpServlet.service(HttpServlet.java:840)  at 
org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:404)  at 
org.apache.tomcat.core.Handler.service(Handler.java:286) at 
org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372) at 
org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:797) at 
org.apache.tomcat.core.ContextManager.service(ContextManager.java:743) at 
  :
  :
  :
  : etc.

please help me






_
Get LifeTime Free email Visit  --- http://www.nagpurcity.net



How to run JSP on Tomcat under windows?

2001-03-21 Thread Sunil Chandurkar

Hello all,

Today is my first day to work on JSP, I have created 
very simple JSP file, and was trying to run
it was giving proper output and also it was giving me following error,

I am using windows machine.

Firsly i have started Apache service using net start option and then I have 
started tomcat server.

Please help me to run JSP on Tomcat server


2001-03-21 04:12:27 - Ctx( /examples ): Exception in: R( /examples + 
/jsp/dates/date.jsp 
+ null) - 
javax.servlet.ServletException at 
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:399) 
at javax.servlet.http.HttpServlet.service(HttpServlet.java:840)  at 
org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:404)  
at org.apache.tomcat.core.Handler.service(Handler.java:286) at 
org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372) 
at org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:797) 
at org.apache.tomcat.core.ContextManager.service(ContextManager.java:743) 
at 
  :
  :
  :
  : etc.

please help me





_
Get LifeTime Free email Visit  --- http://www.nagpurcity.net



Applet - Servlet Comm (Tomcat)

2001-03-13 Thread Sunil Chandurkar

Hello 

I have written code for Applet servlet communication
i'm using Tomcat as a web server...

following is Applet side code which is trying to read
object from servlet... once its giving me proper output
but during second call to this function for same servlet, hung the browser.

Applet side code :

public Object readFromServletEx(String servletName)
throws IOException, Exception
{
URLConnection   servletConnection   = null;
//*
//* Get The Servlet's URL and Connect it
//*
String  protocol= getCodeBase().getProtocol();
String  host  = getCodeBase().getHost();
int port  = getCodeBase().getPort();
URL url  = new URL(protocol,
host,
port,
"/examples/servlet/"+servletName);
servletConnection = url.openConnection();
servletConnection.setUseCaches (false);
InputStream in = servletConnection.getInputStream();
ObjectInputStream result = new ObjectInputStream(in);

return result.readObject();
}

Servlet side code :

public void doGet(HttpServletRequest request,
HttpServletResponse response)
   throws ServletException, IOException
{
ObjectOutputStream outKFileObj = 
new ObjectOutputStream   (response.getOutputStream());

Vector repositoryVector= new Vector();
repositoryVector.addElement("Ten");
repositoryVector.addElement("Tweleve");

outKFileObj.writeObject(repositoryVector);
outKFileObj.flush();
outKFileObj.close();
}


This is even not working with Java Web Server.

please help me

/sunil

_
Get LifeTime Free email Visit  --- http://www.nagpurcity.net

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




Mandar I have read those documents (help on HTTPS)

2001-03-13 Thread Sunil Chandurkar

I have read them now proble is how to associate one
fake certificate with our web server.
I have achieved https by configuring server.xml, 
even i have created one certificate 
its asking me first time to install that certificate..
once i installed the proper certificate.. ideally he shouldn't ask me again but 
problem is its again keep on asking me for installing certificate.. 
i dont know how to cope with the situation...
or better u tell me how to associated one generated certificate to our web server.

/sunil

--- "Mandar Joshi" [EMAIL PROTECTED]
 wrote:
Read Document how to ssl in the docs directory - see the option SSL direct.

Mandar
- Original Message -
From: "Sunil Chandurkar" [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, March 05, 2001 9:30 PM
Subject: Re: I'm New User - Tomcat HTTPS Help expecting



 But Mr. David

 Is there any need to make any association between apache and tomcat. If
yes how can i make it?
 how can i get SSL Virtual Host?

 /sunil

 --- David Crooke [EMAIL PROTECTED]
  wrote:
 SSL is entirely orthogonal to Tomcat - just put the tomcat directives in
 your SSL virtual host and use https URLs - look at
 http://www.modssl.org/ for SSL info
 
 
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, email: [EMAIL PROTECTED]

 _
 Get LifeTime Free email Visit  --- http://www.nagpurcity.net

 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, email: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

_
Get LifeTime Free email Visit  --- http://www.nagpurcity.net

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




Re: I'm New User - Tomcat HTTPS Help expecting

2001-03-05 Thread Sunil Chandurkar


But Mr. David

Is there any need to make any association between apache and tomcat. If yes how can i 
make it?
how can i get SSL Virtual Host?

/sunil

--- David Crooke [EMAIL PROTECTED]
 wrote:
SSL is entirely orthogonal to Tomcat - just put the tomcat directives in
your SSL virtual host and use https URLs - look at
http://www.modssl.org/ for SSL info




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

_
Get LifeTime Free email Visit  --- http://www.nagpurcity.net

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




https and Tomcat

2000-12-12 Thread Sunil Chandurkar

I have written one applet which is trying to talk to servlet thru https
protocol...
but its not working and even not giving error also. wht shall i do for this?
shall i configure tomcat to receive such request?


Regards

Sunil
Software Engineer
[Kuokoa Network Inc.]




JNI and Tomcat

2000-12-12 Thread Sunil Chandurkar

Hello

Let me tell you what i have done. and let me know if i'm doing anything
wrong...
(I just want to call DLL through servlet which is giving data to Applet)

-I have created one applet and then copied that applet into one directory
called "D:\ClassFolder"
-then copied this folder into directory webapps\examples.
-then copied html file into webapps\examples which is calling my applet
(codebase="classfolder")
-then copied servlet at webapps\examples\web-inf\classes
-the servlet is calling DLL, so I copied that DLL at E:\Tomcat

"in case of Java Web Server.. I used to copy DLL at E:\jsdk1.3,
I have created folder "ClassFolder" and copied into E:\jsdk1.3\webPages
and copied all html files into E:\jsdk1.3\webPages
and copied all servlets file at E:\jsdk1.3\examples\web-inf\servlet"
Here it was working

but in case of TOMCATi am getting an error:Plese go thru it and let me
know the exact way
to do it.
"I don't know what is Context Manager etc."

2000-12-13 12:43:57 - Ctx( /examples ): IOException in: R( /examples +
/ClassFol
der/AuthenticationApplet.class + null) Connection aborted by peer: socket
write
error
2000-12-13 12:44:10 - Ctx( /examples ): Exception in: R( /examples +
/servlet/Au
thenticationServlet + null) - java.lang.UnsatisfiedLinkError: no
KFRepInterface
in java.library.path
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1312)
at java.lang.Runtime.loadLibrary0(Runtime.java:749)
at java.lang.System.loadLibrary(System.java:820)
at GetArrayOfStructs.clinit(GetArrayOfStructs.java:17)
at AuthenticationServlet.doPost(AuthenticationServlet.java:28)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:747)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:840)
at
org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:4
04)
at org.apache.tomcat.core.Handler.service(Handler.java:286)
at
org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372
)
at
org.apache.tomcat.core.ContextManager.internalService(ContextManager.
java:797)
at
org.apache.tomcat.core.ContextManager.service(ContextManager.java:743
)
at
org.apache.tomcat.service.http.HttpConnectionHandler.processConnectio
n(HttpConnectionHandler.java:210)
at
org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:
416)
at
org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java
:498)
at java.lang.Thread.run(Thread.java:484)