Tomcat Start

2003-01-21 Thread Ghershony, Arie
Starting Tomcat:

when I try to run from : %catalina_home%\bin\startup.bat  it will sytart and
then stop.
It only starts from the menu?  How can I fix that.?

-Original Message-
From: Turner, John [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, January 21, 2003 4:55 PM
To: 'Ravindra K. Bhat '
Cc: 'Tomcat Users List '
Subject: RE: Web Pages Loads Slowly (fwd)


 
Define slowly.  ;)  Are we talking milliseconds?  Seconds?


John

-Original Message-
From: Ravindra K. Bhat
To: Ravindra K. Bhat
Cc: Tomcat Users List
Sent: 1/21/03 3:11 PM
Subject: RE: Web Pages Loads Slowly (fwd)


hi:

I chkecked out all the directories..and log file paths..they all seem to
be in order...

My pages load smoothly when i use domain_name:8080/servlet but when I
use
just the domain name it still loads a little slower... 

Any ideas? I am running apache 2.1 w/ tomcat 4.0.6 w/ mod_jk
Ravi

-- Forwarded message --
Date: Tue, 21 Jan 2003 13:39:43 -0500
From: Turner, John [EMAIL PROTECTED]
Reply-To: Tomcat Users List [EMAIL PROTECTED]
To: 'Tomcat Users List' [EMAIL PROTECTED]
Subject: RE: Web Pages Loads Slowly


Something is messed up...probably DNS-related (host name lookup for log
entries, etc).  Apache serving HTML pages is, for the majority of
purposes,
instantaneous.  If there's a slow down, it's external to Apache or
something
in your config.

John

 -Original Message-
 From: Ravindra K. Bhat [mailto:[EMAIL PROTECTED]]
 Sent: Tuesday, January 21, 2003 1:33 PM
 To: Ravindra K. Bhat
 Cc: Tomcat Users List
 Subject: Web Pages Loads Slowly
 
 
 Hi:
 
 Any ideas on how to increase the loading speed of 
 html(static) pages on
 Apache..I have integrated Apache 2.1 with tomcat 4.0.6..the 
 servelts/jsp
 loads fine but the html pages seem to be loading slowly..
 
 Thanks..
 Ravi  
 
 
 --
 To unsubscribe, e-mail:   
 mailto:[EMAIL PROTECTED]
 For additional commands, e-mail: 
 mailto:[EMAIL PROTECTED]
 

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



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

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

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




RE: packages

2003-01-20 Thread Ghershony, Arie
Are you familiar with WebServices deployment?

thanks
Arie

-Original Message-
From: Shapira, Yoav [mailto:[EMAIL PROTECTED]]
Sent: Monday, January 20, 2003 8:50 AM
To: Tomcat Users List
Subject: RE: packages


Hi,
1. RTFM.
2. This is not a tomcat question.  Include [OFF-TOPIC] in the subject.
3. http://java.sun.com/docs/books/tutorial/java/interpack/usepkgs.html
has the answer you're looking for.

Yoav Shapira
Millennium ChemInformatics


-Original Message-
From: puneet sachar [mailto:[EMAIL PROTECTED]]
Sent: Sunday, January 19, 2003 11:49 PM
To: Tomcat Users List
Subject: packages

hey

can anyone tell me wwhat is the standard package in
java
and which package wich we don't have to explictly
mention and what are the conditions we have to mention
them..

regards


__
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com

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


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

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




AXIS-and Sevlets

2003-01-16 Thread Ghershony, Arie
Hi,
I created a service and a client java programs, then Deployed descriptor to
let the Axis know that the java program is a valid web service:
I create file name Order.wsdd  and place it in the current directory:

deployment xmlns=http://xml.apache.org/axis/wsdd/;
xmlns:java=http://xml.apache.org/axis/wsdd/providers/java;
 service name=Order provider=java:RPC
  parameter name=className value=clientaxis.Battle.Order/
  parameter name=allowedMethods value=getBattle/
 /service
/deployment

Then, starteed the Tomcat server and deployed that file:
 D:\clientaxis\Battle\java org.apache.axis.client.AdminClient Order.wsdd

it was deployed successfuly however when I run in the browser
http://localhost:8080/axis/servlet/AxisServlet  I only get in the page:

And now... Some Services

I also see an exception:
 Exception:
java.lang.ClassNotFoundException: clientaxis.Battle.Order
   at
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoa
er.java:1428)


HOW CAN I FIX THIS?
Thanks,
Eric





-Original Message-
From: Turner, John [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, January 15, 2003 8:49 AM
To: 'Tomcat Users List'
Subject: RE: servlet with Tomcat



Not quite, but certainly longer than should be necessary.  There was approx
3 or 4 months of I can't get Tomcat to start relating, I think, to not
being able to set JAVA_HOME on Windows XP, then a lull for a couple of
months, and now the current make my servlet work NOW issue.

Many people have tried to help, posting extremely specific and distinct
instructions, step by step, to no apparent difference.  Hopefully someday
things will work out.

John
  

 -Original Message-
 From: Denise Mangano [mailto:[EMAIL PROTECTED]]
 Sent: Wednesday, January 15, 2003 8:47 AM
 To: 'Tomcat Users List'
 Subject: RE: servlet with Tomcat
 
 
 Thanks for pointing that out Jeff - typo on my part :)  Has 
 he really been
 trying this for a year?? 
 
 Denise Mangano
 Help Desk Analyst
 Complus Data Innovations, Inc.
 
 

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

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




RE: Problems with installation on win2k advanced server (Java exceptions thrown)

2003-01-08 Thread Ghershony, Arie
is any one using Axis and Tomcat.  I have dificulties running a web service.


Thanks
Eric

-Original Message-
From: Mr. Cristian Romanescu [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, January 08, 2003 4:09 PM
To: Tomcat Users List
Subject: Re: Problems with installation on win2k advanced server (Java
exceptions thrown)


Hi!

I remember we had the same problem on the web server where using Tomcat 
4.0.3 with JDK 1.3.1, so the resolution was to upgrade both Tomcat  JDK
since on the test server (Tomcat 4.1.12 + JDK 1.4.1_01 worked 
perfectly). From what I could see you are using latest version of 
Tomcat, maybe try upgrading JDK (I don't think will resolve, but it's an 
idea)

Did you tried to request other pages (not index.jsp) and see if they 
compile...?
Also you could try another version of Tomcat, I think...

Hope this helps...

Cristian.


Tammer Salem wrote:

Hi,
I just installed Tomcat 4.1.18 on win2k advanced server (and running J2SDK
1.4). I keep on getting a Java exception when I use
(http://localhost:8080/).
I've included the error below.
Does anyone have any idea how to solve this?



type Exception report

message 

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

exception 

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

An error occurred at line: -1 in the jsp file: null

Generated servlet error:
[javac] Compiling 1 source file



   at
org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandle
r.java:130)
   at
org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:2
93)
   at
org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:340)
   at org.apache.jasper.compiler.Compiler.compile(Compiler.java:352)
   at
org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:4
74)
   at
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:1
84)
   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(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.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 

RE: DTD for server.xml??

2003-01-08 Thread Ghershony, Arie
any one uses Tomcat and AXIS.  I run the happyaxis.jsp and receive this
warning:
The core axis libraries are present. 1 optional axis library is missing
Note: On Tomcat 4.x and Java1.4, you may need to put libraries that contain
java.* or javax.* packages into CATALINA_HOME/common/lib
jaxrpc.jar and saaj.jar are two such libraries. 

I tried that but it still gave me that warning.

Thanks,
Eric




-Original Message-
From: Jeanfrancois Arcand [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, January 08, 2003 11:54 AM
To: Tomcat Users List
Subject: Re: DTD for server.xml??


Oups (remove the quote)

!DOCTYPE web-app[
!ENTITY vhost1 SYSTEM /path/to/tomcat/conf/vhost1.xml

]

-- Jeanfrancois

Jeanfrancois Arcand wrote:

 I thin it should be defined like this:

 !DOCTYPE web-app[
 !ENTITY vhost1 SYSTEM /path/to/tomcat/conf/vhost1.xml

 ]

 I did not try it but that the way ENTITY works usually.

 -- Jeanfrancois

 Turner, John wrote:

 Sorry, that should be
 !ENTITY vhost1 SYSTEM /path/to/tomcat/conf/vhost1.xml

 Typo in vhost.

 John

  

 -Original Message-
 From: Turner, John [mailto:[EMAIL PROTECTED]]
 Sent: Wednesday, January 08, 2003 11:42 AM
 To: 'Tomcat Users List'
 Subject: RE: DTD for server.xml??



 That makes sense.  OK, next question, in a thread started yesterday, 
 it was
 mentioned (correctly, I assume) that you could use XML entities to 
 include
 external XML files into server.xml. 
 So, this link came up on Google:

 http://tech.irt.org/articles/js212/#example_2

 Which leads a person to believe that something like
 !ENTITY vhost SYSTEM /path/to/tomcat/conf/vhost1.xml

 Then towards the bottom:

 vhost1

 would work in server.xml, but it doesn't.  Error:  Catalina.start:
 org.xml.sax.SAXParseException: The content beginning ! is not 
 legal markup. 

 Is this a futile path, or is it possible to include external XML into
 server.xml when server.xml is parsed?  If so, how?

 Thanks!

 John

   

 -Original Message-
 From: Tim Funk [mailto:[EMAIL PROTECTED]]
 Sent: Wednesday, January 08, 2003 11:37 AM
 To: Tomcat Users List
 Subject: Re: DTD for server.xml??


 It would be almost impossible to write a DTD for server.xml 

 since an   

 admin may inject custom classes (Listeners/Loggers).

 To have a dtd, we would need to know every property which can be 
 set for every class (which may be made known in server.xml) since 

 tomcat uses   

 reflection from Diegester.

 -Tim

 Turner, John wrote:
 

 Hello -

 I notice that the top of web.xml has:

 ?xml version=1.0 encoding=ISO-8859-1?
 !DOCTYPE web-app
 PUBLIC -//Sun Microsystems, Inc.//DTD Web   

 Application 2.3//EN
   

 http://java.sun.com/dtd/web-app_2_3.dtd;

 yet the top of server.xml has nothing.

 I'm very new to XML, so forgive me if this is a lame or FA   

 question, but is
 

 there a DTD for server.xml?  If so, why isn't it specified   

 in server.xml,
 

 and what is the URL?  Is server.xml real, official XML or just
 convenience XML?

 - John

 
 John Turner
 [EMAIL PROTECTED] | 248-488-3466
 Advertising Audit Service
 http://www.aas.com


 -- 
 To unsubscribe, e-mail: 

 mailto:[EMAIL PROTECTED]
   

 For additional commands, e-mail:
 

 mailto:[EMAIL PROTECTED]
   


 

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

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

   


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


  




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

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