Help : Apache 2.0.43 , Tomcat 4.1.12 , jk and/or jk2 , win 2k

2002-10-08 Thread none none

Hi all,
I am trying to make working 
 Apache 2.0.42 or 2.0.43 and
 Tomcat 4.1.10 or 4.1.12 with
 mod_jk or mod_jk2 on
 Windows 2K
since last friday with no results !!!
I don't know if is me, but i found really hard setup that enviroment lately, before 
was easy (until Apache 2.0.3x and Tomcat 4.0.4).

Apache installation OK,
Tomcat installation OK,
Apache running on port 80 OK,
Tomcat running on port 8080 OK,

I followed the HOW-TO guide step by step, but
Apache-Tomcat togheter are  NOT WORKING  , both cases mod_jk and mod_jk2.
JK: 
http://localhost:8080/examples  - running 
http://localhost/examples - NOT RUNNING !!!
the error i get in the apache log is:
...File not Found: C:/servers/apache2/htdocs/examples

JK2:
same as above.
+ really hard to setup all the parameters.

why it is going in the htdocs folder?
I know i could set 'htdocs' to point to 'tomcat/webapps' , but even if i do it will 
not work, this time i have a 404 error from Tomcat.
Also the auto-conf file contain the alias + directory definition inside, so should be 
not necessary, right? 

Please help, it's driving me crazy.
thank you.




Watch a championship game with Elway or McGwire.
Enter Now at http://champions.lycos.com 

--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




RE: Help : Apache 2.0.43 , Tomcat 4.1.12 , jk and/or jk2 , win2k

2002-10-10 Thread none none
Program 
>> Files\Apache
>> Group\
>> Apache2\modules";C:\WINNT\system32;C:\WINNT;C:\WINNT\System32\Wbem
>> TOMCAT_HOME=e:\tomcat
>> 
>> C:\Program Files\Apache Group\Apache2\conf\httpd.conf
>> C:\Program Files\Apache Group\Apache2\modules\mod_jk.dll
>> C:\Program Files\Apache Group\Apache2\modules\mod_jk2.dll
>> C:\Program Files\Apache Group\Apache2\modules\jkjni.dll
>> C:\Program Files\Apache Group\Apache2\modules\jni_connect.dll
>> E:\tomcat\conf\workers.properties
>> E:\tomcat\conf\server.xml
>> 
>> conf files are attached.. maybe someone on this list can help 
>> us both. :)
>> 
>> - Original Message -
>> From: "none none" <[EMAIL PROTECTED]>
>> To: <[EMAIL PROTECTED]>
>> Sent: Tuesday, October 08, 2002 12:27 PM
>> Subject: Help : Apache 2.0.43 , Tomcat 4.1.12 , jk and/or jk2 , win 2k
>> 
>> 
>> > Hi all,
>> > I am trying to make working
>> >  Apache 2.0.42 or 2.0.43 and
>> >  Tomcat 4.1.10 or 4.1.12 with
>> >  mod_jk or mod_jk2 on
>> >  Windows 2K
>> > since last friday with no results !!!
>> > I don't know if is me, but i found really hard setup that enviroment
>> lately, before was easy (until Apache 2.0.3x and Tomcat 4.0.4).
>> >
>> > Apache installation OK,
>> > Tomcat installation OK,
>> > Apache running on port 80 OK,
>> > Tomcat running on port 8080 OK,
>> >
>> > I followed the HOW-TO guide step by step, but
>> > Apache-Tomcat togheter are  NOT WORKING  , both cases 
>> mod_jk and mod_jk2.
>> > JK:
>> > http://localhost:8080/examples  - running
>> > http://localhost/examples - NOT RUNNING !!!
>> > the error i get in the apache log is:
>> > ...File not Found: C:/servers/apache2/htdocs/examples
>> >
>> > JK2:
>> > same as above.
>> > + really hard to setup all the parameters.
>> >
>> > why it is going in the htdocs folder?
>> > I know i could set 'htdocs' to point to 'tomcat/webapps' , 
>> but even if i
>> do it will not work, this time i have a 404 error from Tomcat.
>> > Also the auto-conf file contain the alias + directory 
>> definition inside,
>> so should be not necessary, right?
>> >
>> > Please help, it's driving me crazy.
>> > thank you.
>> >
>> >
>> >
>> > 
>> > Watch a championship game with Elway or McGwire.
>> > Enter Now at http://champions.lycos.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]>
>
>



Watch a championship game with Elway or McGwire.
Enter Now at http://champions.lycos.com 

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




Help Please... Mod_jk +Manager App

2002-08-09 Thread None None

Hi,
 I have tomcat 4.03 and apache 1.3, installed and
running fine. My issue, is when I deploy a web
application using tomcat's manager service, then the
conf/auto/mod_jk.conf is not regenerated.

How do I configure tomcat to regenerate the
mod_jk.conf file when the manager service deploys a
new web application?

Thanks

__
Do You Yahoo!?
HotJobs - Search Thousands of New Jobs
http://www.hotjobs.com

--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




RE: File Upload with JSPs

2004-05-26 Thread None None
As someone who wrote their own multipart parser, then used the famous 
O'Reilly parser, and finally discovered the commons fileupload package, let 
me just say this... using anything but that last one is NUTS! :)  Seriously 
though, the various commons projects have been a Godsend ever since I found 
out about them, fileupload among them.


From: Deepak Vishwanathan <[EMAIL PROTECTED]>
Reply-To: "Tomcat Users List" <[EMAIL PROTECTED]>
To: Tomcat Users List <[EMAIL PROTECTED]>
Subject: RE: File Upload with JSPs
Date: Wed, 26 May 2004 14:36:00 -0700 (PDT)
Hi,
I would like to thank Trung Nguyen and Simone for their timely response.
Thank you
Deepak Vishwanathan
Trung Nguyen <[EMAIL PROTECTED]> wrote:
Deepak,
It works great with my apps...
http://jakarta.apache.org/commons/fileupload/
-Original Message-
From: Deepak Vishwanathan [mailto:[EMAIL PROTECTED]
Sent: Wednesday, May 26, 2004 5:17 PM
To: [EMAIL PROTECTED]
Subject: File Upload with JSPs
Hi,
I am working with Jsps on Tomcat Container. I searched through the net and
found a class called MimeParser which seems to provide the file upload
capability. Is there some open source Java API thats available that can be
freely redistributed and that would provide me with the file uploading
capability. Or does such a package exist in the Tomcat Jakarta site.
Thanks
Deepak

-
Do you Yahoo!?
Friends. Fun. Try the all-new Yahoo! Messenger
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
-
Do you Yahoo!?
Friends.  Fun. Try the all-new Yahoo! Messenger
_
Best Restaurant Giveaway Ever! Vote for your favorites for a chance to win 
$1 million! http://local.msn.com/special/giveaway.asp

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


RE: NoClassDefFoundError

2004-05-27 Thread None None
Are you importing class Search in SearchSession?  I can't tell from your 
post, but I suspect you may be asusming that doing the import in the JSP 
makes all the classes in the package available to all the classes in that 
package, and that isn't the case.  Each class still must have an import of 
what they need, whether it's an entire package with the .* notation, the 
specific class your using.


From: Worley Brent - bworle <[EMAIL PROTECTED]>
Reply-To: "Tomcat Users List" <[EMAIL PROTECTED]>
To: "'[EMAIL PROTECTED]'" <[EMAIL PROTECTED]>
Subject: NoClassDefFoundError
Date: Thu, 27 May 2004 15:21:57 -0500
Hi everyone,
I'm fairly new to Java and Tomcat.  I hope this problem can be easily
explained.
I am using Tomcat 5.0.24.
I have an application, packaged it in a WAR file, and deployed it.  This
application has a login page.  After logging in, the application redirects
to a page named search.jsp.  This page loads a package (import search.*).
Package search includes several classes.  The two in question are
Search.class and SearchSession.class.  SearchSession is started as a bean
and it has an instance of the Search class in it.  However, when search.jsp
loads (and loads SearchSession) I get a java.lang.NoClassDefFoundError. 
When
I view the source, it is where SearchSession creates an instance of the
Search class.

I have verified that the classes are under WEB-INF/classes/search.
Any ideas of what could be going wrong?
Thanks,
Brent Worley

**
The information contained in this communication is
confidential, is intended only for the use of the recipient
named above, and may be legally privileged.
If the reader of this message is not the intended
recipient, you are hereby notified that any dissemination,
distribution, or copying of this communication is strictly
prohibited.
If you have received this communication in error,
please re-send this communication to the sender and
delete the original message or any copy of it from your
computer system. Thank You.
_
Express yourself with the new version of 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]


RE: Possible to forward a request to another server?

2004-05-27 Thread None None
In simplest terms, a response forward sends control to something in the same 
context and the forwarded, a response rediect can go to something outside 
the context.  The technical difference is that a forward is done entirely on 
the server, wheras a redirect sends the redirect command to the client 
(along with the address to redirect to), and the client (read: the browser) 
calls the new address, hence it can be any address you want.


From: Wendell Holmes <[EMAIL PROTECTED]>
Reply-To: "Tomcat Users List" <[EMAIL PROTECTED]>
To: "'[EMAIL PROTECTED]'" <[EMAIL PROTECTED]>
Subject: Possible to forward a request to another server?
Date: Thu, 27 May 2004 11:48:39 -0600
Is it possible to forward a request from one Tomcat server to another?  I
looked at the API's and it seems to say the resource must be located on the
same server and in the same servlet context.  I'm needing to have some way
to forward http requests from an external IIS web server to an internal
tomcat server.  Basically, I just want to be able to do the equivalent to 
an
Apache ProxyPass/ProxyPassReverse.  Could this be done by writing a servlet
to wrap the original request and forward on?

Thanks
Wendell Holmes, MCSE
Education Logistics, Inc.
406 728-0893 ext. 2107
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
_
Stop worrying about overloading your inbox - get MSN Hotmail Extra Storage! 
http://join.msn.click-url.com/go/onm00200362ave/direct/01/

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


RE: registering Tomcat as service

2004-05-28 Thread None None
Take a look in tomcat/bin.  There is a service.bat file that can install and 
uninstall the service.  Should do the trick for you.

From: "Paul Wallace" <[EMAIL PROTECTED]>
Reply-To: "Tomcat Users List" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Subject: registering Tomcat as service
Date: Fri, 28 May 2004 16:31:57 +1000
Hello,
I installed Tomcat, formally run from the console. I am now trying
to get it to run as a service. I have in the registry:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tomcat\Parameters:
JVM Option Count   REG_DWORD0X0004 (4)
JVM Option Number 0 REG_SZ-Xms256m
JVM Option Number 1 REG_SZ-Xmx512m
JVM Option Number 2 REG_SZ
-Djava.class.path=C:\eCommerce\Tomcat-4.1.30\bin\bootstrap.jar;C:\eComme
rce\Tomcat-4.1.30\common\lib\servlet.jar;C:\j2sdk1.4.2_04\lib\tools.jar
JVM Option Number 3 REG_SZ
-Dcatalina.home=C:\eCommerce\Tomcat-4.1.30
the paths are correct (JDK/Tomcat) but when I try to start Tomcat from
the service window, I get a popup:
"The Tomcat Service on a Local Computer started and then stopped. Some
services stop automatically if they have no work to do, for example, the
Performance Logs and Alerts service"
The service does not subsequently run. Now my service may not have any
work to do, but I most certainly do.
Any info is much appreciated.
Paul.

_
FREE pop-up blocking with the new MSN Toolbar – get it now! 
http://toolbar.msn.click-url.com/go/onm00200415ave/direct/01/

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


Replacing a class file

2005-07-22 Thread none none
Hello,
 I am very new to tomcat, I hope someone is able to help me out.
 
There is a Java application sitting in one of the servers and I have been asked 
to modify some code in there.
 I figured out that the code need to be changed is in one of the class files, 
so I found the java source code, modified it on my desktop, compile it then I 
simply replaced the old class file with the new one under WEB-INF.
 
 Now, I did a "service tomcat restart" command, but the change didn't take 
effect. I am totally confused and don't know what to do. How do I make tomcat 
pick-up the new class file?
 
Any help would be great.
Thank you.

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