URGENT : Special Character when deployed on Linux

2005-08-22 Thread nitin dubey
Hello all,

I am getting special characters when we enter spaces
during formatting a text in a textarea.  It used to
work perfectly in our development environment but when
we moved it to production we get 'Â' character for
every repeated blank space.

The only thing changing in development and prodution
is OS from Windows to Linux(Production).  I just want
to know if anyone has faced this problem anytime
developing their applications.

Development Environment:
OS:Windows 2K
Browser: IE5.5+, Firefox1.0+
Database: MYSQL (on Linux Server)
ServletContainer: Tomcat(On windows Server)

Production Environment:
Database: MYSQL (on Linux Server)
ServletContainer: Tomcat(On Linux Server)

Note:I am also using FCKEditor for editing the
content.   But they say its not the problem with
FCKEditor.

Cheers,


Nitin

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

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



Re: URGENT : Special Character when deployed on Linux

2005-08-22 Thread Wade Chandler
--- nitin dubey [EMAIL PROTECTED] wrote:

 Hello all,
 
 I am getting special characters when we enter spaces
 during formatting a text in a textarea.  It used to
 work perfectly in our development environment but
 when
 we moved it to production we get 'Â' character for
 every repeated blank space.
 
 The only thing changing in development and prodution
 is OS from Windows to Linux(Production).  I just
 want
 to know if anyone has faced this problem anytime
 developing their applications.
 
 Development Environment:
 OS:Windows 2K
 Browser: IE5.5+, Firefox1.0+
 Database: MYSQL (on Linux Server)
 ServletContainer: Tomcat(On windows Server)
 
 Production Environment:
 Database: MYSQL (on Linux Server)
 ServletContainer: Tomcat(On Linux Server)
 
 Note:I am also using FCKEditor for editing the
 content.   But they say its not the problem with
 FCKEditor.
 
 Cheers,
 
 
 Nitin
 
 __
 Do You Yahoo!?
 Tired of spam?  Yahoo! Mail has the best spam
 protection around 
 http://mail.yahoo.com 
 

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

You're getting the characters where?  Is this in your
java code or after you put into the database then read
back out?  For your MySQL connection you will probably
want to set the encoding.  See it's connection
parametersif it's after putting the data into the
database.  I've seen this happen before.  You're
default encodings are probably different.  Also if you
are using a Reader to parse anything as a stream
then you will want to setup some config to set your
encoding there as well.  Is this maybe after pasting
from Word, or is this in IE using an encoding on the
page or are you using an encoding with your form? 
You'll need to use the same encoding every where. 
JSP, Readers, MySQL, etc.

Wade

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



Re: URGENT : Special Character when deployed on Linux

2005-08-22 Thread nitin dubey
Wade,

It is when the data is displayed in browser.  I have
used the default encoding and will now look out for
any mismatch.

Regards,

Nitin

--- Wade Chandler [EMAIL PROTECTED]
wrote:

 --- nitin dubey [EMAIL PROTECTED] wrote:
 
  Hello all,
  
  I am getting special characters when we enter
 spaces
  during formatting a text in a textarea.  It used
 to
  work perfectly in our development environment but
  when
  we moved it to production we get 'Â' character for
  every repeated blank space.
  
  The only thing changing in development and
 prodution
  is OS from Windows to Linux(Production).  I just
  want
  to know if anyone has faced this problem anytime
  developing their applications.
  
  Development Environment:
  OS:Windows 2K
  Browser: IE5.5+, Firefox1.0+
  Database: MYSQL (on Linux Server)
  ServletContainer: Tomcat(On windows Server)
  
  Production Environment:
  Database: MYSQL (on Linux Server)
  ServletContainer: Tomcat(On Linux Server)
  
  Note:I am also using FCKEditor for editing the
  content.   But they say its not the problem with
  FCKEditor.
  
  Cheers,
  
  
  Nitin
  
  __
  Do You Yahoo!?
  Tired of spam?  Yahoo! Mail has the best spam
  protection around 
  http://mail.yahoo.com 
  
 

-
  To unsubscribe, e-mail:
  [EMAIL PROTECTED]
  For additional commands, e-mail:
  [EMAIL PROTECTED]
  
  
 
 You're getting the characters where?  Is this in
 your
 java code or after you put into the database then
 read
 back out?  For your MySQL connection you will
 probably
 want to set the encoding.  See it's connection
 parametersif it's after putting the data into
 the
 database.  I've seen this happen before.  You're
 default encodings are probably different.  Also if
 you
 are using a Reader to parse anything as a stream
 then you will want to setup some config to set your
 encoding there as well.  Is this maybe after pasting
 from Word, or is this in IE using an encoding on the
 page or are you using an encoding with your form? 
 You'll need to use the same encoding every where. 
 JSP, Readers, MySQL, etc.
 
 Wade
 

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


__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

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



( URGENT Please ) tomcat connection refused

2005-07-27 Thread Abdullah Abdullah

Dear all

I am trying to create a secure connection between tomcat server and a 
browser. I have done exactly the same as the instructions on


http://jakarta.apache.org/tomcat/tomcat-5.5-doc/ssl-howto.html

but when I tried to connect on the port   https://localhost:8443  , an alert 
popped up saying (( The connection was refused when attepting to contact 
localhost:8443 .


So, I would be very grateful if anyone can let me know what is the problem 
??


Thanks in advance

Abdullah

_
It's fast, it's easy and it's free. Get MSN Messenger 7.0 today! 
http://messenger.msn.co.uk



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



RE: ( URGENT Please ) tomcat connection refused

2005-07-27 Thread David Shapiro
Did you generate the RSA key with the changeit password?  Did you uncomment
the section with 8443 port configuration?  Did you wait long enough for the
server to start (tail -f the catalina.out log and wait for it to see 8443
has started).  What is in the catalina.out log?  Any errors?  On IBM AIX I
had to change the protocol to IbmX503 and use SSL instead of TLS.  Try
changing TLS to SSL (see the section for configuring 8443 to do this).  

David 

-Original Message-
From: Abdullah Abdullah [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, July 27, 2005 1:10 PM
To: tomcat-user@jakarta.apache.org; tomcat-dev@jakarta.apache.org
Subject: ( URGENT Please ) tomcat connection refused

Dear all

I am trying to create a secure connection between tomcat server and a
browser. I have done exactly the same as the instructions on

http://jakarta.apache.org/tomcat/tomcat-5.5-doc/ssl-howto.html

but when I tried to connect on the port   https://localhost:8443  , an alert

popped up saying (( The connection was refused when attepting to contact
localhost:8443 .

So, I would be very grateful if anyone can let me know what is the problem
??

Thanks in advance

Abdullah

_
It's fast, it's easy and it's free. Get MSN Messenger 7.0 today! 
http://messenger.msn.co.uk


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




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



It's Urgent. Network Adapter

2005-06-16 Thread bhupendra bendale
hi All,
 
 
i am having problem of java.sql.SqlException Network Adapter Could not 
Establish Connection on tomcat consol.
and i am not getting database access.
 
Can Anyone tell me The answer for this
   It's Urgent.
 
Thank You
 
 
 
 


-
Discover Yahoo!
 Get on-the-go sports scores, stock quotes, news  more. Check it out!

Re: It's Urgent. Network Adapter

2005-06-16 Thread Sivaram Kumar
Hi bhupendra,
  try to check your driverClassName and host setup.
try setting up localhost instead od ip.
- Original Message - 
From: bhupendra bendale [EMAIL PROTECTED]
To: tomcat-user@jakarta.apache.org
Sent: Thursday, June 16, 2005 4:55 PM
Subject: It's Urgent. Network Adapter


 hi All,
  
  
 i am having problem of java.sql.SqlException Network Adapter Could not 
 Establish Connection on tomcat consol.
 and i am not getting database access.
  
 Can Anyone tell me The answer for this
    It's Urgent.
  
 Thank You
  
  
  
  
 
 
 -
 Discover Yahoo!
  Get on-the-go sports scores, stock quotes, news  more. Check it out!

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



Re: Urgent: how to detect client has closed connection

2005-06-07 Thread Ronald Klop

Sorry,

But I have no more suggestions. I would have to debug it myself than and don't 
have the time for that. Maybe somebody else on the list can tell you more. 
Maybe posting some snippets of code helps.

Ronald.

On Thu Jun 02 22:25:12 CEST 2005 lapson lee [EMAIL PROTECTED] wrote:

Hey Ronald,

Thanks for your help. I checked the code. I use default out.. and it indeed 
was using javax.servlet.jsp.JspWriter, but it does not throw an IOException. 
Do you know why?


Thanks in advance...

Luke




From: Ronald Klop [EMAIL PROTECTED]
Reply-To: Tomcat Users List tomcat-user@jakarta.apache.org
To: Tomcat Users List tomcat-user@jakarta.apache.org
Subject: Re: Urgent: how to detect client has closed connection
Date: Wed, 1 Jun 2005 14:14:08 +0200 (CEST)

What Writer are you using? If you do response.getWriter() you will get a 
PrintWriter and the docs tell you that PrintWriter doesn't throw 
exceptions, so your app keeps printing to the writer after an error. (A 
closed connection is an IOException.)
If you use the default out property of a jsp page you get a JspWriter which 
does throw exeptions on error.


Ronald.

On Tue May 31 19:42:30 CEST 2005 Tomcat Users List 
tomcat-user@jakarta.apache.org wrote:

Hey guys,

I have a problem right now. I wrote a Jsp page to keep sending data to 
client browser. However, no exception was thrown when I use out.print() to 
send something to client even after client has closed his web browser. My 
question is how can i know his browser is closed, so I can stop sending.
Also, from the tomcat logs, the reset by peer socket exception was 
thrown by Tomcat. however, seems i don't have a way to catch it.


Can anybody help me with this one... I will be really thankful to any help 
from you.


Thanks,
Luke

_
Express yourself instantly with MSN Messenger! Download today it's FREE! 
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/



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



_
Don't just search. Find. Check out the new MSN Search! 
http://search.msn.com/






Re: Urgent: how to detect client has closed connection

2005-06-02 Thread lapson lee

Hey Ronald,

Thanks for your help. I checked the code. I use default out.. and it indeed 
was using javax.servlet.jsp.JspWriter, but it does not throw an IOException. 
Do you know why?


Thanks in advance...

Luke





From: Ronald Klop [EMAIL PROTECTED]
Reply-To: Tomcat Users List tomcat-user@jakarta.apache.org
To: Tomcat Users List tomcat-user@jakarta.apache.org
Subject: Re: Urgent: how to detect client has closed connection
Date: Wed, 1 Jun 2005 14:14:08 +0200 (CEST)

What Writer are you using? If you do response.getWriter() you will get a 
PrintWriter and the docs tell you that PrintWriter doesn't throw 
exceptions, so your app keeps printing to the writer after an error. (A 
closed connection is an IOException.)
If you use the default out property of a jsp page you get a JspWriter which 
does throw exeptions on error.


Ronald.

On Tue May 31 19:42:30 CEST 2005 Tomcat Users List 
tomcat-user@jakarta.apache.org wrote:

Hey guys,

I have a problem right now. I wrote a Jsp page to keep sending data to 
client browser. However, no exception was thrown when I use out.print() to 
send something to client even after client has closed his web browser. My 
question is how can i know his browser is closed, so I can stop sending.
Also, from the tomcat logs, the reset by peer socket exception was 
thrown by Tomcat. however, seems i don't have a way to catch it.


Can anybody help me with this one... I will be really thankful to any help 
from you.


Thanks,
Luke

_
Express yourself instantly with MSN Messenger! Download today it's FREE! 
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/



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





_
Don't just search. Find. Check out the new MSN Search! 
http://search.msn.com/



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



Re: Urgent: how to detect client has closed connection

2005-06-01 Thread Ronald Klop

What Writer are you using? If you do response.getWriter() you will get a 
PrintWriter and the docs tell you that PrintWriter doesn't throw exceptions, so 
your app keeps printing to the writer after an error. (A closed connection is 
an IOException.)
If you use the default out property of a jsp page you get a JspWriter which 
does throw exeptions on error.

Ronald.

On Tue May 31 19:42:30 CEST 2005 Tomcat Users List 
tomcat-user@jakarta.apache.org wrote:

Hey guys,

I have a problem right now. I wrote a Jsp page to keep sending data to 
client browser. However, no exception was thrown when I use out.print() to 
send something to client even after client has closed his web browser. My 
question is how can i know his browser is closed, so I can stop sending.
Also, from the tomcat logs, the reset by peer socket exception was thrown 
by Tomcat. however, seems i don't have a way to catch it.


Can anybody help me with this one... I will be really thankful to any help 
from you.


Thanks,
Luke

_
Express yourself instantly with MSN Messenger! Download today it's FREE! 
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/



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





Urgent: How to detect client connection has closed.

2005-05-31 Thread lapson lee

Hey guys,

I have a problem right now. I wrote a Jsp page to keep sending data to 
client browser. However, no exception was thrown when I use out.print() to 
send something to client even after client has closed his web browser. My 
question is how can i know his browser is closed, so I can stop sending.
Also, from the tomcat logs, the reset by peer socket exception was thrown 
by Tomcat. however, seems i don't have a way to catch it.


Can anybody help me with this one... I will be really thankful to any help 
from you.


Thanks,
Luke

_
Don't just search. Find. Check out the new MSN Search! 
http://search.msn.com/



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



Urgent: how to detect client has closed connection

2005-05-31 Thread lapson lee

Hey guys,

I have a problem right now. I wrote a Jsp page to keep sending data to 
client browser. However, no exception was thrown when I use out.print() to 
send something to client even after client has closed his web browser. My 
question is how can i know his browser is closed, so I can stop sending.
Also, from the tomcat logs, the reset by peer socket exception was thrown 
by Tomcat. however, seems i don't have a way to catch it.


Can anybody help me with this one... I will be really thankful to any help 
from you.


Thanks,
Luke

_
Express yourself instantly with MSN Messenger! Download today it's FREE! 
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/



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



Tomcat not running(4.0.6/5.0.19)-urgent

2005-03-19 Thread ayaskant swain
Dear Sir/Madam,
I have been using tomcat 4.x/5.0.x version for web 
developmen (JSP/Servlets)but i am finding difficulties in starting the server 
itself many times.I have set the JAVA_HOME environmental variable to the 
directory where i have installed the j2sdk1.4.2. e.g. E:\j2sdk1.4.2. and under 
that folder all other subfolders like bin, jre are there.When i am trying to 
start the tomcat server by double clicking on the startup.bat inside bin folder 
the tomcat console comes only for 3-4 seconds and then disappears.I  also tried 
to solve it by changing the port no 8080 which is inside server.xml file to any 
other port (e.g. 9020,8090 etc.),but still it's not working.
 
   Also sometimes even though the server starts and runs fine and i am 
able to see the index.html page(featuring the cat) i get a 404 error of 
resource not found while trying to access my own webapplication which i create 
inside the webapps folder.though it is there 
already.For an example i create a folder named my_apps/WEB-INF/classes inside 
webapps but i get a 404 error (resource not found) when i type 
http://localhost:8080/my_apps
 
These two problems are really making me annoyed.I am fade of these 
problems.Please tell me the solution to these problems.
 
Ayaskant 
 


-
Do you Yahoo!?
 Yahoo! Small Business - Try our new resources site! 

Re: Tomcat not running(4.0.6/5.0.19)-urgent

2005-03-19 Thread Torrey Rice
It's tough to say what your problem is without more information. Did you 
check Tomcat's logs to see what the error is when starting up? Have you 
tried running tomcat from the console instead of from a batch file so 
that you can see the output of the server when it erors and quits?

Give those a try and let us know what the output is and maybe some one 
can help.

Regards
ayaskant swain wrote:
Dear Sir/Madam,
   I have been using tomcat 4.x/5.0.x version for web 
developmen (JSP/Servlets)but i am finding difficulties in starting the server 
itself many times.I have set the JAVA_HOME environmental variable to the 
directory where i have installed the j2sdk1.4.2. e.g. E:\j2sdk1.4.2. and under 
that folder all other subfolders like bin, jre are there.When i am trying to 
start the tomcat server by double clicking on the startup.bat inside bin folder 
the tomcat console comes only for 3-4 seconds and then disappears.I  also tried 
to solve it by changing the port no 8080 which is inside server.xml file to any 
other port (e.g. 9020,8090 etc.),but still it's not working.
  Also sometimes even though the server starts and runs fine and i am able to see the index.html page(featuring the cat) i get a 404 error of resource not found while trying to access my own webapplication which i create inside the webapps folder.though it is there 
already.For an example i create a folder named my_apps/WEB-INF/classes inside 
webapps but i get a 404 error (resource not found) when i type http://localhost:8080/my_apps

These two problems are really making me annoyed.I am fade of these 
problems.Please tell me the solution to these problems.
Ayaskant 

		
-
Do you Yahoo!?
Yahoo! Small Business - Try our new resources site! 
 

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


Re: Tomcat not running(4.0.6/5.0.19)-urgent

2005-03-19 Thread ayaskant swain
Thanks for your instant reply.But i just checked whatever u had said.I tried to 
start it from the console by giving the command %CATALINA_HOME%\bin\startup.bat 
 but same problem still persists.The tomcat console came only for 2-3 seconds 
and then dissapeared.So i could not read the error messages.I am using Windows 
2000 server.some times it runs fine and gives me the desired output.
 
Ok what about that resource not found(404 error).I have created my own folder  
called my_apps inside webapps and the whole directory structure WEB-INF/classes 
inside that.but when am typing http://localhost:8080/my_apps in the address bar 
of the browser am getting this error.Ya one clue is that in the tomcat console 
am getting org.xml.sax.SAXPARSEException. 
web-app should match with a ending /web-app.But i have checked my 
webapplication's web.xml file  it is correct and there is no other user's 
application inside the webapps folder.
 
Currently am doing a project and i need the solution very badly.
 
First let me help in starting the server.What about that logs?
Ayaskant

Torrey Rice [EMAIL PROTECTED] wrote:
It's tough to say what your problem is without more information. Did you 
check Tomcat's logs to see what the error is when starting up? Have you 
tried running tomcat from the console instead of from a batch file so 
that you can see the output of the server when it erors and quits?

Give those a try and let us know what the output is and maybe some one 
can help.

Regards

ayaskant swain wrote:

Dear Sir/Madam,
 I have been using tomcat 4.x/5.0.x version for web developmen 
 (JSP/Servlets)but i am finding difficulties in starting the server itself 
 many times.I have set the JAVA_HOME environmental variable to the directory 
 where i have installed the j2sdk1.4.2. e.g. E:\j2sdk1.4.2. and under that 
 folder all other subfolders like bin, jre are there.When i am trying to start 
 the tomcat server by double clicking on the startup.bat inside bin folder the 
 tomcat console comes only for 3-4 seconds and then disappears.I also tried to 
 solve it by changing the port no 8080 which is inside server.xml file to any 
 other port (e.g. 9020,8090 etc.),but still it's not working.
 
 Also sometimes even though the server starts and runs fine and i am able to 
 see the index.html page(featuring the cat) i get a 404 error of resource not 
 found while trying to access my own webapplication which i create inside the 
 webapps folder.though it is there 
already.For an example i create a folder named my_apps/WEB-INF/classes inside 
webapps but i get a 404 error (resource not found) when i type 
http://localhost:8080/my_apps
 
These two problems are really making me annoyed.I am fade of these 
problems.Please tell me the solution to these problems.
 
Ayaskant 
 

 
-
Do you Yahoo!?
 Yahoo! Small Business - Try our new resources site! 
 


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



-
Do you Yahoo!?
 Read only the mail you want - Yahoo! Mail SpamGuard.

Re: Tomcat not running(4.0.6/5.0.19)-urgent

2005-03-19 Thread Mark Leone
Try putting an html or jsp file in your my_apps folder. I'm not sure 
what Tomcat does when you navigate to the web app with nothing other 
than WEB-INF in the web app's folder. When I navigate to one of my web 
apps the way you're trying, I get a directory listing of the files and 
folders I have there, but I notice that that WEB-INF is not included in 
that listing, even though it is present. So a better test of your web 
app would be to try to hit an html or jsp page.

As someone else pointed out, the log files should give you a good clue 
as to why Tomcat isn't starting up sometimes.

-Mark
ayaskant swain wrote:
Dear Sir/Madam,
   I have been using tomcat 4.x/5.0.x version for web 
developmen (JSP/Servlets)but i am finding difficulties in starting the server 
itself many times.I have set the JAVA_HOME environmental variable to the 
directory where i have installed the j2sdk1.4.2. e.g. E:\j2sdk1.4.2. and under 
that folder all other subfolders like bin, jre are there.When i am trying to 
start the tomcat server by double clicking on the startup.bat inside bin folder 
the tomcat console comes only for 3-4 seconds and then disappears.I  also tried 
to solve it by changing the port no 8080 which is inside server.xml file to any 
other port (e.g. 9020,8090 etc.),but still it's not working.
  Also sometimes even though the server starts and runs fine and i am able to see the index.html page(featuring the cat) i get a 404 error of resource not found while trying to access my own webapplication which i create inside the webapps folder.though it is there 
already.For an example i create a folder named my_apps/WEB-INF/classes inside 
webapps but i get a 404 error (resource not found) when i type http://localhost:8080/my_apps

These two problems are really making me annoyed.I am fade of these 
problems.Please tell me the solution to these problems.
Ayaskant 

		
-
Do you Yahoo!?
Yahoo! Small Business - Try our new resources site! 
 

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


Urgent: Doubt about Chunking

2005-03-12 Thread accm
Hi, 

I am using Tomcat 4.1.31. When my client send the request using the protocol 
HTTP 1.1, the server does not enable chunking in your response. However, 
when I am using Tomcat 4.1.12, the server enable chunking. 

What is problem with the Tomcat 4.1.31? 

Can somebody help me? 

Thanks,
Ana Carolina
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


DBCP Object not closed- urgent help reuired.

2005-03-02 Thread micky none
Hi friends,
i've a program that takes in date from the user in a text box.Everything works 
fine except the log files shows something like this:

--

(Http11Protocol.java:738)
at 
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:526)
at 
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
at 
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
at java.lang.Thread.run(Thread.java:595)
DBCP object created 2005-03-01 23:06:58 by the following code was never closed:
java.lang.Exception
at org.apache.commons.dbcp.AbandonedTrace.init(AbandonedTrace.java:96)
at org.apache.commons.dbcp.AbandonedTrace.init(AbandonedTrace.java:79)
at 
org.apache.commons.dbcp.DelegatingStatement.init(DelegatingStatement.java:60)
at 
org.apache.commons.dbcp.DelegatingConnection.createStatement(DelegatingConnection.java:173)
at 
org.apache.commons.dbcp.PoolingDataSource$PoolGuardConnectionWrapper.createStatement(PoolingDataSource.java:209)
at com.ResSet.getResultSet(ResSet.java:30)
at com.TournamentDollars.retArrayList(TournamentDollars.java:119)
at 
org.apache.jsp.BonusReleased_jsp._jspService(org.apache.jsp.BonusReleased_jsp:158)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:99)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at org.apache.jasper.servlet.JspServletWrapper.service

--

whereas i am calling the close method at the end of my JSP,after i am finished 
with my data display.The close method that i call is:


---
 public void close()
  {
   try { results.close(); } catch (Exception ex) {}
   try { st.close(); } catch (Exception ex) {}
   try { con.close(); } catch (Exception ex) {}
  }



Please help me friends asap,it's really urgent for me,your help would be really 
appreciated.Waitin for your replies,
bye

Re: strange tomcat Behavior need urgent help.

2004-12-20 Thread Eric Rotick
This is a MySql problem. It shuts down connections if they have been
idle for too long. You need a pool manager that takes care of this.
Something like c3p0 will do the job.


On Sun, 19 Dec 2004 12:28:09 + (GMT), Krishnakant Mane
[EMAIL PROTECTED] wrote:
 
 
 hello all,
 I am Krishnakant Mane from India.  I own a software
 firm and we generally implement our systems on linux
 and all open source servers like jakarta tomcat and
 apache server in particular.  of late I have been
 facing a strange problem with tomcat.
 I am a tomcat 5 aka 5.0.25 user.  I have deployed an
 database based application using mysql as the
 back-end.  I use mysql jdbc driver to connect to the
 database.
 the application runs fine for a long time.  I check it
 personally for the entire day.  since our developers
 work on the server the entire day, I am sure there is
 that it works.  but when we shut our office and come
 next day morning, the application does not respond.
 what could be the problem.
 it is strange to see that when the server is under
 some kind of a small work load it works absolutely
 fine.  but when we don't touch it for the entire night
 the thing sympally does not work.  does tomcat also
 require warm-up?  haha.
 by the way, I have kept the jdbc (jar) library in the
 common/lib directory as all my applications are
 database based.  is it the right thing to do?
 and lastly what steps should I take to avoid the above
 mentioned problem.  one thing I will like to mention.
 when the application give problem in the morning, it
 responds with just the title and when it comes to the
 database connection it gets stuck I believe.  but when
 I run some console app with the same jdbc driver it
 properly connects to the same database/table.  and the
 application works fine when I reload again.
 Please provide some valuable feedback
 thanks
 Krishnakant.
 
 
 ___
 Win a castle for NYE with your mates and Yahoo! Messenger
 http://uk.messenger.yahoo.com
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 


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



Re: strange tomcat Behavior need urgent help.

2004-12-20 Thread Parsons Technical Services
The pool manager built into Tomcat handles this just fine. Also ensure you 
have the latest drivers.

Doug
- Original Message - 
From: Eric Rotick [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Monday, December 20, 2004 7:39 AM
Subject: Re: strange tomcat Behavior need urgent help.


This is a MySql problem. It shuts down connections if they have been
idle for too long. You need a pool manager that takes care of this.
Something like c3p0 will do the job.
On Sun, 19 Dec 2004 12:28:09 + (GMT), Krishnakant Mane
[EMAIL PROTECTED] wrote:

hello all,
I am Krishnakant Mane from India.  I own a software
firm and we generally implement our systems on linux
and all open source servers like jakarta tomcat and
apache server in particular.  of late I have been
facing a strange problem with tomcat.
I am a tomcat 5 aka 5.0.25 user.  I have deployed an
database based application using mysql as the
back-end.  I use mysql jdbc driver to connect to the
database.
the application runs fine for a long time.  I check it
personally for the entire day.  since our developers
work on the server the entire day, I am sure there is
that it works.  but when we shut our office and come
next day morning, the application does not respond.
what could be the problem.
it is strange to see that when the server is under
some kind of a small work load it works absolutely
fine.  but when we don't touch it for the entire night
the thing sympally does not work.  does tomcat also
require warm-up?  haha.
by the way, I have kept the jdbc (jar) library in the
common/lib directory as all my applications are
database based.  is it the right thing to do?
and lastly what steps should I take to avoid the above
mentioned problem.  one thing I will like to mention.
when the application give problem in the morning, it
responds with just the title and when it comes to the
database connection it gets stuck I believe.  but when
I run some console app with the same jdbc driver it
properly connects to the same database/table.  and the
application works fine when I reload again.
Please provide some valuable feedback
thanks
Krishnakant.
___
Win a castle for NYE with your mates and Yahoo! Messenger
http://uk.messenger.yahoo.com
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

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


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


strange tomcat Behavior need urgent help.

2004-12-19 Thread Krishnakant Mane


hello all,
I am Krishnakant Mane from India.  I own a software
firm and we generally implement our systems on linux
and all open source servers like jakarta tomcat and
apache server in particular.  of late I have been
facing a strange problem with tomcat.
I am a tomcat 5 aka 5.0.25 user.  I have deployed an
database based application using mysql as the
back-end.  I use mysql jdbc driver to connect to the
database.
the application runs fine for a long time.  I check it
personally for the entire day.  since our developers
work on the server the entire day, I am sure there is
that it works.  but when we shut our office and come
next day morning, the application does not respond.
what could be the problem.
it is strange to see that when the server is under
some kind of a small work load it works absolutely
fine.  but when we don't touch it for the entire night
the thing sympally does not work.  does tomcat also
require warm-up?  haha.
by the way, I have kept the jdbc (jar) library in the
common/lib directory as all my applications are
database based.  is it the right thing to do?
and lastly what steps should I take to avoid the above
mentioned problem.  one thing I will like to mention.
when the application give problem in the morning, it
responds with just the title and when it comes to the
database connection it gets stuck I believe.  but when
I run some console app with the same jdbc driver it
properly connects to the same database/table.  and the
application works fine when I reload again.
Please provide some valuable feedback
thanks
Krishnakant.



___ 
Win a castle for NYE with your mates and Yahoo! Messenger 
http://uk.messenger.yahoo.com

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



RE: strange tomcat Behavior need urgent help.

2004-12-19 Thread Jan Behrens
Hi Krishnakant,

I think there was a problem with MySQL connections after a certain amount of
time. I am assume that you have defined a Datasource within TC and are using
a connection pool for the connection. If not, I would highly recommend doing
so, especially since your problem could be related to not having a
connection pool. If you do have all of the above I would try adding the
following parameters to your ressource


 

 -Original Message-
 From: Krishnakant Mane [mailto:[EMAIL PROTECTED] 
 Sent: Sunday, December 19, 2004 1:28 PM
 To: [EMAIL PROTECTED]
 Subject: strange tomcat Behavior need urgent help.
 
 
 
 
 hello all,
 I am Krishnakant Mane from India.  I own a software
 firm and we generally implement our systems on linux
 and all open source servers like jakarta tomcat and
 apache server in particular.  of late I have been
 facing a strange problem with tomcat.
 I am a tomcat 5 aka 5.0.25 user.  I have deployed an
 database based application using mysql as the
 back-end.  I use mysql jdbc driver to connect to the
 database.
 the application runs fine for a long time.  I check it 
 personally for the entire day.  since our developers work on 
 the server the entire day, I am sure there is that it works.  
 but when we shut our office and come next day morning, the 
 application does not respond. what could be the problem. it 
 is strange to see that when the server is under some kind of 
 a small work load it works absolutely fine.  but when we 
 don't touch it for the entire night the thing sympally does 
 not work.  does tomcat also require warm-up?  haha. by the 
 way, I have kept the jdbc (jar) library in the common/lib 
 directory as all my applications are database based.  is it 
 the right thing to do? and lastly what steps should I take to 
 avoid the above mentioned problem.  one thing I will like to 
 mention. when the application give problem in the morning, it 
 responds with just the title and when it comes to the 
 database connection it gets stuck I believe.  but when I run 
 some console app with the same jdbc driver it properly 
 connects to the same database/table.  and the application 
 works fine when I reload again. Please provide some valuable 
 feedback thanks Krishnakant.
 
 
   
 ___ 
 Win a castle for NYE with your mates and Yahoo! Messenger 
 http://uk.messenger.yahoo.com
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 


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



RE: strange tomcat Behavior need urgent help.

2004-12-19 Thread Jan Behrens
SORRY, HERE IS THE FULL MAIL

Hi Krishnakant,

I think there was a problem with MySQL connections after a certain amount of
time. I am assume that you have defined a Datasource within TC and are using
a connection pool for the connection. If not, I would highly recommend doing
so, especially since your problem could be related to not having a
connection pool. If you do have all of the above I would try adding the
following parameters to your ressource (within your applicationName.xml
file)

ResourceParams name=jdbc/yourJNDIname
parameter
  nameurl/name
 
valuejdbc:mysql://nameOfServer:port/databaseName?autoReconnect=true/value

/parameter
parameter
  namemaxIdle/name
  value15/value
/parameter
parameter
  namemaxActive/name
  value50/value
/parameter
parameter
  namedriverClassName/name
  valuecom.mysql.jdbc.Driver/value
/parameter
parameter
  namemaxWait/name
  value1/value
/parameter
parameter
  nameremoveAbandoned/name
  valuetrue/value
/parameter

/ResourceParams

You will have to play around with the values provided above but these have
worked for me so they might be a reasonable starting point. If this doesn't
help, I would suggest searching -- http://lists.mysql.com/java. I think
there must be plenty of posts related to your problem.

HTH, Jan


 

 -Original Message-
 From: Krishnakant Mane [mailto:[EMAIL PROTECTED]
 Sent: Sunday, December 19, 2004 1:28 PM
 To: [EMAIL PROTECTED]
 Subject: strange tomcat Behavior need urgent help.
 
 
 
 
 hello all,
 I am Krishnakant Mane from India.  I own a software
 firm and we generally implement our systems on linux
 and all open source servers like jakarta tomcat and
 apache server in particular.  of late I have been
 facing a strange problem with tomcat.
 I am a tomcat 5 aka 5.0.25 user.  I have deployed an
 database based application using mysql as the
 back-end.  I use mysql jdbc driver to connect to the database.
 the application runs fine for a long time.  I check it 
 personally for the entire day.  since our developers work on 
 the server the entire day, I am sure there is that it works.  
 but when we shut our office and come next day morning, the 
 application does not respond. what could be the problem. it 
 is strange to see that when the server is under some kind of 
 a small work load it works absolutely fine.  but when we 
 don't touch it for the entire night the thing sympally does 
 not work.  does tomcat also require warm-up?  haha. by the 
 way, I have kept the jdbc (jar) library in the common/lib 
 directory as all my applications are database based.  is it 
 the right thing to do? and lastly what steps should I take to 
 avoid the above mentioned problem.  one thing I will like to 
 mention. when the application give problem in the morning, it 
 responds with just the title and when it comes to the 
 database connection it gets stuck I believe.  but when I run 
 some console app with the same jdbc driver it properly 
 connects to the same database/table.  and the application 
 works fine when I reload again. Please provide some valuable 
 feedback thanks Krishnakant.
 
 
   
 ___
 Win a castle for NYE with your mates and Yahoo! Messenger 
 http://uk.messenger.yahoo.com
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 


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



msgAjp.receive(): Bad signature 00 !!!!!!urgent

2004-11-24 Thread akki
hi list
i m getting this error after every five to  ten minutes in
my apache log file..
i dont know where it is indication



[Wed Nov 24 16:50:25 2004] [error] msgAjp.receive(): Bad signature 00
[Wed Nov 24 16:50:25 2004] [error] channelSocket.receive(): Bad header
[Wed Nov 24 16:50:25 2004] [error] workerEnv.processCallbacks() Error
reading reply
[Wed Nov 24 16:50:25 2004] [error] ajp13.service() ajpGetReply recoverable
error 12
[Wed Nov 24 16:50:25 2004] [error] channelSocket.open() connect failed
localhost:8009 111 Connection refused
[Wed Nov 24 16:50:25 2004] [error] ajp13.connect() failed
ajp13:localhost:8009
[Wed Nov 24 16:50:25 2004] [error] ajp13.service() failed to connect
endpoint errno=111 Connection refused
[Wed Nov 24 16:50:25 2004] [error] ajp13.service() Error  forwarding
ajp13:localhost:8009 1 1
[Wed Nov 24 16:50:25 2004] [error] lb.service() worker failed
ajp13:localhost:8009
[Wed Nov 24 16:50:25 2004] [error] channelSocket.open() connect failed
localhost:8009 111 Connection refused
[Wed Nov 24 16:50:25 2004] [error] ajp13.connect() failed
ajp13:localhost:8009
[Wed Nov 24 16:50:25 2004] [error] ajp13.service() failed to connect
endpoint errno=111 Connection refused
[Wed Nov 24 16:50:25 2004] [error] ajp13.service() Error  forwarding
ajp13:localhost:8009 1 1
[Wed Nov 24 16:50:25 2004] [error] lb.service() worker failed
ajp13:localhost:8009
[Wed Nov 24 16:50:25 2004] [error] lb_worker.service() all workers in error
or disabled state
[Wed Nov 24 16:50:25 2004] [error] mod_jk.handler() Error connecting to
tomcat 12For




thanks in advance
akki


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



New User needing urgent help

2004-10-23 Thread Steven R. Christensen
Hello,  I am new to using Tomcat and am having difficulty getting an application to 
work.  Any
help would be greatly appreciated.  I have a web app that is giving me the following 
errors and can't seem to find why.  Thanks in advance for your help.
 
org.apache.jasper.JasperException: Unable to compile class for JSP

Generated servlet error:
D:\christensen2.m6.net\Tomcat5\work\Catalina\localhost\advert_java\org\apache\jsp\setup_jsp.java:6:
 '.' expected
import Account;
  ^


Generated servlet error:
D:\christensen2.m6.net\Tomcat5\work\Catalina\localhost\advert_java\org\apache\jsp\setup_jsp.java:7:
 '.' expected
import Banner;
 ^


Generated servlet error:
D:\christensen2.m6.net\Tomcat5\work\Catalina\localhost\advert_java\org\apache\jsp\setup_jsp.java:8:
 '.' expected
import CalDate;
  ^


Generated servlet error:
D:\christensen2.m6.net\Tomcat5\work\Catalina\localhost\advert_java\org\apache\jsp\setup_jsp.java:9:
 '.' expected
import Campaign;
   ^


Generated servlet error:
D:\christensen2.m6.net\Tomcat5\work\Catalina\localhost\advert_java\org\apache\jsp\setup_jsp.java:10:
 '.' expected
import Dates;
^


Generated servlet error:
D:\christensen2.m6.net\Tomcat5\work\Catalina\localhost\advert_java\org\apache\jsp\setup_jsp.java:11:
 '.' expected
import DB;
 ^


Generated servlet error:
D:\christensen2.m6.net\Tomcat5\work\Catalina\localhost\advert_java\org\apache\jsp\setup_jsp.java:12:
 '.' expected
import DetectOSBrowser;
  ^


Generated servlet error:
D:\christensen2.m6.net\Tomcat5\work\Catalina\localhost\advert_java\org\apache\jsp\setup_jsp.java:13:
 '.' expected
import Environment;
  ^


Generated servlet error:
D:\christensen2.m6.net\Tomcat5\work\Catalina\localhost\advert_java\org\apache\jsp\setup_jsp.java:14:
 '.' expected
import GetAdServlet;
   ^


Generated servlet error:
D:\christensen2.m6.net\Tomcat5\work\Catalina\localhost\advert_java\org\apache\jsp\setup_jsp.java:15:
 '.' expected
import GetLinkServlet;
 ^


Generated servlet error:
D:\christensen2.m6.net\Tomcat5\work\Catalina\localhost\advert_java\org\apache\jsp\setup_jsp.java:16:
 '.' expected
import Javamail;
   ^


Generated servlet error:
D:\christensen2.m6.net\Tomcat5\work\Catalina\localhost\advert_java\org\apache\jsp\setup_jsp.java:17:
 '.' expected
import Keys;
   ^


Generated servlet error:
D:\christensen2.m6.net\Tomcat5\work\Catalina\localhost\advert_java\org\apache\jsp\setup_jsp.java:18:
 '.' expected
import LicenseCheck;
   ^


Generated servlet error:
D:\christensen2.m6.net\Tomcat5\work\Catalina\localhost\advert_java\org\apache\jsp\setup_jsp.java:19:
 '.' expected
import LogError;
   ^


Generated servlet error:
D:\christensen2.m6.net\Tomcat5\work\Catalina\localhost\advert_java\org\apache\jsp\setup_jsp.java:20:
 '.' expected
import LogonValidation;
  ^


Generated servlet error:
D:\christensen2.m6.net\Tomcat5\work\Catalina\localhost\advert_java\org\apache\jsp\setup_jsp.java:21:
 '.' expected
import LogsCutover;
  ^


Generated servlet error:
D:\christensen2.m6.net\Tomcat5\work\Catalina\localhost\advert_java\org\apache\jsp\setup_jsp.java:22:
 '.' expected
import Msgsend;
  ^


Generated servlet error:
D:\christensen2.m6.net\Tomcat5\work\Catalina\localhost\advert_java\org\apache\jsp\setup_jsp.java:23:
 '.' expected
import Popwindow;
^


Generated servlet error:
D:\christensen2.m6.net\Tomcat5\work\Catalina\localhost\advert_java\org\apache\jsp\setup_jsp.java:24:
 '.' expected
import Region;
 ^


Generated servlet error:
D:\christensen2.m6.net\Tomcat5\work\Catalina\localhost\advert_java\org\apache\jsp\setup_jsp.java:25:
 '.' expected
import Sendmail;
   ^


Generated servlet error:
D:\christensen2.m6.net\Tomcat5\work\Catalina\localhost\advert_java\org\apache\jsp\setup_jsp.java:26:
 '.' expected
import servletUpload;
^


Generated servlet error:
D:\christensen2.m6.net\Tomcat5\work\Catalina\localhost\advert_java\org\apache\jsp\setup_jsp.java:27:
 '.' expected
import SmartHello;
 ^


Generated servlet error:
D:\christensen2.m6.net\Tomcat5\work\Catalina\localhost\advert_java\org\apache\jsp\setup_jsp.java:28:
 '.' expected
import Stats;
^


Generated servlet error:
D:\christensen2.m6.net\Tomcat5\work\Catalina\localhost\advert_java\org\apache\jsp\setup_jsp.java:29:
 '.' expected
import Subscriber;
 ^


Generated servlet error:
D:\christensen2.m6.net\Tomcat5\work\Catalina\localhost\advert_java\org\apache\jsp\setup_jsp.java:30:
 '.' expected
import Zone;
   ^
25 errors




org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:84)
org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:332)

Re: New User needing urgent help

2004-10-23 Thread Roland Carlsson
Hi Steve!
I don't belive that you can import at root-level. You have to put your 
classes in a package (folder) that you then put in the web-inf/classes.

Regards
Roland
- Original Message - 
From: Steven R. Christensen [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Saturday, October 23, 2004 7:42 PM
Subject: New User needing urgent help

Hello,  I am new to using Tomcat and am having difficulty getting an 
application to work.  Any
help would be greatly appreciated.  I have a web app that is giving me the 
following errors and can't seem to find why.  Thanks in advance for your 
help.

org.apache.jasper.JasperException: Unable to compile class for JSP
Generated servlet error:
D:\christensen2.m6.net\Tomcat5\work\Catalina\localhost\advert_java\org\apache\jsp\setup_jsp.java:6: 
'.' expected
import Account;
 ^

Generated servlet error:
D:\christensen2.m6.net\Tomcat5\work\Catalina\localhost\advert_java\org\apache\jsp\setup_jsp.java:7: 
'.' expected
import Banner;
^

Generated servlet error:
D:\christensen2.m6.net\Tomcat5\work\Catalina\localhost\advert_java\org\apache\jsp\setup_jsp.java:8: 
'.' expected
import CalDate;
 ^

Generated servlet error:
D:\christensen2.m6.net\Tomcat5\work\Catalina\localhost\advert_java\org\apache\jsp\setup_jsp.java:9: 
'.' expected
import Campaign;
  ^

Generated servlet error:
D:\christensen2.m6.net\Tomcat5\work\Catalina\localhost\advert_java\org\apache\jsp\setup_jsp.java:10: 
'.' expected
import Dates;
   ^

Generated servlet error:
D:\christensen2.m6.net\Tomcat5\work\Catalina\localhost\advert_java\org\apache\jsp\setup_jsp.java:11: 
'.' expected
import DB;
^

Generated servlet error:
D:\christensen2.m6.net\Tomcat5\work\Catalina\localhost\advert_java\org\apache\jsp\setup_jsp.java:12: 
'.' expected
import DetectOSBrowser;
 ^

Generated servlet error:
D:\christensen2.m6.net\Tomcat5\work\Catalina\localhost\advert_java\org\apache\jsp\setup_jsp.java:13: 
'.' expected
import Environment;
 ^

Generated servlet error:
D:\christensen2.m6.net\Tomcat5\work\Catalina\localhost\advert_java\org\apache\jsp\setup_jsp.java:14: 
'.' expected
import GetAdServlet;
  ^

Generated servlet error:
D:\christensen2.m6.net\Tomcat5\work\Catalina\localhost\advert_java\org\apache\jsp\setup_jsp.java:15: 
'.' expected
import GetLinkServlet;
^

Generated servlet error:
D:\christensen2.m6.net\Tomcat5\work\Catalina\localhost\advert_java\org\apache\jsp\setup_jsp.java:16: 
'.' expected
import Javamail;
  ^

Generated servlet error:
D:\christensen2.m6.net\Tomcat5\work\Catalina\localhost\advert_java\org\apache\jsp\setup_jsp.java:17: 
'.' expected
import Keys;
  ^

Generated servlet error:
D:\christensen2.m6.net\Tomcat5\work\Catalina\localhost\advert_java\org\apache\jsp\setup_jsp.java:18: 
'.' expected
import LicenseCheck;
  ^

Generated servlet error:
D:\christensen2.m6.net\Tomcat5\work\Catalina\localhost\advert_java\org\apache\jsp\setup_jsp.java:19: 
'.' expected
import LogError;
  ^

Generated servlet error:
D:\christensen2.m6.net\Tomcat5\work\Catalina\localhost\advert_java\org\apache\jsp\setup_jsp.java:20: 
'.' expected
import LogonValidation;
 ^

Generated servlet error:
D:\christensen2.m6.net\Tomcat5\work\Catalina\localhost\advert_java\org\apache\jsp\setup_jsp.java:21: 
'.' expected
import LogsCutover;
 ^

Generated servlet error:
D:\christensen2.m6.net\Tomcat5\work\Catalina\localhost\advert_java\org\apache\jsp\setup_jsp.java:22: 
'.' expected
import Msgsend;
 ^

Generated servlet error:
D:\christensen2.m6.net\Tomcat5\work\Catalina\localhost\advert_java\org\apache\jsp\setup_jsp.java:23: 
'.' expected
import Popwindow;
   ^

Generated servlet error:
D:\christensen2.m6.net\Tomcat5\work\Catalina\localhost\advert_java\org\apache\jsp\setup_jsp.java:24: 
'.' expected
import Region;
^

Generated servlet error:
D:\christensen2.m6.net\Tomcat5\work\Catalina\localhost\advert_java\org\apache\jsp\setup_jsp.java:25: 
'.' expected
import Sendmail;
  ^

Generated servlet error:
D:\christensen2.m6.net\Tomcat5\work\Catalina\localhost\advert_java\org\apache\jsp\setup_jsp.java:26: 
'.' expected
import servletUpload;
   ^

Generated servlet error:
D:\christensen2.m6.net\Tomcat5\work\Catalina\localhost\advert_java\org\apache\jsp\setup_jsp.java:27: 
'.' expected
import SmartHello;
^

Generated servlet error:
D:\christensen2.m6.net\Tomcat5\work\Catalina\localhost\advert_java\org\apache\jsp\setup_jsp.java:28: 
'.' expected
import Stats;
   ^

Generated servlet error:
D:\christensen2.m6.net\Tomcat5\work\Catalina\localhost\advert_java\org\apache\jsp\setup_jsp.java:29: 
'.' expected
import Subscriber;
^

Generated servlet error:
D:\christensen2.m6.net\Tomcat5\work\Catalina\localhost\advert_java\org\apache\jsp

AW: New User needing urgent help

2004-10-23 Thread Steffen Heil
Hi

 import Account;

No. No. No.
Import is used to make classes of foreign packages available.
Classes in the same package are always available.

And you should never have any package-less class, hence no problems.

Regards,
  Steffen


smime.p7s
Description: S/MIME cryptographic signature


Re: New User needing urgent help

2004-10-23 Thread Larry Meadors
Correct. 

When you import w/o a package like you have, it will import from the
current package - that is org.apache.somethingorother.

Put them in a package, and change the imports.

Larry

 [EMAIL PROTECTED] 10/23/04 11:47 AM 
Hi Steve!

I don't belive that you can import at root-level. You have to put your 
classes in a package (folder) that you then put in the web-inf/classes.

Regards
Roland


- Original Message - 
From: Steven R. Christensen [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Saturday, October 23, 2004 7:42 PM
Subject: New User needing urgent help


Hello,  I am new to using Tomcat and am having difficulty getting an 
application to work.  Any
help would be greatly appreciated.  I have a web app that is giving me
the 
following errors and can't seem to find why.  Thanks in advance for your

help.

org.apache.jasper.JasperException: Unable to compile class for JSP

Generated servlet error:
D:\christensen2.m6.net\Tomcat5\work\Catalina\localhost\advert_java\org\apache\jsp\setup_jsp.java:6:

'.' expected
import Account;
  ^


Generated servlet error:
D:\christensen2.m6.net\Tomcat5\work\Catalina\localhost\advert_java\org\apache\jsp\setup_jsp.java:7:

'.' expected
import Banner;
 ^


Generated servlet error:
D:\christensen2.m6.net\Tomcat5\work\Catalina\localhost\advert_java\org\apache\jsp\setup_jsp.java:8:

'.' expected
import CalDate;
  ^


Generated servlet error:
D:\christensen2.m6.net\Tomcat5\work\Catalina\localhost\advert_java\org\apache\jsp\setup_jsp.java:9:

'.' expected
import Campaign;
   ^


Generated servlet error:
D:\christensen2.m6.net\Tomcat5\work\Catalina\localhost\advert_java\org\apache\jsp\setup_jsp.java:10:

'.' expected
import Dates;
^


Generated servlet error:
D:\christensen2.m6.net\Tomcat5\work\Catalina\localhost\advert_java\org\apache\jsp\setup_jsp.java:11:

'.' expected
import DB;
 ^


Generated servlet error:
D:\christensen2.m6.net\Tomcat5\work\Catalina\localhost\advert_java\org\apache\jsp\setup_jsp.java:12:

'.' expected
import DetectOSBrowser;
  ^


Generated servlet error:
D:\christensen2.m6.net\Tomcat5\work\Catalina\localhost\advert_java\org\apache\jsp\setup_jsp.java:13:

'.' expected
import Environment;
  ^


Generated servlet error:
D:\christensen2.m6.net\Tomcat5\work\Catalina\localhost\advert_java\org\apache\jsp\setup_jsp.java:14:

'.' expected
import GetAdServlet;
   ^


Generated servlet error:
D:\christensen2.m6.net\Tomcat5\work\Catalina\localhost\advert_java\org\apache\jsp\setup_jsp.java:15:

'.' expected
import GetLinkServlet;
 ^


Generated servlet error:
D:\christensen2.m6.net\Tomcat5\work\Catalina\localhost\advert_java\org\apache\jsp\setup_jsp.java:16:

'.' expected
import Javamail;
   ^


Generated servlet error:
D:\christensen2.m6.net\Tomcat5\work\Catalina\localhost\advert_java\org\apache\jsp\setup_jsp.java:17:

'.' expected
import Keys;
   ^


Generated servlet error:
D:\christensen2.m6.net\Tomcat5\work\Catalina\localhost\advert_java\org\apache\jsp\setup_jsp.java:18:

'.' expected
import LicenseCheck;
   ^


Generated servlet error:
D:\christensen2.m6.net\Tomcat5\work\Catalina\localhost\advert_java\org\apache\jsp\setup_jsp.java:19:

'.' expected
import LogError;
   ^


Generated servlet error:
D:\christensen2.m6.net\Tomcat5\work\Catalina\localhost\advert_java\org\apache\jsp\setup_jsp.java:20:

'.' expected
import LogonValidation;
  ^


Generated servlet error:
D:\christensen2.m6.net\Tomcat5\work\Catalina\localhost\advert_java\org\apache\jsp\setup_jsp.java:21:

'.' expected
import LogsCutover;
  ^


Generated servlet error:
D:\christensen2.m6.net\Tomcat5\work\Catalina\localhost\advert_java\org\apache\jsp\setup_jsp.java:22:

'.' expected
import Msgsend;
  ^


Generated servlet error:
D:\christensen2.m6.net\Tomcat5\work\Catalina\localhost\advert_java\org\apache\jsp\setup_jsp.java:23:

'.' expected
import Popwindow;
^


Generated servlet error:
D:\christensen2.m6.net\Tomcat5\work\Catalina\localhost\advert_java\org\apache\jsp\setup_jsp.java:24:

'.' expected
import Region;
 ^


Generated servlet error:
D:\christensen2.m6.net\Tomcat5\work\Catalina\localhost\advert_java\org\apache\jsp\setup_jsp.java:25:

'.' expected
import Sendmail;
   ^


Generated servlet error:
D:\christensen2.m6.net\Tomcat5\work\Catalina\localhost\advert_java\org\apache\jsp\setup_jsp.java:26:

'.' expected
import servletUpload;
^


Generated servlet error:
D:\christensen2.m6.net\Tomcat5\work\Catalina\localhost\advert_java\org\apache\jsp\setup_jsp.java:27:

'.' expected
import SmartHello;
 ^


Generated servlet error:
D:\christensen2.m6.net\Tomcat5\work\Catalina\localhost\advert_java\org\apache\jsp\setup_jsp.java:28:

'.' expected
import Stats;
^


Generated

RE: New User needing urgent help

2004-10-23 Thread Steven R. Christensen
From this I gathered that the import code isn't required and it looks
like that fixed the problem.  One thing I should have said was sun-java newbie as
well so I am vastly ignorant on how all of this works.  Only been trying to use
it the last day or two.
 
Appreciate the expert advice and very fast response everyone have given on this.
 
You guys ROCK!
 
Hopefully I will be able to get this operational without bothering everyone
again.
 
Thanks,
Steve



From: Steffen Heil [mailto:[EMAIL PROTECTED]
Sent: Sat 10/23/2004 12:52 PM
To: 'Tomcat Users List'
Subject: AW: New User needing urgent help



Hi

 import Account;

No. No. No.
Import is used to make classes of foreign packages available.
Classes in the same package are always available.

And you should never have any package-less class, hence no problems.

Regards,
  Steffen



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

RE: New User needing urgent help

2004-10-23 Thread Ben Souther
You'll probably have other problems later if you don't get your classes
into packages (mapping servlets etc..).




On Sat, 2004-10-23 at 14:01, Steven R. Christensen wrote:
 From this I gathered that the import code isn't required and it looks
 like that fixed the problem.  One thing I should have said was sun-java newbie as
 well so I am vastly ignorant on how all of this works.  Only been trying to use
 it the last day or two.
  
 Appreciate the expert advice and very fast response everyone have given on this.
  
 You guys ROCK!
  
 Hopefully I will be able to get this operational without bothering everyone
 again.
  
 Thanks,
 Steve
 
 
 
 From: Steffen Heil [mailto:[EMAIL PROTECTED]
 Sent: Sat 10/23/2004 12:52 PM
 To: 'Tomcat Users List'
 Subject: AW: New User needing urgent help
 
 
 
 Hi
 
  import Account;
 
 No. No. No.
 Import is used to make classes of foreign packages available.
 Classes in the same package are always available.
 
 And you should never have any package-less class, hence no problems.
 
 Regards,
   Steffen
 
 
 
 
 __
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]


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



RE: New User needing urgent help

2004-10-23 Thread Steven R. Christensen
Originally this app was setup to be located outside of the webapp directory in it's own
directory.  I had it working for the Tomcat 3.3.2 by setting the context on it with no 
problems.
 
I wanted to make sure I had the latest Tomcat install to ensure that I wouldn't have
to upgrade too soon so I did that but couldn't find where I could get it deployed on
an absolute path instead of the relative so I set it up in the webapp to make things 
simpler but then ran into this problem.
 
The support for this software is pretty meager so I am working through it so I can
support it myself.  From what I see in the software the mapping servlets and such
look like they are all in place.  Just the location of the whole thing has been beating
me up.
 
Perhaps someone knows a way I can leave it outside the root and save me some
extra work?
 
Thanks for the help.



From: Ben Souther [mailto:[EMAIL PROTECTED]
Sent: Sat 10/23/2004 1:06 PM
To: Tomcat Users List
Subject: RE: New User needing urgent help



You'll probably have other problems later if you don't get your classes
into packages (mapping servlets etc..).




On Sat, 2004-10-23 at 14:01, Steven R. Christensen wrote:
 From this I gathered that the import code isn't required and it looks
 like that fixed the problem.  One thing I should have said was sun-java newbie as
 well so I am vastly ignorant on how all of this works.  Only been trying to use
 it the last day or two.
 
 Appreciate the expert advice and very fast response everyone have given on this.
 
 You guys ROCK!
 
 Hopefully I will be able to get this operational without bothering everyone
 again.
 
 Thanks,
 Steve

 

 From: Steffen Heil [mailto:[EMAIL PROTECTED]
 Sent: Sat 10/23/2004 12:52 PM
 To: 'Tomcat Users List'
 Subject: AW: New User needing urgent help



 Hi

  import Account;

 No. No. No.
 Import is used to make classes of foreign packages available.
 Classes in the same package are always available.

 And you should never have any package-less class, hence no problems.

 Regards,
   Steffen




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


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




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

RE: New User needing urgent help

2004-10-23 Thread Ben Souther
Perhaps someone knows a way I can leave it outside the root and save me
some extra work?


This should help:
http://jakarta.apache.org/tomcat/tomcat-5.0-doc/deployer-howto.html





On Sat, 2004-10-23 at 14:14, Steven R. Christensen wrote:
 Originally this app was setup to be located outside of the webapp directory in it's 
 own
 directory.  I had it working for the Tomcat 3.3.2 by setting the context on it with 
 no 
 problems.
  
 I wanted to make sure I had the latest Tomcat install to ensure that I wouldn't have
 to upgrade too soon so I did that but couldn't find where I could get it deployed on
 an absolute path instead of the relative so I set it up in the webapp to make things 
 simpler but then ran into this problem.
  
 The support for this software is pretty meager so I am working through it so I can
 support it myself.  From what I see in the software the mapping servlets and such
 look like they are all in place.  Just the location of the whole thing has been 
 beating
 me up.
  
 Perhaps someone knows a way I can leave it outside the root and save me some
 extra work?
  
 Thanks for the help.
 
 
 
 From: Ben Souther [mailto:[EMAIL PROTECTED]
 Sent: Sat 10/23/2004 1:06 PM
 To: Tomcat Users List
 Subject: RE: New User needing urgent help
 
 
 
 You'll probably have other problems later if you don't get your classes
 into packages (mapping servlets etc..).
 
 
 
 
 On Sat, 2004-10-23 at 14:01, Steven R. Christensen wrote:
  From this I gathered that the import code isn't required and it looks
  like that fixed the problem.  One thing I should have said was sun-java newbie as
  well so I am vastly ignorant on how all of this works.  Only been trying to use
  it the last day or two.
  
  Appreciate the expert advice and very fast response everyone have given on this.
  
  You guys ROCK!
  
  Hopefully I will be able to get this operational without bothering everyone
  again.
  
  Thanks,
  Steve
 
  
 
  From: Steffen Heil [mailto:[EMAIL PROTECTED]
  Sent: Sat 10/23/2004 12:52 PM
  To: 'Tomcat Users List'
  Subject: AW: New User needing urgent help
 
 
 
  Hi
 
   import Account;
 
  No. No. No.
  Import is used to make classes of foreign packages available.
  Classes in the same package are always available.
 
  And you should never have any package-less class, hence no problems.
 
  Regards,
Steffen
 
 
 
 
  __
  -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 
 
 
 __
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]


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



Re: urgent help reqd

2004-10-19 Thread N Tapas Kumar Choudhury
Hi Prashant,
   Just for a quick remind, which DBCP you are using 
for your application, what's the value of KeepAlive=?? which 
should be ideally 'true' and what value you have set for the 
maxThrottle..
What I can suggest you to use upgraded Tomcat version, like Tomcat 
4.1 series if possible ...


On Mon, 18 Oct 2004 prashant chavan wrote :
Dear All
I have hosted my live website on Linux which has Apache 2.0 wuth 
tomcat 3.2.3 and my database is on a sun server. I have multiple 
instances of tomcat running with single installation hosting 
three diffrent websites. My problem is last fer days i am facing 
a peculiar problem my java instances for one site reach to max 
threads (116 approx) and hangs. while this happens my apache 
instances also reach 150 max at same time. Due to which it 
affects my all three diff sites. I searched my jk.log file where 
i found the error ajpv12_handle_response, error writing back to 
server in it occuring continuously. Is it because of this error 
that my tomcat andapache hangs  whats the solution for it. I 
have searched all mailing lists for the same.


Rgds
Prashant

-
Do you Yahoo!?
vote.yahoo.com - Register online to vote today!

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


urgent help reqd

2004-10-18 Thread prashant chavan

Dear All

I have hosted my live website on Linux which has Apache 2.0 wuth tomcat 3.2.3 and my 
database is on a sun server. I have multiple instances of tomcat running with single 
installation hosting three diffrent websites. My problem is last fer days i am facing 
a peculiar problem my java instances for one site reach to max threads (116 approx) 
and hangs. while this happens my apache instances also reach 150 max at same time. Due 
to which it affects my all three diff sites. I searched my jk.log file where i found 
the error ajpv12_handle_response, error writing back to server in it occuring 
continuously. Is it because of this error that my tomcat andapache hangs  whats the 
solution for it. I have searched all mailing lists for the same.

 

Rgds

Prashant

 


-
Do you Yahoo!?
vote.yahoo.com - Register online to vote today!

One urgent help needed

2004-10-08 Thread Pradeep Chauhan
Hi All ,

We have an application deployed on Tomcat 4.1.27 in production.

We did some changes in web.xml to use one third party Applinx.

In development enviorment it is working fine.
But when we move to same web.xml to production we got errors in log file and
application wont get up.

Attach is the Web.xml and Log file having error.

Please provide few tips to resolve this issue.

Regards,
Pradeep Chauhan
2004-10-08 17:38:26 WebappLoader[/admin]: Deploying class repositories to work 
directory C:\Program Files\Apache Group\Tomcat 4.1\work\Standalone\localhost\admin
2004-10-08 17:38:26 WebappLoader[/admin]: Deploy class files /WEB-INF/classes to 
C:\Program Files\Apache Group\Tomcat 
4.1\webapps\..\server\webapps\admin\WEB-INF\classes
2004-10-08 17:38:26 WebappLoader[/admin]: Deploy JAR /WEB-INF/lib/struts.jar to 
C:\Program Files\Apache Group\Tomcat 
4.1\webapps\..\server\webapps\admin\WEB-INF\lib\struts.jar
2004-10-08 17:38:30 ContextConfig[/admin]: Configured an authenticator for method FORM
2004-10-08 17:38:30 StandardManager[/admin]: Seeding random number generator class 
java.security.SecureRandom
2004-10-08 17:38:30 StandardManager[/admin]: Seeding of random number generator has 
been completed
2004-10-08 17:38:30 StandardWrapper[/admin:applinx]: Marking servlet applinx as 
unavailable
2004-10-08 17:38:30 StandardContext[/admin]: Servlet /admin threw load() exception
javax.servlet.ServletException: Wrapper cannot find servlet class 
com.sabratec.applinx.server.runtime.servlet.GXApplinxServlet or a class it depends on
at 
org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:891)
at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:823)
at 
org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3421)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:3609)
at 
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:821)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:807)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:579)
at 
org.apache.catalina.core.StandardHostDeployer.addChild(StandardHostDeployer.java:700)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.apache.commons.beanutils.MethodUtils.invokeMethod(MethodUtils.java:252)
at org.apache.commons.digester.SetNextRule.end(SetNextRule.java:256)
at org.apache.commons.digester.Rule.end(Rule.java:276)
at org.apache.commons.digester.Digester.endElement(Digester.java:1058)
at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source)
at 
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanEndElement(Unknown Source)
at 
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown
 Source)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown 
Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.DTDConfiguration.parse(Unknown Source)
at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
at org.apache.commons.digester.Digester.parse(Digester.java:1567)
at 
org.apache.catalina.core.StandardHostDeployer.install(StandardHostDeployer.java:385)
at org.apache.catalina.core.StandardHost.install(StandardHost.java:803)
at 
org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:442)
at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:399)
at org.apache.catalina.startup.HostConfig.start(HostConfig.java:718)
at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:358)
at 
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:166)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1196)
at org.apache.catalina.core.StandardHost.start(StandardHost.java:738)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1188)
at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:347)
at org.apache.catalina.core.StandardService.start(StandardService.java:497)
at org.apache.catalina.core.StandardServer.start(StandardServer.java:2190)
at org.apache.catalina.startup.CatalinaService.start(CatalinaService.java:273)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
 

Re: One urgent help needed

2004-10-08 Thread Michiel Toneman
Hi Pradeep,
Looks like your tomcat installation cannot find: 
com.sabratec.applinx.server.runtime.servlet.GXApplinxServlet
Are you sure the jar containing GXApplinxServlet is in a place Tomcat 
can find it? (e.g. shared\lib ?)

Michiel
Pradeep Chauhan wrote:
Hi All ,
We have an application deployed on Tomcat 4.1.27 in production.
We did some changes in web.xml to use one third party Applinx.
In development enviorment it is working fine.
But when we move to same web.xml to production we got errors in log file and
application wont get up.
Attach is the Web.xml and Log file having error.
Please provide few tips to resolve this issue.
Regards,
Pradeep Chauhan
 


2004-10-08 17:38:26 WebappLoader[/admin]: Deploying class repositories to work 
directory C:\Program Files\Apache Group\Tomcat 4.1\work\Standalone\localhost\admin
2004-10-08 17:38:26 WebappLoader[/admin]: Deploy class files /WEB-INF/classes to 
C:\Program Files\Apache Group\Tomcat 
4.1\webapps\..\server\webapps\admin\WEB-INF\classes
2004-10-08 17:38:26 WebappLoader[/admin]: Deploy JAR /WEB-INF/lib/struts.jar to 
C:\Program Files\Apache Group\Tomcat 
4.1\webapps\..\server\webapps\admin\WEB-INF\lib\struts.jar
2004-10-08 17:38:30 ContextConfig[/admin]: Configured an authenticator for method FORM
2004-10-08 17:38:30 StandardManager[/admin]: Seeding random number generator class 
java.security.SecureRandom
2004-10-08 17:38:30 StandardManager[/admin]: Seeding of random number generator has 
been completed
2004-10-08 17:38:30 StandardWrapper[/admin:applinx]: Marking servlet applinx as 
unavailable
2004-10-08 17:38:30 StandardContext[/admin]: Servlet /admin threw load() exception
javax.servlet.ServletException: Wrapper cannot find servlet class 
com.sabratec.applinx.server.runtime.servlet.GXApplinxServlet or a class it depends on
at 
org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:891)
at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:823)
at 
org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3421)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:3609)
at 
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:821)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:807)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:579)
at 
org.apache.catalina.core.StandardHostDeployer.addChild(StandardHostDeployer.java:700)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.apache.commons.beanutils.MethodUtils.invokeMethod(MethodUtils.java:252)
at org.apache.commons.digester.SetNextRule.end(SetNextRule.java:256)
at org.apache.commons.digester.Rule.end(Rule.java:276)
at org.apache.commons.digester.Digester.endElement(Digester.java:1058)
at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source)
at 
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanEndElement(Unknown Source)
at 
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown
 Source)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown 
Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.DTDConfiguration.parse(Unknown Source)
at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
at org.apache.commons.digester.Digester.parse(Digester.java:1567)
at 
org.apache.catalina.core.StandardHostDeployer.install(StandardHostDeployer.java:385)
at org.apache.catalina.core.StandardHost.install(StandardHost.java:803)
at 
org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:442)
at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:399)
at org.apache.catalina.startup.HostConfig.start(HostConfig.java:718)
at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:358)
at 
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:166)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1196)
at org.apache.catalina.core.StandardHost.start(StandardHost.java:738)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1188)
at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:347)
at org.apache.catalina.core.StandardService.start(StandardService.java:497)
   

Urgent .Please help me out

2004-09-22 Thread Shanti Priya
Hi !!
   I have deployed an application on tomcat 4.1.18. I do get the
following exception .I am using IE6 as my webbrowser.



HTTP Status 500 -




type Exception report

message

description The server encountered an internal error () that prevented it
from fulfilling this request.

exception

org.apache.jasper.JasperException: Cannot find bean userObject in scope null
at
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:2
48)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at
org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.
java:684)
at
org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatch
er.java:432)
at
org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher
.java:356)
at
org.apache.struts.action.ActionServlet.processActionForward(ActionServlet.ja
va:1759)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1596)
at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:492)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
FilterChain.java:247)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
ain.java:193)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja
va:260)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(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.ja
va:191)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:643)
at
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase
.java:550)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(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.StandardContext.invoke(StandardContext.java:2415)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180
)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:643)
at
org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.
java:170)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:641)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172
)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(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.invok
eNext(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:432)
at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConne
ction(Http11Protocol.java:386)
at
org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:534)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.jav
a:530)
at java.lang.Thread.run(Thread.java:534)


root cause

javax.servlet.ServletException: Cannot find bean userObject in scope null
at
org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImp
l.java:530)
at org.apache.jsp.Error_jsp._jspService(Error_jsp.java:896)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:137)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:2
04)
at 

Urgent !! Please help me out.

2004-09-22 Thread Shanti Priya
HI!!
 I get the following error when i try to run my application on
tomcat.
The message in the server is as follows.

ERROR [2004-09-22 12:36:07,275] [Thread-5] [GSEITBaseAction.java:166] -
Error in
 actionPerform:
java.lang.UnsatisfiedLinkError: no ocijdbc8 in java.library.path
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1491)
at java.lang.Runtime.loadLibrary0(Runtime.java:788)
at java.lang.System.loadLibrary(System.java:834)
at oracle.jdbc.oci8.OCIDBAccess.logon(OCIDBAccess.java:228)
at
oracle.jdbc.driver.OracleConnection.init(OracleConnection.java:246)

at
oracle.jdbc.driver.OracleDriver.getConnectionInstance(OracleDriver.java:365)
at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:260)
at java.sql.DriverManager.getConnection(DriverManager.java:512)
at java.sql.DriverManager.getConnection(DriverManager.java:171)
at
com.bitmechanic.sql.ConnectionPool.createDriverConnection(ConnectionPool.jav
a:468)
at
com.bitmechanic.sql.ConnectionPool.getConnection(ConnectionPool.java:407)
at
com.cisco.ea.apparch.framework.db.DBPool.borrowConnection(DBPool.java:91)
at
com.cisco.ea.apparch.framework.db.DBPoolManager.borrowConnection(DBPoolManag
er.java:300)
at
com.cisco.gseit.db.ConnectionFactory.getConnection(ConnectionFactory.java:20
6)
at
com.cisco.gseit.db.ObjectLoader.getConnection(ObjectLoader.java:957)
at
com.cisco.gseit.db.ObjectLoader.getCollectionFromStoredProcedure(ObjectLoade
r.java:1238)
at
com.cisco.asit.grm.user.UserDAO.getUserFromLoginName(UserDAO.java:61)
at
com.cisco.asit.grm.struts.common.action.GROWBaseAction.performPreActionSetup
(GROWBaseAction.java:100)
at
com.cisco.gseit.struts.common.action.GSEITBaseAction.perform(GSEITBaseAction
.java:108)
at
org.apache.struts.action.ActionServlet.processActionPerform(ActionServlet.ja
va:1787)
at
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1586)
at
org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:492)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
FilterChain.java:247)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
ain.java:193)

Thanks  Regards,
Shanti Priya Sunkara

Location: Pune, India
Email   : [EMAIL PROTECTED]



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



AW: Urgent .Please help me out

2004-09-22 Thread dp
your db is down or unreachable

-Ursprüngliche Nachricht-
Von: Shanti Priya [mailto:[EMAIL PROTECTED] 
Gesendet: Mittwoch, 22. September 2004 09:13
An: Tomcat-User
Betreff: Urgent .Please help me out


Hi !!
   I have deployed an application on tomcat 4.1.18. I do get the
following exception .I am using IE6 as my webbrowser.



HTTP Status 500 -




type Exception report

message

description The server encountered an internal error () that prevented it
from fulfilling this request.

exception

org.apache.jasper.JasperException: Cannot find bean userObject in scope null
at
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:2
48)
at
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at
org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.
java:684)
at
org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatch
er.java:432)
at
org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher
.java:356)
at
org.apache.struts.action.ActionServlet.processActionForward(ActionServlet.ja
va:1759)
at
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1596)
at
org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:492)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
FilterChain.java:247)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
ain.java:193)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja
va:260)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(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.ja
va:191)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:643)
at
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase
.java:550)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(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.StandardContext.invoke(StandardContext.java:2415)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180
)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:643)
at
org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.
java:170)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:641)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172
)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(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.invok
eNext(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:432)
at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConne
ction(Http11Protocol.java:386)
at
org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:534)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.jav
a:530)
at java.lang.Thread.run(Thread.java:534)


root cause

javax.servlet.ServletException: Cannot find bean userObject in scope null
at
org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImp
l.java:530)
at org.apache.jsp.Error_jsp._jspService(Error_jsp.java:896

Re: Urgent !! Please help me out.

2004-09-22 Thread Antony Paul
This is because the oracle dll is not found int the PATH environment
variable. For this you should have Oracle client installed. Or you can use
Oracle thin driver which dont need Oracle installed

rgds
Antony Paul

- Original Message -
From: Shanti Priya [EMAIL PROTECTED]
To: Tomcat-User [EMAIL PROTECTED]
Sent: Wednesday, September 22, 2004 12:45 PM
Subject: Urgent !! Please help me out.


 HI!!
  I get the following error when i try to run my application on
 tomcat.
 The message in the server is as follows.

 ERROR [2004-09-22 12:36:07,275] [Thread-5] [GSEITBaseAction.java:166] -
 Error in
  actionPerform:
 java.lang.UnsatisfiedLinkError: no ocijdbc8 in java.library.path
 at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1491)
 at java.lang.Runtime.loadLibrary0(Runtime.java:788)
 at java.lang.System.loadLibrary(System.java:834)
 at oracle.jdbc.oci8.OCIDBAccess.logon(OCIDBAccess.java:228)
 at
 oracle.jdbc.driver.OracleConnection.init(OracleConnection.java:246)

 at

oracle.jdbc.driver.OracleDriver.getConnectionInstance(OracleDriver.java:365)
 at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:260)
 at java.sql.DriverManager.getConnection(DriverManager.java:512)
 at java.sql.DriverManager.getConnection(DriverManager.java:171)
 at

com.bitmechanic.sql.ConnectionPool.createDriverConnection(ConnectionPool.jav
 a:468)
 at
 com.bitmechanic.sql.ConnectionPool.getConnection(ConnectionPool.java:407)
 at
 com.cisco.ea.apparch.framework.db.DBPool.borrowConnection(DBPool.java:91)
 at

com.cisco.ea.apparch.framework.db.DBPoolManager.borrowConnection(DBPoolManag
 er.java:300)
 at

com.cisco.gseit.db.ConnectionFactory.getConnection(ConnectionFactory.java:20
 6)
 at
 com.cisco.gseit.db.ObjectLoader.getConnection(ObjectLoader.java:957)
 at

com.cisco.gseit.db.ObjectLoader.getCollectionFromStoredProcedure(ObjectLoade
 r.java:1238)
 at
 com.cisco.asit.grm.user.UserDAO.getUserFromLoginName(UserDAO.java:61)
 at

com.cisco.asit.grm.struts.common.action.GROWBaseAction.performPreActionSetup
 (GROWBaseAction.java:100)
 at

com.cisco.gseit.struts.common.action.GSEITBaseAction.perform(GSEITBaseAction
 .java:108)
 at

org.apache.struts.action.ActionServlet.processActionPerform(ActionServlet.ja
 va:1787)
 at
 org.apache.struts.action.ActionServlet.process(ActionServlet.java:1586)
 at
 org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:492)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
 at

org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
 FilterChain.java:247)
 at

org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
 ain.java:193)

 Thanks  Regards,
 Shanti Priya Sunkara

 Location: Pune, India
 Email   : [EMAIL PROTECTED]



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



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



Re: Urgent !! Please help me out.

2004-09-22 Thread prashant chavan
Hi Shanti
 
Your error seems to be a databse connection error. Tell me r u using oracle as your 
database for the application. Then you need to check the entries for db connectivity 
files - driverproperties.properties. Reply me with detailed info sot that i can help 
in a much better way.
 
Regards
Prashant

Shanti Priya [EMAIL PROTECTED] wrote:
HI!!
I get the following error when i try to run my application on
tomcat.
The message in the server is as follows.

ERROR [2004-09-22 12:36:07,275] [Thread-5] [GSEITBaseAction.java:166] -
Error in
actionPerform:
java.lang.UnsatisfiedLinkError: no ocijdbc8 in java.library.path
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1491)
at java.lang.Runtime.loadLibrary0(Runtime.java:788)
at java.lang.System.loadLibrary(System.java:834)
at oracle.jdbc.oci8.OCIDBAccess.logon(OCIDBAccess.java:228)
at
oracle.jdbc.driver.OracleConnection.(OracleConnection.java:246)

at
oracle.jdbc.driver.OracleDriver.getConnectionInstance(OracleDriver.java:365)
at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:260)
at java.sql.DriverManager.getConnection(DriverManager.java:512)
at java.sql.DriverManager.getConnection(DriverManager.java:171)
at
com.bitmechanic.sql.ConnectionPool.createDriverConnection(ConnectionPool.jav
a:468)
at
com.bitmechanic.sql.ConnectionPool.getConnection(ConnectionPool.java:407)
at
com.cisco.ea.apparch.framework.db.DBPool.borrowConnection(DBPool.java:91)
at
com.cisco.ea.apparch.framework.db.DBPoolManager.borrowConnection(DBPoolManag
er.java:300)
at
com.cisco.gseit.db.ConnectionFactory.getConnection(ConnectionFactory.java:20
6)
at
com.cisco.gseit.db.ObjectLoader.getConnection(ObjectLoader.java:957)
at
com.cisco.gseit.db.ObjectLoader.getCollectionFromStoredProcedure(ObjectLoade
r.java:1238)
at
com.cisco.asit.grm.user.UserDAO.getUserFromLoginName(UserDAO.java:61)
at
com.cisco.asit.grm.struts.common.action.GROWBaseAction.performPreActionSetup
(GROWBaseAction.java:100)
at
com.cisco.gseit.struts.common.action.GSEITBaseAction.perform(GSEITBaseAction
.java:108)
at
org.apache.struts.action.ActionServlet.processActionPerform(ActionServlet.ja
va:1787)
at
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1586)
at
org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:492)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
FilterChain.java:247)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
ain.java:193)

Thanks  Regards,
Shanti Priya Sunkara

Location : Pune, India
Email : [EMAIL PROTECTED]



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


 

 

 


-
Do you Yahoo!?
Yahoo! Mail - Helps protect you from nasty viruses.

RE: Urgent !! Please help me out.

2004-09-22 Thread Shanti Priya

javax.servlet.ServletException: Cannot find bean userObject in scope null
at
org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImp
l.java:530)
at org.apache.jsp.Error_jsp._jspService(Error_jsp.java:896)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:137)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:2
04)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at
org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.
java:684)
at
org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatch
er.java:432)
at
org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher
.java:356)
at
org.apache.struts.action.ActionServlet.processActionForward(ActionServlet.ja
va:1759)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1596)
at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:492)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
FilterChain.java:247)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
ain.java:193)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja
va:260)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(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.ja
va:191)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:643)
at
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase
.java:550)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(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.StandardContext.invoke(StandardContext.java:2415)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180
)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:643)
at
org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.
java:170)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:641)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172
)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(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.invok
eNext(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:432)
at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConne
ction(Http11Protocol.java:386)
at
org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:534)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.jav
a:530)
at java.lang.Thread.run(Thread.java:534)


-Original Message-
From: prashant chavan [mailto:[EMAIL PROTECTED]
Sent: Wednesday, September 22, 2004 4:49 PM
To: Tomcat Users List
Subject: Re: Urgent !! Please help me out.


Hi Shanti

Your error seems to be a databse connection error. Tell me r u using oracle
as your database for the application. Then you need to check the entries for
db connectivity files - driverproperties.properties. Reply me with detailed
info sot that i can help in a much better way.

Regards
Prashant

Shanti Priya [EMAIL PROTECTED] wrote:
HI!!
I get the following error when i try to run my

Re: Urgent !! Please help me out.

2004-09-22 Thread Marek Wójtowicz
)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.jav
a:530)
at java.lang.Thread.run(Thread.java:534)
root cause
javax.servlet.ServletException: Cannot find bean userObject in scope null
at
org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImp
l.java:530)
at org.apache.jsp.Error_jsp._jspService(Error_jsp.java:896)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:137)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:2
04)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at
org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.
java:684)
at
org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatch
er.java:432)
at
org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher
.java:356)
at
org.apache.struts.action.ActionServlet.processActionForward(ActionServlet.ja
va:1759)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1596)
at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:492)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
FilterChain.java:247)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
ain.java:193)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja
va:260)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(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.ja
va:191)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:643)
at
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase
.java:550)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(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.StandardContext.invoke(StandardContext.java:2415)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180
)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:643)
at
org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.
java:170)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:641)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172
)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(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.invok
eNext(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:432)
at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConne
ction(Http11Protocol.java:386)
at
org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:534)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.jav
a:530)
at java.lang.Thread.run(Thread.java:534)
-Original Message-
From: prashant chavan [mailto:[EMAIL PROTECTED]
Sent: Wednesday, September 22, 2004 4:49 PM
To: Tomcat Users List
Subject: Re: Urgent !! Please help me out.
Hi Shanti
Your error seems to be a databse connection error. Tell me r u using oracle
as your database for the application. Then you need to check the entries for
db connectivity files - driverproperties.properties. Reply me with detailed
info sot that i can help

RE: Urgent .Please help me out

2004-09-22 Thread Robert Shields
Hi

Can you read this please:
http://www.catb.org/~esr/faqs/smart-questions.html

And then consider the following:
- This seems like a servlet or JSP question rather than a Tomcat question.
http://www.catb.org/~esr/faqs/smart-questions.html#forum

- There is no explanation of the cirumstances surrounding the problem, or any source 
code to look at.
http://www.catb.org/~esr/faqs/smart-questions.html#beprecise

- The subject line contains urgent and doesn't describe the problem.
http://www.catb.org/~esr/faqs/smart-questions.html#urgent
http://www.catb.org/~esr/faqs/smart-questions.html#bespecific

Regards,
Rob


-Original Message-
From: Shanti Priya [mailto:[EMAIL PROTECTED]
Sent: Wed 9/22/2004 8:12 AM
To: Tomcat-User
Subject: Urgent .Please help me out
 
Hi !!
   I have deployed an application on tomcat 4.1.18. I do get the
following exception .I am using IE6 as my webbrowser.

(snip)

Thanks  Regards,
Shanti Priya Sunkara

Location: Pune, India
Email   : [EMAIL PROTECTED]



__
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
__

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



AW: Urgent .Please help me out

2004-09-22 Thread Prabhjot Sodhi

Return Receipt
   
Your  AW: Urgent .Please help me out   
document   
:  
   
was   Prabhjot Sodhi/Australia/Contr/IBM   
received   
by:
   
at:   23/09/2004 09:07:51  
   





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



Need Urgent Help

2004-09-03 Thread Venu
Hello Guru's

Im using the my application outside the webapps in server.xml i have confiured the 
following

Host name=domainname.com debug=0 
appBase==/home/httpd/vhosts/domainname.com/httpdocs unpackWARs=true
Aliaswww.domainname.com/Alias

Logger className=org.apache.catalina.logger.FileLogger

directory=logs prefix=domainname suffix=.log timestamp=true/

Context path= docBase=/home/httpd/vhosts/domainname.com/httpdocs debug=0 
reloadable=true/

Valve className=org.apache.catalina.valves.RemoteAddrValve allow=127.0.0.1/

/Host

but still my jsp's  servlets doenst executes at the server side..

Any help is most appreiciated.

Best Regard's

Venu




RE: Need Urgent Help

2004-09-03 Thread Bedrijven.nl
Is docBase right???

-Oorspronkelijk bericht-
Van: Venu [mailto:[EMAIL PROTECTED]
Verzonden: Friday, September 03, 2004 10:25 AM
Aan: Tomcat Users List
Onderwerp: Need Urgent Help


Hello Guru's

Im using the my application outside the webapps in server.xml i have
confiured the following

Host name=domainname.com debug=0
appBase==/home/httpd/vhosts/domainname.com/httpdocs unpackWARs=true
Aliaswww.domainname.com/Alias

Logger className=org.apache.catalina.logger.FileLogger

directory=logs prefix=domainname suffix=.log timestamp=true/

Context path= docBase=/home/httpd/vhosts/domainname.com/httpdocs
debug=0 reloadable=true/

Valve className=org.apache.catalina.valves.RemoteAddrValve
allow=127.0.0.1/

/Host

but still my jsp's  servlets doenst executes at the server side..

Any help is most appreiciated.

Best Regard's

Venu




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



Re: Need Urgent Help

2004-09-03 Thread Venu
yes  it the dir (docBase=/home/httpd/vhosts/domainname.com/httpdocs) 
where i am having my jsp's  servlets

- Original Message - 
From: Bedrijven.nl [EMAIL PROTECTED]
To: 'Tomcat Users List' [EMAIL PROTECTED]
Sent: Friday, September 03, 2004 5:41 PM
Subject: RE: Need Urgent Help


 Is docBase right???
 
 -Oorspronkelijk bericht-
 Van: Venu [mailto:[EMAIL PROTECTED]
 Verzonden: Friday, September 03, 2004 10:25 AM
 Aan: Tomcat Users List
 Onderwerp: Need Urgent Help
 
 
 Hello Guru's
 
 Im using the my application outside the webapps in server.xml i have
 confiured the following
 
 Host name=domainname.com debug=0
 appBase==/home/httpd/vhosts/domainname.com/httpdocs unpackWARs=true
 Aliaswww.domainname.com/Alias
 
 Logger className=org.apache.catalina.logger.FileLogger
 
 directory=logs prefix=domainname suffix=.log timestamp=true/
 
 Context path= docBase=/home/httpd/vhosts/domainname.com/httpdocs
 debug=0 reloadable=true/
 
 Valve className=org.apache.catalina.valves.RemoteAddrValve
 allow=127.0.0.1/
 
 /Host
 
 but still my jsp's  servlets doenst executes at the server side..
 
 Any help is most appreiciated.
 
 Best Regard's
 
 Venu
 
 
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 


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



RE: Need Urgent Help

2004-09-03 Thread Bedrijven.nl
yes but it;s a relative path..so relative to what??

-Oorspronkelijk bericht-
Van: Venu [mailto:[EMAIL PROTECTED]
Verzonden: Friday, September 03, 2004 10:43 AM
Aan: Tomcat Users List; [EMAIL PROTECTED]
Onderwerp: Re: Need Urgent Help


yes  it the dir (docBase=/home/httpd/vhosts/domainname.com/httpdocs) 
where i am having my jsp's  servlets

- Original Message - 
From: Bedrijven.nl [EMAIL PROTECTED]
To: 'Tomcat Users List' [EMAIL PROTECTED]
Sent: Friday, September 03, 2004 5:41 PM
Subject: RE: Need Urgent Help


 Is docBase right???
 
 -Oorspronkelijk bericht-
 Van: Venu [mailto:[EMAIL PROTECTED]
 Verzonden: Friday, September 03, 2004 10:25 AM
 Aan: Tomcat Users List
 Onderwerp: Need Urgent Help
 
 
 Hello Guru's
 
 Im using the my application outside the webapps in server.xml i have
 confiured the following
 
 Host name=domainname.com debug=0
 appBase==/home/httpd/vhosts/domainname.com/httpdocs unpackWARs=true
 Aliaswww.domainname.com/Alias
 
 Logger className=org.apache.catalina.logger.FileLogger
 
 directory=logs prefix=domainname suffix=.log timestamp=true/
 
 Context path= docBase=/home/httpd/vhosts/domainname.com/httpdocs
 debug=0 reloadable=true/
 
 Valve className=org.apache.catalina.valves.RemoteAddrValve
 allow=127.0.0.1/
 
 /Host
 
 but still my jsp's  servlets doenst executes at the server side..
 
 Any help is most appreiciated.
 
 Best Regard's
 
 Venu
 
 
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 


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


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



Re: Need Urgent Help

2004-09-03 Thread Venu
sorry i didnt get you...
relative to the dir on the same server

- Original Message - 
From: Bedrijven.nl [EMAIL PROTECTED]
To: 'Tomcat Users List' [EMAIL PROTECTED]
Sent: Friday, September 03, 2004 5:59 PM
Subject: RE: Need Urgent Help


 yes but it;s a relative path..so relative to what??

 -Oorspronkelijk bericht-
 Van: Venu [mailto:[EMAIL PROTECTED]
 Verzonden: Friday, September 03, 2004 10:43 AM
 Aan: Tomcat Users List; [EMAIL PROTECTED]
 Onderwerp: Re: Need Urgent Help


 yes  it the dir (docBase=/home/httpd/vhosts/domainname.com/httpdocs)
 where i am having my jsp's  servlets

 - Original Message - 
 From: Bedrijven.nl [EMAIL PROTECTED]
 To: 'Tomcat Users List' [EMAIL PROTECTED]
 Sent: Friday, September 03, 2004 5:41 PM
 Subject: RE: Need Urgent Help


  Is docBase right???
 
  -Oorspronkelijk bericht-
  Van: Venu [mailto:[EMAIL PROTECTED]
  Verzonden: Friday, September 03, 2004 10:25 AM
  Aan: Tomcat Users List
  Onderwerp: Need Urgent Help
 
 
  Hello Guru's
 
  Im using the my application outside the webapps in server.xml i have
  confiured the following
 
  Host name=domainname.com debug=0
  appBase==/home/httpd/vhosts/domainname.com/httpdocs
unpackWARs=true
  Aliaswww.domainname.com/Alias
 
  Logger className=org.apache.catalina.logger.FileLogger
 
  directory=logs prefix=domainname suffix=.log timestamp=true/
 
  Context path= docBase=/home/httpd/vhosts/domainname.com/httpdocs
  debug=0 reloadable=true/
 
  Valve className=org.apache.catalina.valves.RemoteAddrValve
  allow=127.0.0.1/
 
  /Host
 
  but still my jsp's  servlets doenst executes at the server side..
 
  Any help is most appreiciated.
 
  Best Regard's
 
  Venu
 
 
 
 
  -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
 


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


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




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



Re: Need Urgent Help

2004-09-03 Thread Venu
  userTable=users userNameCol=user_name
userCredCol=user_pass
  userRoleTable=user_roles roleNameCol=role_name /
  --


 !-- virtual host for businessaims.com --

 Host className=org.apache.catalina.core.StandardHost autoDeploy=true
configClass=org.apache.catalina.startup.ContextConfig
contextClass=org.apache.catalina.core.StandardContext debug=0
deployXML=true
errorReportValveClass=org.apache.catalina.valves.ErrorReportValve
liveDeploy=true mapperClass=org.apache.catalina.core.StandardHostMapper
name=domainname.com debug=0 appBase=/home/httpd/vhosts/domainname.com
unpackWARs=true
Aliaswww.domainname.com/Alias
Logger className=org.apache.catalina.logger.FileLogger
  directory=logs prefix=domainname.com. suffix=.log
timestamp=true/

Context path= docBase=httpdocs debug=0 reloadable=true/
 Valve className=org.apache.catalina.valves.RemoteAddrValve
allow=127.0.0.1/
  /Host

  !-- Define the default virtual host --
/Engine

  /Service

  !-- The MOD_WEBAPP connector is used to connect Apache 1.3 with Tomcat
4.0
   as its servlet container. Please read the README.txt file coming with
   the WebApp Module distribution on how to build it.
   (Or check out the jakarta-tomcat-connectors/webapp CVS repository)

   To configure the Apache side, you must ensure that you have the
   ServerName and Port directives defined in httpd.conf.  Then,
   lines like these to the bottom of your httpd.conf file:

 LoadModule webapp_module libexec/mod_webapp.so
 WebAppConnection warpConnection warp localhost:8008
 WebAppDeploy examples warpConnection /examples/

   The next time you restart Apache (after restarting Tomcat, if needed)
   the connection will be established, and all applications you make
   visible via WebAppDeploy directives can be accessed through Apache.
  --

  !-- Define an Apache-Connector Service --
!--
  Service name=Tomcat-Apache

Connector className=org.apache.catalina.connector.warp.WarpConnector
 port=8008 minProcessors=5 maxProcessors=75
 enableLookups=true appBase=webapps
 acceptCount=10 debug=0/

Engine className=org.apache.catalina.connector.warp.WarpEngine
 name=Apache debug=0

  Logger className=org.apache.catalina.logger.FileLogger
  prefix=apache_log. suffix=.txt
  timestamp=true/

  Realm className=org.apache.catalina.realm.MemoryRealm /

/Engine

  /Service
--

/Server


- Original Message - 
From: Bedrijven.nl [EMAIL PROTECTED]
To: 'Venu' [EMAIL PROTECTED]
Sent: Friday, September 03, 2004 6:53 PM
Subject: RE: Need Urgent Help


 try
 appbase=/home/httpd/vhosts/domainname.com
 docbase=/home/httpd/vhosts/domainname.com/httpdocs

 or
 try
 appbase=/home/httpd/vhosts/domainname.com
 docbase=httpdocs


 -Oorspronkelijk bericht-
 Van: Venu [mailto:[EMAIL PROTECTED]
 Verzonden: Friday, September 03, 2004 11:40 AM
 Aan: [EMAIL PROTECTED]
 Onderwerp: Re: Need Urgent Help


 my appbase is not installed under webapps
 which is installed at  /home/httpd/vhosts/domainname.com on the
 linux server. and docBase is httpdocs

 - Original Message -
 From: Bedrijven.nl [EMAIL PROTECTED]
 To: 'Venu' [EMAIL PROTECTED]
 Sent: Friday, September 03, 2004 6:25 PM
 Subject: RE: Need Urgent Help


  You use appBase==/home/httpd/vhosts/domainname.com/httpdocs??
 
  So appbase is the directory where yur applications are installed
(default
  webapps)
  And docBase is the sbdirectory for your webapplication resolving by the
  host.
 
  example of mine:
 
  Host className=org.apache.catalina.core.StandardHost
appBase=webapps
  autoDeploy=true
configClass=org.apache.catalina.startup.ContextConfig
  contextClass=org.apache.catalina.core.StandardContext debug=0
  deployXML=true
  errorReportValveClass=org.apache.catalina.valves.ErrorReportValve
  liveDeploy=true
 mapperClass=org.apache.catalina.core.StandardHostMapper
  name=rangerdag.nl unpackWARs=true
 
  Aliaswww.rangerdag.nl/Alias
  Logger className=org.apache.catalina.logger.FileLogger
directory=logs
  prefix=rangerdag. suffix=.log timestamp=true/
  Context path= docBase=rangerdag debug=0 reloadable=false/
  /Host
 
 
 
 
  -Oorspronkelijk bericht-
  Van: Venu [mailto:[EMAIL PROTECTED]
  Verzonden: Friday, September 03, 2004 11:05 AM
  Aan: Tomcat Users List; [EMAIL PROTECTED]
  Onderwerp: Re: Need Urgent Help
 
 
  sorry i didnt get you...
  relative to the dir on the same server
 
  - Original Message -
  From: Bedrijven.nl [EMAIL PROTECTED]
  To: 'Tomcat Users List' [EMAIL PROTECTED]
  Sent: Friday, September 03, 2004 5:59 PM
  Subject: RE: Need Urgent Help
 
 
   yes but it;s a relative path..so relative to what??
  
   -Oorspronkelijk bericht-
   Van: Venu [mailto:[EMAIL PROTECTED]
   Verzonden: Friday, September 03, 2004 10:43 AM
   Aan: Tomcat Users List; [EMAIL PROTECTED]
   Onderwerp: Re: Need Urgent Help
  
  
   yes  it the dir (docBase=/home

Re: Kinda Urgent: Huge Temporary Files (2BG) Fill Up Root Partition (mrfxxxxx.tmp files?)

2004-09-03 Thread QM
On Fri, Sep 03, 2004 at 07:19:08AM +0200, Nikola Milutinovic wrote:
: Check with the app's developers -- perhaps they're creating temp files
: 
: Could it be a session holding many objects? Or an application scope 
: holding the same?

Doubtful, as (IIRC) all that happens in memory.

This sounds like something the app's developers are doing, either
directly (their own code) or indirectly (using a third-party toolkit).
The .mf extension will likely be your clue.

-QM

-- 

software  -- http://www.brandxdev.net
tech news -- http://www.RoarNetworX.com


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



SOLVED: Kinda Urgent: Huge Temporary Files (2BG) Fill Up Root Partition (mrfxxxxx.tmp files?)

2004-09-03 Thread Peter Alvin
Thank you so much for your suggestions!

The error is indeed in my code, specifically in a
MultipartRequest-related class that I downloaded from JavaPro
magazine.  I never suspected this code because I didn't write it.  I
guess there is a bug in their code that I now have to investigate
that;  at least I now know the source of the problem!

Peter Alvin
mobile 719-210-3858


On Fri, 3 Sep 2004 04:38:22 -0600, Peter Alvin wrote:
Hello,

Someone on the user list recommended I post my question on the
developer list.  Any help would be greatly appreciated!

I've spent about 5 hours researching this myself--including the
mailing list archives--and have yet to find any references let alone
solutions.  There are no references to mrf files that are causing
me grief.   This posting is my only hope! :)

Here's the scoop: Massively HUGE .tmp files grow in this directory:

/var/cache/tomcat4/temp

Here is an example:

-rw-r--r--1 tomcat4  tomcat4 0 Sep  2 11:21 mrf20758.tmp
-rw-r--r--1 tomcat4  tomcat4 0 Sep  2 11:20 mrf20757.tmp
-rw-r--r--1 tomcat4  tomcat4 0 Sep  2 11:19 mrf20756.tmp
-rw-r--r--1 tomcat4  tomcat4  2272915456 Sep  2 11:19
mrf20744.tmp
-rw-r--r--1 tomcat4  tomcat4 0 Sep  2 11:17 mrf20755.tmp
-rw-r--r--1 tomcat4  tomcat4 0 Sep  2 11:17 mrf20754.tmp
-rw-r--r--1 tomcat4  tomcat4 0 Sep  2 11:16 mrf20753.tmp

I don't know what these files are for nor why some of them grow to
over 2GB.

It's kinda urgent because this kills our server every 24 hours or
so.
It forces me to stop tomcat, delete the files, then re-start.
Sometimes I have to do a kill -9 on the tomcat process because the
process is apparently stuck still trying to write yet more bytes to
these files!

Incidently, we have another server with the same directory, but
there
are only just a few of these mrf files and they don't grow to be
very
big--so, it's not a problem on the other server.

Also incidently, our Java program uses a lot of memory which causes
frequent and long garbage collections.  Are these related?

Can anyone help?  What are these files for?

Peter Alvin
mobile 719-210-3858







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



tomcat urgent help

2004-09-02 Thread Mandar Shirgaokar
Hi,
   I am using tomcat 3.3.2 version and jdk 1.3.1_13 version. Can anyone let me 
know how what classpath I need to set for the following error 
  
  2004-09-02 13:12:49 - ContextManager: Assertion failed: container==null (no Defa
ult Context?)
2004-09-02 13:12:49 - Ctx() : Status code:404 request:R( /) msg:null
 
  I have installed tomcat just now and when i went on to http://localhost:8080,i got 
this error
 
 please, anyone help me in this error
 
thanks,
 
 Sincerely,
 Mandar Shirgaokar



-
Do you Yahoo!?
Y! Messenger - Communicate in real time. Download now.

Re: tomcat urgent help

2004-09-02 Thread gerardo

Since you are just installing, is there  any possibility you could install
a newer version of both tools? I suggest it because it seems like an
installation problem and assuming you followed the instructions, it will
be tricky to pinpoint (incompatibility, configuration, quirk?) and not
much people around are using versions 3x/1.3x anymore.
Most discussions here deal with 4x and 5x Tomcat versions together with
JDK 1.4.

Gerardo

 Hi,
I am using tomcat 3.3.2 version and jdk 1.3.1_13 version. Can
 anyone let me know how what classpath I need to set for the
 following error

   2004-09-02 13:12:49 - ContextManager: Assertion failed: container==null
 (no Defa
 ult Context?)
 2004-09-02 13:12:49 - Ctx() : Status code:404 request:R( /) msg:null

   I have installed tomcat just now and when i went on to
 http://localhost:8080,i got this error

  please, anyone help me in this error

 thanks,

  Sincerely,
  Mandar Shirgaokar



 -
 Do you Yahoo!?
 Y! Messenger - Communicate in real time. Download now.


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



Re: tomcat urgent help

2004-09-02 Thread Mandar Shirgaokar
hi,
 I am using tomcat for developing SAP Portal iviews. I cannot use jdk 1.4 bcos PDK 
does not support jdk version 1.4 and tomcat latest versions. I have to make tomcat 3.3 
version running.
 
 -thanks
 
 Mandar

[EMAIL PROTECTED] wrote:

Since you are just installing, is there any possibility you could install
a newer version of both tools? I suggest it because it seems like an
installation problem and assuming you followed the instructions, it will
be tricky to pinpoint (incompatibility, configuration, quirk?) and not
much people around are using versions 3x/1.3x anymore.
Most discussions here deal with 4x and 5x Tomcat versions together with
JDK 1.4.

Gerardo

 Hi,
 I am using tomcat 3.3.2 version and jdk 1.3.1_13 version. Can
 anyone let me know how what classpath I need to set for the
 following error

 2004-09-02 13:12:49 - ContextManager: Assertion failed: container==null
 (no Defa
 ult Context?)
 2004-09-02 13:12:49 - Ctx() : Status code:404 request:R( /) msg:null

 I have installed tomcat just now and when i went on to
 http://localhost:8080,i got this error

 please, anyone help me in this error

 thanks,

 Sincerely,
 Mandar Shirgaokar



 -
 Do you Yahoo!?
 Y! Messenger - Communicate in real time. Download now.


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



-
Do you Yahoo!?
Yahoo! Mail - You care about security. So do we.

Kinda Urgent: Huge Temporary Files (2BG) Fill Up Root Partition (mrfxxxxx.tmp files?)

2004-09-02 Thread Peter Alvin
Hello,

I've spent about 5 hours researching this myself--including the
mailing list archives--and have yet to find any references let alone
solutions.  There are no references to mrf files that are causing
me grief.   This posting is my only hope! :)

Here's the scoop: Massively HUGE .tmp files grow in this directory:

/var/cache/tomcat4/temp

Here is an example:

-rw-r--r--1 tomcat4  tomcat4 0 Sep  2 11:21 mrf20758.tmp
-rw-r--r--1 tomcat4  tomcat4 0 Sep  2 11:20 mrf20757.tmp
-rw-r--r--1 tomcat4  tomcat4 0 Sep  2 11:19 mrf20756.tmp
-rw-r--r--1 tomcat4  tomcat4  2272915456 Sep  2 11:19
mrf20744.tmp
-rw-r--r--1 tomcat4  tomcat4 0 Sep  2 11:17 mrf20755.tmp
-rw-r--r--1 tomcat4  tomcat4 0 Sep  2 11:17 mrf20754.tmp
-rw-r--r--1 tomcat4  tomcat4 0 Sep  2 11:16 mrf20753.tmp

I don't know what these files are for nor why some of them grow to
over 2GB.

It's kinda urgent because this kills our server every 24 hours or so.
 It forces me to stop tomcat, delete the files, then re-start.  
Sometimes I have to do a kill -9 on the tomcat process because the
process is apparently stuck still trying to write yet more bytes to
these files!

Incidently, we have another server with the same directory, but there
are only just a few of these mrf files and they don't grow to be very
big--so, it's not a problem on the other server.

Also incidently, our Java program uses a lot of memory which causes
frequent and long garbage collections.  Are these related?

Can anyone help?  What are these files for?

Peter Alvin
mobile 719-210-3858




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



Re: Kinda Urgent: Huge Temporary Files (2BG) Fill Up Root Partition (mrfxxxxx.tmp files?)

2004-09-02 Thread QM
On Thu, Sep 02, 2004 at 02:47:19PM -0600, Peter Alvin wrote:
: Here's the scoop: Massively HUGE .tmp files grow in this directory:
: 
: /var/cache/tomcat4/temp
: 
: Here is an example:
: 
: -rw-r--r--1 tomcat4  tomcat4  2272915456 Sep  2 11:19 mrf20744.tmp
: I don't know what these files are for nor why some of them grow to
: over 2GB.

Check with the app's developers -- perhaps they're creating temp files
within their code, and the dir you've mentioned above is the designated
Java temp dir?  (I forget the system property name, but it's
java.tmp.dir or something like that.)

-QM

-- 

software  -- http://www.brandxdev.net
tech news -- http://www.RoarNetworX.com


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



Re: tomcat urgent help

2004-09-02 Thread Bill Barker
The error is just what is says it is:  There is no ROOT context installed,
so Tomcat has no place to send a request for http://localhost:8080.  The
default location for this is at $TOMCAT_HOME/webapps/ROOT.  If you are on
Windows, make certain that the directory name is all upper-case.

Mandar Shirgaokar [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
 Hi,
I am using tomcat 3.3.2 version and jdk 1.3.1_13 version. Can
anyone let me know how what classpath I need to set for the following error

   2004-09-02 13:12:49 - ContextManager: Assertion failed: container==null
(no Defa
 ult Context?)
 2004-09-02 13:12:49 - Ctx() : Status code:404 request:R( /) msg:null

   I have installed tomcat just now and when i went on to
http://localhost:8080,i got this error

  please, anyone help me in this error

 thanks,

  Sincerely,
  Mandar Shirgaokar



 -
 Do you Yahoo!?
 Y! Messenger - Communicate in real time. Download now.




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



Re: Kinda Urgent: Huge Temporary Files (2BG) Fill Up Root Partition (mrfxxxxx.tmp files?)

2004-09-02 Thread Nikola Milutinovic
QM wrote:
On Thu, Sep 02, 2004 at 02:47:19PM -0600, Peter Alvin wrote:
: Here's the scoop: Massively HUGE .tmp files grow in this directory:
: 
: /var/cache/tomcat4/temp
: 
: Here is an example:
: 
: -rw-r--r--1 tomcat4  tomcat4  2272915456 Sep  2 11:19 mrf20744.tmp
: I don't know what these files are for nor why some of them grow to
: over 2GB.

Check with the app's developers -- perhaps they're creating temp files
within their code, and the dir you've mentioned above is the designated
Java temp dir?  (I forget the system property name, but it's
java.tmp.dir or something like that.)
Could it be a session holding many objects? Or an application scope 
holding the same?

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


Urgent attention needed to solve mysterious SocketException error

2004-08-05 Thread Adrian G. Klingel
I'm running Tomcat 5.0.25 in our DMZ.  The server crashes every day.  I see
thousands and thousands of lines like this in Catalina.out:
 
Aug 5, 2004 10:50:31 AM org.apache.tomcat.util.net.TcpWorkerThread runIt
SEVERE: Remote Host /xx.xx.xx.1 SocketException: Invalid argument
 
That IP (obfuscated) is our gateway.  The application on this server is not
distributed, it does make some calls to an external database.
 
I can't find any documentation on this error.  I found one reference to
someone else who had the problem, but there were no solutions offered.
 
Any help is greatly appreciated.
 
Sincerely,
Adrian

 


RE: Urgent attention needed to solve mysterious SocketException error

2004-08-05 Thread Ralph Einfeldt

Are you running tomcat stand alone ?

One possible cause is that tomcat is trying to open a socket where 
nobody is listening. (Invalid argument or EINVAL is a common error
returned by all kind of socket operations in this case)

Without more of the stacktrace it's difficult (at least for me)
to say anything about the context where the problem is occuring.


 -Original Message-
 From: Adrian G. Klingel [mailto:[EMAIL PROTECTED]
 Sent: Thursday, August 05, 2004 5:27 PM
 To: [EMAIL PROTECTED]
 Subject: Urgent attention needed to solve mysterious SocketException
 error
 
 
 I'm running Tomcat 5.0.25 in our DMZ.  The server crashes 
 every day.  I see
 thousands and thousands of lines like this in Catalina.out:
  
 Aug 5, 2004 10:50:31 AM 
 org.apache.tomcat.util.net.TcpWorkerThread runIt
 SEVERE: Remote Host /xx.xx.xx.1 SocketException: Invalid argument
  
 That IP (obfuscated) is our gateway.  The application on this 
 server is not
 distributed, it does make some calls to an external database.
  
 I can't find any documentation on this error.  I found one 
 reference to
 someone else who had the problem, but there were no solutions offered.
  
 Any help is greatly appreciated.
  
 Sincerely,
 Adrian
 
  
 

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



[URGENT] When I type Russian in my .jsps, it displays it as a bunch of squares!

2004-07-19 Thread Ivan Jouikov








Hi everyone!



First of all, in my JSP page I specify:

%@ page language=java contentType=text/html;
charset=UTF-8 %

%@
page
pageEncoding=UTF-8%



Now, in my HEAD I have:

META HTTP-EQUIV=Content-Type
CONTENT=text/html; charset=utf-8

And when I type the following in my page:

This is text in English

  

The English text displays just fine, whereas the Russian is a bunch of
squares. What could be the problem? Is it possible that the way I SAVE the page
could affect it? I am using Eclipse with
Lomboz, and it has no option to change encoding of the file. Lemme try Microsoft word..

Nope, Microsoft word doesnt have an option to save page in different
encoding.

I have no clue what to do, and this is urgent because
this project is due tomorrow, can someone PLEASE help with this?

By the way, My browser is configured properly  I have
no problem displaying Russian stuff on other web sites. Goddamn tomcat L((










 
  
  Best Regards,
  
  Ivan V. Jouikov
  (206) 228-6670
  
  
 













---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.716 / Virus Database: 472 - Release Date: 05.07.2004
 

  


RE: [URGENT] When I type Russian in my .jsps, it displays it as a bunch of squares!

2004-07-19 Thread Mark Thomas
Which version of tomcat?
What operating system?

  _  

From: Ivan Jouikov [mailto:[EMAIL PROTECTED] 
Sent: Monday, July 19, 2004 9:48 AM
To: 'Tomcat Users List'
Subject: [URGENT] When I type Russian in my .jsps, it displays it as a bunch of
squares!


Hi everyone!
 
First of all, in my JSP page I specify:
%@ page language=java contentType=text/html; charset=UTF-8 %
%@ page pageEncoding=UTF-8%
 
Now, in my HEAD I have:
META HTTP-EQUIV=Content-Type CONTENT=text/html; charset=utf-8
And when I type the following in my page:
This is text in English
  
The English text displays just fine, whereas the Russian is a bunch of squares.
What could be the problem?  Is it possible that the way I SAVE the page could
affect it?  I am using Eclipse with Lomboz, and it has no option to change
encoding of the file.  Lemme try Microsoft word..
Nope, Microsoft word doesn't have an option to save page in different encoding.
I have no clue what to do, and this is urgent because this project is due
tomorrow, can someone PLEASE help with this?
By the way, My browser is configured properly - I have no problem displaying
Russian stuff on other web sites.  Goddamn tomcat :-(((

  _  


Best Regards,

Ivan V. Jouikov
(206) 228-6670
 http://www.ablogic.net/ 
 

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.716 / Virus Database: 472 - Release Date: 05.07.2004




RE: [URGENT] When I type Russian in my .jsps, it displays it as a bunch of squares!

2004-07-19 Thread Ivan Jouikov
Tomcat 5.0.27
Windows XP Pro

I know that I AM capapble of viewing Russian, because, for instance, If I try the 
following:

form action=2.jsp
input type=text name=text
input type=submit
/form

And on another page:

%@ page language=java contentType=text/html; charset=UTF-8 %

%
String text = request.getParameter(text);
text = new String(text.getBytes(8859_1),UTF8);

%

You entered: %=text%

I have no problem seeing Russian here.  But why the hell can't I type it directly into 
JSPs?  I guess it would just like typing it into a java class... does it have anything 
to do with jvm?

 -Original Message-
 From: Mark Thomas [mailto:[EMAIL PROTECTED]
 Sent: Monday, July 19, 2004 10:50 AM
 To: 'Tomcat Users List'
 Subject: RE: [URGENT] When I type Russian in my .jsps, it displays it as a
 bunch of squares!
 
 Which version of tomcat?
 What operating system?
 
   _
 
 From: Ivan Jouikov [mailto:[EMAIL PROTECTED]
 Sent: Monday, July 19, 2004 9:48 AM
 To: 'Tomcat Users List'
 Subject: [URGENT] When I type Russian in my .jsps, it displays it as a
 bunch of
 squares!
 
 
 Hi everyone!
 
 First of all, in my JSP page I specify:
 %@ page language=java contentType=text/html; charset=UTF-8 %
 %@ page pageEncoding=UTF-8%
 
 Now, in my HEAD I have:
 META HTTP-EQUIV=Content-Type CONTENT=text/html; charset=utf-8
 And when I type the following in my page:
 This is text in English
   
 The English text displays just fine, whereas the Russian is a bunch of
 squares.
 What could be the problem?  Is it possible that the way I SAVE the page
 could
 affect it?  I am using Eclipse with Lomboz, and it has no option to change
 encoding of the file.  Lemme try Microsoft word..
 Nope, Microsoft word doesn't have an option to save page in different
 encoding.
 I have no clue what to do, and this is urgent because this project is due
 tomorrow, can someone PLEASE help with this?
 By the way, My browser is configured properly - I have no problem
 displaying
 Russian stuff on other web sites.  Goddamn tomcat :-(((
 
   _
 
 
 Best Regards,
 
 Ivan V. Jouikov
 (206) 228-6670
  http://www.ablogic.net/
 
 
 ---
 Outgoing mail is certified Virus Free.
 Checked by AVG anti-virus system (http://www.grisoft.com).
 Version: 6.0.716 / Virus Database: 472 - Release Date: 05.07.2004
 
 
 
 ---
 Incoming mail is certified Virus Free.
 Checked by AVG anti-virus system (http://www.grisoft.com).
 Version: 6.0.716 / Virus Database: 472 - Release Date: 05.07.2004
 

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.716 / Virus Database: 472 - Release Date: 05.07.2004
 


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



RE: [URGENT] When I type Russian in my .jsps, it displays it as a bunch of squares!

2004-07-19 Thread Mark Thomas
Ivan,

This isn't a tomcat problem and I would appreciate it if you would refrain from
blaming tomcat without foundation.

The problem is that your JSP is not saved in UTF-8. Try the following in
Eclipse:
- Right-click on the .jsp file in the package explorer
- Select properties
- In the 'text file encoding' section select 'Other' rather than 'Default'
- Select 'UTF-8' in the now enabled drop down list
- Click 'Apply'
- Click 'OK'
- Save the file
- Redeploy your webapp

On XP you can also save JSPs in UTF-8 using Notepad. Select 'Save As...' and
select the encoding you require from the drop down list at the bottom of the
save file dialog.

I have just cut and pasted the example Russian text from your original e-mail
into a JSP. Before changing the encoding I saw a series of ?s in the browser.
After correcting the JSP file encoding I saw the expected Russian text in IE.

Mark

 -Original Message-
 From: Ivan Jouikov [mailto:[EMAIL PROTECTED] 
 Sent: Monday, July 19, 2004 7:13 PM
 To: 'Tomcat Users List'
 Subject: RE: [URGENT] When I type Russian in my .jsps, it 
 displays it as a bunch of squares!
 
 Tomcat 5.0.27
 Windows XP Pro
 
 I know that I AM capapble of viewing Russian, because, for 
 instance, If I try the following:
 
 form action=2.jsp
   input type=text name=text
   input type=submit
   /form
 
 And on another page:
 
 %@ page language=java contentType=text/html; charset=UTF-8 %
 
 %
   String text = request.getParameter(text);
   text = new String(text.getBytes(8859_1),UTF8);
   
 %
 
 You entered: %=text%
 
 I have no problem seeing Russian here.  But why the hell 
 can't I type it directly into JSPs?  I guess it would just 
 like typing it into a java class... does it have anything to 
 do with jvm?
 
  -Original Message-
  From: Mark Thomas [mailto:[EMAIL PROTECTED]
  Sent: Monday, July 19, 2004 10:50 AM
  To: 'Tomcat Users List'
  Subject: RE: [URGENT] When I type Russian in my .jsps, it 
 displays it as a
  bunch of squares!
  
  Which version of tomcat?
  What operating system?
  
_
  
  From: Ivan Jouikov [mailto:[EMAIL PROTECTED]
  Sent: Monday, July 19, 2004 9:48 AM
  To: 'Tomcat Users List'
  Subject: [URGENT] When I type Russian in my .jsps, it 
 displays it as a
  bunch of
  squares!
  
  
  Hi everyone!
  
  First of all, in my JSP page I specify:
  %@ page language=java contentType=text/html; charset=UTF-8 %
  %@ page pageEncoding=UTF-8%
  
  Now, in my HEAD I have:
  META HTTP-EQUIV=Content-Type CONTENT=text/html; charset=utf-8
  And when I type the following in my page:
  This is text in English
  ? ?? ??
  The English text displays just fine, whereas the Russian is 
 a bunch of
  squares.
  What could be the problem?  Is it possible that the way I 
 SAVE the page
  could
  affect it?  I am using Eclipse with Lomboz, and it has no 
 option to change
  encoding of the file.  Lemme try Microsoft word..
  Nope, Microsoft word doesn't have an option to save page in 
 different
  encoding.
  I have no clue what to do, and this is urgent because this 
 project is due
  tomorrow, can someone PLEASE help with this?
  By the way, My browser is configured properly - I have no problem
  displaying
  Russian stuff on other web sites.   
  
_
  
  
  Best Regards,
  
  Ivan V. Jouikov
  (206) 228-6670
   http://www.ablogic.net/
  
  
  ---
  Outgoing mail is certified Virus Free.
  Checked by AVG anti-virus system (http://www.grisoft.com).
  Version: 6.0.716 / Virus Database: 472 - Release Date: 05.07.2004
  
  
  
  ---
  Incoming mail is certified Virus Free.
  Checked by AVG anti-virus system (http://www.grisoft.com).
  Version: 6.0.716 / Virus Database: 472 - Release Date: 05.07.2004
  
 
 ---
 Outgoing mail is certified Virus Free.
 Checked by AVG anti-virus system (http://www.grisoft.com).
 Version: 6.0.716 / Virus Database: 472 - Release Date: 05.07.2004
  
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 



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



RE: [URGENT] When I type Russian in my .jsps, it displays it as a bunch of squares!

2004-07-19 Thread Ivan Jouikov
YAY YAY YAY!

REJOICE!

Thanks man!  You saved the day!  Looks like I was on the right track when thinking 
that I should save file differently, I just didn't follow my intuition :(

And sorry about blaming tomcat - I can't blame myself, now can I?

BTW, do you happen to know how to make it so that ALL my files are saved as Unicode?

 -Original Message-
 From: Mark Thomas [mailto:[EMAIL PROTECTED]
 Sent: Monday, July 19, 2004 11:43 AM
 To: 'Tomcat Users List'
 Subject: RE: [URGENT] When I type Russian in my .jsps, it displays it as a
 bunch of squares!
 
 Ivan,
 
 This isn't a tomcat problem and I would appreciate it if you would refrain
 from
 blaming tomcat without foundation.
 
 The problem is that your JSP is not saved in UTF-8. Try the following in
 Eclipse:
 - Right-click on the .jsp file in the package explorer
 - Select properties
 - In the 'text file encoding' section select 'Other' rather than 'Default'
 - Select 'UTF-8' in the now enabled drop down list
 - Click 'Apply'
 - Click 'OK'
 - Save the file
 - Redeploy your webapp
 
 On XP you can also save JSPs in UTF-8 using Notepad. Select 'Save As...'
 and
 select the encoding you require from the drop down list at the bottom of
 the
 save file dialog.
 
 I have just cut and pasted the example Russian text from your original e-
 mail
 into a JSP. Before changing the encoding I saw a series of ?s in the
 browser.
 After correcting the JSP file encoding I saw the expected Russian text in
 IE.
 
 Mark
 
  -Original Message-
  From: Ivan Jouikov [mailto:[EMAIL PROTECTED]
  Sent: Monday, July 19, 2004 7:13 PM
  To: 'Tomcat Users List'
  Subject: RE: [URGENT] When I type Russian in my .jsps, it
  displays it as a bunch of squares!
 
  Tomcat 5.0.27
  Windows XP Pro
 
  I know that I AM capapble of viewing Russian, because, for
  instance, If I try the following:
 
  form action=2.jsp
  input type=text name=text
  input type=submit
  /form
 
  And on another page:
 
  %@ page language=java contentType=text/html; charset=UTF-8 %
 
  %
  String text = request.getParameter(text);
  text = new String(text.getBytes(8859_1),UTF8);
 
  %
 
  You entered: %=text%
 
  I have no problem seeing Russian here.  But why the hell
  can't I type it directly into JSPs?  I guess it would just
  like typing it into a java class... does it have anything to
  do with jvm?
 
   -Original Message-
   From: Mark Thomas [mailto:[EMAIL PROTECTED]
   Sent: Monday, July 19, 2004 10:50 AM
   To: 'Tomcat Users List'
   Subject: RE: [URGENT] When I type Russian in my .jsps, it
  displays it as a
   bunch of squares!
  
   Which version of tomcat?
   What operating system?
  
 _
  
   From: Ivan Jouikov [mailto:[EMAIL PROTECTED]
   Sent: Monday, July 19, 2004 9:48 AM
   To: 'Tomcat Users List'
   Subject: [URGENT] When I type Russian in my .jsps, it
  displays it as a
   bunch of
   squares!
  
  
   Hi everyone!
  
   First of all, in my JSP page I specify:
   %@ page language=java contentType=text/html; charset=UTF-8 %
   %@ page pageEncoding=UTF-8%
  
   Now, in my HEAD I have:
   META HTTP-EQUIV=Content-Type CONTENT=text/html; charset=utf-8
   And when I type the following in my page:
   This is text in English
   ? ?? ??
   The English text displays just fine, whereas the Russian is
  a bunch of
   squares.
   What could be the problem?  Is it possible that the way I
  SAVE the page
   could
   affect it?  I am using Eclipse with Lomboz, and it has no
  option to change
   encoding of the file.  Lemme try Microsoft word..
   Nope, Microsoft word doesn't have an option to save page in
  different
   encoding.
   I have no clue what to do, and this is urgent because this
  project is due
   tomorrow, can someone PLEASE help with this?
   By the way, My browser is configured properly - I have no problem
   displaying
   Russian stuff on other web sites.
  
 _
  
  
   Best Regards,
  
   Ivan V. Jouikov
   (206) 228-6670
http://www.ablogic.net/
  
  
   ---
   Outgoing mail is certified Virus Free.
   Checked by AVG anti-virus system (http://www.grisoft.com).
   Version: 6.0.716 / Virus Database: 472 - Release Date: 05.07.2004
  
  
  
   ---
   Incoming mail is certified Virus Free.
   Checked by AVG anti-virus system (http://www.grisoft.com).
   Version: 6.0.716 / Virus Database: 472 - Release Date: 05.07.2004
  
 
  ---
  Outgoing mail is certified Virus Free.
  Checked by AVG anti-virus system (http://www.grisoft.com).
  Version: 6.0.716 / Virus Database: 472 - Release Date: 05.07.2004
 
 
 
  -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 ---
 Incoming mail is certified Virus

RE: [URGENT] When I type Russian in my .jsps, it displays it as a bunch of squares!

2004-07-19 Thread Mark Thomas
No idea. Try the online help or google.

Mark

 -Original Message-
 From: Ivan Jouikov [mailto:[EMAIL PROTECTED] 
 Sent: Monday, July 19, 2004 8:33 PM
 To: 'Tomcat Users List'
 Subject: RE: [URGENT] When I type Russian in my .jsps, it 
 displays it as a bunch of squares!
 
 YAY YAY YAY!
 
 REJOICE!
 
 Thanks man!  You saved the day!  Looks like I was on the 
 right track when thinking that I should save file 
 differently, I just didn't follow my intuition :(
 
 And sorry about blaming tomcat - I can't blame myself, now can I?
 
 BTW, do you happen to know how to make it so that ALL my 
 files are saved as Unicode?
 
  -Original Message-
  From: Mark Thomas [mailto:[EMAIL PROTECTED]
  Sent: Monday, July 19, 2004 11:43 AM
  To: 'Tomcat Users List'
  Subject: RE: [URGENT] When I type Russian in my .jsps, it 
 displays it as a
  bunch of squares!
  
  Ivan,
  
  This isn't a tomcat problem and I would appreciate it if 
 you would refrain
  from
  blaming tomcat without foundation.
  
  The problem is that your JSP is not saved in UTF-8. Try the 
 following in
  Eclipse:
  - Right-click on the .jsp file in the package explorer
  - Select properties
  - In the 'text file encoding' section select 'Other' rather 
 than 'Default'
  - Select 'UTF-8' in the now enabled drop down list
  - Click 'Apply'
  - Click 'OK'
  - Save the file
  - Redeploy your webapp
  
  On XP you can also save JSPs in UTF-8 using Notepad. Select 
 'Save As...'
  and
  select the encoding you require from the drop down list at 
 the bottom of
  the
  save file dialog.
  
  I have just cut and pasted the example Russian text from 
 your original e-
  mail
  into a JSP. Before changing the encoding I saw a series of ?s in the
  browser.
  After correcting the JSP file encoding I saw the expected 
 Russian text in
  IE.
  
  Mark
  
   -Original Message-
   From: Ivan Jouikov [mailto:[EMAIL PROTECTED]
   Sent: Monday, July 19, 2004 7:13 PM
   To: 'Tomcat Users List'
   Subject: RE: [URGENT] When I type Russian in my .jsps, it
   displays it as a bunch of squares!
  
   Tomcat 5.0.27
   Windows XP Pro
  
   I know that I AM capapble of viewing Russian, because, for
   instance, If I try the following:
  
   form action=2.jsp
 input type=text name=text
 input type=submit
 /form
  
   And on another page:
  
   %@ page language=java contentType=text/html; charset=UTF-8 %
  
   %
 String text = request.getParameter(text);
 text = new String(text.getBytes(8859_1),UTF8);
  
   %
  
   You entered: %=text%
  
   I have no problem seeing Russian here.  But why the hell
   can't I type it directly into JSPs?  I guess it would just
   like typing it into a java class... does it have anything to
   do with jvm?
  
-Original Message-
From: Mark Thomas [mailto:[EMAIL PROTECTED]
Sent: Monday, July 19, 2004 10:50 AM
To: 'Tomcat Users List'
Subject: RE: [URGENT] When I type Russian in my .jsps, it
   displays it as a
bunch of squares!
   
Which version of tomcat?
What operating system?
   
  _
   
From: Ivan Jouikov [mailto:[EMAIL PROTECTED]
Sent: Monday, July 19, 2004 9:48 AM
To: 'Tomcat Users List'
Subject: [URGENT] When I type Russian in my .jsps, it
   displays it as a
bunch of
squares!
   
   
Hi everyone!
   
First of all, in my JSP page I specify:
%@ page language=java contentType=text/html; 
 charset=UTF-8 %
%@ page pageEncoding=UTF-8%
   
Now, in my HEAD I have:
META HTTP-EQUIV=Content-Type CONTENT=text/html; 
 charset=utf-8
And when I type the following in my page:
This is text in English
? ?? ??
The English text displays just fine, whereas the Russian is
   a bunch of
squares.
What could be the problem?  Is it possible that the way I
   SAVE the page
could
affect it?  I am using Eclipse with Lomboz, and it has no
   option to change
encoding of the file.  Lemme try Microsoft word..
Nope, Microsoft word doesn't have an option to save page in
   different
encoding.
I have no clue what to do, and this is urgent because this
   project is due
tomorrow, can someone PLEASE help with this?
By the way, My browser is configured properly - I have 
 no problem
displaying
Russian stuff on other web sites.
   
  _
   
   
Best Regards,
   
Ivan V. Jouikov
(206) 228-6670
 http://www.ablogic.net/
   
   
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.716 / Virus Database: 472 - Release Date: 
 05.07.2004
   
   
   
---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.716 / Virus Database: 472 - Release Date: 
 05.07.2004
   
  
   ---
   Outgoing mail is certified Virus Free.
   Checked by AVG anti-virus system (http

Re: [URGENT] When I type Russian in my .jsps, it displays it as a bunch of squares!

2004-07-19 Thread Joel
On Mon, 19 Jul 2004 12:32:34 -0700
Ivan Jouikov [EMAIL PROTECTED] wrote

 YAY YAY YAY!
 
 REJOICE!
 
 Thanks man!  You saved the day!  Looks like I was on the right track when thinking 
 that I should save file differently, I just didn't follow my intuition :(
 
 And sorry about blaming tomcat - I can't blame myself, now can I?

sigh.

 BTW, do you happen to know how to make it so that ALL my files are saved as Unicode?

If you know the encoding you were saving under, you could write a quick
filter in Java (or perl 5.8+, if you find perl easier) that reads the
files in the original encoding and writes them back out in your prefered
Unicode UTF form. 

-- 
Joel [EMAIL PROTECTED]


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



please help urgent!! Exception when a method returned a Serializable object from Jboss

2004-06-23 Thread Kam Lung Leung
Hello,

Any help or suggestion is greatly appreciated.
I have a Servlet that deployed in a standalone Tomcat version 4.1.30. 
The Tomcat is running in the same server as Jboss 3.2.1. The servlet 
accesses a method of a remote session bean that is deployed in Jboss. 
This method returns a java object that implements java.io.Serializable. 
The servlet accesses the remote session bean with the following code:

  |   UserControllerRemoteHome homeObject;
  |   String remoteJndiName = UserControllerBeanJNDI;
  |homeObject = (UserControllerRemoteHome) 
  |   homesFactory.lookUpHome(remoteJndiName, 
UserControllerRemoteHome.class);
  |// get the EJBObject, UserControllerRemote
  |UserControllerRemote ejbObject = homeObject.create();
  | 
  | // Now problem so far up to this point, but an Exception occurred when 
  | // the validateUserPassword method returned a java serializable object  
  | // BasicUserInformationDO, however; when the validateUserPassword returned 
  | // null then no exception occurred.
  | // The log file producted by jboss server.log does not show any exception at all
  | BasicUserInformationDO basicUserInfoDO = null;
  | try {
  |basicUserInfoDO = (BasicUserInformationDO)
  | ejbObject.validateUserPassword( 
Integer.parseInt(userID),
  | 
Short.parseShort(subID),
  | password, 
sessionID);
  |   } catch (IOException ioEx) {
  | request.getSession().getServletContext().log(IOException,
  | new Throwable(ioEx.toString()));
  |   } catch (ServletException servletEx) {
  | request.getSession().getServletContext().log(Servlet Exception,
  | new Throwable(servletEx.toString()));
  |   }
  | } catch (RemoteException remoteEx) {
  | request.getSession().getServletContext().log(Remote Exception,
  | new Throwable(remoteEx.toString()));
  | } catch (CreateException createEx) {
  | request.getSession().getServletContext().log(create Exception,
  | new Throwable(createEx.toString()));
  | } catch (IOException ioEx) {
  | request.getSession().getServletContext().log(IOException,
  | new Throwable(ioEx.toString()));
  | } catch (Exception Ex) {
  | request.getSession().getServletContext().log(Exception,
  | new Throwable(Ex.toString()));
  | }
**   Here is the method that returns the serializable object 


  | public BasicUserInformationDO validateUserPassword(int userID, short subID,
  |   String password, String sessioID)
  |   {
  |  
  | BasicUserInformationDO basicUserInfoDO = null;
  | // To valid the password we need to access the UserBean (ejb-name). However, 
we also
  | // to return the BasicUserInformationDO object, thus we need to access the
  | // UserAccountBean (ejb-name). So we need toltal of two references to fulfill 
this
  | // mission.
  | // Get a UserBean's home object from the EJBLocalHomeFactory
  | try {
  |   // get an instance of the UserEjbUtil
  |   UserEjbUtil userBeanUtil = UserEjbUtil.getInstance();
  | 
  |   // get the EJBObject, UserLocal
  |   UserLocal userObject = 
userBeanUtil.getUser(StringUtilities.getPrimaryKey(userID, subID));
  | 
  |   if (userObject != null) {
  | // Now we check the password from the user input against the password from 
the database
  | 
  |   // get the EJBObject, UserAccountLocal
  |   UserAccountEjbUtil userAccountBeanUtil =  
UserAccountEjbUtil.getInstance();
  | 
  |   UserAccountLocal userAccountObject = userAccountBeanUtil.getUserAccount(
  |   
StringUtilities.getPrimaryKey(userID, subID));
  | 
  |   if (userAccountObject != null) {
  | // Now get the serviceTypesSubscribed and numberOfServicesSubscribed 
from the UserAccountBean
  | basicUserInfoDO =  new 
BasicUserInformationDO(userObject.getFirstName(), userObject.getLastName(),
  | 
  |   userObject.getMiddleName(), userID, 
subID,
  |   
userAccountObject.getNumberOfServicesSubscribed(),
  |   
userAccountObject.getServiceTypesSubscribed());
  | if (log.isDebugEnabled()) {
  |   log.debug(basicUserInfoDO.toString());
  | }
  |   }//End if userAccountObject
  | }//End if
  |   }//End if userObject
  | } catch (IOException ioEx) {
  | 

RE: Tomcat, RedHat Linux MySQL configuration urgent...

2004-06-09 Thread mxs6991
Thank you

regards,
Manikandan Sachidanandan

It's when things seem worst that you mustn't quit...


-Original Message-
From: Parsons Technical Services [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, June 08, 2004 11:34 PM
To: Tomcat Users List
Subject: Re: Tomcat, RedHat Linux  MySQL configuration urgent...

This is way to general a statement to get a direct answer.

Search the archives. You will find lots of configs and talk on the webserver
as well as some on MySQL.

Here is a link to the archives. If you search on just me, You will get a lot
of hits on configs as well as some code on database accessing. When you have
some more specific questions we will be glad to help.

http://marc.theaimsgroup.com/?l=tomcat-userr=1w=2

Doug
www.parsonstechnical.com


- Original Message - 
From: mxs6991 [EMAIL PROTECTED]
To: 'Tomcat Users List' [EMAIL PROTECTED]
Sent: Tuesday, June 08, 2004 10:18 PM
Subject: RE: Tomcat, RedHat Linux  MySQL configuration urgent...


 By the way the MySQL version is 4.0 for red hat linux 9.0

 regards,
 Manikandan Sachidanandan

 It's when things seem worst that you mustn't quit...


 -Original Message-
 From: mxs6991 [mailto:[EMAIL PROTECTED]
 Sent: Tuesday, June 08, 2004 10:14 PM
 To: 'Tomcat Users List'
 Subject: Tomcat, RedHat Linux  MySQL configuration urgent...

 Hi tomcat users,
 I have come up with an web application
 Which involves JSP pages (hosted using tomcat 5.0.25)
 talking to MySQL database,
 and I have decided to have 2 separate PCs for
 the web server  database server!
 My question is about the hardware configuration
 For these two servers.(If some one could come up
 With a configuration for these, esp. the webserver,
 It would be very helpful)

 regards,
 Manikandan Sachidanandan

 It's when things seem worst that you mustn't quit...



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

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





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

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



Tomcat, RedHat Linux MySQL configuration urgent...

2004-06-08 Thread mxs6991
Hi tomcat users,
I have come up with an web application 
Which involves JSP pages (hosted using tomcat 5.0.25)
talking to MySQL database,
and I have decided to have 2 separate PCs for 
the web server  database server!
My question is about the hardware configuration 
For these two servers.(If some one could come up
With a configuration for these, esp. the webserver,
It would be very helpful)

regards,
Manikandan Sachidanandan

It's when things seem worst that you mustn't quit...



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



RE: Tomcat, RedHat Linux MySQL configuration urgent...

2004-06-08 Thread mxs6991
By the way the MySQL version is 4.0 for red hat linux 9.0

regards,
Manikandan Sachidanandan

It's when things seem worst that you mustn't quit...


-Original Message-
From: mxs6991 [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, June 08, 2004 10:14 PM
To: 'Tomcat Users List'
Subject: Tomcat, RedHat Linux  MySQL configuration urgent...

Hi tomcat users,
I have come up with an web application 
Which involves JSP pages (hosted using tomcat 5.0.25)
talking to MySQL database,
and I have decided to have 2 separate PCs for 
the web server  database server!
My question is about the hardware configuration 
For these two servers.(If some one could come up
With a configuration for these, esp. the webserver,
It would be very helpful)

regards,
Manikandan Sachidanandan

It's when things seem worst that you mustn't quit...



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

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



Re: Tomcat, RedHat Linux MySQL configuration urgent...

2004-06-08 Thread Parsons Technical Services
This is way to general a statement to get a direct answer.

Search the archives. You will find lots of configs and talk on the webserver
as well as some on MySQL.

Here is a link to the archives. If you search on just me, You will get a lot
of hits on configs as well as some code on database accessing. When you have
some more specific questions we will be glad to help.

http://marc.theaimsgroup.com/?l=tomcat-userr=1w=2

Doug
www.parsonstechnical.com


- Original Message - 
From: mxs6991 [EMAIL PROTECTED]
To: 'Tomcat Users List' [EMAIL PROTECTED]
Sent: Tuesday, June 08, 2004 10:18 PM
Subject: RE: Tomcat, RedHat Linux  MySQL configuration urgent...


 By the way the MySQL version is 4.0 for red hat linux 9.0

 regards,
 Manikandan Sachidanandan

 It's when things seem worst that you mustn't quit...


 -Original Message-
 From: mxs6991 [mailto:[EMAIL PROTECTED]
 Sent: Tuesday, June 08, 2004 10:14 PM
 To: 'Tomcat Users List'
 Subject: Tomcat, RedHat Linux  MySQL configuration urgent...

 Hi tomcat users,
 I have come up with an web application
 Which involves JSP pages (hosted using tomcat 5.0.25)
 talking to MySQL database,
 and I have decided to have 2 separate PCs for
 the web server  database server!
 My question is about the hardware configuration
 For these two servers.(If some one could come up
 With a configuration for these, esp. the webserver,
 It would be very helpful)

 regards,
 Manikandan Sachidanandan

 It's when things seem worst that you mustn't quit...



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

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





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



RE: Urgent: Issue with Tomcat Clustering

2004-05-24 Thread Filip Hanik \(lists\)
not an issue with clustering, the stack trace is in the mod_jk code,
Filip


-Original Message-
From: Vikas Gupta [mailto:[EMAIL PROTECTED]
Sent: Sunday, May 23, 2004 12:08 PM
To: Tomcat Users List
Subject: Urgent: Issue with Tomcat Clustering



Hi All,
I am trying to do tomcat clustering using tomcat 5.0.19 using mod_jk
connector for Apache 2.
I am stuck up in a problem for quite some time.
I am able to run the sample application in my setup and the clustering and
session replication works fine.

But when I run my application in the cluster it bombs. The test scenarios is
like this,
We hvve tried using poolable and synchronous mode.

The session object in is not getting replicated and is
request.getSession(false) gives null value. The same scenario is working
fine on the sample application. 
I think Cluster setup is fine because sample application

Can you please tell us the reason of exception 

Is there any adverse impact of the following on session replication in
clustering scenario: 

1. usage of encodeURL (URL rewriting)
2. usage of large objects in session
3. usage of cookies

I have attached the server.xml, web.xml and workers.properties.

Please advise
Regards
Vikas

May 23, 2004 8:51:11 PM org.apache.jk.common.ChannelSocket processConnection
SEVERE: Error, processing connection
java.net.SocketException: Software caused connection abort: recv failed
at java.net.SocketInputStream.socketRead0(Native Method)
at java.net.SocketInputStream.read(SocketInputStream.java:129)
at java.io.BufferedInputStream.fill(BufferedInputStream.java:183)
at java.io.BufferedInputStream.read1(BufferedInputStream.java:222)
at java.io.BufferedInputStream.read(BufferedInputStream.java:277)
at org.apache.jk.common.ChannelSocket.read(ChannelSocket.java:580)
at
org.apache.jk.common.ChannelSocket.receive(ChannelSocket.java:518)
at
org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.ja
va:638)
at
org.apache.jk.common.SocketConnection.runIt(ChannelSocket.java:829)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadP
ool.java:688)
at java.lang.Thread.run(Thread.java:536)
May 23, 2004 8:51:11 PM org.apache.jk.common.HandlerRequest invoke
INFO: Unknown message 0
May 23, 2004 8:51:11 PM org.apache.jk.common.HandlerRequest invoke
INFO: Unknown message 0
May 23, 2004 8:55:53 PM org.apache.catalina.cluster.tcp.SimpleTcpCluster
memberD





---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.676 / Virus Database: 438 - Release Date: 5/3/2004
 
  

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.676 / Virus Database: 438 - Release Date: 5/3/2004
 


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



Re: Urgent: Issue with Tomcat Clustering

2004-05-24 Thread Filip Hanik - Dev
try without mod_jk with another load balancer first,
pen (http://siag.nu/pen) or balance (http://balance.sourceforge.net)


- Original Message - 
From: Vikas Gupta [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Sunday, May 23, 2004 12:07 PM
Subject: Urgent: Issue with Tomcat Clustering



Hi All,
I am trying to do tomcat clustering using tomcat 5.0.19 using mod_jk
connector for Apache 2.
I am stuck up in a problem for quite some time.
I am able to run the sample application in my setup and the clustering and
session replication works fine.

But when I run my application in the cluster it bombs. The test scenarios is
like this,
We hvve tried using poolable and synchronous mode.

The session object in is not getting replicated and is
request.getSession(false) gives null value. The same scenario is working
fine on the sample application. 
I think Cluster setup is fine because sample application

Can you please tell us the reason of exception 

Is there any adverse impact of the following on session replication in
clustering scenario: 

1. usage of encodeURL (URL rewriting)
2. usage of large objects in session
3. usage of cookies

I have attached the server.xml, web.xml and workers.properties.

Please advise
Regards
Vikas

May 23, 2004 8:51:11 PM org.apache.jk.common.ChannelSocket processConnection
SEVERE: Error, processing connection
java.net.SocketException: Software caused connection abort: recv failed
at java.net.SocketInputStream.socketRead0(Native Method)
at java.net.SocketInputStream.read(SocketInputStream.java:129)
at java.io.BufferedInputStream.fill(BufferedInputStream.java:183)
at java.io.BufferedInputStream.read1(BufferedInputStream.java:222)
at java.io.BufferedInputStream.read(BufferedInputStream.java:277)
at org.apache.jk.common.ChannelSocket.read(ChannelSocket.java:580)
at
org.apache.jk.common.ChannelSocket.receive(ChannelSocket.java:518)
at
org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.ja
va:638)
at
org.apache.jk.common.SocketConnection.runIt(ChannelSocket.java:829)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadP
ool.java:688)
at java.lang.Thread.run(Thread.java:536)
May 23, 2004 8:51:11 PM org.apache.jk.common.HandlerRequest invoke
INFO: Unknown message 0
May 23, 2004 8:51:11 PM org.apache.jk.common.HandlerRequest invoke
INFO: Unknown message 0
May 23, 2004 8:55:53 PM org.apache.catalina.cluster.tcp.SimpleTcpCluster
memberD










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


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



Fw: Urgent: Issue with Tomcat Clustering

2004-05-24 Thread Filip Hanik - Dev

try without mod_jk with another load balancer first,
pen (http://siag.nu/pen) or balance (http://balance.sourceforge.net)


- Original Message - 
From: Vikas Gupta [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Sunday, May 23, 2004 12:07 PM
Subject: Urgent: Issue with Tomcat Clustering



Hi All,
I am trying to do tomcat clustering using tomcat 5.0.19 using mod_jk
connector for Apache 2.
I am stuck up in a problem for quite some time.
I am able to run the sample application in my setup and the clustering and
session replication works fine.

But when I run my application in the cluster it bombs. The test scenarios is
like this,
We hvve tried using poolable and synchronous mode.

The session object in is not getting replicated and is
request.getSession(false) gives null value. The same scenario is working
fine on the sample application. 
I think Cluster setup is fine because sample application

Can you please tell us the reason of exception 

Is there any adverse impact of the following on session replication in
clustering scenario: 

1. usage of encodeURL (URL rewriting)
2. usage of large objects in session
3. usage of cookies

I have attached the server.xml, web.xml and workers.properties.

Please advise
Regards
Vikas

May 23, 2004 8:51:11 PM org.apache.jk.common.ChannelSocket processConnection
SEVERE: Error, processing connection
java.net.SocketException: Software caused connection abort: recv failed
at java.net.SocketInputStream.socketRead0(Native Method)
at java.net.SocketInputStream.read(SocketInputStream.java:129)
at java.io.BufferedInputStream.fill(BufferedInputStream.java:183)
at java.io.BufferedInputStream.read1(BufferedInputStream.java:222)
at java.io.BufferedInputStream.read(BufferedInputStream.java:277)
at org.apache.jk.common.ChannelSocket.read(ChannelSocket.java:580)
at
org.apache.jk.common.ChannelSocket.receive(ChannelSocket.java:518)
at
org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.ja
va:638)
at
org.apache.jk.common.SocketConnection.runIt(ChannelSocket.java:829)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadP
ool.java:688)
at java.lang.Thread.run(Thread.java:536)
May 23, 2004 8:51:11 PM org.apache.jk.common.HandlerRequest invoke
INFO: Unknown message 0
May 23, 2004 8:51:11 PM org.apache.jk.common.HandlerRequest invoke
INFO: Unknown message 0
May 23, 2004 8:55:53 PM org.apache.catalina.cluster.tcp.SimpleTcpCluster
memberD










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



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



Re: URGENT!! Relocation error problem

2004-05-24 Thread Graham Bleach
On Fri, May 21, 2004 at 11:16:02AM -0400, Wehner, Terry wrote:
 I am getting the following error when trying to start apache 1.3.27
 
 Syntax error on line 4 of
 /opt/applocal/imt/webi/jakarta-tomcat-4.1.29/conf/auto/mod_jk.conf:
 Cannot load /opt/applocal/imt/webi/httpd_1.3.27/modules/mod_jk.so into
 server: ld.so.1: /opt/applocal/imt/webi/httpd_1.3.27/bin/httpd: fatal:
 relocation error: file
 /opt/applocal/imt/webi/httpd_1.3.27/modules/mod_jk.so: symbol
 ap_ctx_get: referenced symbol not found
 ./apachectl start: httpd could not be started

How was this module compiled?

If it was compiled against the apache 2.0 source it will not work with
apache 1.3. 

 I am also using Jakarta Tomcat 4.1.29 which trys to load the mod_jk.so
 library that I have place in my Apache modules directory.

 The files and paths are being found ok, however the referenced symbol
 seems to be causing the error?
 
 Also if I comment out the part about loading the mod_jk.so (by not
 including the mod_jk.conf file, all other modules load just fine?
 
 I have looked through the old archives and tried a number of different
 solutions:
 
 Changing my LD_LIBRARY_PATH

To anything in particular?

 ./configureing with SHARED_CORE
 
 Etc.

Please don't put URGENT in the title. It may be urgent to you, but it
probably isn't urgent to anyone else on the list.

G
-- 
If you have any trouble sounding condescending, find a Unix user to show you 
how it's done.
-- Scott Adams

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



Urgent: Issue with Tomcat Clustering

2004-05-23 Thread Vikas Gupta
Hi All,
I am trying to do tomcat clustering using tomcat 5.0.19 using mod_jk
connector for Apache 2.
I am stuck up in a problem for quite some time.
I am able to run the sample application in my setup and the clustering and
session replication works fine.

But when I run my application in the cluster it bombs. The test scenarios is
like this,
We hvve tried using poolable and synchronous mode.

The session object in is not getting replicated and is
request.getSession(false) gives null value. The same scenario is working
fine on the sample application. 
I think Cluster setup is fine because sample application

Can you please tell us the reason of trace that is seeen on tomcat console
when cluster nodes try to communicate to each other.

Is there any adverse impact of the following on session replication in
clustering scenario: 

1. usage of encodeURL (URL rewriting)
2. usage of large objects in session
3. usage of cookies

I have attached the server.xml, web.xml and workers.properties.

Please advise
Regards
Vikas

May 23, 2004 8:51:11 PM org.apache.jk.common.ChannelSocket processConnection
SEVERE: Error, processing connection
java.net.SocketException: Software caused connection abort: recv failed
at java.net.SocketInputStream.socketRead0(Native Method)
at java.net.SocketInputStream.read(SocketInputStream.java:129)
at java.io.BufferedInputStream.fill(BufferedInputStream.java:183)
at java.io.BufferedInputStream.read1(BufferedInputStream.java:222)
at java.io.BufferedInputStream.read(BufferedInputStream.java:277)
at org.apache.jk.common.ChannelSocket.read(ChannelSocket.java:580)
at
org.apache.jk.common.ChannelSocket.receive(ChannelSocket.java:518)
at
org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.ja
va:638)
at
org.apache.jk.common.SocketConnection.runIt(ChannelSocket.java:829)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadP
ool.java:688)
at java.lang.Thread.run(Thread.java:536)
May 23, 2004 8:51:11 PM org.apache.jk.common.HandlerRequest invoke
INFO: Unknown message 0
May 23, 2004 8:51:11 PM org.apache.jk.common.HandlerRequest invoke
INFO: Unknown message 0
May 23, 2004 8:55:53 PM org.apache.catalina.cluster.tcp.SimpleTcpCluster
memberD




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

Urgent: Issue with Tomcat Clustering

2004-05-23 Thread Vikas Gupta

Hi All,
I am trying to do tomcat clustering using tomcat 5.0.19 using mod_jk
connector for Apache 2.
I am stuck up in a problem for quite some time.
I am able to run the sample application in my setup and the clustering and
session replication works fine.

But when I run my application in the cluster it bombs. The test scenarios is
like this,
We hvve tried using poolable and synchronous mode.

The session object in is not getting replicated and is
request.getSession(false) gives null value. The same scenario is working
fine on the sample application. 
I think Cluster setup is fine because sample application

Can you please tell us the reason of exception 

Is there any adverse impact of the following on session replication in
clustering scenario: 

1. usage of encodeURL (URL rewriting)
2. usage of large objects in session
3. usage of cookies

I have attached the server.xml, web.xml and workers.properties.

Please advise
Regards
Vikas

May 23, 2004 8:51:11 PM org.apache.jk.common.ChannelSocket processConnection
SEVERE: Error, processing connection
java.net.SocketException: Software caused connection abort: recv failed
at java.net.SocketInputStream.socketRead0(Native Method)
at java.net.SocketInputStream.read(SocketInputStream.java:129)
at java.io.BufferedInputStream.fill(BufferedInputStream.java:183)
at java.io.BufferedInputStream.read1(BufferedInputStream.java:222)
at java.io.BufferedInputStream.read(BufferedInputStream.java:277)
at org.apache.jk.common.ChannelSocket.read(ChannelSocket.java:580)
at
org.apache.jk.common.ChannelSocket.receive(ChannelSocket.java:518)
at
org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.ja
va:638)
at
org.apache.jk.common.SocketConnection.runIt(ChannelSocket.java:829)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadP
ool.java:688)
at java.lang.Thread.run(Thread.java:536)
May 23, 2004 8:51:11 PM org.apache.jk.common.HandlerRequest invoke
INFO: Unknown message 0
May 23, 2004 8:51:11 PM org.apache.jk.common.HandlerRequest invoke
INFO: Unknown message 0
May 23, 2004 8:55:53 PM org.apache.catalina.cluster.tcp.SimpleTcpCluster
memberD




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

URGENT!! Relocation error problem

2004-05-21 Thread Wehner, Terry
I am getting the following error when trying to start apache 1.3.27

Syntax error on line 4 of
/opt/applocal/imt/webi/jakarta-tomcat-4.1.29/conf/auto/mod_jk.conf:
Cannot load /opt/applocal/imt/webi/httpd_1.3.27/modules/mod_jk.so into
server: ld.so.1: /opt/applocal/imt/webi/httpd_1.3.27/bin/httpd: fatal:
relocation error: file
/opt/applocal/imt/webi/httpd_1.3.27/modules/mod_jk.so: symbol
ap_ctx_get: referenced symbol not found
./apachectl start: httpd could not be started

I am also using Jakarta Tomcat 4.1.29 which trys to load the mod_jk.so
library that I have place in my Apache modules directory.

The files and paths are being found ok, however the referenced symbol
seems to be causing the error?

Also if I comment out the part about loading the mod_jk.so (by not
including the mod_jk.conf file, all other modules load just fine?

I have looked through the old archives and tried a number of different
solutions:

Changing my LD_LIBRARY_PATH
./configureing with SHARED_CORE

Etc.

I have done this successfully with Apache 2.0.48 but 1.3.x will not work
for me?

Nothing seems to be working.

Has anyone seen/resolved this?

Thanks

Terry

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



urgent: does jk2 work with oracle application server

2004-05-17 Thread Frank Duffner
... and other application servers from ibm etc.
or does it only work with tomcat and ergo jboss?
thx for reply
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Tomcat 4.0.6 and Japanese chars urgent

2004-05-11 Thread jyotsna
Hello all

I am facing the following problem with tomcat 4.0.6 when using Japanese
characters :

1. The default encoding of the browser is not being set to the Japanese
charset (shift-jis). I have to change the setting manually to see the chars.

2. My japanese chars though being displayed in the JSP are not the same as
that inseretd in DB.

Can any one please help me .

Best Regds
Jyotsna



-Original Message-
From: jyotsna [mailto:[EMAIL PROTECTED]
Sent: Tuesday, May 11, 2004 4:27 PM
To:
tomcat-user-sc.1084271614.dfpfnaekknkbnhfjfcno-jyotsna.bharadwaj=baypack
[EMAIL PROTECTED]
Subject: RE: confirm subscribe to [EMAIL PROTECTED]




-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]
Sent: Tuesday, May 11, 2004 4:04 PM
To: [EMAIL PROTECTED]
Subject: confirm subscribe to [EMAIL PROTECTED]


Hi! This is the ezmlm program. I'm managing the
[EMAIL PROTECTED] mailing list.

I'm working for my owner, who can be reached
at [EMAIL PROTECTED]

To confirm that you would like

   [EMAIL PROTECTED]

added to the tomcat-user mailing list, please send
an empty reply to this address:


tomcat-user-sc.1084271614.dfpfnaekknkbnhfjfcno-jyotsna.bharadwaj=baypackets.
[EMAIL PROTECTED]

Usually, this happens when you just hit the reply button.
If this does not work, simply copy the address and paste it into
the To: field of a new message.

or click here:

mailto:tomcat-user-sc.1084271614.dfpfnaekknkbnhfjfcno-jyotsna.bharadwaj=bayp
[EMAIL PROTECTED]

This confirmation serves two purposes. First, it verifies that I am able
to get mail through to you. Second, it protects you in case someone
forges a subscription request in your name.

Some mail programs are broken and cannot handle long addresses. If you
cannot reply to this request, instead send a message to
[EMAIL PROTECTED] and put the
entire address listed above into the Subject: line.


--- Administrative commands for the tomcat-user list ---

I can handle administrative requests automatically. Please
do not send them to the list address! Instead, send
your message to the correct command address:

To subscribe to the list, send a message to:
   [EMAIL PROTECTED]

To remove your address from the list, send a message to:
   [EMAIL PROTECTED]

Send mail to the following for info and FAQ for this list:
   [EMAIL PROTECTED]
   [EMAIL PROTECTED]

Similar addresses exist for the digest list:
   [EMAIL PROTECTED]
   [EMAIL PROTECTED]

To get messages 123 through 145 (a maximum of 100 per request), mail:
   [EMAIL PROTECTED]

To get an index with subject and author for messages 123-456 , mail:
   [EMAIL PROTECTED]

They are always returned as sets of 100, max 2000 per request,
so you'll actually get 100-499.

To receive all messages with the same subject as message 12345,
send an empty message to:
   [EMAIL PROTECTED]

The messages do not really need to be empty, but I will ignore
their content. Only the ADDRESS you send to is important.

You can start a subscription for an alternate address,
for example [EMAIL PROTECTED], just add a hyphen and your
address (with '=' instead of '@') after the command word:
[EMAIL PROTECTED]

To stop subscription for this address, mail:
[EMAIL PROTECTED]

In both cases, I'll send a confirmation message to that address. When
you receive it, simply reply to it to complete your subscription.

If despite following these instructions, you do not get the
desired results, please contact my owner at
[EMAIL PROTECTED] Please be patient, my owner is a
lot slower than I am ;-)

--- Enclosed is a copy of the request I received.

Return-Path: [EMAIL PROTECTED]
Received: (qmail 36374 invoked by uid 98); 11 May 2004 10:33:34 -
Received: from [EMAIL PROTECTED] by hermes.apache.org by uid
82 with qmail-scanner-1.20
 (clamuko: 0.70.  Clear:RC:0(203.196.139.114):.
 Processed in 1.058051 secs); 11 May 2004 10:33:34 -
X-Qmail-Scanner-Mail-From: [EMAIL PROTECTED] via
hermes.apache.org
X-Qmail-Scanner: 1.20 (Clear:RC:0(203.196.139.114):. Processed in 1.058051
secs)
Received: from unknown (HELO mailhost.baypackets.com) (203.196.139.114)
  by hermes.apache.org with SMTP; 11 May 2004 10:33:33 -
Received: from jyotsana (jyotsana [192.168.9.156])
by mailhost.baypackets.com (8.9.3+Sun/8.9.3) with SMTP id PAA12318
for [EMAIL PROTECTED]; Tue, 11 May 2004 15:24:36
+0530 (IST)
Reply-To: [EMAIL PROTECTED]
From: jyotsna [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Japanese characters and Tomcat 4.0.6 urgent
Date: Tue, 11 May 2004 16:09:34 +0530
Message-ID: [EMAIL PROTECTED]
MIME-Version: 1.0
Content-Type: text/plain;
charset=iso-8859-1
Content-Transfer-Encoding: 7bit
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0)
Importance: Normal
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.
X-Spam-Rating: hermes.apache.org 1.6.2 0/1000/N

Hello all

I am facing teh following problem with tomcat 4.0.6 when using Japanese
characters :

1. The default

RE: Tomcat 4.0.6 and Japanese chars urgent

2004-05-11 Thread Yansheng Lin
Next time please do not put the word urgent in your msg title...

What happens if you add a page directive on top of the jsp page?

%@ page contentType=text/html;charset=UTF-8 pageEncoding=UTF-8%

I am a bit weary of TC4.0's.  But give that a try with Shift-JIS encoding.
And let me know if it works.

-Yan
Sun Certified J2EE Web Component Developer
http://j2e-translate.sourceforge.net (need help)


-Original Message-
From: jyotsna [mailto:[EMAIL PROTECTED] 
Sent: May 11, 2004 06:08
To: [EMAIL PROTECTED]
Subject: Tomcat 4.0.6 and Japanese chars urgent


Hello all

I am facing the following problem with tomcat 4.0.6 when using Japanese
characters :

1. The default encoding of the browser is not being set to the Japanese
charset (shift-jis). I have to change the setting manually to see the chars.

2. My japanese chars though being displayed in the JSP are not the same as
that inseretd in DB.

Can any one please help me .

Best Regds
Jyotsna



-Original Message-
From: jyotsna [mailto:[EMAIL PROTECTED]
Sent: Tuesday, May 11, 2004 4:27 PM
To:
tomcat-user-sc.1084271614.dfpfnaekknkbnhfjfcno-jyotsna.bharadwaj=baypack
[EMAIL PROTECTED]
Subject: RE: confirm subscribe to [EMAIL PROTECTED]




-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]
Sent: Tuesday, May 11, 2004 4:04 PM
To: [EMAIL PROTECTED]
Subject: confirm subscribe to [EMAIL PROTECTED]


Hi! This is the ezmlm program. I'm managing the
[EMAIL PROTECTED] mailing list.

I'm working for my owner, who can be reached
at [EMAIL PROTECTED]

To confirm that you would like

   [EMAIL PROTECTED]

added to the tomcat-user mailing list, please send
an empty reply to this address:


tomcat-user-sc.1084271614.dfpfnaekknkbnhfjfcno-jyotsna.bharadwaj=baypackets.
[EMAIL PROTECTED]

Usually, this happens when you just hit the reply button.
If this does not work, simply copy the address and paste it into
the To: field of a new message.

or click here:

mailto:tomcat-user-sc.1084271614.dfpfnaekknkbnhfjfcno-jyotsna.bharadwaj=bayp
[EMAIL PROTECTED]

This confirmation serves two purposes. First, it verifies that I am able
to get mail through to you. Second, it protects you in case someone
forges a subscription request in your name.

Some mail programs are broken and cannot handle long addresses. If you
cannot reply to this request, instead send a message to
[EMAIL PROTECTED] and put the
entire address listed above into the Subject: line.


--- Administrative commands for the tomcat-user list ---

I can handle administrative requests automatically. Please
do not send them to the list address! Instead, send
your message to the correct command address:

To subscribe to the list, send a message to:
   [EMAIL PROTECTED]

To remove your address from the list, send a message to:
   [EMAIL PROTECTED]

Send mail to the following for info and FAQ for this list:
   [EMAIL PROTECTED]
   [EMAIL PROTECTED]

Similar addresses exist for the digest list:
   [EMAIL PROTECTED]
   [EMAIL PROTECTED]

To get messages 123 through 145 (a maximum of 100 per request), mail:
   [EMAIL PROTECTED]

To get an index with subject and author for messages 123-456 , mail:
   [EMAIL PROTECTED]

They are always returned as sets of 100, max 2000 per request,
so you'll actually get 100-499.

To receive all messages with the same subject as message 12345,
send an empty message to:
   [EMAIL PROTECTED]

The messages do not really need to be empty, but I will ignore
their content. Only the ADDRESS you send to is important.

You can start a subscription for an alternate address,
for example [EMAIL PROTECTED], just add a hyphen and your
address (with '=' instead of '@') after the command word:
[EMAIL PROTECTED]

To stop subscription for this address, mail:
[EMAIL PROTECTED]

In both cases, I'll send a confirmation message to that address. When
you receive it, simply reply to it to complete your subscription.

If despite following these instructions, you do not get the
desired results, please contact my owner at
[EMAIL PROTECTED] Please be patient, my owner is a
lot slower than I am ;-)

--- Enclosed is a copy of the request I received.

Return-Path: [EMAIL PROTECTED]
Received: (qmail 36374 invoked by uid 98); 11 May 2004 10:33:34 -
Received: from [EMAIL PROTECTED] by hermes.apache.org by uid
82 with qmail-scanner-1.20
 (clamuko: 0.70.  Clear:RC:0(203.196.139.114):.
 Processed in 1.058051 secs); 11 May 2004 10:33:34 -
X-Qmail-Scanner-Mail-From: [EMAIL PROTECTED] via
hermes.apache.org
X-Qmail-Scanner: 1.20 (Clear:RC:0(203.196.139.114):. Processed in 1.058051
secs)
Received: from unknown (HELO mailhost.baypackets.com) (203.196.139.114)
  by hermes.apache.org with SMTP; 11 May 2004 10:33:33 -
Received: from jyotsana (jyotsana [192.168.9.156])
by mailhost.baypackets.com (8.9.3+Sun/8.9.3) with SMTP id PAA12318
for [EMAIL PROTECTED]; Tue, 11 May 2004
15:24:36
+0530 (IST)
Reply-To: [EMAIL PROTECTED]
From: jyotsna [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject

URGENT: Axis Tomcat webservices at runtime

2004-05-05 Thread Rudolf Feyerkleist

System: 

Windows XP Pro 

Tomcat 4.1.27 

J2RE 1.4.2_01 

Axis 1.1 

I am using Axis to deploy webservices during Tomcat runtime. I use AdminClient.main to 
deploy the webservices, JAVA2WSDL.main to generate the WSDL at runtime in my 
webapplication. When I restart Tomcat after deployement and wsdl generation, 
everything works fine. When I try to access the new webservice wsdl during runtime 
without restarting Tomcat, I get a LifeCycle Error, CL stopped. Does anybody know if 
it is possible to access the new webservice (deployed with its wsdl) at runtime 
without restarting tomcat? 

Rudolf Feyerkleist



-
Do you Yahoo!?
Win a $20,000 Career Makeover at Yahoo! HotJobs 

Re: Tomcat is stoping Urgent

2004-04-22 Thread Niki Ivanchev
IMHO it is problem with jdbc-odbc bridge. However Access and HDBC-ODBC 
aren't the best solution for a production system.
IMHO  they are worst.

Kiran Patel wrote:

Urgent!

I am using Tomcat 4.1 for my application which is accessing data from =
the Access database through the ODBC connection.  Everything was working =
fine until today.  Suddenly when I tried to enter some records in the =
data base through the application, Tomcat is stopped.  I got following =
error in the error log.  Please help me.
Kiran



An unexpected exception has been detected in native code outside the VM.
Unexpected Signal : EXCEPTION_ACCESS_VIOLATION occurred at =
PC=3D0xC08FA3C
Function=3DSQLFetch+0x16EF
Library=3DC:\WINNT\system32\odbcjt32.dll
Current Java thread:
at sun.jdbc.odbc.JdbcOdbc.bindInParameterString(Native Method)
at sun.jdbc.odbc.JdbcOdbc.SQLBindInParameterString(JdbcOdbc.java:972)
at =
sun.jdbc.odbc.JdbcOdbcPreparedStatement.setChar(JdbcOdbcPreparedStatement=
.java:3106)
at =
sun.jdbc.odbc.JdbcOdbcPreparedStatement.setString(JdbcOdbcPreparedStateme=
nt.java:764)
at =
 



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


Re: Tomcat is stoping Urgent

2004-04-22 Thread Kiran Patel
I am having this problem for one specific action in the application.  Is
there anything wrong with the code?

What are other solutions instead of ODBC connection for Access database?
How to do that?  Where I will find the document?

Please help.

Kiran
- Original Message - 
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, April 22, 2004 7:22 AM
Subject: Re: Tomcat is stoping Urgent

IMHO it is problem with jdbc-odbc bridge. However Access and HDBC-ODBC
aren't the best solution for a production system.
IMHO  they are worst.

  - Original Message - 
  From: Kiran Patel 
  To: [EMAIL PROTECTED] 
  Sent: Wednesday, April 21, 2004 5:34 PM
  Subject: Tomcat is stoping Urgent


  Urgent!

  I am using Tomcat 4.1 for my application which is accessing data from =
  the Access database through the ODBC connection.  Everything was working =
  fine until today.  Suddenly when I tried to enter some records in the =
  data base through the application, Tomcat is stopped.  I got following =
  error in the error log.  Please help me.

  Kiran



  An unexpected exception has been detected in native code outside the VM.
  Unexpected Signal : EXCEPTION_ACCESS_VIOLATION occurred at =
  PC=3D0xC08FA3C
  Function=3DSQLFetch+0x16EF
  Library=3DC:\WINNT\system32\odbcjt32.dll

  Current Java thread:
   at sun.jdbc.odbc.JdbcOdbc.bindInParameterString(Native Method)
   at sun.jdbc.odbc.JdbcOdbc.SQLBindInParameterString(JdbcOdbc.java:972)
   at =
  sun.jdbc.odbc.JdbcOdbcPreparedStatement.setChar(JdbcOdbcPreparedStatement=
  .java:3106)
   at =
  sun.jdbc.odbc.JdbcOdbcPreparedStatement.setString(JdbcOdbcPreparedStateme=
  nt.java:764)
   at =
  org.apache.commons.dbcp.DelegatingPreparedStatement.setString(DelegatingP=
  reparedStatement.java:217)
   at beans.FeeFineBean.processGroupFees(FeeFineBean.java:4053)
   at beans.FeeFineBean.storeFeeFineData(FeeFineBean.java:1924)
   at =
  org.apache.jsp.fee_fine_new_jsp._jspService(fee_fine_new_jsp.java:409)
   at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:137)
   at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
   at =
  org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.jav=
  a:204)
   at =
  org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
   at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
   at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
   at =
  org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applicat=
  ionFilterChain.java:247)
   at =
  org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilte=
  rChain.java:193)
   at =
  org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve=
  .java:260)
   at =
  org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.in=
  vokeNext(StandardPipeline.java:643)
   at =
  org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:48=
  0)
   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.in=
  vokeNext(StandardPipeline.java:643)
   at =
  org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:48=
  0)
   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.in=
  vokeNext(StandardPipeline.java:643)
   at =
  org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherVal=
  ve.java:170)
   at =
  org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.in=
  vokeNext(StandardPipeline.java:641)
   at =
  org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:=
  172)
   at =
  org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.in=
  vokeNext(StandardPipeline.java:641)
   at =
  org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:509)=

   at =
  org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.in=
  vokeNext(StandardPipeline.java:641)
   at =
  org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:48=
  0)
   at =
  org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
   at =
  org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.j=
  ava:174)
   at =
  org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.in=
  vokeNext(StandardPipeline.java:643)
   at =
  org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:48=
  0)
   at =
  org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995

Re: Tomcat is stoping Urgent

2004-04-22 Thread Hans Wichman
Hi,
there are other drivers for access, look here 
http://servlet.java.sun.com/products/jdbc/drivers
Or simply convert your access db to something else eg mysql and use mysql 
drivers or a connectionpool.

grtz
Sorv
At 08:59 AM 4/22/2004 -0500, Kiran Patel wrote:
I am having this problem for one specific action in the application.  Is
there anything wrong with the code?
What are other solutions instead of ODBC connection for Access database?
How to do that?  Where I will find the document?
Please help.

Kiran
- Original Message -
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, April 22, 2004 7:22 AM
Subject: Re: Tomcat is stoping Urgent
IMHO it is problem with jdbc-odbc bridge. However Access and HDBC-ODBC
aren't the best solution for a production system.
IMHO  they are worst.
  - Original Message -
  From: Kiran Patel
  To: [EMAIL PROTECTED]
  Sent: Wednesday, April 21, 2004 5:34 PM
  Subject: Tomcat is stoping Urgent
  Urgent!

  I am using Tomcat 4.1 for my application which is accessing data from =
  the Access database through the ODBC connection.  Everything was working =
  fine until today.  Suddenly when I tried to enter some records in the =
  data base through the application, Tomcat is stopped.  I got following =
  error in the error log.  Please help me.
  Kiran



  An unexpected exception has been detected in native code outside the VM.
  Unexpected Signal : EXCEPTION_ACCESS_VIOLATION occurred at =
  PC=3D0xC08FA3C
  Function=3DSQLFetch+0x16EF
  Library=3DC:\WINNT\system32\odbcjt32.dll
  Current Java thread:
   at sun.jdbc.odbc.JdbcOdbc.bindInParameterString(Native Method)
   at sun.jdbc.odbc.JdbcOdbc.SQLBindInParameterString(JdbcOdbc.java:972)
   at =
  sun.jdbc.odbc.JdbcOdbcPreparedStatement.setChar(JdbcOdbcPreparedStatement=
  .java:3106)
   at =
  sun.jdbc.odbc.JdbcOdbcPreparedStatement.setString(JdbcOdbcPreparedStateme=
  nt.java:764)
   at =
  org.apache.commons.dbcp.DelegatingPreparedStatement.setString(DelegatingP=
  reparedStatement.java:217)
   at beans.FeeFineBean.processGroupFees(FeeFineBean.java:4053)
   at beans.FeeFineBean.storeFeeFineData(FeeFineBean.java:1924)
   at =
  org.apache.jsp.fee_fine_new_jsp._jspService(fee_fine_new_jsp.java:409)
   at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:137)
   at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
   at =
  org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.jav=
  a:204)
   at =
  org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
   at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
   at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
   at =
  org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applicat=
  ionFilterChain.java:247)
   at =
  org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilte=
  rChain.java:193)
   at =
  org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve=
  .java:260)
   at =
  org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.in=
  vokeNext(StandardPipeline.java:643)
   at =
  org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:48=
  0)
   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.in=
  vokeNext(StandardPipeline.java:643)
   at =
  org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:48=
  0)
   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.in=
  vokeNext(StandardPipeline.java:643)
   at =
  org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherVal=
  ve.java:170)
   at =
  org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.in=
  vokeNext(StandardPipeline.java:641)
   at =
  org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:=
  172)
   at =
  org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.in=
  vokeNext(StandardPipeline.java:641)
   at =
  org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:509)=
   at =
  org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.in=
  vokeNext(StandardPipeline.java:641)
   at =
  org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:48=
  0)
   at =
  org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
   at =
  org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.j=
  ava:174)
   at =
  org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.in

Re: Tomcat is stoping Urgent

2004-04-22 Thread Hans Wichman
ps also check you don't have strange names for queries, tables (no spaces 
or + signs in column names etc).

At 08:59 AM 4/22/2004 -0500, you wrote:
I am having this problem for one specific action in the application.  Is
there anything wrong with the code?
What are other solutions instead of ODBC connection for Access database?
How to do that?  Where I will find the document?
Please help.

Kiran
- Original Message -
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, April 22, 2004 7:22 AM
Subject: Re: Tomcat is stoping Urgent
IMHO it is problem with jdbc-odbc bridge. However Access and HDBC-ODBC
aren't the best solution for a production system.
IMHO  they are worst.
  - Original Message -
  From: Kiran Patel
  To: [EMAIL PROTECTED]
  Sent: Wednesday, April 21, 2004 5:34 PM
  Subject: Tomcat is stoping Urgent
  Urgent!

  I am using Tomcat 4.1 for my application which is accessing data from =
  the Access database through the ODBC connection.  Everything was working =
  fine until today.  Suddenly when I tried to enter some records in the =
  data base through the application, Tomcat is stopped.  I got following =
  error in the error log.  Please help me.
  Kiran



  An unexpected exception has been detected in native code outside the VM.
  Unexpected Signal : EXCEPTION_ACCESS_VIOLATION occurred at =
  PC=3D0xC08FA3C
  Function=3DSQLFetch+0x16EF
  Library=3DC:\WINNT\system32\odbcjt32.dll
  Current Java thread:
   at sun.jdbc.odbc.JdbcOdbc.bindInParameterString(Native Method)
   at sun.jdbc.odbc.JdbcOdbc.SQLBindInParameterString(JdbcOdbc.java:972)
   at =
  sun.jdbc.odbc.JdbcOdbcPreparedStatement.setChar(JdbcOdbcPreparedStatement=
  .java:3106)
   at =
  sun.jdbc.odbc.JdbcOdbcPreparedStatement.setString(JdbcOdbcPreparedStateme=
  nt.java:764)
   at =
  org.apache.commons.dbcp.DelegatingPreparedStatement.setString(DelegatingP=
  reparedStatement.java:217)
   at beans.FeeFineBean.processGroupFees(FeeFineBean.java:4053)
   at beans.FeeFineBean.storeFeeFineData(FeeFineBean.java:1924)
   at =
  org.apache.jsp.fee_fine_new_jsp._jspService(fee_fine_new_jsp.java:409)
   at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:137)
   at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
   at =
  org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.jav=
  a:204)
   at =
  org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
   at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
   at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
   at =
  org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applicat=
  ionFilterChain.java:247)
   at =
  org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilte=
  rChain.java:193)
   at =
  org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve=
  .java:260)
   at =
  org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.in=
  vokeNext(StandardPipeline.java:643)
   at =
  org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:48=
  0)
   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.in=
  vokeNext(StandardPipeline.java:643)
   at =
  org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:48=
  0)
   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.in=
  vokeNext(StandardPipeline.java:643)
   at =
  org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherVal=
  ve.java:170)
   at =
  org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.in=
  vokeNext(StandardPipeline.java:641)
   at =
  org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:=
  172)
   at =
  org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.in=
  vokeNext(StandardPipeline.java:641)
   at =
  org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:509)=
   at =
  org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.in=
  vokeNext(StandardPipeline.java:641)
   at =
  org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:48=
  0)
   at =
  org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
   at =
  org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.j=
  ava:174)
   at =
  org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.in=
  vokeNext(StandardPipeline.java:643)
   at =
  org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java

Re: Tomcat is stoping Urgent

2004-04-22 Thread Mark Schmeets
Hi,
Do you have a backup copy of your .mdb file (from before when the 
problem occured) that you could roll back to? If everything was working, 
and just suddenly stopped, it sounds like a data corruption issue.

Mark

Hans Wichman wrote:

Hi,
there are other drivers for access, look here 
http://servlet.java.sun.com/products/jdbc/drivers
Or simply convert your access db to something else eg mysql and use 
mysql drivers or a connectionpool.

grtz
Sorv
At 08:59 AM 4/22/2004 -0500, Kiran Patel wrote:

I am having this problem for one specific action in the application.  Is
there anything wrong with the code?
What are other solutions instead of ODBC connection for Access database?
How to do that?  Where I will find the document?
Please help.

Kiran
- Original Message -
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, April 22, 2004 7:22 AM
Subject: Re: Tomcat is stoping Urgent
IMHO it is problem with jdbc-odbc bridge. However Access and HDBC-ODBC
aren't the best solution for a production system.
IMHO  they are worst.
  - Original Message -
  From: Kiran Patel
  To: [EMAIL PROTECTED]
  Sent: Wednesday, April 21, 2004 5:34 PM
  Subject: Tomcat is stoping Urgent
  Urgent!

  I am using Tomcat 4.1 for my application which is accessing data 
from =
  the Access database through the ODBC connection.  Everything was 
working =
  fine until today.  Suddenly when I tried to enter some records in 
the =
  data base through the application, Tomcat is stopped.  I got 
following =
  error in the error log.  Please help me.

  Kiran



  An unexpected exception has been detected in native code outside 
the VM.
  Unexpected Signal : EXCEPTION_ACCESS_VIOLATION occurred at =
  PC=3D0xC08FA3C
  Function=3DSQLFetch+0x16EF
  Library=3DC:\WINNT\system32\odbcjt32.dll

  Current Java thread:
   at sun.jdbc.odbc.JdbcOdbc.bindInParameterString(Native Method)
   at sun.jdbc.odbc.JdbcOdbc.SQLBindInParameterString(JdbcOdbc.java:972)
   at =
  
sun.jdbc.odbc.JdbcOdbcPreparedStatement.setChar(JdbcOdbcPreparedStatement= 

  .java:3106)
   at =
  
sun.jdbc.odbc.JdbcOdbcPreparedStatement.setString(JdbcOdbcPreparedStateme= 

  nt.java:764)
   at =
  
org.apache.commons.dbcp.DelegatingPreparedStatement.setString(DelegatingP= 

  reparedStatement.java:217)
   at beans.FeeFineBean.processGroupFees(FeeFineBean.java:4053)
   at beans.FeeFineBean.storeFeeFineData(FeeFineBean.java:1924)
   at =
  org.apache.jsp.fee_fine_new_jsp._jspService(fee_fine_new_jsp.java:409)
   at 
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:137)
   at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
   at =
  
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.jav= 

  a:204)
   at =
  
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
   at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
   at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
   at =
  
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applicat= 

  ionFilterChain.java:247)
   at =
  
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilte= 

  rChain.java:193)
   at =
  
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve= 

  .java:260)
   at =
  
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.in= 

  vokeNext(StandardPipeline.java:643)
   at =
  
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:48= 

  0)
   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.in= 

  vokeNext(StandardPipeline.java:643)
   at =
  
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:48= 

  0)
   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.in= 

  vokeNext(StandardPipeline.java:643)
   at =
  
org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherVal= 

  ve.java:170)
   at =
  
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.in= 

  vokeNext(StandardPipeline.java:641)
   at =
  
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:= 

  172)
   at =
  
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.in= 

  vokeNext(StandardPipeline.java:641)
   at =
  
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:509)= 

   at =
  
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.in= 

  vokeNext(StandardPipeline.java:641

Tomcat is stoping Urgent

2004-04-21 Thread Kiran Patel
Urgent!

I am using Tomcat 4.1 for my application which is accessing data from =
the Access database through the ODBC connection.  Everything was working =
fine until today.  Suddenly when I tried to enter some records in the =
data base through the application, Tomcat is stopped.  I got following =
error in the error log.  Please help me.

Kiran



An unexpected exception has been detected in native code outside the VM.
Unexpected Signal : EXCEPTION_ACCESS_VIOLATION occurred at =
PC=3D0xC08FA3C
Function=3DSQLFetch+0x16EF
Library=3DC:\WINNT\system32\odbcjt32.dll

Current Java thread:
 at sun.jdbc.odbc.JdbcOdbc.bindInParameterString(Native Method)
 at sun.jdbc.odbc.JdbcOdbc.SQLBindInParameterString(JdbcOdbc.java:972)
 at =
sun.jdbc.odbc.JdbcOdbcPreparedStatement.setChar(JdbcOdbcPreparedStatement=
.java:3106)
 at =
sun.jdbc.odbc.JdbcOdbcPreparedStatement.setString(JdbcOdbcPreparedStateme=
nt.java:764)
 at =
org.apache.commons.dbcp.DelegatingPreparedStatement.setString(DelegatingP=
reparedStatement.java:217)
 at beans.FeeFineBean.processGroupFees(FeeFineBean.java:4053)
 at beans.FeeFineBean.storeFeeFineData(FeeFineBean.java:1924)
 at =
org.apache.jsp.fee_fine_new_jsp._jspService(fee_fine_new_jsp.java:409)
 at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:137)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
 at =
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.jav=
a:204)
 at =
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
 at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
 at =
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applicat=
ionFilterChain.java:247)
 at =
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilte=
rChain.java:193)
 at =
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve=
.java:260)
 at =
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.in=
vokeNext(StandardPipeline.java:643)
 at =
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:48=
0)
 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.in=
vokeNext(StandardPipeline.java:643)
 at =
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:48=
0)
 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.in=
vokeNext(StandardPipeline.java:643)
 at =
org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherVal=
ve.java:170)
 at =
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.in=
vokeNext(StandardPipeline.java:641)
 at =
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:=
172)
 at =
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.in=
vokeNext(StandardPipeline.java:641)
 at =
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:509)=

 at =
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.in=
vokeNext(StandardPipeline.java:641)
 at =
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:48=
0)
 at =
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
 at =
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.j=
ava:174)
 at =
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.in=
vokeNext(StandardPipeline.java:643)
 at =
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:48=
0)
 at =
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
 at =
org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.ja=
va:1040)
 at =
org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:1=
151)
 at java.lang.Thread.run(Thread.java:536)

Dynamic libraries:
0x0040 - 0x00406000  C:\j2sdk1.4.1_02\bin\java.exe
0x77F4 - 0x77FFA000  C:\WINNT\system32\ntdll.dll
0x77E4 - 0x77F34000  C:\WINNT\system32\kernel32.dll
0x77DA - 0x77E3  C:\WINNT\system32\ADVAPI32.dll
0x77C5 - 0x77CF4000  C:\WINNT\system32\RPCRT4.dll
0x77BA - 0x77BF4000  C:\WINNT\system32\MSVCRT.dll
0x6D34 - 0x6D46A000  C:\j2sdk1.4.1_02\jre\bin\client\jvm.dll
0x77D0 - 0x77D8F000  C:\WINNT\system32\USER32.dll
0x77C0 - 0x77C44000  C:\WINNT\system32\GDI32.dll
0x76AA - 0x76ACC000  C:\WINNT\system32\WINMM.dll
0x6D1E - 0x6D1E7000  C:\j2sdk1.4.1_02\jre\bin\hpi.dll
0x6D31 - 0x6D31E000  C:\j2sdk1.4.1_02\jre\bin\verify.dll
0x6D22 - 0x6D239000  C:\j2sdk1.4.1_02\jre\bin\java.dll

Re: Tomcat is stoping Urgent

2004-04-21 Thread Daniel Gibby
You've tried a reboot of the windows machine? Has there been patches to 
the machine lately? Are there any viruses on it?

It says it is native code outside the VM, so this appears to be more a 
problem with the windows server, not tomcat.

Like I know though... Don't take my word for it. I'm just taking a guess.

Kiran Patel wrote:

Urgent!

I am using Tomcat 4.1 for my application which is accessing data from =
the Access database through the ODBC connection.  Everything was working =
fine until today.  Suddenly when I tried to enter some records in the =
data base through the application, Tomcat is stopped.  I got following =
error in the error log.  Please help me.
Kiran



An unexpected exception has been detected in native code outside the VM.
Unexpected Signal : EXCEPTION_ACCESS_VIOLATION occurred at =
PC=3D0xC08FA3C
Function=3DSQLFetch+0x16EF
Library=3DC:\WINNT\system32\odbcjt32.dll
Current Java thread:
at sun.jdbc.odbc.JdbcOdbc.bindInParameterString(Native Method)
at sun.jdbc.odbc.JdbcOdbc.SQLBindInParameterString(JdbcOdbc.java:972)
at =
sun.jdbc.odbc.JdbcOdbcPreparedStatement.setChar(JdbcOdbcPreparedStatement=
.java:3106)
at =
sun.jdbc.odbc.JdbcOdbcPreparedStatement.setString(JdbcOdbcPreparedStateme=
nt.java:764)
at =
org.apache.commons.dbcp.DelegatingPreparedStatement.setString(DelegatingP=
reparedStatement.java:217)
at beans.FeeFineBean.processGroupFees(FeeFineBean.java:4053)
at beans.FeeFineBean.storeFeeFineData(FeeFineBean.java:1924)
at =
org.apache.jsp.fee_fine_new_jsp._jspService(fee_fine_new_jsp.java:409)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:137)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at =
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.jav=
a:204)
at =
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at =
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applicat=
ionFilterChain.java:247)
at =
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilte=
rChain.java:193)
at =
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve=
.java:260)
at =
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.in=
vokeNext(StandardPipeline.java:643)
at =
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:48=
0)
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.in=
vokeNext(StandardPipeline.java:643)
at =
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:48=
0)
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.in=
vokeNext(StandardPipeline.java:643)
at =
org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherVal=
ve.java:170)
at =
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.in=
vokeNext(StandardPipeline.java:641)
at =
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:=
172)
at =
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.in=
vokeNext(StandardPipeline.java:641)
at =
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:509)=
at =
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.in=
vokeNext(StandardPipeline.java:641)
at =
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:48=
0)
at =
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at =
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.j=
ava:174)
at =
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.in=
vokeNext(StandardPipeline.java:643)
at =
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:48=
0)
at =
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at =
org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.ja=
va:1040)
at =
org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:1=
151)
at java.lang.Thread.run(Thread.java:536)
Dynamic libraries:
0x0040 - 0x00406000  C:\j2sdk1.4.1_02\bin\java.exe
0x77F4 - 0x77FFA000  C:\WINNT\system32\ntdll.dll
0x77E4 - 0x77F34000  C:\WINNT\system32\kernel32.dll
0x77DA - 0x77E3  C:\WINNT\system32\ADVAPI32.dll
0x77C5 - 0x77CF4000  C:\WINNT\system32\RPCRT4.dll
0x77BA - 0x77BF4000  C:\WINNT\system32\MSVCRT.dll
0x6D34 - 0x6D46A000  C:\j2sdk1.4.1_02\jre\bin\client\jvm.dll
0x77D0 - 0x77D8F000  C:\WINNT\system32

Re: Tomcat is stoping Urgent

2004-04-21 Thread Dov Rosenberg

Stop using the JDBC ODBC bridge immediately - it was never designed for a
production environment. Use a pure java jdbc driver or change databases.

Dov Rosenberg
Conviveon Corporation


On 4/21/04 7:01 PM, Daniel Gibby [EMAIL PROTECTED] wrote:

 You've tried a reboot of the windows machine? Has there been patches to
 the machine lately? Are there any viruses on it?
 
 It says it is native code outside the VM, so this appears to be more a
 problem with the windows server, not tomcat.
 
 Like I know though... Don't take my word for it. I'm just taking a guess.
 
 
 Kiran Patel wrote:
 
 Urgent!
 
 I am using Tomcat 4.1 for my application which is accessing data from =
 the Access database through the ODBC connection.  Everything was working =
 fine until today.  Suddenly when I tried to enter some records in the =
 data base through the application, Tomcat is stopped.  I got following =
 error in the error log.  Please help me.
 
 Kiran
 
 
 
 An unexpected exception has been detected in native code outside the VM.
 Unexpected Signal : EXCEPTION_ACCESS_VIOLATION occurred at =
 PC=3D0xC08FA3C
 Function=3DSQLFetch+0x16EF
 Library=3DC:\WINNT\system32\odbcjt32.dll
 
 Current Java thread:
 at sun.jdbc.odbc.JdbcOdbc.bindInParameterString(Native Method)
 at sun.jdbc.odbc.JdbcOdbc.SQLBindInParameterString(JdbcOdbc.java:972)
 at =
 sun.jdbc.odbc.JdbcOdbcPreparedStatement.setChar(JdbcOdbcPreparedStatement=
 .java:3106)
 at =
 sun.jdbc.odbc.JdbcOdbcPreparedStatement.setString(JdbcOdbcPreparedStateme=
 nt.java:764)
 at =
 org.apache.commons.dbcp.DelegatingPreparedStatement.setString(DelegatingP=
 reparedStatement.java:217)
 at beans.FeeFineBean.processGroupFees(FeeFineBean.java:4053)
 at beans.FeeFineBean.storeFeeFineData(FeeFineBean.java:1924)
 at =
 org.apache.jsp.fee_fine_new_jsp._jspService(fee_fine_new_jsp.java:409)
 at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:137)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
 at =
 org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.jav=
 a:204)
 at =
 org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
 at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
 at =
 org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applicat=
 ionFilterChain.java:247)
 at =
 org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilte=
 rChain.java:193)
 at =
 org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve=
 .java:260)
 at =
 org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.in=
 vokeNext(StandardPipeline.java:643)
 at =
 org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:48=
 0)
 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.in=
 vokeNext(StandardPipeline.java:643)
 at =
 org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:48=
 0)
 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.in=
 vokeNext(StandardPipeline.java:643)
 at =
 org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherVal=
 ve.java:170)
 at =
 org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.in=
 vokeNext(StandardPipeline.java:641)
 at =
 org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:=
 172)
 at =
 org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.in=
 vokeNext(StandardPipeline.java:641)
 at =
 org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:509)=
 
 at =
 org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.in=
 vokeNext(StandardPipeline.java:641)
 at =
 org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:48=
 0)
 at =
 org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
 at =
 org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.j=
 ava:174)
 at =
 org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.in=
 vokeNext(StandardPipeline.java:643)
 at =
 org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:48=
 0)
 at =
 org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
 at =
 org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.ja=
 va:1040)
 at =
 org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:1=
 151)
 at java.lang.Thread.run(Thread.java:536)
 
 Dynamic libraries:
 0x0040 - 0x00406000  C:\j2sdk1.4.1_02\bin\java.exe

Re: Urgent pls help ! Protection problems of using Realm

2004-04-15 Thread Chong Yu Meng
An easier method would be to use SecurityFilter
(http://securityfilter.sourceforge.net/). There is an example web
application (actually several web apps) bundled with the software. Just
look at the code and I think you'll find it fairly straightforward to
implement what you want.

a a wrote:

Dear all,
 
  I do not have any idea of writing a custom realm, even how to start 
writing it. Can you give me some example or any references that teaching how to write 
a custom realm ?
 
  Thankyou very much !
 
kawai

Mark Thomas [EMAIL PROTECTED] wrote:
You need to write a custom realm.

Mark

  

My case is that I can't store the username and password of 
the roles and users in my server. I need to send the 
authenication information in a format of xml file to a 
foreign server and get back the login result from that 
server. So I can't use Realm to check the roles and password 
and do authentication directly in my server. 

Is there any method that can solve that problem ? or any 
method instead of using Realm ? or override the current 
settings of Realm ?



...
  
http://ringtone.yahoo.com.hk/

  


-- 
There is nothing so absurd but some philosopher has said it. 
-- Marcus Tullius Cicero
++
| Pascal Chong   |
| email: [EMAIL PROTECTED]  |
||
| Please visit my site at : http://cymulacrum.net|
| If you're using my documentation, please read the Terms and|
| and Conditions at http://cymulacrum.net/terms.html |
++



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



RE: Urgent pls help ! Protection problems of using Realm

2004-04-14 Thread a a
Dear all,
 
  I do not have any idea of writing a custom realm, even how to start 
writing it. Can you give me some example or any references that teaching how to write 
a custom realm ?
 
  Thankyou very much !
 
kawai

Mark Thomas [EMAIL PROTECTED] wrote:
You need to write a custom realm.

Mark

 My case is that I can't store the username and password of 
 the roles and users in my server. I need to send the 
 authenication information in a format of xml file to a 
 foreign server and get back the login result from that 
 server. So I can't use Realm to check the roles and password 
 and do authentication directly in my server. 
 
 Is there any method that can solve that problem ? or any 
 method instead of using Realm ? or override the current 
 settings of Realm ?

...
  
http://ringtone.yahoo.com.hk/


RE: Urgent pls help ! Protection problems of using Realm

2004-04-13 Thread a a
Dear all,
 
  I do not have any idea of writing a custom realm, even how to start writing it. Can 
you give me some example or any references that teaching how to write a custom realm ?
 
  Thankyou very much !
 
kawai

Mark Thomas [EMAIL PROTECTED] wrote:
You need to write a custom realm.

Mark

 My case is that I can't store the username and password of 
 the roles and users in my server. I need to send the 
 authenication information in a format of xml file to a 
 foreign server and get back the login result from that 
 server. So I can't use Realm to check the roles and password 
 and do authentication directly in my server. 
 
 Is there any method that can solve that problem ? or any 
 method instead of using Realm ? or override the current 
 settings of Realm ?



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

...
  
http://ringtone.yahoo.com.hk/


Urgent pls help ! Protection problems of using Realm

2004-04-12 Thread a a
Dear all,
 
  I know using Realm can protect certain resouces of a url. But I found it is not 
possibly to use it in my server.
 
  My case is that I can't store the username and password of the roles and users in my 
server. I need to send the authenication information in a format of xml file to a 
foreign server and get back the login result from that server. So I can't use Realm to 
check the roles and password and do authentication directly in my server. 
 
  Is there any method that can solve that problem ? or any method instead of using 
Realm ? or override the current settings of Realm ?
 
Thankyou very much !
kawai

...
  
http://ringtone.yahoo.com.hk/


RE: Urgent pls help ! Protection problems of using Realm

2004-04-12 Thread Mark Thomas
You need to write a custom realm.

Mark

   My case is that I can't store the username and password of 
 the roles and users in my server. I need to send the 
 authenication information in a format of xml file to a 
 foreign server and get back the login result from that 
 server. So I can't use Realm to check the roles and password 
 and do authentication directly in my server. 
  
   Is there any method that can solve that problem ? or any 
 method instead of using Realm ? or override the current 
 settings of Realm ?



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



RE: Error in JDBC conn / Apache Tomcat/4.1.29 URGENT

2004-02-21 Thread Unnikrishnan C
Don't define it as a GlobalNamingResource, instead make it as an
'Application level' resource, it works fine. (I know its strange, but
that's how I solved it in Tomcat 5.0.18.) I was getting the same error
with DB2 connection. 

Thanks,
Unni
 
 

-Original Message-
From: Nathan Pitts [mailto:[EMAIL PROTECTED] 
Sent: Saturday, February 21, 2004 3:22 AM
To: Tomcat Users List
Subject: Re: Error in JDBC conn / Apache Tomcat/4.1.29 URGENT

I have the same problemMy application works fine on Tomcat 4.x, but

when I move to 5.0.x I get the same exact error.  This is not a matter  
of just not knowing how to use the driver..yes, the driver is  
located in common/lib/jconn2.jar (Sybase driver)  .HELP!

nate

Here's my error:
[DEBUG] 20 Feb 2004 15:44:05,103 tahc.hris.webapp.service.BaseManager -

Converters registered...
[DEBUG] 20 Feb 2004 15:44:05,376 tahc.hris.persistence.ServiceLocator -

Looking up SessionFactory in JNDI
[INFO] 20 Feb 2004 15:44:05,391 tahc.hris.persistence.ServiceLocator -  
ServiceLocator initialized SessionFactory
[DEBUG] 20 Feb 2004 15:44:05,799 tahc.hris.persistence.ServiceLocator -

jnp Opened a hibernate session with hashcode:  
[EMAIL PROTECTED]
[ERROR] 20 Feb 2004 15:44:06,076  
net.sf.hibernate.util.JDBCExceptionReporter - Cannot create JDBC driver

of class '' for connect URL 'null'
[ERROR] 20 Feb 2004 15:44:06,103  
net.sf.hibernate.util.JDBCExceptionReporter - Cannot open connection
org.apache.commons.dbcp.SQLNestedException: Cannot create JDBC driver  
of class '' for connect URL 'null', cause:
java.sql.SQLException: No suitable driver
at java.sql.DriverManager.getDriver(DriverManager.java:243)
at  
org.apache.commons.dbcp.BasicDataSource.createDataSource(BasicDataSource

.java:743)
at  
org.apache.commons.dbcp.BasicDataSource.getConnection(BasicDataSource.ja

va:518)
at  
net.sf.hibernate.connection.DatasourceConnectionProvider.getConnection(D

atasourceConnectionProvider.java:59)
at  
net.sf.hibernate.impl.BatcherImpl.openConnection(BatcherImpl.java:278)
at
net.sf.hibernate.impl.SessionImpl.connect(SessionImpl.java:3264)
at
net.sf.hibernate.impl.SessionImpl.connection(SessionImpl.java:3244)
at  
net.sf.hibernate.impl.BatcherImpl.prepareQueryStatement(BatcherImpl.java

:65)
at  
net.sf.hibernate.loader.Loader.prepareQueryStatement(Loader.java:704)
at net.sf.hibernate.loader.Loader.doQuery(Loader.java:185)
at  
net.sf.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Lo

ader.java:133)
at net.sf.hibernate.loader.Loader.doList(Loader.java:950)
at net.sf.hibernate.loader.Loader.list(Loader.java:941)
at
net.sf.hibernate.hql.QueryTranslator.list(QueryTranslator.java:834)
at net.sf.hibernate.impl.SessionImpl.find(SessionImpl.java:1512)
at net.sf.hibernate.impl.SessionImpl.find(SessionImpl.java:1491)
at net.sf.hibernate.impl.SessionImpl.find(SessionImpl.java:1483)
at  
tahc.hris.persistence.StaticListDAOHibernate.getDepartments(StaticListDA

OHibernate.java:32)
at  
tahc.hris.webapp.service.StaticListManager.getDepartments(StaticListMana

ger.java:65)
at  
tahc.hris.webapp.listener.StartupListener.contextInitialized(StartupList

ener.java:101)



On Monday, February 2, 2004, at 01:44 PM, Chakravarthy, Sundar wrote:

 Try using JDBC in a stand-alone Java app instead of Tomcat.
 Just to make sure you have the right driver/classes .

 -Original Message-
 From: Keshav Sarin [mailto:[EMAIL PROTECTED]
 Sent: Monday, February 02, 2004 2:10 PM
 To: [EMAIL PROTECTED]
 Subject: RE: Error in JDBC conn / Apache Tomcat/4.1.29 URGENT

 You need to remove all references to the database driver from the  
 system
 and web app classpath. Don't put the driver in web-inf/lib directory.
 Just keep the driver in the tomcat_home/common/lib directory.


 [EMAIL PROTECTED] 02/02/04 10:34AM 
 This is setenv file:

 set
 classpath=.;C:\j2sdk1.4.2_03\lib\tools.jar;..\web-inf\classes;..\web- 
 inf
 \lib\cos.jar;..\web-inf\lib\jnlp.jar;..\web-inf\lib\log4j.jar;..\web- 
 inf
 \lib\xml4j.jar;..\web-inf\lib\ldapjdk.jar;..\web- 
 inf\lib\ldapsearch.jar.
 .\web-inf\lib\classes12.jar;%classpath%


 and Class path set in system is :


.;C:\Estimation;C:\Tomcat\common\lib\servlet.jar;C:\Tomcat\common\lib\m 
 a

il.jar;C:\Tomcat\common\lib\activation.jar;C:\Tomcat\common\lib\jndi.ja 
 r
 ;C:\Tomcat\common\lib\jdbc2_0- 
 stdext.jar;C:\Tomcat\common\lib\ojdbc14.ja
 r

 ANy Bug ??

 Regards
 Abhay



 -Original Message-
 From: Mike Curwen [mailto:[EMAIL PROTECTED]
 Sent: Monday, February 02, 2004 11:25 AM
 To: 'Tomcat Users List'
 Subject: RE: Error in JDBC conn / Apache Tomcat/4.1.29 URGENT


 Just to be sure.. you tried classes12.**jar**  (renamed .zip to .jar)
 ?


 -Original Message-
 From: Kumar Abhay-CAK203C [mailto:[EMAIL PROTECTED]
 Sent: Monday, February 02, 2004 11:12 AM
 To: 'Tomcat Users List

Re: Error in JDBC conn / Apache Tomcat/4.1.29 URGENT

2004-02-20 Thread Nathan Pitts
I have the same problemMy application works fine on Tomcat 4.x, but  
when I move to 5.0.x I get the same exact error.  This is not a matter  
of just not knowing how to use the driver..yes, the driver is  
located in common/lib/jconn2.jar (Sybase driver)  .HELP!

nate

Here's my error:
[DEBUG] 20 Feb 2004 15:44:05,103 tahc.hris.webapp.service.BaseManager -  
Converters registered...
[DEBUG] 20 Feb 2004 15:44:05,376 tahc.hris.persistence.ServiceLocator -  
Looking up SessionFactory in JNDI
[INFO] 20 Feb 2004 15:44:05,391 tahc.hris.persistence.ServiceLocator -  
ServiceLocator initialized SessionFactory
[DEBUG] 20 Feb 2004 15:44:05,799 tahc.hris.persistence.ServiceLocator -  
jnp Opened a hibernate session with hashcode:  
[EMAIL PROTECTED]
[ERROR] 20 Feb 2004 15:44:06,076  
net.sf.hibernate.util.JDBCExceptionReporter - Cannot create JDBC driver  
of class '' for connect URL 'null'
[ERROR] 20 Feb 2004 15:44:06,103  
net.sf.hibernate.util.JDBCExceptionReporter - Cannot open connection
org.apache.commons.dbcp.SQLNestedException: Cannot create JDBC driver  
of class '' for connect URL 'null', cause:
java.sql.SQLException: No suitable driver
	at java.sql.DriverManager.getDriver(DriverManager.java:243)
	at  
org.apache.commons.dbcp.BasicDataSource.createDataSource(BasicDataSource 
.java:743)
	at  
org.apache.commons.dbcp.BasicDataSource.getConnection(BasicDataSource.ja 
va:518)
	at  
net.sf.hibernate.connection.DatasourceConnectionProvider.getConnection(D 
atasourceConnectionProvider.java:59)
	at  
net.sf.hibernate.impl.BatcherImpl.openConnection(BatcherImpl.java:278)
	at net.sf.hibernate.impl.SessionImpl.connect(SessionImpl.java:3264)
	at net.sf.hibernate.impl.SessionImpl.connection(SessionImpl.java:3244)
	at  
net.sf.hibernate.impl.BatcherImpl.prepareQueryStatement(BatcherImpl.java 
:65)
	at  
net.sf.hibernate.loader.Loader.prepareQueryStatement(Loader.java:704)
	at net.sf.hibernate.loader.Loader.doQuery(Loader.java:185)
	at  
net.sf.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Lo 
ader.java:133)
	at net.sf.hibernate.loader.Loader.doList(Loader.java:950)
	at net.sf.hibernate.loader.Loader.list(Loader.java:941)
	at net.sf.hibernate.hql.QueryTranslator.list(QueryTranslator.java:834)
	at net.sf.hibernate.impl.SessionImpl.find(SessionImpl.java:1512)
	at net.sf.hibernate.impl.SessionImpl.find(SessionImpl.java:1491)
	at net.sf.hibernate.impl.SessionImpl.find(SessionImpl.java:1483)
	at  
tahc.hris.persistence.StaticListDAOHibernate.getDepartments(StaticListDA 
OHibernate.java:32)
	at  
tahc.hris.webapp.service.StaticListManager.getDepartments(StaticListMana 
ger.java:65)
	at  
tahc.hris.webapp.listener.StartupListener.contextInitialized(StartupList 
ener.java:101)



On Monday, February 2, 2004, at 01:44 PM, Chakravarthy, Sundar wrote:

Try using JDBC in a stand-alone Java app instead of Tomcat.
Just to make sure you have the right driver/classes .
-Original Message-
From: Keshav Sarin [mailto:[EMAIL PROTECTED]
Sent: Monday, February 02, 2004 2:10 PM
To: [EMAIL PROTECTED]
Subject: RE: Error in JDBC conn / Apache Tomcat/4.1.29 URGENT
You need to remove all references to the database driver from the  
system
and web app classpath. Don't put the driver in web-inf/lib directory.
Just keep the driver in the tomcat_home/common/lib directory.


[EMAIL PROTECTED] 02/02/04 10:34AM 
This is setenv file:

set
classpath=.;C:\j2sdk1.4.2_03\lib\tools.jar;..\web-inf\classes;..\web- 
inf
\lib\cos.jar;..\web-inf\lib\jnlp.jar;..\web-inf\lib\log4j.jar;..\web- 
inf
\lib\xml4j.jar;..\web-inf\lib\ldapjdk.jar;..\web- 
inf\lib\ldapsearch.jar.
.\web-inf\lib\classes12.jar;%classpath%

and Class path set in system is :

.;C:\Estimation;C:\Tomcat\common\lib\servlet.jar;C:\Tomcat\common\lib\m 
a
il.jar;C:\Tomcat\common\lib\activation.jar;C:\Tomcat\common\lib\jndi.ja 
r
;C:\Tomcat\common\lib\jdbc2_0- 
stdext.jar;C:\Tomcat\common\lib\ojdbc14.ja
r

ANy Bug ??

Regards
Abhay


-Original Message-
From: Mike Curwen [mailto:[EMAIL PROTECTED]
Sent: Monday, February 02, 2004 11:25 AM
To: 'Tomcat Users List'
Subject: RE: Error in JDBC conn / Apache Tomcat/4.1.29 URGENT
Just to be sure.. you tried classes12.**jar**  (renamed .zip to .jar)
?

-Original Message-
From: Kumar Abhay-CAK203C [mailto:[EMAIL PROTECTED]
Sent: Monday, February 02, 2004 11:12 AM
To: 'Tomcat Users List'
Subject: RE: Error in JDBC conn / Apache Tomcat/4.1.29 URGENT
Importance: High


I hv tried this also .. No success

Abhay



-Original Message-
From: Chakravarthy, Sundar [mailto:[EMAIL PROTECTED]
Sent: Monday, February 02, 2004 10:56 AM
To: Tomcat Users List
Subject: RE: Error in JDBC conn / Apache Tomcat/4.1.29 URGENT
Trying using classes12.jar in tomcat_home/common/lib

-Original Message-
From: Kumar Abhay-CAK203C [mailto:[EMAIL PROTECTED]
Sent: Monday, February 02, 2004 11:50 AM
To: 'Tomcat Users List'
Subject: RE: Error in JDBC conn / Apache Tomcat/4.1.29 URGENT
Importance: High
Path of the dB driver

  1   2   3   4   5   6   7   8   9   10   >