RE: Default Page

2004-06-11 Thread Paresh Varatkar
You can try changing default page in web.xml.
Regards
Paresh

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Friday, June 11, 2004 4:36 PM
To: [EMAIL PROTECTED]
Subject: Re:Default Page




Thank you for the resonse, but that is not what i'm looking to do. I have
already changed the port to 80, but Tomcat still loads the Congrats you set up
tomcat successfully page. What I want to do is change tomcat 5 to load the
webMathematica webapp page by default instead. Anyone know how to acomplish this?

-
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]



Solution for Tomcat IIS problem

2004-05-03 Thread Paresh Varatkar

-Original Message-
From: Tolle Krez [mailto:[EMAIL PROTECTED]
Sent: Monday, May 03, 2004 8:22 AM
To: Paresh Varatkar
Subject: Problem with Tomcat5 and IIS5


Hello Paresh,

try to use group:lb:lb instead of just group:lb

# define the worker
[ajp13:localhost:8009]
channel=channel.socket:localhost:8009
group=lb:lb

[uri:/gf/*]
group=lb:lb

I hope this helps.


-Original Message-
From: Paresh Varatkar 
Sent: Thursday, April 29, 2004 8:25 AM
To: [EMAIL PROTECTED]
Subject: Problem with Tomcat5 and IIS5
Importance: High


Hi,
I have many times made tomcat to work with iis.
This time I am getting HTTP 500 error.
I checked my jakarta filter is green but its not producing any log
In IIS log I get this.
#Date: 2004-04-28 15:16:28
#Fields: date time c-ip cs-username s-ip s-port cs-method cs-uri-stem cs-uri-query \
sc-status cs(User-Agent)  2004-04-28 15:16:28 127.0.0.1 - 127.0.0.1 80 GET \
/jakarta/isapi_redirector2.dll - 500 \
Mozilla/4.0+(compatible;+MSIE+5.5;+Windows+NT+5.0;+T312461;+.NET+CLR+1.0.3705) \
2004-04-28 15:16:30 127.0.0.1 - 127.0.0.1 80 GET /jakarta/isapi_redirector2.dll - 500 \
Mozilla/4.0+(compatible;+MSIE+5.5;+Windows+NT+5.0;+T312461;+.NET+CLR+1.0.3705) \
2004-04-28 15:16:31 127.0.0.1 - 127.0.0.1 80 GET /jakarta/isapi_redirector2.dll - 500 \
Mozilla/4.0+(compatible;+MSIE+5.5;+Windows+NT+5.0;+T312461;+.NET+CLR+1.0.3705)

Regards
Paresh





___
My workers2.properties file is 

[shm]
info=Scoreboard. Requried for reconfiguration and status with multiprocess servers.
file=anon

# Defines a load balancer named lb. Use even if you only have one machine.
[lb:lb]

# Example socket channel, override port and host.
[channel.socket:localhost:8009]
port=8009
host=127.0.01

# define the worker
[ajp13:localhost:8009]
channel=channel.socket:localhost:8009
group=lb

# Map the Tomcat examples webapp to the Web server uri space
[uri:/gf/*]
group=lb

[status:]
info=Status worker, displays runtime information

[uri:/jkstatus/*]
info=The Tomcat /jkstatus handler
group=status:

__


My server.xml connector has(I tried both redirecting to 8080 as wellas 8443, both \
gives same error)


!-- Define a non-SSL Coyote HTTP/1.1 Connector on the port specified
 during installation --
Connector 
port=8080   maxThreads=150 minSpareThreads=25 maxSpareThreads=75
   enableLookups=false redirectPort=8443 acceptCount=100
   debug=0 connectionTimeout=2 
   disableUploadTimeout=true /

!-- Define a SSL Coyote HTTP/1.1 Connector on port 8443 --
!--
Connector port=8443 
   maxThreads=150 minSpareThreads=25 maxSpareThreads=75
   enableLookups=false disableUploadTimeout=true
   acceptCount=100 debug=0 scheme=https secure=true
  Factory clientAuth=false protocol=TLS /
/Connector
--

!-- Define a Coyote/JK2 AJP 1.3 Connector on port 8009 --
Connector port=8009 
   enableLookups=false redirectPort=8080 debug=0
   protocol=AJP/1.3 /
___

My Registry property are

extensionUri=/jakarta/isapi_redirector2.dll
serverRoot=C:\Tomcat
logLevel=DEBUG
workersFile=C:\Tomcat\conf\workers2.properties 
worker_mount_file=C:\Tomcat\conf\uriworkermap.properties (I know this is not needed \
but removing this does not make any change). \
__ 
\

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



RE: failure notice

2004-02-05 Thread Paresh Varatkar
I was getting lot of these in morning.
1 once I delete immediately newone use to come.
So I went to tomcat folder in my exchange 
and shift-deleted all mails from Mailer-Daemon.
Then I deleted last mail.
Then I restarted exchange and started my virus scan(Norton ant Feb 4, 2004).
Now I stopped getting these emails.
Regards
POaresh

-Original Message-
From: Tim Diez [mailto:[EMAIL PROTECTED]
Sent: Thursday, February 05, 2004 7:14 AM
To: Tomcat Users List
Subject: RE: failure notice


Yep, I'm seeing these too:

Mycom Europe: Mail Delivery Error - [EMAIL PROTECTED]

 -Original Message-
 From: Kannan Sundararajan [mailto:[EMAIL PROTECTED] 
 Sent: Thursday, February 05, 2004 8:34 AM
 To: 'Tomcat Users List'
 Subject: RE: failure notice
 
 
 I am getting lot of messages like this. Any one experiencing 
 the same? 
 
 -Original Message-
 From: 
 [EMAIL PROTECTED]
 .apache.or
 g 
 [mailto:tomcat-user-return-91926-ksundararajan=marketaxess.com
@jakarta.a
pache.org]
Sent: None
Subject: failure notice


X-Auto: [EMAIL PROTECTED]
X-Loop-Detect: 1
To: [EMAIL PROTECTED]
From: [EMAIL PROTECTED]
Reply-To: [EMAIL PROTECTED]
X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N



Hi. This is the qmail-send program at mail18b.gatewayhost.net.

I'm afraid I wasn't able to deliver your message to the addresses.

This is a permanent error; I've given up. Sorry it didn't work out.



server does not like recipient.

Remote host said: ... inactive user

Giving up.



This is not a monitored account and replies to

this account will not be received.





-
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]



Solution: Tomcat 5 Problem with finding servlet class

2003-11-03 Thread Paresh Varatkar
The Configuration of Tomcat 5 can be done as follows.
If you have the jars which need specific arrangement.
1 You have to compile application with servlet standards Tomcat 5 are using.
2 Change catalina.properties file Add your path there.
3 Change catalina.xml if its important to you the order in which r=the jars are read.
4 You have to add the -Djava.class.path option in the service properties.
5 Give startin path for the Tomcat shortcut as the pathyour application jars are 
stored.

The bst thing if possible is not to have hard coded paths in application, but this is 
the thing if its 
something out of your control.

Regards
Paresh

-Original Message-
From: Paresh Varatkar 
Sent: Wednesday, October 29, 2003 11:31 AM
To: Tomcat Users List
Subject: RE: Tomcat 5 Problem with finding servlet class
Importance: High


Hi Chris,
That was very good cue.
As that made me think why its not loading servlet.jar?

I had recompiled all jsps with latest servlet specifications but
I recompiled them again with Tomcat jars ahead in path.

Then I set classpaths correctly.

Now application works extremely well if I do catalina start.

Still I am setting classpaths manually.

Now the next and Final problem I am facing, how to start Tomcat as service.
This is because when Tomcat starts as service, it does not seem to remember the 
classpath already set.

can I send classpath as parameter to tomcat.exe?

Regards
Paresh



-Original Message-
From: Christopher Schultz [mailto:[EMAIL PROTECTED]
Sent: Tuesday, October 28, 2003 3:10 PM
To: Tomcat Users List
Subject: Re: Tomcat 5 Problem with finding servlet class


All,

 java.lang.NoSuchMethodError: 
 javax.servlet.ServletConfig.getServletName()Ljava/lang/String;
 
 
 This method is not part of the servlet specification:
 http://jakarta.apache.org/tomcat/tomcat-5.0-doc/servletapi/index.html
 
 How did you compile it in the first place?

I'm sorry; I was looking at ServletContext, not ServletConfig.

Anyhow, I don't think you should be explicitly setting any classpaths 
for anything. You should just dump all your JAR files into WEB-INF/lib 
and start Tomcat without any further configuration changes.

Note that putting servlet.jar into WEB-INF/lib is a mistake. Tomcat will 
probably refuse to load thar JAR anyways, so you might be okay (I know 
it does on mine .. oops :)

-chris


-
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: Tomcat 5 Problem with finding servlet class

2003-10-29 Thread Paresh Varatkar
Hi Chris,
That was very good cue.
As that made me think why its not loading servlet.jar?

I had recompiled all jsps with latest servlet specifications but
I recompiled them again with Tomcat jars ahead in path.

Then I set classpaths correctly.

Now application works extremely well if I do catalina start.

Still I am setting classpaths manually.

Now the next and Final problem I am facing, how to start Tomcat as service.
This is because when Tomcat starts as service, it does not seem to remember the 
classpath already set.

can I send classpath as parameter to tomcat.exe?

Regards
Paresh



-Original Message-
From: Christopher Schultz [mailto:[EMAIL PROTECTED]
Sent: Tuesday, October 28, 2003 3:10 PM
To: Tomcat Users List
Subject: Re: Tomcat 5 Problem with finding servlet class


All,

 java.lang.NoSuchMethodError: 
 javax.servlet.ServletConfig.getServletName()Ljava/lang/String;
 
 
 This method is not part of the servlet specification:
 http://jakarta.apache.org/tomcat/tomcat-5.0-doc/servletapi/index.html
 
 How did you compile it in the first place?

I'm sorry; I was looking at ServletContext, not ServletConfig.

Anyhow, I don't think you should be explicitly setting any classpaths 
for anything. You should just dump all your JAR files into WEB-INF/lib 
and start Tomcat without any further configuration changes.

Note that putting servlet.jar into WEB-INF/lib is a mistake. Tomcat will 
probably refuse to load thar JAR anyways, so you might be okay (I know 
it does on mine .. oops :)

-chris


-
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 5 Problem with finding servlet class

2003-10-28 Thread Paresh Varatkar
Hi Guys,
I am deploying application in tomcat in different way.
As the application already have hard coded path references which are too tedious to 
remove,
I am using specific directories to deploy my jars.
I am setting classpath manually.
This all works excellent with Tomcat 3.2.4
With Tomcat 5, In catalina.bat file I am changing classpath in same way.
At the end it shows correct classpath set as follows

CLASSPATH=C:\j2sdk_nb\j2sdk1.4.2\lib\tools.jar;c:\Tomcat\bin\bootstrap.jar;c:\To
mcat\webapps\gf\bin\activation.jar;c:\Tomcat\webapps\gf\bin\B2BObjects.jar;c:\To
mcat\webapps\gf\bin\com.ibm.mq.iiop.jar;c:\Tomcat\webapps\gf\bin\com.ibm.mq.jar;
c:\Tomcat\webapps\gf\bin\com.ibm.mqbind.jar;c:\Tomcat\webapps\gf\bin\fesi.jar;c:
\Tomcat\webapps\gf\bin\jaas.jar;c:\Tomcat\webapps\gf\bin\jai_codec.jar;c:\Tomcat
\webapps\gf\bin\jai_core.jar;c:\Tomcat\webapps\gf\bin\jcert.jar;c:\Tomcat\webapp
s\gf\bin\jndi.jar;c:\Tomcat\webapps\gf\bin\jnet.jar;c:\Tomcat\webapps\gf\bin\js.
jar;c:\Tomcat\webapps\gf\bin\jspengine.jar;c:\Tomcat\webapps\gf\bin\jsse.jar;c:\
Tomcat\webapps\gf\bin\ldap.jar;c:\Tomcat\webapps\gf\bin\ldapbp.jar;c:\Tomcat\web
apps\gf\bin\lotusxsl.jar;c:\Tomcat\webapps\gf\bin\mail.jar;c:\Tomcat\webapps\gf\
bin\mlibwrapper_jai.jar;c:\Tomcat\webapps\gf\bin\prgn.jar;c:\Tomcat\webapps\gf\b
in\providerutil.jar;c:\Tomcat\webapps\gf\bin\sck.jar;c:\Tomcat\webapps\gf\bin\se
rvlet.jar;c:\Tomcat\webapps\gf\bin\tools.jar;c:\Tomcat\webapps\gf\bin\webserver.
jar;c:\Tomcat\webapps\gf\bin\xml.jar;c:\Tomcat\webapps\gf\bin\xml4j.jar;;c:\Tomc
at\bin\fcpassword.dll

and starts tomcat correctly.


Still I get the error below.
Can anyone guess correct reason.

java.lang.NoSuchMethodError: 
javax.servlet.ServletConfig.getServletName()Ljava/lang/String;
at org.apache.struts.action.ActionServlet.initServlet(ActionServlet.java:1402)
at org.apache.struts.action.ActionServlet.init(ActionServlet.java:466)
at org.apache.webapp.admin.ApplicationServlet.init(ApplicationServlet.java:150)
at javax.servlet.GenericServlet.init(GenericServlet.java:266)
at 
org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1044)
at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:887)
at 
org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3853)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:4168)
at 
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:866)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:850)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:633)
at 
org.apache.catalina.core.StandardHostDeployer.addChild(StandardHostDeployer.java:831)
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:511)
at org.apache.catalina.core.StandardHost.install(StandardHost.java:890)
at 
org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:523)
at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:468)
at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1002)
at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:393)
at 
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:166)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1133)
at org.apache.catalina.core.StandardHost.start(StandardHost.java:816)
at 

RE: Tomcat 5 Problem with finding servlet class

2003-10-28 Thread Paresh Varatkar
No Sir,
The tediousness is not because of laziness to remove the code but because of usage of 
3rd party code,
which we are not licensed to change and which is path specific.

I know this makes things far difficult than normal ways of deployment, but I am 
willing to do whatsoever to make it work with Tomcat.

Regards
Paresh

-Original Message-
From: Shapira, Yoav [mailto:[EMAIL PROTECTED]
Sent: Tuesday, October 28, 2003 11:47 AM
To: Tomcat Users List
Subject: RE: Tomcat 5 Problem with finding servlet class



Howdy,

As the application already have hard coded path references which are
too
tedious to remove,

FYI, there are few better ways to get someone to think this person is
not worth my time to help than a sentence like the above...

Yoav Shapira



This e-mail, including any attachments, is a confidential business communication, and 
may contain information that is confidential, proprietary and/or privileged.  This 
e-mail is intended only for the individual(s) to whom it is addressed, and may not be 
saved, copied, printed, disclosed or used by anyone else.  If you are not the(an) 
intended recipient, please immediately delete this e-mail from your computer system 
and notify the sender.  Thank you.


-
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 5 Problem with finding servlet class

2003-10-28 Thread Paresh Varatkar
I have my jars in following manner.

webapps\gf\bin\all jars with third party code + standard jars

webapps\gf\WEB-INF\lib\my jars 
webapps\gf\*.jsp, *.htmls

I can not move the jars in bin as I have no control over code and they refer /bin/path
in their code.

To make this work with Tomcat 3.2.4 I have to only set classpath before starting 
Tomcat.
I do the same with Tomcat 5 I get error which suggests that its not finding 
servlet.jar.
which is there in webapps\gf\bin\servlet.jar.

Regards
Paresh

java.lang.NoSuchMethodError: 
javax.servlet.ServletConfig.getServletName()Ljava/lang/String;
at org.apache.struts.action.ActionServlet.initServlet(ActionServlet.java:1402)
at org.apache.struts.action.ActionServlet.init(ActionServlet.java:466)
at org.apache.webapp.admin.ApplicationServlet.init(ApplicationServlet.java:150)
at javax.servlet.GenericServlet.init(GenericServlet.java:266)
at 
org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1044)
at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:887)
at 
org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3853)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:4168)
at 
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:866)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:850)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:633)
at 
org.apache.catalina.core.StandardHostDeployer.addChild(StandardHostDeployer.java:831)
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:511)
at org.apache.catalina.core.StandardHost.install(StandardHost.java:890)
at 
org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:523)
at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:468)
at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1002)
at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:393)
at 
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:166)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1133)
at org.apache.catalina.core.StandardHost.start(StandardHost.java:816)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1125)
at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:518)
at org.apache.catalina.core.StandardService.start(StandardService.java:519)
at org.apache.catalina.core.StandardServer.start(StandardServer.java:2343)
at org.apache.catalina.startup.Catalina.start(Catalina.java:580)
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.catalina.startup.Bootstrap.start(Bootstrap.java:297)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:397)







-Original Message-
From: Christopher Schultz [mailto:[EMAIL PROTECTED]
Sent: Tuesday, October 28, 2003 1:54 PM
To: Paresh Varatkar
Subject: Re: Tomcat 5 Problem with finding servlet class


Paresh,

 I have this third party code (servelets and adapter code) which we
 are licensed to use as base but not license

RE: IMP:Problem migrating to Latest Tomcat 5

2003-10-27 Thread Paresh Varatkar

Hi Remy

Two questions
1 where Can I get the binary install for  5.0.14.
2 Also do you think its possible to move the application from Tomcat to jboss easily.

Regards
Paresh


-Original Message-
From: Remy Maucherat [mailto:[EMAIL PROTECTED]
Sent: Saturday, October 25, 2003 1:46 AM
To: Tomcat Users List
Subject: Re: IMP:Problem migrating to Latest Tomcat 5


Paresh Varatkar wrote:
 Found out thwe problem.
 One of our class is making hard coded refernce to resources that is creating trouble 
 in deploying the application.
 
 One more problem though.
 I am trying to start Tomcat as service.
 It starts and stops immediately
 saying 
 The apache service on computer started then stopped
 some services stop automatically if they have no work to do
 
 has anyone came across this.

That bug has been fixed already, and 5.0.14 will have the fix.

 Sorry Chris,
 I am putting files under 
 webapps\WEB-INF\ourapp\lib directory.

No, it's webapps\ourapp\WEB-INF\lib

-- 
x
Rémy Maucherat
Senior Developer  Consultant
JBoss Group (Europe) SàRL
x


-
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]



IMP:Problem migrating to Latest Tomcat 5

2003-10-24 Thread Paresh Varatkar
Hi,
We used to have application running with Tomcat 3.2.4
During that time we use to use to setup classpath while starting the Tomcat using bat 
file set classpath command
to include jar files from our application.

We use very simple deployment method using directory structure.
We just deploy webapplication directory.
We put our jar files at CATALINA HOME\webapps\ourapp\lib directory.
We put our jsp files at CATALINA HOME\webapps\ourapp directory directly.

When Tomcat starts it is not finding jar files inside the lib thus it gives error 
compiling
jsps.

I am able to make my application work if I put those files under CATALINA 
HOME\common\lib\.
But I do not want to do it again wrong way.

Can anyone suggest what I am missing, I went through documentation again and again.
Is there any aml or properties file where I have to make entry of my application.

Thanks
Paresh


-Original Message-
From: Ben Souther [mailto:[EMAIL PROTECTED]
Sent: Thursday, October 23, 2003 9:47 AM
To: Tomcat Users List
Subject: Re: Does Apache offers any Tomcat like version with GUI and
features.


Have you looked at the admin and manager apps that ship with Tomcat 4.1x and 
up?

On Thursday 23 October 2003 11:53 am, Paresh Varatkar wrote:
 Hi,
 We are using Tomcat server version 3.2.4 with IIS for long time.
 Our IT staff want to upgrade to environment with GUI but Tomcat based and
 is ready to pay the fees if anything like that available.
 Does any one know Tomcat based web serverseasy to operate and migrate the
 application? Thanks
 Paresg

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

-- 
Ben Souther
F.W. Davison  Company, Inc.



-
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]



IMP:Problem migrating to Latest Tomcat 5

2003-10-24 Thread Paresh Varatkar
Found out thwe problem.
One of our class is making hard coded refernce to resources that is creating trouble 
in deploying the application.

One more problem though.
I am trying to start Tomcat as service.
It starts and stops immediately
saying 
The apache service on computer started then stopped
some services stop automatically if they have no work to do

has anyone came across this.
Regards
Paresh

-Original Message-
From: Paresh Varatkar 
Sent: Friday, October 24, 2003 3:05 PM
To: Tomcat Users List
Cc: [EMAIL PROTECTED]
Subject: RE: IMP:Problem migrating to Latest Tomcat 5
Importance: High


Sorry Chris,
I am putting files under 
webapps\WEB-INF\ourapp\lib directory.

My mistake while typing, Its not working still.
Regards
paresh


-Original Message-
From: Christopher Schultz [mailto:[EMAIL PROTECTED]
Sent: Friday, October 24, 2003 3:02 PM
To: Tomcat Users List
Subject: Re: IMP:Problem migrating to Latest Tomcat 5


Paresh,

 We use very simple deployment method using directory structure.
 We just deploy webapplication directory.
 We put our jar files at CATALINA HOME\webapps\ourapp\lib directory.

 I am able to make my application work if I put those files under CATALINA 
 HOME\common\lib\.
 But I do not want to do it again wrong way.

You must have your JAR files at CATALINA_HOME\webapps\ourapp\WEB-INF\lib

Note the WEB-INF that's required.

-chris


-
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]



Does Apache offers any Tomcat like version with GUI and features.

2003-10-23 Thread Paresh Varatkar
Hi,
We are using Tomcat server version 3.2.4 with IIS for long time.
Our IT staff want to upgrade to environment with GUI but Tomcat based and
is ready to pay the fees if anything like that available.
Does any one know Tomcat based web serverseasy to operate and migrate the application?
Thanks
Paresg

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



Anyone done? Tomcat iis on separate machines

2003-06-26 Thread Paresh Varatkar

Hi
Is it possible to configure iis and tomcat when each of them are running =
on different machines using tomcat iis connector.
I am able to run my application on same machine
Regards
Paresh



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



For John Turner: Anyone done? Tomcat iis on separate machines

2003-06-26 Thread Paresh Varatkar
Thanks John
That makes it work.

Regards
Paresh

-Original Message-
From: John Turner [mailto:[EMAIL PROTECTED]
Sent: Thursday, June 26, 2003 8:33 AM
To: Tomcat Users List
Subject: Re: Anyone done? Tomcat iis on separate machines



Change the .host parameter of workers.properties to the IP address of the 
machine with Tomcat installed.

John

On Thu, 26 Jun 2003 08:01:47 -0700, Paresh Varatkar [EMAIL PROTECTED] 
wrote:


 Hi
 Is it possible to configure iis and tomcat when each of them are running 
 =
 on different machines using tomcat iis connector.
 I am able to run my application on same machine
 Regards
 Paresh



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





-- 
Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/

-
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: So lost and confused

2002-12-26 Thread Paresh Varatkar


-Original Message-
From: PELOQUIN,JEFFREY (HP-Boise,ex1) [mailto:[EMAIL PROTECTED]]
Sent: Thursday, December 26, 2002 1:47 PM
To: 'Tomcat Users List'
Subject: RE: So lost and confused


what errors appeared in your error.log file for apache?


with them uncommented you might also might want to try running from the
command prompt
in the directory C:\Apache\bin\apachectl configtest
or wherever the bin directory is for your server
this will tell also give you the errors in to http.conf




-Original Message-
From: Gman [mailto:[EMAIL PROTECTED]]
Sent: Thursday, December 26, 2002 2:35 PM
To: 'Tomcat Users List'
Subject: RE: So lost and confused


Ok Jeffrey, I placed the lines below and now Apache won't start.

# Configure mod_jk
#
#JkWorkersFile C:/Apache/conf/workers.properties--actual path to where
I placed the workers.properties file.
#JkLogFile C:/Apache/apache/logs/mod_jk.log--actual path to where the
log files will and should be created.
#JkLogLevel info--?

#JkMount /examples/* ajp13--?

I commented them out and Apache runs fine.

George Flatman
-Original Message-
From: PELOQUIN,JEFFREY (HP-Boise,ex1) [mailto:[EMAIL PROTECTED]] 
Sent: Thursday, December 26, 2002 1:13 PM
To: 'Tomcat Users List'
Subject: RE: So lost and confused


place the attached workers.properties in your conf directory of apache

add these lines to your http.conf if they are not there already

# Load mod_jk
#
LoadModule jk_module modules/name of downloaded file

# Configure mod_jk
#
JkWorkersFile path/to/apache/conf/workers.properties
JkLogFile path/to/apache/logs/mod_jk.log
JkLogLevel info

JkMount /examples/* ajp13


make sure you can restart apache after you do that

once apache is able to start we will configure tomcat

-Original Message-
From: Gman [mailto:[EMAIL PROTECTED]]
Sent: Thursday, December 26, 2002 2:00 PM
To: 'Tomcat Users List'
Subject: RE: So lost and confused


Ok Jeffrey, No that worked I have Apache up and running now. Whets next
sir?

George Flatman
-Original Message-
From: PELOQUIN,JEFFREY (HP-Boise,ex1) [mailto:[EMAIL PROTECTED]] 
Sent: Thursday, December 26, 2002 12:45 PM
To: 'Tomcat Users List'
Subject: RE: So lost and confused


try one of the files from
http://jakarta.apache.org/builds/jakarta-tomcat-connectors/jk/release/v1
.2.1
/bin/win32/
like mod_jk-2.0.43.dll

This should ensure that you get a jk and not a jk2 file.  While jk2
should work I have never configured the tomcat side for jk2 use.

-Original Message-
From: Gman [mailto:[EMAIL PROTECTED]]
Sent: Thursday, December 26, 2002 1:33 PM
To: 'Tomcat Users List'
Subject: RE: So lost and confused


Ok I am doing this in steps so if it does not work I won't be more
confused. I have added the following line only to my http.conf

LoadModule jk2_module modules/mod_jk2-2.0.43.dll---this is the file I
download from http://www.johnturner.com/howto/apache-tomcat-howto.html
should I try another one? Or what should I do next? Sorry to be a
pain;o

George Flatman
-Original Message-
From: PELOQUIN,JEFFREY (HP-Boise,ex1) [mailto:[EMAIL PROTECTED]] 
Sent: Thursday, December 26, 2002 11:12 AM
To: 'Tomcat Users List'
Subject: RE: So lost and confused


I would grab the one for 4.1.10.  The question marks most likely refer
to a question as to the version of apache it was compiled against.

You will only get Tomcat\conf\jk\mod_jk.conf-auto, if you configure
tomcat to generate it for you.  Let us not worry about that for the
moment

so for mod_jk.dll

for your http.conf you should have something like this
# Load mod_jk
#
LoadModule jk_module modules/name of downloaded file

# Configure mod_jk
#
JkWorkersFile path/to/apache/conf/workers.properties
JkLogFile path/to/apache/logs/mod_jk.log
JkLogLevel info

JkMount /examples/* ajp13

I like the files local to apache rather than tomcat but they can go
anywhere

place the attached workers.properties in path/to/apache/conf/ change 

I set worker.ajp13.port=8009, which is the default and it matches what i
have in the server.xml below

I commented out my lines for these two but you may need them, they are
sometimes optional.  If you need them change the path to point to your
java and tomcat installations

worker.tomcat_home=/opt_apps/jakarta-tomcat-4.1.18 to point to the root
of your tomcat install worker.java_home=/opt/java1.3 to where your java
is


in your server.xml
you need

Connector className=org.apache.coyote.tomcat4.CoyoteConnector
   port=8009 minProcessors=5 maxProcessors=75
   enableLookups=false redirectPort=8443
   acceptCount=10 debug=0 connectionTimeout=0
   useURIValidationHack=false
 
protocolHandlerClassName=org.apache.jk.server.JkCoyoteHandler/

or

Connector className=org.apache.ajp.tomcat4.Ajp13Connector
   port=8009 minProcessors=5 maxProcessors=75
   acceptCount=10 debug=0/


-Original Message-
From: Gman [mailto:[EMAIL PROTECTED]]
Sent: Thursday, December 26, 2002 

RE:

2002-12-26 Thread Paresh Varatkar





 Hi,
 I was able to use iis 5 and Tomcat 324 together for some time.
 Suddenly it stopped working. I am sure this is not problem with port.
 Below is IIS log I get and redirection looks correct.
 But Tomcat seems to transfer it correctly to gf folder.
 Thanks
 Paresh
 
 #Software: Microsoft Internet Information Services 5.0
 #Version: 1.0
 #Date: 2002-12-26 19:33:51
 #Fields: date time c-ip cs-username s-ip s-port cs-method cs-uri-stem cs-uri-query 
sc-status cs(User-Agent) 
 2002-12-26 19:33:51 10.32.32.57 - 10.32.32.57 80 GET /jakarta/isapi_redirect.dll - 
200 Mozilla/4.0+(compatible;+MSIE+5.01;+Windows+NT+5.0)
 #Software: Microsoft Internet Information Services 5.0
 #Version: 1.0
 #Date: 2002-12-26 19:54:47
 #Fields: date time c-ip cs-username s-ip s-port cs-method cs-uri-stem cs-uri-query 
sc-status cs(User-Agent) 
 2002-12-26 19:54:47 10.32.32.57 - 10.32.32.57 80 GET /jakarta/isapi_redirect.dll - 
200 Mozilla/4.0+(compatible;+MSIE+5.01;+Windows+NT+5.0)
 2002-12-26 20:07:43 10.32.32.57 - 10.32.32.57 80 GET /jakarta/isapi_redirect.dll - 
200 Mozilla/4.0+(compatible;+MSIE+5.01;+Windows+NT+5.0)
 
  Tomcat Window
  Starting tomcat. Check logs/tomcat.log for error messages
2002-12-26 12:32:08 - ContextManager: Adding context Ctx( /examples )
2002-12-26 12:32:08 - ContextManager: Adding context Ctx( /admin )
2002-12-26 12:32:08 - ContextManager: Adding context Ctx( /gf )
2002-12-26 12:32:08 - ContextManager: Adding context Ctx(  )
2002-12-26 12:32:08 - ContextManager: Adding context Ctx( /test )
Instantiating singleton Archway object
[main 12:32:14] Archway home path: c:\Tomcat\webapps\gf/
Archway home path: c:\Tomcat\webapps\gf/
[main 12:32:14] Using application preferences in 
c:\Tomcat\webapps\gf/bin/archwa
y.ini
Executing Archway with detailed DEBUG logs
Initializing Archway servlet build number Get.It! 1.3.1, Build 200011170740
Registering adapters
Starting background processes
Warning: Script polling routines have been disabled
Starting file change monitor
Starting Currency script generator
Calling notify
Archway initialization complete
2002-12-26 12:32:15 - PoolTcpConnector: Starting HttpConnectionHandler on 8080
2002-12-26 12:32:15 - PoolTcpConnector: Starting Ajp12ConnectionHandler on 8007
2002-12-26 12:32:31 - Ctx(  ): 404 R(  + /jakarta/isapi_redirect.dll + null) 
nul
l

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