Newbie question about getting first servlet working in tomcat on iseries v5r2

2004-09-03 Thread Ralph A. Borriello
Hello all,  

I work on an as/400 (iseries) version v5r2. I have setup a apache/tomcat server 
instance under the ibm http server and am trying to get a simple helloservlet servlet 
to work properly. The server instance is referencing version 1.3 of the jdk. I have 
compiled the java using jedit and jcompile plugin on windows and copied and pasted the 
html and class files to the iseries via a mapped drive  

The sample is a html file and a class file. It is a simple form where the servlet just 
mirrors back the name that was typed on the form. When I enter the name, I get a page 
cannot be found error. The url is modified to look like this: 
http://10.126.2.2:8082/HelloServlet?user_name=asdasdf (as I typed asdasdf).

I have included the source for the html, the java program, and the server logs. In 
them it does say that it cant find the servlet called HelloServlet, but it is there. 
Do I have to package the files in a .war file ?? I have scoured the documenation that 
I could find on the iseries and the tomcat sites and have tried many things but cant 
get it working. Any help would be greatly appreciated. 
Thanks for taking the time to read this :) 

If this is the wrong forum for this type of question or if there is a better one, 
please let me know. 

All the object authorites give full access to *public and the user that the server is 
running under. 

The httpd.conf file: 


# Apache Default server configuration
LoadModule jk_module /QSYS.LIB/QHTTPSVR.LIB/QZTCJK.SRVPGM

# General setup directives
HotBackup Off
CgiConvMode %%MIXED/MIXED%%
TimeOut 3
KeepAlive Off
DocumentRoot /www/apachedft/htdocs
AddLanguage en .en

# Deny most requests for any file
JkWorkersFile /www/apachedft/conf/workers.properties
JkLogFile /www/apachedft/logs/jk.log
JkLogLevel Error
JkMount /calc mytomcat
ServerUserID QTMHHTTP
DirectoryIndex index.html

  order allow,deny
  deny from all
  Options -Indexes -ExecCGI -includes
  AllowOverride Limit Options


# Allow requests for files in document root

  order allow,deny
  allow from all

Listen *:8082
LogLength 10485760
LogLevel Debug
AccessFileName .htaccess






The html file:


 
 
Please enter your name: 
 
 
 







the java program: 

/** 
 * This program is an example from the book "Internet 
 * programming with Java" by Svetlin Nakov. It is freeware. 
 * For more information: http://www.nakov.com/books/inetjava/ 
 */ 
import java.io.*; 
import javax.servlet.*; 
import javax.servlet.http.*; 
 
public class HelloServlet extends HttpServlet { 
public void doGet (HttpServletRequest aRequest, 
HttpServletResponse aResponse) 
throws ServletException, IOException { 
aResponse.setContentType("text/html"); 
ServletOutputStream out = aResponse.getOutputStream(); 
String userName = aRequest.getParameter("user_name"); 
out.println(""); 
out.println(""); 
out.println("\tHello Servlet"); 
out.println(""); 
out.println(""); 
out.println("\tHello, " + userName + ""); 
out.println(""); 
} 
}





Portion of the web.xml file: 


  
 
  servlet1 


  HelloServlet 
   
  
  3
 
   
   
  HelloServlet
  
 
  3   


 

  servlet1
   
 
  /*  

  
 
  servlet1 

  
  /*   
 
 
 





the error_log messages: 

ZSRV_MSG0018: File /www/apachedft/htdocs/HelloServlet does not exist, refeerer: 
http://10.126.2.2:8082/helloform.html
ZSRV_MSG0016: URI in request GET /HelloServlet?user_name=asdasdf HTTP/1.1   is not 
valid, referer: http://10.126.2.2:8082/helloform.html  



the jvmstdout.txt log: 


Starting up StartupThread   
Starting tomcat. Check logs/tomcat.log for error messages   
cannot load servlet name: servlet1: HelloServlet
Library /QSYS.LIB/QHTTPSVR.LIB/QZTCJK.SRVPGM loaded 
Running ... 
End waiting 
Running fine




Sorry for the length of the email, I could not find any other errors anywhere. 

any help is appreciated. 

thanks

Ralph A. Borriello 

[EMAIL PROTECTED]



RE: Tomcat 5.5 In-Memory Session Replication

2004-09-03 Thread Filip Hanik \(lists\)
>I am sure, my question was not very clear regarding security.

that is true, I'm sure you could limit this traffic with configuration on
your OS between your two servers.

set up machines to only access mcast and tcp traffic from certain IPs and
certain ports.

cause the feature you talk about, doesn't exist in Tomcat today

ok, I haven't tested replication on 5.5 yet myself, I've been to busy with
corporate world.
but from what I am reading, is that the replication valve is not issuing the
transfer or session deltas. Maybe something broke...we'll have to check
you do have the replication valve set up in server.xml right?

Filip

-Original Message-
From: Tomcat Newbie [mailto:[EMAIL PROTECTED]
Sent: Friday, September 03, 2004 11:36 PM
To: Tomcat Users List
Subject: RE: Tomcat 5.5 In-Memory Session Replication


Filip,

Thank you for your assistance. You are very helpful as usual.

> Make sure you have multicast enabled. This can be a little tricky if you
run
> on a multihomed host, but you can google it.

OK, that may not be that difficult on a single host, or so I hope. I
tried on Fedora Linux (ifconfig showed multicast enabled, but a route
was missing in my setup):

route add -net 224.0.0.0 netmask 224.0.0.0 dev lo

which now allows me to see servers joining. This roue basically means
that I am not using network, or so they say. :-) (One probably should
stop tomcat instances before changing network settings, since CPU use
shot almost to 100%, as noted in the docs.)


> are you kidding me, there are no "hostile" tomcats, only "friendly" ones.
> (slap yourself on the head if you configure tomcats on the same multicast
> address but you don't want them to be in the same cluster, after a few
> times, you'll have it figured out :)

I am sure, my question was not very clear regarding security. Example, I
use two servers for webhosting. If I understand anything about
multicasting, that would imply that every multicast-able server on the
LAN will be receiving the brodacast? So if there was another Tomcat
instance on the LAN, which happened to have mcastAddress same as my
cluster, would it not receive an invitation to join the cluster?
Apparently, setting TTL would limit the multicast at a router, however I
am not sure if it applies to this situation, when I am dealing basically
with a LAN.

I made some progress in a sense that I can see servers joining. I see
session created on one server and also on another server. Session
attributes do not replicate however (with a default replication filter
and useDirtyFlag=true). Often SessionListener reports the attribute
value of null, but a few times when it actually reported a real value,
it still did not replicate. So I can access app instances on each server
with the same cookie and session information is different.

Ed


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.740 / Virus Database: 494 - Release Date: 8/16/2004

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.740 / Virus Database: 494 - Release Date: 8/16/2004


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



java.io.UTFDataFormatException

2004-09-03 Thread Eugene
Hi, guys! I've discovered that this exception directly depends from
cuantity of retrieved data! If my request doesnt contains so much
information - servlet returns right generated page with any content
(we are using Spanish and English in this case). My cuestion is: how possibly
depends this exception from language used in project and what the
possible cause(s)? Give me some tips, please!

-- 
Best regards,
 Eugenemailto:[EMAIL PROTECTED]


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



RE: Tomcat 5.5 In-Memory Session Replication

2004-09-03 Thread Tomcat Newbie
Filip,

Thank you for your assistance. You are very helpful as usual.

> Make sure you have multicast enabled. This can be a little tricky if you run
> on a multihomed host, but you can google it.

OK, that may not be that difficult on a single host, or so I hope. I
tried on Fedora Linux (ifconfig showed multicast enabled, but a route
was missing in my setup):

route add -net 224.0.0.0 netmask 224.0.0.0 dev lo

which now allows me to see servers joining. This roue basically means
that I am not using network, or so they say. :-) (One probably should
stop tomcat instances before changing network settings, since CPU use
shot almost to 100%, as noted in the docs.)


> are you kidding me, there are no "hostile" tomcats, only "friendly" ones.
> (slap yourself on the head if you configure tomcats on the same multicast
> address but you don't want them to be in the same cluster, after a few
> times, you'll have it figured out :)

I am sure, my question was not very clear regarding security. Example, I
use two servers for webhosting. If I understand anything about
multicasting, that would imply that every multicast-able server on the
LAN will be receiving the brodacast? So if there was another Tomcat
instance on the LAN, which happened to have mcastAddress same as my
cluster, would it not receive an invitation to join the cluster?
Apparently, setting TTL would limit the multicast at a router, however I
am not sure if it applies to this situation, when I am dealing basically
with a LAN.

I made some progress in a sense that I can see servers joining. I see
session created on one server and also on another server. Session
attributes do not replicate however (with a default replication filter
and useDirtyFlag=true). Often SessionListener reports the attribute
value of null, but a few times when it actually reported a real value,
it still did not replicate. So I can access app instances on each server
with the same cookie and session information is different.

Ed


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



Re: Why is Tomcat/Connector Installation So Incredibly Painful??

2004-09-03 Thread John Gentilin
I just built mod_jk, I think it was random luck that I actually got it 
running.  For me, there are two things
that would help out greatly.

1) As always, documentation but in this case, as mod_jk evolves, the 
install docs seems to be notes that
are a diff from the previous rev. It also doesn't help that Apache is 
very version sensitive including the APXS
perl script. I had RH9.0 with at Apache 2.0.40 ( the default install) 
and the version of apxs was incomputable
with the configure script. One item that in the docs that is really 
needed is the section, "How to debug". I still
can't get logging to work

2) simple things (and this exists in Tomcat also) is the deletion of the 
bin (with Ant.jar etc) and the build.sh
and build.bat files.  I don't always install ant on my servers, so the 
extra steps of setting up the class path
just adds to the confusion. If you want to use Ant, then include the 
jars and
the setup, otherwise go back to ./configure and make.

My $0.02
-JG
Peter Alvin wrote:
Don't get me wrong; I love Java; I love Tomcat.
But why is it so 
incredibly painful to install Apache/Tomcat/Connector?  It always 
takes me about two days.  I look forward to it as much as doing my 
federal tax returns.

My 2 cents: This installation process has to get as easy as running a
setup.exe on Windows.  This process also doesn't help the Java cause,
either.  Sorry for whining!
Specifically: Do others feel the same way?  Is anyone addressing this
problem?  Or is it just impossible to come up with a super-easy 
install process because there are so many different 
systems/processors that Linux supports?

Peter Alvin
mobile 719-210-3858




-
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 service on windows

2004-09-03 Thread Big Chiz
anyway, try uninstalling all tomcat on the ad/remove programs. then
clean all registries of any tomcat, by searching them in find in
regedit. then checkout your j2sdk path if its correct, then try
reinstalling.


On Fri, 3 Sep 2004 17:39:19 +0100, Nelson, Jerry W, Contractor 146CF,
SCB <[EMAIL PROTECTED]> wrote:
> Yes...
> 
> //SIGNED//
> 
> Jerry Nelson
> 
> 
> 
> 
> -Original Message-
> From: Allistair Crossley [mailto:[EMAIL PROTECTED]
> Sent: Friday, September 03, 2004 9:20 AM
> To: Tomcat Users List
> Subject: RE: Tomcat 5 service on windows
> 
> did you try my suggestion re: service remove and then service install?
> 
> ADC
> 
> > -Original Message-
> > From: Nelson, Jerry W, Contractor 146CF, SCB
> > [mailto:[EMAIL PROTECTED]
> > Sent: 03 September 2004 17:12
> > To: 'Tomcat Users List'
> > Subject: RE: Tomcat 5 service on windows
> >
> >
> > Yes, ran service.bat completely unmodified.  I still have to
> > run startup.bat
> > to get tomcat to work.
> >
> > //SIGNED//
> >
> > Jerry Nelson
> >
> >
> > -Original Message-
> > From: Allistair Crossley [mailto:[EMAIL PROTECTED]
> > Sent: Friday, September 03, 2004 8:31 AM
> > To: Tomcat Users List
> > Subject: RE: Tomcat 5 service on windows
> >
> >
> > also, you may try removal anyway and reinstall ...
> >
> > service.bat remove
> >
> > and then
> >
> > service.bat install
> >
> > if you checked the box on the install then maybe it _did_ do
> > something that
> > needs to be removed first (wild stab in the dark!)
> >
> > :p
> >
> > ADC
> >
> > > -Original Message-
> > > From: Allistair Crossley
> > > Sent: 03 September 2004 16:28
> > > To: Tomcat Users List
> > > Subject: RE: Tomcat 5 service on windows
> > >
> > >
> > > did you run the service.bat unmodified? this can also happen
> > > when you have spaces in some of the properties for the service name.
> > >
> > > ADC
> > >
> > > > -Original Message-
> > > > From: Nelson, Jerry W, Contractor 146CF, SCB
> > > > [mailto:[EMAIL PROTECTED]
> > > > Sent: 03 September 2004 16:25
> > > > To: 'Tomcat Users List'
> > > > Subject: RE: Tomcat 5 service on windows
> > > >
> > > >
> > > > I HAVE THE SAME PROBLEM...In my case, I am the computer
> > > > administrator and
> > > > Tomcat has NEVER been installed previous to this. I have not
> > > > seen ANY good
> > > > solutions to this, so I learned to live with the DOS
> > based service.
> > > >
> > > > //SIGNED//
> > > >
> > > > Jerry Nelson
> > > >
> > > > -Original Message-
> > > > From: John Villar [mailto:[EMAIL PROTECTED]
> > > > Sent: Friday, September 03, 2004 6:27 AM
> > > > To: Tomcat Users List
> > > > Subject: Re: Tomcat 5 service on windows
> > > >
> > > >
> > > > Do you have permission to write on the registry? you need to
> > > > have write
> > > > access to some key (don't remember specifically what is the
> > > key right
> > > > now) in the registry to install tomcat as a service.
> > > >
> > > > Allistair Crossley escribió:
> > > >
> > > > >did you have a tomcat service installed already? did you
> > > > have the services
> > > > window open when you ran this? try checking there are no
> > > > tomcat services and
> > > > closing the services window and trying again.
> > > > >
> > > > >ADC
> > > > >
> > > > >
> > > > >
> > > > >>-Original Message-
> > > > >>From: Andras Balogh [mailto:[EMAIL PROTECTED]
> > > > >>Sent: 03 September 2004 11:28
> > > > >>To: [EMAIL PROTECTED]
> > > > >>Subject: Tomcat 5 service on windows
> > > > >>
> > > > >>
> > > > >>Hello all,
> > > > >>
> > > > >>I have downloaded the Tomcat 5.0.28. distibution
> > for windows
> > > > >>(jakarta-tomcat-5.0.28.exe) and tried
> > > > >>to install tomcat as service and checked the service
> > > option in the
> > > > >>install wizard.
> > > > >>Tomcat wasn't installed as service and i tried manual with the
> > > > >>service.bat script:
> > > > >>Here is the output i get:
> > > > >>D:\Tomcat 5.0\bin>service install
> > > > >>Installing the service 'Tomcat5' ...
> > > > >>Using CATALINA_HOME:D:\Tomcat 5.0
> > > > >>Using JAVA_HOME:D:\j2sdk1.4.1_05
> > > > >>[2004-09-03 12:09:45] [349  prunsrv.c] [error]
> > > > >>The system cannot find the file specified.
> > > > >>[2004-09-03 12:09:45] [1037 prunsrv.c] [error]
> > > > >>Load configuration failed
> > > > >>[2004-09-03 12:09:45] [349  prunsrv.c] [error]
> > > > >>The system cannot find the file specified.
> > > > >>[2004-09-03 12:09:45] [1037 prunsrv.c] [error]
> > > > >>Load configuration failed
> > > > >>The service 'Tomcat5' has been installed.
> > > > >>
> > > > >>The service is still  not added, i think because of the
> > > > error i have.
> > > > >>As a note i have on the server an older Tomcat 4.1.27
> > > > but is not
> > > > >>running and i modified CATALINA_HOME to point
> > > > >>to the new tomcat (D:\Tomcat 5.0).
> > > > >>
> > > > >>What could be wrong?
> > > > >>
> > > > >>Thank you,
> > > > >>Andras.
> > > > >>
> > > > >>
> > > > >>

RE: Tomcat 5.5 In-Memory Session Replication

2004-09-03 Thread Filip Hanik \(lists\)
also forgot to mention, setting TTL on the multicast will keep the multicast
messages from going all over the place

Filip

-Original Message-
From: Filip Hanik (lists) [mailto:[EMAIL PROTECTED]
Sent: Friday, September 03, 2004 7:53 PM
To: Tomcat Users List
Subject: RE: Tomcat 5.5 In-Memory Session Replication


Make sure you have multicast enabled. This can be a little tricky if you run
on a multihomed host, but you can google it.

>The only thing I see logged is the message:
If it says skipping state transfer, no other members in the cluster,
means that the members haven't discovered each other, this goes back to
making sure your multicasting is working. In the log you will see that
members are joining the cluster when it is working

>What prevents a "hostile" tomcat
>instance from joining the cluster when the cluster

are you kidding me, there are no "hostile" tomcats, only "friendly" ones.
(slap yourself on the head if you configure tomcats on the same multicast
address but you don't want them to be in the same cluster, after a few
times, you'll have it figured out :)

Filip

-Original Message-
From: Tomcat Newbie [mailto:[EMAIL PROTECTED]
Sent: Friday, September 03, 2004 6:27 PM
To: Tomcat Users List
Subject: Tomcat 5.5 In-Memory Session Replication


I know the replication subject has been addressed somewhat for 5.x. I am
trying my first replication setup with two 5.5 servers on the same host.
Each Tomcat instance works just fine by itself.

I followed the configuration notes for Tomcat in the documentation for
in-memory replication, however I do not see any activity in the logs as
far as replication is concerned. The only thing I see logged is the
message:


Sep 3, 2004 6:59:37 PM org.apache.catalina.cluster.session.DeltaManager
start
INFO: Starting clustering manager...:/servlets-examples
Sep 3, 2004 6:59:37 PM org.apache.catalina.cluster.session.DeltaManager
start
INFO: Manager[/servlets-examples], skipping state transfer. No members
active in cluster group.


The two instances are setup with unique tcpListenPort properties. The
application has  in web.xml on both instances. I tried the
setup with both dirtyFlag enabled and disabled.

I even tried to put it behind Apache server proxy to get rid of
localhost:port,
but it has not changed anything. I still see no session replication
activity.
Each instance creates its own sessions and they are not propagated.

Can someone offer some ideas as to how to proceed?

Also, a couple of questions regarding the replication. What prevents a
"hostile" tomcat
instance from joining the cluster when the cluster is configured on multiple
hosts? Is
there any documentation on replication using JDBC--I saw it mentioned, but
no examples or
configuration options.


Thanks,

Ed


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.740 / Virus Database: 494 - Release Date: 8/16/2004

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.740 / Virus Database: 494 - Release Date: 8/16/2004


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.740 / Virus Database: 494 - Release Date: 8/16/2004

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.740 / Virus Database: 494 - Release Date: 8/16/2004


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



RE: Why is Tomcat/Connector Installation So Incredibly Painful??

2004-09-03 Thread Filip Hanik \(lists\)
it can also be as easy as

ProxyPass /mywebapp http://localhost:8080/mywebapp
ProxyPassReverse /mywebapp http://localhost:8080/mywebapp

in httpd.conf if you are using mod_proxy, took me 5 minutes to get tomcat
and apache to play nice together

Filip

-Original Message-
From: Wendy Smoak [mailto:[EMAIL PROTECTED]
Sent: Friday, September 03, 2004 7:06 PM
To: Tomcat Users List
Subject: Re: Why is Tomcat/Connector Installation So Incredibly
Painful??


From: "Peter Alvin" <[EMAIL PROTECTED]>
> Don't get me wrong; I love Java; I love Tomcat.
> But why is it so
> incredibly painful to install Apache/Tomcat/Connector?  It always
> takes me about two days.  I look forward to it as much as doing my
> federal tax returns.

It took two days the first time, now we have really good notes and a
procedure to follow.  I agree, it's complex.  My usual advice is "Getting
Apache and Tomcat to play nicely together is a bit of an art form, but the
good news is that once it's done, it just works and you can largely ignore
it."

It's different on every platform, and then you have things like HP deciding
to relocate the config files every time they release a new version!  So we
have to hunt them down and put them back where we want them so that I can
upgrade to a newer version of Tomcat straight from Jakarta.

OTOH, I don't *like* for things to be done for me, I want to do it myself.

--
Wendy Smoak


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.740 / Virus Database: 494 - Release Date: 8/16/2004

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.740 / Virus Database: 494 - Release Date: 8/16/2004


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



RE: Tomcat 5.5 In-Memory Session Replication

2004-09-03 Thread Filip Hanik \(lists\)
Make sure you have multicast enabled. This can be a little tricky if you run
on a multihomed host, but you can google it.

>The only thing I see logged is the message:
If it says skipping state transfer, no other members in the cluster,
means that the members haven't discovered each other, this goes back to
making sure your multicasting is working. In the log you will see that
members are joining the cluster when it is working

>What prevents a "hostile" tomcat
>instance from joining the cluster when the cluster

are you kidding me, there are no "hostile" tomcats, only "friendly" ones.
(slap yourself on the head if you configure tomcats on the same multicast
address but you don't want them to be in the same cluster, after a few
times, you'll have it figured out :)

Filip

-Original Message-
From: Tomcat Newbie [mailto:[EMAIL PROTECTED]
Sent: Friday, September 03, 2004 6:27 PM
To: Tomcat Users List
Subject: Tomcat 5.5 In-Memory Session Replication


I know the replication subject has been addressed somewhat for 5.x. I am
trying my first replication setup with two 5.5 servers on the same host.
Each Tomcat instance works just fine by itself.

I followed the configuration notes for Tomcat in the documentation for
in-memory replication, however I do not see any activity in the logs as
far as replication is concerned. The only thing I see logged is the
message:


Sep 3, 2004 6:59:37 PM org.apache.catalina.cluster.session.DeltaManager
start
INFO: Starting clustering manager...:/servlets-examples
Sep 3, 2004 6:59:37 PM org.apache.catalina.cluster.session.DeltaManager
start
INFO: Manager[/servlets-examples], skipping state transfer. No members
active in cluster group.


The two instances are setup with unique tcpListenPort properties. The
application has  in web.xml on both instances. I tried the
setup with both dirtyFlag enabled and disabled.

I even tried to put it behind Apache server proxy to get rid of
localhost:port,
but it has not changed anything. I still see no session replication
activity.
Each instance creates its own sessions and they are not propagated.

Can someone offer some ideas as to how to proceed?

Also, a couple of questions regarding the replication. What prevents a
"hostile" tomcat
instance from joining the cluster when the cluster is configured on multiple
hosts? Is
there any documentation on replication using JDBC--I saw it mentioned, but
no examples or
configuration options.


Thanks,

Ed


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.740 / Virus Database: 494 - Release Date: 8/16/2004

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.740 / Virus Database: 494 - Release Date: 8/16/2004


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



Re: Why is Tomcat/Connector Installation So Incredibly Painful??

2004-09-03 Thread Wendy Smoak
From: "Peter Alvin" <[EMAIL PROTECTED]>
> Don't get me wrong; I love Java; I love Tomcat.
> But why is it so
> incredibly painful to install Apache/Tomcat/Connector?  It always
> takes me about two days.  I look forward to it as much as doing my
> federal tax returns.

It took two days the first time, now we have really good notes and a
procedure to follow.  I agree, it's complex.  My usual advice is "Getting
Apache and Tomcat to play nicely together is a bit of an art form, but the
good news is that once it's done, it just works and you can largely ignore
it."

It's different on every platform, and then you have things like HP deciding
to relocate the config files every time they release a new version!  So we
have to hunt them down and put them back where we want them so that I can
upgrade to a newer version of Tomcat straight from Jakarta.

OTOH, I don't *like* for things to be done for me, I want to do it myself.

-- 
Wendy Smoak


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



Re: Configuring Tomcat 5.0.27 for JNDI (with the McKoi Database)

2004-09-03 Thread Peng Tuck Kwok
Perhaps you could also read this here 

http://jakarta.apache.org/tomcat/tomcat-5.5-doc/config/context.html 

to get more details. 


On Fri, 3 Sep 2004 13:07:59 -0700 (PDT), Caroline Jen
<[EMAIL PROTECTED]> wrote:
> Thanks for replying.
> 
> I am building only one webapp.  What does "create a
> proper Context element instead of DefaultContext"
> mean?
> 
> Thanks
> 
> 
> --- "Shapira, Yoav" <[EMAIL PROTECTED]> wrote:
> 
> >
> > Hi,
> > You should put DefaultContext inside a Host.  But if
> > you only have one
> > webapp, create a proper Context element for it
> > instead of
> > DefaultContext.
> >
> > The JDBC driver class name is supplied in your
> > vendor documentation (in
> > this case McKoi).  A common one is
> > com.mckoi.JDBCDriver.
> >
> > The port number is whatever port your database is
> > listening on.  Ask
> > your DBA if you're not sure.
> >
> > Yoav Shapira
> > Millennium Research Informatics
> >
> >
> > >-Original Message-
> > >From: Caroline Jen [mailto:[EMAIL PROTECTED]
> > >Sent: Friday, September 03, 2004 3:09 PM
> > >To: [EMAIL PROTECTED]
> > >Subject: Configuring Tomcat 5.0.27 for JNDI (with
> > the McKoi Database)
> > >
> > >I am sort of stuck with configuring the server.xml
> > >file under the $TOMCAT\conf directory for JNDI.
> > >
> > >For the Tomcat 4.x, I put the following block of
> > code;
> > >i.e.  right after the ending
> > > element and before the ending 
> > >element in the server.xml file.
> > >
> > >However, I do not see the  element in the
> > >Tomcat 5.0.27.  There is the  element,
> > though.
> > >
> > >[code]
> > >
> > >> auth="Container"
> > >   type="javax.sql.DataSource"/>
> > >
> > >  
> > >factory
> > >
> >
> >org.apache.commons.dbcp.BasicDataSourceFactory
> > >  
> > >   
> > > driverClassName
> > > 
> > >   
> > >   
> > > url
> > >
> >
> >jdbc:mckoi://localhost:/databasename?autoReconnect=true > ue>
> > >   
> > >   
> > > username
> > > javauser
> > >   
> > >   
> > > password
> > > javadude
> > >   
> > >   
> > > maxActive
> > > 20
> > >   
> > >   
> > > maxIdle
> > > 30
> > >   
> > >   
> > > maxWait
> > > 1
> > >   
> > >  
> > >
> > removeAbandoned
> > >true
> > >  
> > >  
> > >
> > >removeAbandonedTimeout
> > >60
> > >  
> > >  
> > >logAbandoned
> > >true
> > >  
> > >
> > >  
> > >  
> > >[/code]
> > >
> > >1. Where should I put the  in the
> > >server.xml file?
> > >
> > >2. What is the value I should give to the
> > >driverClassName parameter?
> > >
> > >3. What is the port number I should give to the url
> > >parameter?  i.e.
> >
> >jdbc:mckoi://localhost:/DatabaseName?autoReconnect=true
> > >
> > >
> > >
> > >___
> > >Do you Yahoo!?
> > >Win 1 of 4,000 free domain names from Yahoo! Enter
> > now.
> > >http://promotions.yahoo.com/goldrush
> > >
> >
> >-
> > >To unsubscribe, e-mail:
> > [EMAIL PROTECTED]
> > >For additional commands, e-mail:
> > [EMAIL PROTECTED]
> >
> >
> >
> >
> > 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]
> >
> >
> 
> 
> __
> 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]
> 
>

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



tomcat jsp compile with ant

2004-09-03 Thread David Aleksanyan
Hi,

I'm trying to get Ant to compile everything and NOT stop if there is a jsp
that doesn't compile.

I've got tomcat 4.1.27 and downloaded the latest (current)Ant
I have an app with lots of JSPs.

After I followed the tomcat docs
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jasper-howto.html
I am able to initiate the compile of the whole app. The problem is that some
of the JSPs don't compile with Null Pointer Exception and I get stuck on
those..
Is there a way to set up ant to proceed even though it can't compile
something?

Thanks in advance.

David


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



Why is Tomcat/Connector Installation So Incredibly Painful??

2004-09-03 Thread Peter Alvin
Don't get me wrong; I love Java; I love Tomcat.

But why is it so
incredibly painful to install Apache/Tomcat/Connector?  It always
takes me about two days.  I look forward to it as much as doing my
federal tax returns.

My 2 cents: This installation process has to get as easy as running a
setup.exe on Windows.  This process also doesn't help the Java cause,
either.  Sorry for whining!

Specifically: Do others feel the same way?  Is anyone addressing this
problem?  Or is it just impossible to come up with a super-easy
install process because there are so many different
systems/processors that Linux supports?

Peter Alvin
mobile 719-210-3858









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



Re: Basic installation question - embedded Tomcat for Apache?

2004-09-03 Thread Wendy Smoak
From: <[EMAIL PROTECTED]>
> I need to install Tomcat for Sterling's Connect:Direct Browser User
> Interface.  The release notes list as a requirement "Apache HTTP Server
1.3
> with Tomcat 3.2.3 servlet on HPUX-11.00" (we're running Apache 2.0.43 &
Java
> 1.4, with SSL-client-auth to control access).

Wow, another HP-UX user, I thought I was all alone. :)

Hopefully they mean Tomcat 3.2.3 as a _minimum_ because that's really old!
Hmmm... no, they appear to really want that version:
http://www.sterlingcommerce.com/solutions/connectdirect/unix/ .

Tomcat isn't embedded in Apache, it runs separately and you configure a
connector to allow Apache to hand off requests to Tomcat.  Embedded
generally means within some other application you're writing.

HP has a "depo" distribution of Apache and Tomcat available, we usually
install that and then I drop in a newer version of Tomcat because they
always lag behind.  Last time I checked they're on 4.1.24.

If you _must_, here are the docs for 3.2:
http://jakarta.apache.org/tomcat/tomcat-3.2-doc/index.html
and the files:
http://archive.apache.org/dist/jakarta/tomcat-3/archive/v3.2.3/bin/

But I think I'd try it with HP's distribution of 4.1 first, cross your
fingers and hope that Tomcat is backward compatible enough to run it!  The
first thing you'll run into is that if they didn't package their code, it
won't run on the newer JVM.  If you see an error message complaining about
an import statement, that's why.  I've run into this a few times with
commercial packages.

-- 
Wendy Smoak


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



Basic installation question - embedded Tomcat for Apache?

2004-09-03 Thread simonst
I need to install Tomcat for Sterling's Connect:Direct Browser User
Interface.  The release notes list as a requirement "Apache HTTP Server 1.3
with Tomcat 3.2.3 servlet on HPUX-11.00" (we're running Apache 2.0.43 & Java
1.4, with SSL-client-auth to control access).

I've looked at the docs at http://jakarta.apache.org/tomcat/, but still
can't tell which version of Tomcat I need.  The
jakarta-tomcat-5.0.28-embed.tar.gz package sounds the simplest; I presume it
means embedded in Apache.  Does that mean I won't have to compile the jsvc
to run the Tomcat daemon mentioned in the tomcat-5.0-doc/setup.html?
If the Tomcat daemon is required, must it be started via jsvc?  


This message may contain confidential and/or privileged information.  If you
are not the addressee or authorized to receive this for the addressee, you
must not use, copy, disclose, or take any action based on this message or
any information herein.  If you have received this message in error, please
advise the sender immediately by reply e-mail and delete this message.
Thank you for your cooperation.
 

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



Tomcat 5.5 In-Memory Session Replication

2004-09-03 Thread Tomcat Newbie
I know the replication subject has been addressed somewhat for 5.x. I am
trying my first replication setup with two 5.5 servers on the same host.
Each Tomcat instance works just fine by itself.

I followed the configuration notes for Tomcat in the documentation for
in-memory replication, however I do not see any activity in the logs as
far as replication is concerned. The only thing I see logged is the
message:


Sep 3, 2004 6:59:37 PM org.apache.catalina.cluster.session.DeltaManager start
INFO: Starting clustering manager...:/servlets-examples
Sep 3, 2004 6:59:37 PM org.apache.catalina.cluster.session.DeltaManager start
INFO: Manager[/servlets-examples], skipping state transfer. No members active in 
cluster group.


The two instances are setup with unique tcpListenPort properties. The 
application has  in web.xml on both instances. I tried the 
setup with both dirtyFlag enabled and disabled.

I even tried to put it behind Apache server proxy to get rid of localhost:port, 
but it has not changed anything. I still see no session replication activity. 
Each instance creates its own sessions and they are not propagated.

Can someone offer some ideas as to how to proceed?

Also, a couple of questions regarding the replication. What prevents a "hostile" tomcat
instance from joining the cluster when the cluster is configured on multiple hosts? Is 
there any documentation on replication using JDBC--I saw it mentioned, but no examples 
or
configuration options.


Thanks,

Ed


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



Re: Fatal: relocation error: file libapr-0.so.0: symbol __divdi3: referenced symbol not found

2004-09-03 Thread Jonathan Rengifo
I built the connector and the Apache web server by my self on the
Solaris 9 64 bit box with the source downloaded from the Apache
Project site with succeeding results, when I built the connector I got
the following files mod_jk2.so and jkjni.so and when I built the
Apache release I got the apr library libapr-0.so.0.

Thanks for your time, any suggestion would be welcome

Jonathan



On Fri, 03 Sep 2004 18:31:27 -0400, Wade Chandler
<[EMAIL PROTECTED]> wrote:
> Jonathan Rengifo wrote:
> 
> > I made the test with succesful results, I guess it is a linking
> > problem, but don't know how to solve it..
> >
> >
> > On Fri, 03 Sep 2004 16:18:13 -0400, John Villar
> > <[EMAIL PROTECTED]> wrote:
> >
> >>Try to make a small java test (without tomcat) that use the unix sockets
> >>and see what happens maybe you can debug it and find what/where is
> >>happenning
> >>
> >>Jonathan Rengifo escribió:
> >>
> >>
> >>
> >>
> >>>Hi, all...
> >>>
> >>>My problem is definitive related with the libjkjni.so lib, when I add
> >>>the path of the library to the LD_LIBRARY_PATH I get the error
> >>>message:
> >>>
> >>>ld.so.1: /usr/java/bin/java: fatal: relocation error: file
> >>>/usr/local/apache-httpd-2.0.50/lib/libapr-0.so.0: symbol __divdi3:
> >>>referenced symbol not found
> >>>
> >>>But, when take this path out of the LD_LIBRARY_PATH the error
> >>>disappears, but also disappears the AF_SOCKET support of the
> >>>connector, and got this message:
> >>>
> >>>INFO: APR not loaded, disabling jni components: java.io.IOException:
> >>>java.lang.UnsatisfiedLinkError: no jkjni in java.library.path
> >>>
> >>>Because of this error I did put the libjkjni.so lib on the LD_LIBRARY_PATH...
> >>>
> >>>Any suggestions??
> >>>
> >>>Regards
> >>>Jonathan
> >>>
> >>>
> >>>
> >>>On Fri, 3 Sep 2004 11:50:11 -0400, Jonathan Rengifo <[EMAIL PROTECTED]> wrote:
> >>>
> >>>
> >>>
> Hi, thanks for your very important help..
> 
> I ran the ldd utility on the libapr-0.so.0 lib, with the following results:
> 
> /usr/local/apache-httpd-2.0.50/lib ldd libapr-0.so.0
>    libsendfile.so.1 =>  /usr/lib/libsendfile.so.1
>    librt.so.1 =>/usr/lib/librt.so.1
>    libm.so.1 => /usr/lib/libm.so.1
>    libsocket.so.1 =>/usr/lib/libsocket.so.1
>    libnsl.so.1 =>   /usr/lib/libnsl.so.1
>    libresolv.so.2 =>/usr/lib/libresolv.so.2
>    libpthread.so.1 =>   /usr/lib/libpthread.so.1
>    libdl.so.1 =>/usr/lib/libdl.so.1
>    libc.so.1 => /usr/lib/libc.so.1
>    libaio.so.1 =>   /usr/lib/libaio.so.1
>    libmd5.so.1 =>   /usr/lib/libmd5.so.1
>    libmp.so.2 =>/usr/lib/libmp.so.2
>    libthread.so.1 =>/usr/lib/libthread.so.1
>    /usr/platform/SUNW,Sun-Fire-V210/lib/libc_psr.so.1
>    /usr/platform/SUNW,Sun-Fire-V210/lib/libmd5_psr.so.1
> 
> Then I  those libs for the symbol, and don't find it... What does this mean?
> 
> Thanks ..
> Jonathan
> 
> 
> 
> 
> On Fri, 3 Sep 2004 10:01:01 -0500, QM <[EMAIL PROTECTED]> wrote:
> 
> 
> 
> >On Fri, Sep 03, 2004 at 10:44:13AM -0400, Jonathan Rengifo wrote:
> >: nm /usr/local/apache-httpd-2.0.50/lib/libapr-0.so.0 | grep div
> >: [337]   | 0|   0|FUNC |GLOB |0|UNDEF  |.div
> >: [640]   | 0|   0|FUNC |GLOB |0|UNDEF  |.udiv
> >: [909]   | 0|   0|NOTY |GLOB |0|UNDEF  |__divdi3
> >: [938]   | 0|   0|NOTY |GLOB |0|UNDEF  |__udivdi3
> >:
> >: So it seems that the problem is on the libapr-0.so.0 because there
> >: is the variable "__divdi3" wich is reporting the relocation error
> >
> >What happens when you run ldd on libapr-0.so.0, and skim those libs for
> >the symbol?
> >
> >Note especially any libs that ldd claims it can't find.
> >
> >
> >
> >-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]
> >
> >
> >
> >
> >>>
> >>>-
> >>>To unsubscribe, e-mail: [EMAIL PROTECTED]
> >>>For additional commands, e-mail: [EMAIL PROTECTED]
> >>>
> >>>
> >>>
> >>>
> >>
> >>--
> >>John Villar
> >>Gerente de Proyectos
> >>Computadores Flor Hard Soft 2058 C.A.
> >>www.florhard.com
> >>
> >>
> >>
> >>-
> >>To unsubscribe, e-mail: [EMAIL PROTECTED]
> >>For additional commands, e-mail: [EMAIL PROTECTED]
> >>
> >>
> >
> >
> > -
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional com

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]



Re: Fatal: relocation error: file libapr-0.so.0: symbol __divdi3: referenced symbol not found

2004-09-03 Thread Wade Chandler
Jonathan Rengifo wrote:
I made the test with succesful results, I guess it is a linking
problem, but don't know how to solve it..
On Fri, 03 Sep 2004 16:18:13 -0400, John Villar
<[EMAIL PROTECTED]> wrote:
Try to make a small java test (without tomcat) that use the unix sockets
and see what happens maybe you can debug it and find what/where is
happenning
Jonathan Rengifo escribió:


Hi, all...
My problem is definitive related with the libjkjni.so lib, when I add
the path of the library to the LD_LIBRARY_PATH I get the error
message:
ld.so.1: /usr/java/bin/java: fatal: relocation error: file
/usr/local/apache-httpd-2.0.50/lib/libapr-0.so.0: symbol __divdi3:
referenced symbol not found
But, when take this path out of the LD_LIBRARY_PATH the error
disappears, but also disappears the AF_SOCKET support of the
connector, and got this message:
INFO: APR not loaded, disabling jni components: java.io.IOException:
java.lang.UnsatisfiedLinkError: no jkjni in java.library.path
Because of this error I did put the libjkjni.so lib on the LD_LIBRARY_PATH...
Any suggestions??
Regards
Jonathan

On Fri, 3 Sep 2004 11:50:11 -0400, Jonathan Rengifo <[EMAIL PROTECTED]> wrote:

Hi, thanks for your very important help..
I ran the ldd utility on the libapr-0.so.0 lib, with the following results:
/usr/local/apache-httpd-2.0.50/lib ldd libapr-0.so.0
  libsendfile.so.1 =>  /usr/lib/libsendfile.so.1
  librt.so.1 =>/usr/lib/librt.so.1
  libm.so.1 => /usr/lib/libm.so.1
  libsocket.so.1 =>/usr/lib/libsocket.so.1
  libnsl.so.1 =>   /usr/lib/libnsl.so.1
  libresolv.so.2 =>/usr/lib/libresolv.so.2
  libpthread.so.1 =>   /usr/lib/libpthread.so.1
  libdl.so.1 =>/usr/lib/libdl.so.1
  libc.so.1 => /usr/lib/libc.so.1
  libaio.so.1 =>   /usr/lib/libaio.so.1
  libmd5.so.1 =>   /usr/lib/libmd5.so.1
  libmp.so.2 =>/usr/lib/libmp.so.2
  libthread.so.1 =>/usr/lib/libthread.so.1
  /usr/platform/SUNW,Sun-Fire-V210/lib/libc_psr.so.1
  /usr/platform/SUNW,Sun-Fire-V210/lib/libmd5_psr.so.1
Then I  those libs for the symbol, and don't find it... What does this mean?
Thanks ..
Jonathan

On Fri, 3 Sep 2004 10:01:01 -0500, QM <[EMAIL PROTECTED]> wrote:

On Fri, Sep 03, 2004 at 10:44:13AM -0400, Jonathan Rengifo wrote:
: nm /usr/local/apache-httpd-2.0.50/lib/libapr-0.so.0 | grep div
: [337]   | 0|   0|FUNC |GLOB |0|UNDEF  |.div
: [640]   | 0|   0|FUNC |GLOB |0|UNDEF  |.udiv
: [909]   | 0|   0|NOTY |GLOB |0|UNDEF  |__divdi3
: [938]   | 0|   0|NOTY |GLOB |0|UNDEF  |__udivdi3
:
: So it seems that the problem is on the libapr-0.so.0 because there
: is the variable "__divdi3" wich is reporting the relocation error
What happens when you run ldd on libapr-0.so.0, and skim those libs for
the symbol?
Note especially any libs that ldd claims it can't find.

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


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


--
John Villar
Gerente de Proyectos
Computadores Flor Hard Soft 2058 C.A.
www.florhard.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]

Are you building the .so youself, or did you get a binary from someone else?
Wade
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: Fatal: relocation error: file libapr-0.so.0: symbol __divdi3: referenced symbol not found

2004-09-03 Thread Jonathan Rengifo
I am really worry about speed, we have a very accessed news server and
speed was my really problem, but if you say its ok maybe I don't have
nothing to worry about.

Thanks for your time and attention

Regards 
Jonathan


On Fri, 03 Sep 2004 17:28:43 -0400, John Villar
<[EMAIL PROTECTED]> wrote:
> Well, maybe using TCP sockets will solve the problem, and worrying about
> using TCP on a production enviroment isn't a real issue, what do you
> think the vast mayority off production enviroments are using nowadays?
> ;-) also, if your problem is security, IPSec does the trick.
> just evaluate the pros and cons of using TCP sockets versus Unix sockets
> and you'll have the answer, TCP also gives you portability think
> seriously about it
> 
> Jonathan Rengifo escribió:
> 
> 
> 
> >I guess you are right, maybe there is a problem I can't definitive
> >handle, but I am worry about having this connector working via TCP
> >socket on production, because I guess this is not the better
> >configuration. Do you have experience working like this on a
> >production scenario?
> >
> >I am very thankful for you help, any other comments from you all is welcome...
> >
> >Regards
> >Jonathan
> >
> >
> >On Fri, 03 Sep 2004 17:02:37 -0400, John Villar
> ><[EMAIL PROTECTED]> wrote:
> >
> >
> >>I remember an issue i was having with JNI where the Hotspot compiler and
> >>the JVM should have a proper directory structure, it was something like
> >>having a "client" and "server" directory could be that
> >>however... i think your main problem is that Solaris 9 has a broken lib
> >>that tomcat relies on :-(
> >>
> >>Jonathan Rengifo escribió:
> >>
> >>
> >>
> >>
> >>
> >>>I've already setup the CATALINA_HOME and TOMCAT_HOME path variables
> >>>
> >>>Any other suggestion? :'(
> >>>
> >>>Regards
> >>>Jonathan
> >>>
> >>>
> >>>On Fri, 03 Sep 2004 16:54:36 -0400, John Villar
> >>><[EMAIL PROTECTED]> wrote:
> >>>
> >>>
> >>>
> >>>
> Maybe its because of the tomcat classpath, remember it doesn't use the
> system wide classpath, but its own  ;-)
> 
> Jonathan Rengifo escribió:
> 
> 
> 
> 
> 
> 
> 
> >I made the test with succesful results, I guess it is a linking
> >problem, but don't know how to solve it..
> >
> >
> >On Fri, 03 Sep 2004 16:18:13 -0400, John Villar
> ><[EMAIL PROTECTED]> wrote:
> >
> >
> >
> >
> >
> >
> >>Try to make a small java test (without tomcat) that use the unix sockets
> >>and see what happens maybe you can debug it and find what/where is
> >>happenning
> >>
> >>Jonathan Rengifo escribió:
> >>
> >>
> >>
> >>
> >>
> >>
> >>
> >>
> >>
> >>>Hi, all...
> >>>
> >>>My problem is definitive related with the libjkjni.so lib, when I add
> >>>the path of the library to the LD_LIBRARY_PATH I get the error
> >>>message:
> >>>
> >>>ld.so.1: /usr/java/bin/java: fatal: relocation error: file
> >>>/usr/local/apache-httpd-2.0.50/lib/libapr-0.so.0: symbol __divdi3:
> >>>referenced symbol not found
> >>>
> >>>But, when take this path out of the LD_LIBRARY_PATH the error
> >>>disappears, but also disappears the AF_SOCKET support of the
> >>>connector, and got this message:
> >>>
> >>>INFO: APR not loaded, disabling jni components: java.io.IOException:
> >>>java.lang.UnsatisfiedLinkError: no jkjni in java.library.path
> >>>
> >>>Because of this error I did put the libjkjni.so lib on the LD_LIBRARY_PATH...
> >>>
> >>>Any suggestions??
> >>>
> >>>Regards
> >>>Jonathan
> >>>
> >>>
> >>>
> >>>On Fri, 3 Sep 2004 11:50:11 -0400, Jonathan Rengifo <[EMAIL PROTECTED]> wrote:
> >>>
> >>>
> >>>
> >>>
> >>>
> >>>
> >>>
> >>>
> Hi, thanks for your very important help..
> 
> I ran the ldd utility on the libapr-0.so.0 lib, with the following results:
> 
> /usr/local/apache-httpd-2.0.50/lib ldd libapr-0.so.0
>  libsendfile.so.1 =>  /usr/lib/libsendfile.so.1
>  librt.so.1 =>/usr/lib/librt.so.1
>  libm.so.1 => /usr/lib/libm.so.1
>  libsocket.so.1 =>/usr/lib/libsocket.so.1
>  libnsl.so.1 =>   /usr/lib/libnsl.so.1
>  libresolv.so.2 =>/usr/lib/libresolv.so.2
>  libpthread.so.1 =>   /usr/lib/libpthread.so.1
>  libdl.so.1 =>/usr/lib/libdl.so.1
>  libc.so.1 => /usr/lib/libc.so.1
>  libaio.so.1 =>   /usr/lib/libaio.so.1
>  libmd5.so.1 =>   /usr/lib/libmd5.so.1
>  libmp.so.2 =>/usr/lib/libmp.so.2
>  libthread.so.1 =>/usr/lib/libthread.so.1
>  /usr/platform/SUNW,Sun-Fire-V210/lib/libc_psr.so.1
>  /usr/platform/SUNW,Sun-Fire-V210/lib/libmd5_psr.so.1
> 
> Then I  t

Re: Fatal: relocation error: file libapr-0.so.0: symbol __divdi3: referenced symbol not found

2004-09-03 Thread John Villar
Well, maybe using TCP sockets will solve the problem, and worrying about 
using TCP on a production enviroment isn't a real issue, what do you 
think the vast mayority off production enviroments are using nowadays? 
;-) also, if your problem is security, IPSec does the trick. 
just evaluate the pros and cons of using TCP sockets versus Unix sockets 
and you'll have the answer, TCP also gives you portability think 
seriously about it

Jonathan Rengifo escribió:
I guess you are right, maybe there is a problem I can't definitive
handle, but I am worry about having this connector working via TCP
socket on production, because I guess this is not the better
configuration. Do you have experience working like this on a
production scenario?
I am very thankful for you help, any other comments from you all is welcome...
Regards 
Jonathan

On Fri, 03 Sep 2004 17:02:37 -0400, John Villar
<[EMAIL PROTECTED]> wrote:
 

I remember an issue i was having with JNI where the Hotspot compiler and
the JVM should have a proper directory structure, it was something like
having a "client" and "server" directory could be that
however... i think your main problem is that Solaris 9 has a broken lib
that tomcat relies on :-(
Jonathan Rengifo escribió:

   

I've already setup the CATALINA_HOME and TOMCAT_HOME path variables
Any other suggestion? :'(
Regards
Jonathan
On Fri, 03 Sep 2004 16:54:36 -0400, John Villar
<[EMAIL PROTECTED]> wrote:
 

Maybe its because of the tomcat classpath, remember it doesn't use the
system wide classpath, but its own  ;-)
Jonathan Rengifo escribió:


   

I made the test with succesful results, I guess it is a linking
problem, but don't know how to solve it..
On Fri, 03 Sep 2004 16:18:13 -0400, John Villar
<[EMAIL PROTECTED]> wrote:

 

Try to make a small java test (without tomcat) that use the unix sockets
and see what happens maybe you can debug it and find what/where is
happenning
Jonathan Rengifo escribió:



   

Hi, all...
My problem is definitive related with the libjkjni.so lib, when I add
the path of the library to the LD_LIBRARY_PATH I get the error
message:
ld.so.1: /usr/java/bin/java: fatal: relocation error: file
/usr/local/apache-httpd-2.0.50/lib/libapr-0.so.0: symbol __divdi3:
referenced symbol not found
But, when take this path out of the LD_LIBRARY_PATH the error
disappears, but also disappears the AF_SOCKET support of the
connector, and got this message:
INFO: APR not loaded, disabling jni components: java.io.IOException:
java.lang.UnsatisfiedLinkError: no jkjni in java.library.path
Because of this error I did put the libjkjni.so lib on the LD_LIBRARY_PATH...
Any suggestions??
Regards
Jonathan

On Fri, 3 Sep 2004 11:50:11 -0400, Jonathan Rengifo <[EMAIL PROTECTED]> wrote:


 

Hi, thanks for your very important help..
I ran the ldd utility on the libapr-0.so.0 lib, with the following results:
/usr/local/apache-httpd-2.0.50/lib ldd libapr-0.so.0
libsendfile.so.1 =>  /usr/lib/libsendfile.so.1
librt.so.1 =>/usr/lib/librt.so.1
libm.so.1 => /usr/lib/libm.so.1
libsocket.so.1 =>/usr/lib/libsocket.so.1
libnsl.so.1 =>   /usr/lib/libnsl.so.1
libresolv.so.2 =>/usr/lib/libresolv.so.2
libpthread.so.1 =>   /usr/lib/libpthread.so.1
libdl.so.1 =>/usr/lib/libdl.so.1
libc.so.1 => /usr/lib/libc.so.1
libaio.so.1 =>   /usr/lib/libaio.so.1
libmd5.so.1 =>   /usr/lib/libmd5.so.1
libmp.so.2 =>/usr/lib/libmp.so.2
libthread.so.1 =>/usr/lib/libthread.so.1
/usr/platform/SUNW,Sun-Fire-V210/lib/libc_psr.so.1
/usr/platform/SUNW,Sun-Fire-V210/lib/libmd5_psr.so.1
Then I  those libs for the symbol, and don't find it... What does this mean?
Thanks ..
Jonathan

On Fri, 3 Sep 2004 10:01:01 -0500, QM <[EMAIL PROTECTED]> wrote:


   

On Fri, Sep 03, 2004 at 10:44:13AM -0400, Jonathan Rengifo wrote:
: nm /usr/local/apache-httpd-2.0.50/lib/libapr-0.so.0 | grep div
: [337]   | 0|   0|FUNC |GLOB |0|UNDEF  |.div
: [640]   | 0|   0|FUNC |GLOB |0|UNDEF  |.udiv
: [909]   | 0|   0|NOTY |GLOB |0|UNDEF  |__divdi3
: [938]   | 0|   0|NOTY |GLOB |0|UNDEF  |__udivdi3
:
: So it seems that the problem is on the libapr-0.so.0 because there
: is the variable "__divdi3" wich is reporting the relocation error
What happens when you run ldd on libapr-0.so.0, and skim those libs for
the symbol?
Note especially any libs that ldd claims it can't find.

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



 

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



   

Re: Fatal: relocation error: file libapr-0.so.0: symbol __divdi3: referenced symbol not found

2004-09-03 Thread Jonathan Rengifo
I guess you are right, maybe there is a problem I can't definitive
handle, but I am worry about having this connector working via TCP
socket on production, because I guess this is not the better
configuration. Do you have experience working like this on a
production scenario?

I am very thankful for you help, any other comments from you all is welcome...

Regards 
Jonathan


On Fri, 03 Sep 2004 17:02:37 -0400, John Villar
<[EMAIL PROTECTED]> wrote:
> I remember an issue i was having with JNI where the Hotspot compiler and
> the JVM should have a proper directory structure, it was something like
> having a "client" and "server" directory could be that
> however... i think your main problem is that Solaris 9 has a broken lib
> that tomcat relies on :-(
> 
> Jonathan Rengifo escribió:
> 
> 
> 
> >I've already setup the CATALINA_HOME and TOMCAT_HOME path variables
> >
> >Any other suggestion? :'(
> >
> >Regards
> >Jonathan
> >
> >
> >On Fri, 03 Sep 2004 16:54:36 -0400, John Villar
> ><[EMAIL PROTECTED]> wrote:
> >
> >
> >>Maybe its because of the tomcat classpath, remember it doesn't use the
> >>system wide classpath, but its own  ;-)
> >>
> >>Jonathan Rengifo escribió:
> >>
> >>
> >>
> >>
> >>
> >>>I made the test with succesful results, I guess it is a linking
> >>>problem, but don't know how to solve it..
> >>>
> >>>
> >>>On Fri, 03 Sep 2004 16:18:13 -0400, John Villar
> >>><[EMAIL PROTECTED]> wrote:
> >>>
> >>>
> >>>
> >>>
> Try to make a small java test (without tomcat) that use the unix sockets
> and see what happens maybe you can debug it and find what/where is
> happenning
> 
> Jonathan Rengifo escribió:
> 
> 
> 
> 
> 
> 
> 
> >Hi, all...
> >
> >My problem is definitive related with the libjkjni.so lib, when I add
> >the path of the library to the LD_LIBRARY_PATH I get the error
> >message:
> >
> >ld.so.1: /usr/java/bin/java: fatal: relocation error: file
> >/usr/local/apache-httpd-2.0.50/lib/libapr-0.so.0: symbol __divdi3:
> >referenced symbol not found
> >
> >But, when take this path out of the LD_LIBRARY_PATH the error
> >disappears, but also disappears the AF_SOCKET support of the
> >connector, and got this message:
> >
> >INFO: APR not loaded, disabling jni components: java.io.IOException:
> >java.lang.UnsatisfiedLinkError: no jkjni in java.library.path
> >
> >Because of this error I did put the libjkjni.so lib on the LD_LIBRARY_PATH...
> >
> >Any suggestions??
> >
> >Regards
> >Jonathan
> >
> >
> >
> >On Fri, 3 Sep 2004 11:50:11 -0400, Jonathan Rengifo <[EMAIL PROTECTED]> wrote:
> >
> >
> >
> >
> >
> >
> >>Hi, thanks for your very important help..
> >>
> >>I ran the ldd utility on the libapr-0.so.0 lib, with the following results:
> >>
> >>/usr/local/apache-httpd-2.0.50/lib ldd libapr-0.so.0
> >>  libsendfile.so.1 =>  /usr/lib/libsendfile.so.1
> >>  librt.so.1 =>/usr/lib/librt.so.1
> >>  libm.so.1 => /usr/lib/libm.so.1
> >>  libsocket.so.1 =>/usr/lib/libsocket.so.1
> >>  libnsl.so.1 =>   /usr/lib/libnsl.so.1
> >>  libresolv.so.2 =>/usr/lib/libresolv.so.2
> >>  libpthread.so.1 =>   /usr/lib/libpthread.so.1
> >>  libdl.so.1 =>/usr/lib/libdl.so.1
> >>  libc.so.1 => /usr/lib/libc.so.1
> >>  libaio.so.1 =>   /usr/lib/libaio.so.1
> >>  libmd5.so.1 =>   /usr/lib/libmd5.so.1
> >>  libmp.so.2 =>/usr/lib/libmp.so.2
> >>  libthread.so.1 =>/usr/lib/libthread.so.1
> >>  /usr/platform/SUNW,Sun-Fire-V210/lib/libc_psr.so.1
> >>  /usr/platform/SUNW,Sun-Fire-V210/lib/libmd5_psr.so.1
> >>
> >>Then I  those libs for the symbol, and don't find it... What does this mean?
> >>
> >>Thanks ..
> >>Jonathan
> >>
> >>
> >>
> >>
> >>On Fri, 3 Sep 2004 10:01:01 -0500, QM <[EMAIL PROTECTED]> wrote:
> >>
> >>
> >>
> >>
> >>
> >>
> >>>On Fri, Sep 03, 2004 at 10:44:13AM -0400, Jonathan Rengifo wrote:
> >>>: nm /usr/local/apache-httpd-2.0.50/lib/libapr-0.so.0 | grep div
> >>>: [337]   | 0|   0|FUNC |GLOB |0|UNDEF  |.div
> >>>: [640]   | 0|   0|FUNC |GLOB |0|UNDEF  |.udiv
> >>>: [909]   | 0|   0|NOTY |GLOB |0|UNDEF  |__divdi3
> >>>: [938]   | 0|   0|NOTY |GLOB |0|UNDEF  |__udivdi3
> >>>:
> >>>: So it seems that the problem is on the libapr-0.so.0 because there
> >>>: is the variable "__divdi3" wich is reporting the relocation error
> >>>
> >>>What happens when you run ldd on libapr-0.so.0, and skim those libs for
> >>>the symbol?
> >>>
> >>>Note especially any libs that ldd claims it can't find.
> >>>
> >>>
> >>>
> >>>-QM
> >>>
> >

Re: Fatal: relocation error: file libapr-0.so.0: symbol __divdi3: referenced symbol not found

2004-09-03 Thread John Villar
I remember an issue i was having with JNI where the Hotspot compiler and 
the JVM should have a proper directory structure, it was something like 
having a "client" and "server" directory could be that 
however... i think your main problem is that Solaris 9 has a broken lib 
that tomcat relies on :-(

Jonathan Rengifo escribió:
I've already setup the CATALINA_HOME and TOMCAT_HOME path variables
Any other suggestion? :'(
Regards 
Jonathan

On Fri, 03 Sep 2004 16:54:36 -0400, John Villar
<[EMAIL PROTECTED]> wrote:
 

Maybe its because of the tomcat classpath, remember it doesn't use the
system wide classpath, but its own  ;-)
Jonathan Rengifo escribió:

   

I made the test with succesful results, I guess it is a linking
problem, but don't know how to solve it..
On Fri, 03 Sep 2004 16:18:13 -0400, John Villar
<[EMAIL PROTECTED]> wrote:
 

Try to make a small java test (without tomcat) that use the unix sockets
and see what happens maybe you can debug it and find what/where is
happenning
Jonathan Rengifo escribió:


   

Hi, all...
My problem is definitive related with the libjkjni.so lib, when I add
the path of the library to the LD_LIBRARY_PATH I get the error
message:
ld.so.1: /usr/java/bin/java: fatal: relocation error: file
/usr/local/apache-httpd-2.0.50/lib/libapr-0.so.0: symbol __divdi3:
referenced symbol not found
But, when take this path out of the LD_LIBRARY_PATH the error
disappears, but also disappears the AF_SOCKET support of the
connector, and got this message:
INFO: APR not loaded, disabling jni components: java.io.IOException:
java.lang.UnsatisfiedLinkError: no jkjni in java.library.path
Because of this error I did put the libjkjni.so lib on the LD_LIBRARY_PATH...
Any suggestions??
Regards
Jonathan

On Fri, 3 Sep 2004 11:50:11 -0400, Jonathan Rengifo <[EMAIL PROTECTED]> wrote:

 

Hi, thanks for your very important help..
I ran the ldd utility on the libapr-0.so.0 lib, with the following results:
/usr/local/apache-httpd-2.0.50/lib ldd libapr-0.so.0
 libsendfile.so.1 =>  /usr/lib/libsendfile.so.1
 librt.so.1 =>/usr/lib/librt.so.1
 libm.so.1 => /usr/lib/libm.so.1
 libsocket.so.1 =>/usr/lib/libsocket.so.1
 libnsl.so.1 =>   /usr/lib/libnsl.so.1
 libresolv.so.2 =>/usr/lib/libresolv.so.2
 libpthread.so.1 =>   /usr/lib/libpthread.so.1
 libdl.so.1 =>/usr/lib/libdl.so.1
 libc.so.1 => /usr/lib/libc.so.1
 libaio.so.1 =>   /usr/lib/libaio.so.1
 libmd5.so.1 =>   /usr/lib/libmd5.so.1
 libmp.so.2 =>/usr/lib/libmp.so.2
 libthread.so.1 =>/usr/lib/libthread.so.1
 /usr/platform/SUNW,Sun-Fire-V210/lib/libc_psr.so.1
 /usr/platform/SUNW,Sun-Fire-V210/lib/libmd5_psr.so.1
Then I  those libs for the symbol, and don't find it... What does this mean?
Thanks ..
Jonathan

On Fri, 3 Sep 2004 10:01:01 -0500, QM <[EMAIL PROTECTED]> wrote:

   

On Fri, Sep 03, 2004 at 10:44:13AM -0400, Jonathan Rengifo wrote:
: nm /usr/local/apache-httpd-2.0.50/lib/libapr-0.so.0 | grep div
: [337]   | 0|   0|FUNC |GLOB |0|UNDEF  |.div
: [640]   | 0|   0|FUNC |GLOB |0|UNDEF  |.udiv
: [909]   | 0|   0|NOTY |GLOB |0|UNDEF  |__divdi3
: [938]   | 0|   0|NOTY |GLOB |0|UNDEF  |__udivdi3
:
: So it seems that the problem is on the libapr-0.so.0 because there
: is the variable "__divdi3" wich is reporting the relocation error
What happens when you run ldd on libapr-0.so.0, and skim those libs for
the symbol?
Note especially any libs that ldd claims it can't find.

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


 

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


 

--
John Villar
Gerente de Proyectos
Computadores Flor Hard Soft 2058 C.A.
www.florhard.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]


 

--
John Villar
Gerente de Proyectos
Computadores Flor Hard Soft 2058 C.A.
www.florhard.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]

 

--
John Villar
Gerente de Proyectos
Computadores Flor Hard Soft 2058 C.A.
www.flo

Re: Fatal: relocation error: file libapr-0.so.0: symbol __divdi3: referenced symbol not found

2004-09-03 Thread Jonathan Rengifo
I've already setup the CATALINA_HOME and TOMCAT_HOME path variables

Any other suggestion? :'(

Regards 
Jonathan


On Fri, 03 Sep 2004 16:54:36 -0400, John Villar
<[EMAIL PROTECTED]> wrote:
> Maybe its because of the tomcat classpath, remember it doesn't use the
> system wide classpath, but its own  ;-)
> 
> Jonathan Rengifo escribió:
> 
> 
> 
> >I made the test with succesful results, I guess it is a linking
> >problem, but don't know how to solve it..
> >
> >
> >On Fri, 03 Sep 2004 16:18:13 -0400, John Villar
> ><[EMAIL PROTECTED]> wrote:
> >
> >
> >>Try to make a small java test (without tomcat) that use the unix sockets
> >>and see what happens maybe you can debug it and find what/where is
> >>happenning
> >>
> >>Jonathan Rengifo escribió:
> >>
> >>
> >>
> >>
> >>
> >>>Hi, all...
> >>>
> >>>My problem is definitive related with the libjkjni.so lib, when I add
> >>>the path of the library to the LD_LIBRARY_PATH I get the error
> >>>message:
> >>>
> >>>ld.so.1: /usr/java/bin/java: fatal: relocation error: file
> >>>/usr/local/apache-httpd-2.0.50/lib/libapr-0.so.0: symbol __divdi3:
> >>>referenced symbol not found
> >>>
> >>>But, when take this path out of the LD_LIBRARY_PATH the error
> >>>disappears, but also disappears the AF_SOCKET support of the
> >>>connector, and got this message:
> >>>
> >>>INFO: APR not loaded, disabling jni components: java.io.IOException:
> >>>java.lang.UnsatisfiedLinkError: no jkjni in java.library.path
> >>>
> >>>Because of this error I did put the libjkjni.so lib on the LD_LIBRARY_PATH...
> >>>
> >>>Any suggestions??
> >>>
> >>>Regards
> >>>Jonathan
> >>>
> >>>
> >>>
> >>>On Fri, 3 Sep 2004 11:50:11 -0400, Jonathan Rengifo <[EMAIL PROTECTED]> wrote:
> >>>
> >>>
> >>>
> >>>
> Hi, thanks for your very important help..
> 
> I ran the ldd utility on the libapr-0.so.0 lib, with the following results:
> 
> /usr/local/apache-httpd-2.0.50/lib ldd libapr-0.so.0
>    libsendfile.so.1 =>  /usr/lib/libsendfile.so.1
>    librt.so.1 =>/usr/lib/librt.so.1
>    libm.so.1 => /usr/lib/libm.so.1
>    libsocket.so.1 =>/usr/lib/libsocket.so.1
>    libnsl.so.1 =>   /usr/lib/libnsl.so.1
>    libresolv.so.2 =>/usr/lib/libresolv.so.2
>    libpthread.so.1 =>   /usr/lib/libpthread.so.1
>    libdl.so.1 =>/usr/lib/libdl.so.1
>    libc.so.1 => /usr/lib/libc.so.1
>    libaio.so.1 =>   /usr/lib/libaio.so.1
>    libmd5.so.1 =>   /usr/lib/libmd5.so.1
>    libmp.so.2 =>/usr/lib/libmp.so.2
>    libthread.so.1 =>/usr/lib/libthread.so.1
>    /usr/platform/SUNW,Sun-Fire-V210/lib/libc_psr.so.1
>    /usr/platform/SUNW,Sun-Fire-V210/lib/libmd5_psr.so.1
> 
> Then I  those libs for the symbol, and don't find it... What does this mean?
> 
> Thanks ..
> Jonathan
> 
> 
> 
> 
> On Fri, 3 Sep 2004 10:01:01 -0500, QM <[EMAIL PROTECTED]> wrote:
> 
> 
> 
> 
> >On Fri, Sep 03, 2004 at 10:44:13AM -0400, Jonathan Rengifo wrote:
> >: nm /usr/local/apache-httpd-2.0.50/lib/libapr-0.so.0 | grep div
> >: [337]   | 0|   0|FUNC |GLOB |0|UNDEF  |.div
> >: [640]   | 0|   0|FUNC |GLOB |0|UNDEF  |.udiv
> >: [909]   | 0|   0|NOTY |GLOB |0|UNDEF  |__divdi3
> >: [938]   | 0|   0|NOTY |GLOB |0|UNDEF  |__udivdi3
> >:
> >: So it seems that the problem is on the libapr-0.so.0 because there
> >: is the variable "__divdi3" wich is reporting the relocation error
> >
> >What happens when you run ldd on libapr-0.so.0, and skim those libs for
> >the symbol?
> >
> >Note especially any libs that ldd claims it can't find.
> >
> >
> >
> >-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]
> >
> >
> >
> >
> >
> >
> >>>-
> >>>To unsubscribe, e-mail: [EMAIL PROTECTED]
> >>>For additional commands, e-mail: [EMAIL PROTECTED]
> >>>
> >>>
> >>>
> >>>
> >>>
> >>>
> >>--
> >>John Villar
> >>Gerente de Proyectos
> >>Computadores Flor Hard Soft 2058 C.A.
> >>www.florhard.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]
> >
> >
> >
> >
> >
> 
> --
> John Villar
> Gerente de Proyectos
> Com

Re: Fatal: relocation error: file libapr-0.so.0: symbol __divdi3: referenced symbol not found

2004-09-03 Thread John Villar
Maybe its because of the tomcat classpath, remember it doesn't use the 
system wide classpath, but its own  ;-)

Jonathan Rengifo escribió:
I made the test with succesful results, I guess it is a linking
problem, but don't know how to solve it..
On Fri, 03 Sep 2004 16:18:13 -0400, John Villar
<[EMAIL PROTECTED]> wrote:
 

Try to make a small java test (without tomcat) that use the unix sockets
and see what happens maybe you can debug it and find what/where is
happenning
Jonathan Rengifo escribió:

   

Hi, all...
My problem is definitive related with the libjkjni.so lib, when I add
the path of the library to the LD_LIBRARY_PATH I get the error
message:
ld.so.1: /usr/java/bin/java: fatal: relocation error: file
/usr/local/apache-httpd-2.0.50/lib/libapr-0.so.0: symbol __divdi3:
referenced symbol not found
But, when take this path out of the LD_LIBRARY_PATH the error
disappears, but also disappears the AF_SOCKET support of the
connector, and got this message:
INFO: APR not loaded, disabling jni components: java.io.IOException:
java.lang.UnsatisfiedLinkError: no jkjni in java.library.path
Because of this error I did put the libjkjni.so lib on the LD_LIBRARY_PATH...
Any suggestions??
Regards
Jonathan

On Fri, 3 Sep 2004 11:50:11 -0400, Jonathan Rengifo <[EMAIL PROTECTED]> wrote:
 

Hi, thanks for your very important help..
I ran the ldd utility on the libapr-0.so.0 lib, with the following results:
/usr/local/apache-httpd-2.0.50/lib ldd libapr-0.so.0
  libsendfile.so.1 =>  /usr/lib/libsendfile.so.1
  librt.so.1 =>/usr/lib/librt.so.1
  libm.so.1 => /usr/lib/libm.so.1
  libsocket.so.1 =>/usr/lib/libsocket.so.1
  libnsl.so.1 =>   /usr/lib/libnsl.so.1
  libresolv.so.2 =>/usr/lib/libresolv.so.2
  libpthread.so.1 =>   /usr/lib/libpthread.so.1
  libdl.so.1 =>/usr/lib/libdl.so.1
  libc.so.1 => /usr/lib/libc.so.1
  libaio.so.1 =>   /usr/lib/libaio.so.1
  libmd5.so.1 =>   /usr/lib/libmd5.so.1
  libmp.so.2 =>/usr/lib/libmp.so.2
  libthread.so.1 =>/usr/lib/libthread.so.1
  /usr/platform/SUNW,Sun-Fire-V210/lib/libc_psr.so.1
  /usr/platform/SUNW,Sun-Fire-V210/lib/libmd5_psr.so.1
Then I  those libs for the symbol, and don't find it... What does this mean?
Thanks ..
Jonathan

On Fri, 3 Sep 2004 10:01:01 -0500, QM <[EMAIL PROTECTED]> wrote:
   

On Fri, Sep 03, 2004 at 10:44:13AM -0400, Jonathan Rengifo wrote:
: nm /usr/local/apache-httpd-2.0.50/lib/libapr-0.so.0 | grep div
: [337]   | 0|   0|FUNC |GLOB |0|UNDEF  |.div
: [640]   | 0|   0|FUNC |GLOB |0|UNDEF  |.udiv
: [909]   | 0|   0|NOTY |GLOB |0|UNDEF  |__divdi3
: [938]   | 0|   0|NOTY |GLOB |0|UNDEF  |__udivdi3
:
: So it seems that the problem is on the libapr-0.so.0 because there
: is the variable "__divdi3" wich is reporting the relocation error
What happens when you run ldd on libapr-0.so.0, and skim those libs for
the symbol?
Note especially any libs that ldd claims it can't find.

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

 

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

 

--
John Villar
Gerente de Proyectos
Computadores Flor Hard Soft 2058 C.A.
www.florhard.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]

 

--
John Villar
Gerente de Proyectos
Computadores Flor Hard Soft 2058 C.A.
www.florhard.com

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

Re: Fatal: relocation error: file libapr-0.so.0: symbol __divdi3: referenced symbol not found

2004-09-03 Thread Jonathan Rengifo
I made the test with succesful results, I guess it is a linking
problem, but don't know how to solve it..


On Fri, 03 Sep 2004 16:18:13 -0400, John Villar
<[EMAIL PROTECTED]> wrote:
> Try to make a small java test (without tomcat) that use the unix sockets
> and see what happens maybe you can debug it and find what/where is
> happenning
> 
> Jonathan Rengifo escribió:
> 
> 
> 
> >Hi, all...
> >
> >My problem is definitive related with the libjkjni.so lib, when I add
> >the path of the library to the LD_LIBRARY_PATH I get the error
> >message:
> >
> >ld.so.1: /usr/java/bin/java: fatal: relocation error: file
> >/usr/local/apache-httpd-2.0.50/lib/libapr-0.so.0: symbol __divdi3:
> >referenced symbol not found
> >
> >But, when take this path out of the LD_LIBRARY_PATH the error
> >disappears, but also disappears the AF_SOCKET support of the
> >connector, and got this message:
> >
> >INFO: APR not loaded, disabling jni components: java.io.IOException:
> >java.lang.UnsatisfiedLinkError: no jkjni in java.library.path
> >
> >Because of this error I did put the libjkjni.so lib on the LD_LIBRARY_PATH...
> >
> >Any suggestions??
> >
> >Regards
> >Jonathan
> >
> >
> >
> >On Fri, 3 Sep 2004 11:50:11 -0400, Jonathan Rengifo <[EMAIL PROTECTED]> wrote:
> >
> >
> >>Hi, thanks for your very important help..
> >>
> >>I ran the ldd utility on the libapr-0.so.0 lib, with the following results:
> >>
> >>/usr/local/apache-httpd-2.0.50/lib ldd libapr-0.so.0
> >>libsendfile.so.1 =>  /usr/lib/libsendfile.so.1
> >>librt.so.1 =>/usr/lib/librt.so.1
> >>libm.so.1 => /usr/lib/libm.so.1
> >>libsocket.so.1 =>/usr/lib/libsocket.so.1
> >>libnsl.so.1 =>   /usr/lib/libnsl.so.1
> >>libresolv.so.2 =>/usr/lib/libresolv.so.2
> >>libpthread.so.1 =>   /usr/lib/libpthread.so.1
> >>libdl.so.1 =>/usr/lib/libdl.so.1
> >>libc.so.1 => /usr/lib/libc.so.1
> >>libaio.so.1 =>   /usr/lib/libaio.so.1
> >>libmd5.so.1 =>   /usr/lib/libmd5.so.1
> >>libmp.so.2 =>/usr/lib/libmp.so.2
> >>libthread.so.1 =>/usr/lib/libthread.so.1
> >>/usr/platform/SUNW,Sun-Fire-V210/lib/libc_psr.so.1
> >>/usr/platform/SUNW,Sun-Fire-V210/lib/libmd5_psr.so.1
> >>
> >>Then I  those libs for the symbol, and don't find it... What does this mean?
> >>
> >>Thanks ..
> >>Jonathan
> >>
> >>
> >>
> >>
> >>On Fri, 3 Sep 2004 10:01:01 -0500, QM <[EMAIL PROTECTED]> wrote:
> >>
> >>
> >>>On Fri, Sep 03, 2004 at 10:44:13AM -0400, Jonathan Rengifo wrote:
> >>>: nm /usr/local/apache-httpd-2.0.50/lib/libapr-0.so.0 | grep div
> >>>: [337]   | 0|   0|FUNC |GLOB |0|UNDEF  |.div
> >>>: [640]   | 0|   0|FUNC |GLOB |0|UNDEF  |.udiv
> >>>: [909]   | 0|   0|NOTY |GLOB |0|UNDEF  |__divdi3
> >>>: [938]   | 0|   0|NOTY |GLOB |0|UNDEF  |__udivdi3
> >>>:
> >>>: So it seems that the problem is on the libapr-0.so.0 because there
> >>>: is the variable "__divdi3" wich is reporting the relocation error
> >>>
> >>>What happens when you run ldd on libapr-0.so.0, and skim those libs for
> >>>the symbol?
> >>>
> >>>Note especially any libs that ldd claims it can't find.
> >>>
> >>>
> >>>
> >>>-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]
> >>>
> >>>
> >>>
> >>>
> >
> >-
> >To unsubscribe, e-mail: [EMAIL PROTECTED]
> >For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
> >
> >
> 
> --
> John Villar
> Gerente de Proyectos
> Computadores Flor Hard Soft 2058 C.A.
> www.florhard.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: Fatal: relocation error: file libapr-0.so.0: symbol __divdi3: referenced symbol not found

2004-09-03 Thread John Villar
Try to make a small java test (without tomcat) that use the unix sockets 
and see what happens maybe you can debug it and find what/where is 
happenning

Jonathan Rengifo escribió:
Hi, all...
My problem is definitive related with the libjkjni.so lib, when I add
the path of the library to the LD_LIBRARY_PATH I get the error
message:
ld.so.1: /usr/java/bin/java: fatal: relocation error: file
/usr/local/apache-httpd-2.0.50/lib/libapr-0.so.0: symbol __divdi3:
referenced symbol not found
But, when take this path out of the LD_LIBRARY_PATH the error
disappears, but also disappears the AF_SOCKET support of the
connector, and got this message:
INFO: APR not loaded, disabling jni components: java.io.IOException:
java.lang.UnsatisfiedLinkError: no jkjni in java.library.path
Because of this error I did put the libjkjni.so lib on the LD_LIBRARY_PATH...
Any suggestions??
Regards
Jonathan

On Fri, 3 Sep 2004 11:50:11 -0400, Jonathan Rengifo <[EMAIL PROTECTED]> wrote:
 

Hi, thanks for your very important help..
I ran the ldd utility on the libapr-0.so.0 lib, with the following results:
/usr/local/apache-httpd-2.0.50/lib ldd libapr-0.so.0
   libsendfile.so.1 =>  /usr/lib/libsendfile.so.1
   librt.so.1 =>/usr/lib/librt.so.1
   libm.so.1 => /usr/lib/libm.so.1
   libsocket.so.1 =>/usr/lib/libsocket.so.1
   libnsl.so.1 =>   /usr/lib/libnsl.so.1
   libresolv.so.2 =>/usr/lib/libresolv.so.2
   libpthread.so.1 =>   /usr/lib/libpthread.so.1
   libdl.so.1 =>/usr/lib/libdl.so.1
   libc.so.1 => /usr/lib/libc.so.1
   libaio.so.1 =>   /usr/lib/libaio.so.1
   libmd5.so.1 =>   /usr/lib/libmd5.so.1
   libmp.so.2 =>/usr/lib/libmp.so.2
   libthread.so.1 =>/usr/lib/libthread.so.1
   /usr/platform/SUNW,Sun-Fire-V210/lib/libc_psr.so.1
   /usr/platform/SUNW,Sun-Fire-V210/lib/libmd5_psr.so.1
Then I  those libs for the symbol, and don't find it... What does this mean?
Thanks ..
Jonathan

On Fri, 3 Sep 2004 10:01:01 -0500, QM <[EMAIL PROTECTED]> wrote:
   

On Fri, Sep 03, 2004 at 10:44:13AM -0400, Jonathan Rengifo wrote:
: nm /usr/local/apache-httpd-2.0.50/lib/libapr-0.so.0 | grep div
: [337]   | 0|   0|FUNC |GLOB |0|UNDEF  |.div
: [640]   | 0|   0|FUNC |GLOB |0|UNDEF  |.udiv
: [909]   | 0|   0|NOTY |GLOB |0|UNDEF  |__divdi3
: [938]   | 0|   0|NOTY |GLOB |0|UNDEF  |__udivdi3
:
: So it seems that the problem is on the libapr-0.so.0 because there
: is the variable "__divdi3" wich is reporting the relocation error
What happens when you run ldd on libapr-0.so.0, and skim those libs for
the symbol?
Note especially any libs that ldd claims it can't find.

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

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

--
John Villar
Gerente de Proyectos
Computadores Flor Hard Soft 2058 C.A.
www.florhard.com

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

RE: [tomcat] Removing a service from XP

2004-09-03 Thread Ernesto Echeverría
This might not be the answer to your question, but then you can keep the
service and just configure it not to start automatically (like, if you want
to start tomcat from the batch files provided). 

José Ernesto Echeverría
 

-Original Message-
From: John Najarian [mailto:[EMAIL PROTECTED] 
Sent: Viernes, 03 de Septiembre de 2004 01:27 p.m.
To: 'Tomcat Users List'
Subject: [tomcat] Removing a service from XP

I have a service for tomcat on XP.  Does anyone know how to remove the
service?

 

Thanks



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



RE: Configuring Tomcat 5.0.27 for JNDI (with the McKoi Database)

2004-09-03 Thread Caroline Jen
Thanks for replying.

I am building only one webapp.  What does "create a
proper Context element instead of DefaultContext"
mean?

Thanks
--- "Shapira, Yoav" <[EMAIL PROTECTED]> wrote:

> 
> Hi,
> You should put DefaultContext inside a Host.  But if
> you only have one
> webapp, create a proper Context element for it
> instead of
> DefaultContext.
> 
> The JDBC driver class name is supplied in your
> vendor documentation (in
> this case McKoi).  A common one is
> com.mckoi.JDBCDriver.
> 
> The port number is whatever port your database is
> listening on.  Ask
> your DBA if you're not sure.
> 
> Yoav Shapira
> Millennium Research Informatics
> 
> 
> >-Original Message-
> >From: Caroline Jen [mailto:[EMAIL PROTECTED]
> >Sent: Friday, September 03, 2004 3:09 PM
> >To: [EMAIL PROTECTED]
> >Subject: Configuring Tomcat 5.0.27 for JNDI (with
> the McKoi Database)
> >
> >I am sort of stuck with configuring the server.xml
> >file under the $TOMCAT\conf directory for JNDI.
> >
> >For the Tomcat 4.x, I put the following block of
> code;
> >i.e.  right after the ending
> > element and before the ending 
> >element in the server.xml file.
> >
> >However, I do not see the  element in the
> >Tomcat 5.0.27.  There is the  element,
> though.
> >
> >[code]
> >
> >auth="Container"
> >   type="javax.sql.DataSource"/>
> >
> >  
> >factory
> >
>
>org.apache.commons.dbcp.BasicDataSourceFactory
> >  
> >   
> > driverClassName
> > 
> >   
> >   
> > url
> >
>
>jdbc:mckoi://localhost:/databasename?autoReconnect=true ue>
> >   
> >   
> > username
> > javauser
> >   
> >   
> > password
> > javadude
> >   
> >   
> > maxActive
> > 20
> >   
> >   
> > maxIdle
> > 30
> >   
> >   
> > maxWait
> > 1
> >   
> >  
> >   
> removeAbandoned
> >true
> >  
> >  
> >
> >removeAbandonedTimeout
> >60
> >  
> >  
> >logAbandoned
> >true
> >  
> >
> >  
> >  
> >[/code]
> >
> >1. Where should I put the  in the
> >server.xml file?
> >
> >2. What is the value I should give to the
> >driverClassName parameter?
> >
> >3. What is the port number I should give to the url
> >parameter?  i.e.
>
>jdbc:mckoi://localhost:/DatabaseName?autoReconnect=true
> >
> >
> >
> >___
> >Do you Yahoo!?
> >Win 1 of 4,000 free domain names from Yahoo! Enter
> now.
> >http://promotions.yahoo.com/goldrush
> >
>
>-
> >To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> >For additional commands, e-mail:
> [EMAIL PROTECTED]
> 
> 
> 
> 
> 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]
> 
> 


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



Removing a service from XP

2004-09-03 Thread John Najarian
I have a service for tomcat on XP.  Does anyone know how to remove the
service?

 

Thanks



RE: Newbie help w/ORielly examples

2004-09-03 Thread John Najarian
Yes

-Original Message-
From: Ernesto Echeverría [mailto:[EMAIL PROTECTED] 
Sent: Friday, September 03, 2004 11:47 AM
To: 'Tomcat Users List'
Subject: RE: Newbie help w/ORielly examples

What book is that? Java Server Pages 3rd Edition? 

Have you tried the JSP samples from the tomcat installation? First thing to
do cause then you know if jsps are compiling correctly.


José Ernesto Echeverría


-Original Message-
From: John Najarian [mailto:[EMAIL PROTECTED] 
Sent: Viernes, 03 de Septiembre de 2004 12:16 p.m.
To: 'Tomcat Users List'
Subject: [tomcat] RE: Newbie help w/ORielly examples

Yes, the entire directory.  I think I'll uninstall 5.19 and install 5.27

-Original Message-
From: Williams, Mark L CIV NSWC-PC [mailto:[EMAIL PROTECTED]
Sent: Friday, September 03, 2004 11:01 AM
To: Tomcat Users List
Subject: RE: Newbie help w/ORielly examples

FWIW, the O'Reilly examples work just fine on my TC 5.0.27 site with no
tweaking of any kind. Did you if you followed the installation instructions
to be sure the whole directory tree was copied into the webapps directory?

Mark

-Original Message-
From: Shapira, Yoav [mailto:[EMAIL PROTECTED]
Sent: Friday, September 03, 2004 12:57
To: Tomcat Users List
Subject: RE: Newbie help w/ORielly examples



Hi,
Are you trying the Tomcat examples or the O'Reilly ones?

Yoav Shapira
Millennium Research Informatics


>-Original Message-
>From: John Najarian [mailto:[EMAIL PROTECTED]
>Sent: Friday, September 03, 2004 1:55 PM
>To: 'Tomcat Users List'
>Subject: RE: Newbie help w/ORielly examples
>
>I don't know if the Tomcat examples run.  That's what I'm trying.
>Other JPSs & Servelts do run on this tomcat installation.
>
>-Original Message-
>From: Shapira, Yoav [mailto:[EMAIL PROTECTED]
>Sent: Friday, September 03, 2004 10:25 AM
>To: Tomcat Users List
>Subject: RE: Newbie help w/ORielly examples
>
>
>Hi,
>It's not accurate to say that 500-class HTTP responses are usually 
>application code bugs.  Server misconfiguration is at least as common a 
>cause for these responses.
>
>The stack trace and error information posted by the OP is insufficient
to
>determine the cause of the error.
>
>To the OP: do the Tomcat examples run?
>
>Yoav Shapira
>Millennium Research Informatics
>
>
>>-Original Message-
>>From: John Najarian [mailto:[EMAIL PROTECTED]
>>Sent: Friday, September 03, 2004 1:20 PM
>>To: 'Tomcat Users List'
>>Subject: RE: Newbie help w/ORielly examples
>>
>>Recomiliing didn't help.  Has anyone got any ideas?
>>Thanks.
>>
>>-Original Message-
>>From: John Najarian [mailto:[EMAIL PROTECTED]
>>Sent: Thursday, September 02, 2004 2:56 PM
>>To: 'Tomcat Users List'
>>Subject: RE: Newbie help w/ORielly examples
>>
>>I've restarted a few times.  I'll see if I can recompile these.
>>
>>-Original Message-
>>From: John Villar [mailto:[EMAIL PROTECTED]
>>Sent: Thursday, September 02, 2004 2:40 PM
>>To: Tomcat Users List
>>Subject: Re: Newbie help w/ORielly examples
>>
>>Usually HTTP 500 codes are bugs in the code i really don't know
what
>>this "debug" attribute is used for but you should restart your 
>>tomcat to see if it heals.
>>
>>John Najarian escribió:
>>
>>>I got in there but now I get this error when I try to access
>>>
>>>the context '/ora':
>>>
>>>
>>>
>>>
>>>HTTP Status 500 - Error retrieving attribute debug
>>>
>>>  _
>>>
>>>
>>>type Status report
>>>
>>>message Error retrieving attribute debug
>>>
>>>description The server encountered an internal error (Error
retrieving
>>>attribute debug) that prevented it from fulfilling this request.
>>>
>>>  _
>>>
>>>
>>>Apache Tomcat/5.0.19
>>>
>>>
>>>
>>>
>>>
>>>
>>>-Original Message-
>>>From: John Villar [mailto:[EMAIL PROTECTED]
>>>Sent: Thursday, September 02, 2004 2:25 PM
>>>To: Tomcat Users List
>>>Subject: Re: Newbie help w/ORielly examples
>>>
>>>
>>>
>>>Then manually deploy it the admin app has a facility to deploy a
>>>
>>>context that should do the trick
>>>
>>>
>>>
>>>John Najarian escribió:
>>>
>>>
>>>
>>>
>>>
Thanks John, the autodeploy was already set to 'True'.


>>>
>>>
>>>
I've got a few apps working this one just doesn't.


>>>
>>>
>>>
>>>
>>>
>>>
-Original Message-


>>>
>>>
>>>
From: John Villar [mailto:[EMAIL PROTECTED]


>>>
>>>
>>>
Sent: Thursday, September 02, 2004 1:44 PM


>>>
>>>
>>>
To: Tomcat Users List


>>>
>>>
>>>
Subject: Re: Newbie help w/ORielly examples


>>>
>>>
>>>
>>>
>>>
>>>
enable autodeploy on the admin app (i.e. localhost:8080/admin). Make


>>>
>>>
>>>
sure you have a user configured to access the admin app in your


>>>
>>>
>>>
conf/server.xml file


>>>
>>>
>>>
>>>
>>>
>>>
John Najarian escribió:


>>>
>>>
>>>
>>>
>>>
>>>



>>>
>>>
>>>
>>>
>>>
>>>
>I've tried installing the examples from the 'Java Server Pages'
>
>
>>>
>>>
>>

RE: Configuring Tomcat 5.0.27 for JNDI (with the McKoi Database)

2004-09-03 Thread Shapira, Yoav

Hi,
You should put DefaultContext inside a Host.  But if you only have one
webapp, create a proper Context element for it instead of
DefaultContext.

The JDBC driver class name is supplied in your vendor documentation (in
this case McKoi).  A common one is com.mckoi.JDBCDriver.

The port number is whatever port your database is listening on.  Ask
your DBA if you're not sure.

Yoav Shapira
Millennium Research Informatics


>-Original Message-
>From: Caroline Jen [mailto:[EMAIL PROTECTED]
>Sent: Friday, September 03, 2004 3:09 PM
>To: [EMAIL PROTECTED]
>Subject: Configuring Tomcat 5.0.27 for JNDI (with the McKoi Database)
>
>I am sort of stuck with configuring the server.xml
>file under the $TOMCAT\conf directory for JNDI.
>
>For the Tomcat 4.x, I put the following block of code;
>i.e.  right after the ending
> element and before the ending 
>element in the server.xml file.
>
>However, I do not see the  element in the
>Tomcat 5.0.27.  There is the  element, though.
>
>[code]
>
>  type="javax.sql.DataSource"/>
>
>  
>factory
>
>org.apache.commons.dbcp.BasicDataSourceFactory
>  
> 
>   driverClassName
>   
> 
> 
>   url
>
>jdbc:mckoi://localhost:/databasename?autoReconnect=true
> 
> 
>   username
>   javauser
> 
> 
>   password
>   javadude
> 
> 
>   maxActive
>   20
> 
> 
>   maxIdle
>   30
> 
> 
>   maxWait
>   1
> 
>  
>removeAbandoned
>true
>  
>  
>
>removeAbandonedTimeout
>60
>  
>  
>logAbandoned
>true
>  
>
>  
>  
>[/code]
>
>1. Where should I put the  in the
>server.xml file?
>
>2. What is the value I should give to the
>driverClassName parameter?
>
>3. What is the port number I should give to the url
>parameter?  i.e.
>jdbc:mckoi://localhost:/DatabaseName?autoReconnect=true
>
>
>
>___
>Do you Yahoo!?
>Win 1 of 4,000 free domain names from Yahoo! Enter now.
>http://promotions.yahoo.com/goldrush
>
>-
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]




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]



Configuring Tomcat 5.0.27 for JNDI (with the McKoi Database)

2004-09-03 Thread Caroline Jen
I am sort of stuck with configuring the server.xml
file under the $TOMCAT\conf directory for JNDI.

For the Tomcat 4.x, I put the following block of code;
i.e.  right after the ending
 element and before the ending 
element in the server.xml file.

However, I do not see the  element in the
Tomcat 5.0.27.  There is the  element, though.  

[code]

  

  
factory
   
org.apache.commons.dbcp.BasicDataSourceFactory
  
  
driverClassName
com.mckoi.JDBCDriver
  
  
url

jdbc:mckoi://localhost:/databasename?autoReconnect=true
  
  
username
javauser
  
  
password
javadude
  
  
maxActive
20
  
  
maxIdle
30
  
  
maxWait
1
  
  
removeAbandoned
true
  
  
   
removeAbandonedTimeout
60
  
  
logAbandoned
true
  

  
  
[/code]

1. Where should I put the  in the
server.xml file?

2. What is the port number I should give to the url
parameter?  i.e. jdbc:mckoi://localhost:/DatabaseName?autoReconnect=true



__
Do you Yahoo!?
Yahoo! Mail is new and improved - Check it out!
http://promotions.yahoo.com/new_mail

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



RE: Newbie help w/ORielly examples

2004-09-03 Thread John Najarian
Yoav, I think you were right.  I installed 5.27
& everything works.  I don't know why because it
wasn't any changes I did.  I hadn't done any
configuration.

Does anyone know how to remove the old 

-Original Message-
From: Shapira, Yoav [mailto:[EMAIL PROTECTED] 
Sent: Friday, September 03, 2004 10:25 AM
To: Tomcat Users List
Subject: RE: Newbie help w/ORielly examples


Hi,
It's not accurate to say that 500-class HTTP responses are usually
application code bugs.  Server misconfiguration is at least as common a
cause for these responses.

The stack trace and error information posted by the OP is insufficient to
determine the cause of the error.

To the OP: do the Tomcat examples run? 

Yoav Shapira
Millennium Research Informatics


>-Original Message-
>From: John Najarian [mailto:[EMAIL PROTECTED]
>Sent: Friday, September 03, 2004 1:20 PM
>To: 'Tomcat Users List'
>Subject: RE: Newbie help w/ORielly examples
>
>Recomiliing didn't help.  Has anyone got any ideas?
>Thanks.
>
>-Original Message-
>From: John Najarian [mailto:[EMAIL PROTECTED]
>Sent: Thursday, September 02, 2004 2:56 PM
>To: 'Tomcat Users List'
>Subject: RE: Newbie help w/ORielly examples
>
>I've restarted a few times.  I'll see if I can recompile these.
>
>-Original Message-
>From: John Villar [mailto:[EMAIL PROTECTED]
>Sent: Thursday, September 02, 2004 2:40 PM
>To: Tomcat Users List
>Subject: Re: Newbie help w/ORielly examples
>
>Usually HTTP 500 codes are bugs in the code i really don't know what
>this "debug" attribute is used for but you should restart your
>tomcat to see if it heals.
>
>John Najarian escribió:
>
>>I got in there but now I get this error when I try to access
>>
>>the context '/ora':
>>
>>
>>
>>
>>HTTP Status 500 - Error retrieving attribute debug
>>
>>  _
>>
>>
>>type Status report
>>
>>message Error retrieving attribute debug
>>
>>description The server encountered an internal error (Error retrieving
>>attribute debug) that prevented it from fulfilling this request.
>>
>>  _
>>
>>
>>Apache Tomcat/5.0.19
>>
>>
>>
>>
>>
>>
>>-Original Message-
>>From: John Villar [mailto:[EMAIL PROTECTED]
>>Sent: Thursday, September 02, 2004 2:25 PM
>>To: Tomcat Users List
>>Subject: Re: Newbie help w/ORielly examples
>>
>>
>>
>>Then manually deploy it the admin app has a facility to deploy a
>>
>>context that should do the trick
>>
>>
>>
>>John Najarian escribió:
>>
>>
>>
>>
>>
>>>Thanks John, the autodeploy was already set to 'True'.
>>>
>>>
>>
>>
>>
>>>I've got a few apps working this one just doesn't.
>>>
>>>
>>
>>
>>
>>
>>
>>
>>>-Original Message-
>>>
>>>
>>
>>
>>
>>>From: John Villar [mailto:[EMAIL PROTECTED]
>>>
>>>
>>
>>
>>
>>>Sent: Thursday, September 02, 2004 1:44 PM
>>>
>>>
>>
>>
>>
>>>To: Tomcat Users List
>>>
>>>
>>
>>
>>
>>>Subject: Re: Newbie help w/ORielly examples
>>>
>>>
>>
>>
>>
>>
>>
>>
>>>enable autodeploy on the admin app (i.e. localhost:8080/admin). Make
>>>
>>>
>>
>>
>>
>>>sure you have a user configured to access the admin app in your
>>>
>>>
>>
>>
>>
>>>conf/server.xml file
>>>
>>>
>>
>>
>>
>>
>>
>>
>>>John Najarian escribió:
>>>
>>>
>>
>>
>>
>>
>>
>>
>>>
>>>
>>>
>>
>>
>>
>>
>>
>>
I've tried installing the examples from the 'Java Server Pages'


>>
>>
>>
book to no avail.  I expanded the jspbook3.zip file and copied


>>
>>
>>
the 'ora/' directory to the 'tomcat/webapps' directory.


>>
>>
>>
>>
>>
>>
I restarted the tomcat service.  When I try to access the apps


>>
>>
>>
by typing 'http://localhost:8080/ora/' into a browser I get the


>>
>>
>>
following displayed in the browser.


>>
>>
>>
>>
>>
>>



>>
>>
>>
HTTP Status 404 - /ora/


>>
>>
>>
>>
>>
>>
type Status report


>>
>>
>>
>>
>>
>>
message /ora/


>>
>>
>>
>>
>>
>>
description The requested resource (/ora/) is not available.


>>
>>
>>
Apache Tomcat/5.0.19


>>
>>
>>



>>
>>
>>
>>
>>
>>
Any ideas?  This is running on an XP machine.


>>
>>
>>
>>
>>
>>
Thanks


>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
-


>>
>>
>>
To unsubscribe, e-mail: [EMAIL PROTECTED]


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


>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>



>>
>>
>>
>>
>>
>>
>>
>>
>>
>>>
>>>
>>>
>>
>>
>>
>>
>>
>>
>>
>>
>
>--
>John Villar
>Gerente de Proyectos
>Computadores Flor Hard Soft 2058 C.A.
>www.florhard.com
>
>
>
>
>
>-
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>
>
>-

Configuring Tomcat 5.0.27 for JNDI (with the McKoi Database)

2004-09-03 Thread Caroline Jen
I am sort of stuck with configuring the server.xml
file under the $TOMCAT\conf directory for JNDI.

For the Tomcat 4.x, I put the following block of code;
i.e.  right after the ending
 element and before the ending 
element in the server.xml file.

However, I do not see the  element in the
Tomcat 5.0.27.  There is the  element, though.  

[code]

  

  
factory
   
org.apache.commons.dbcp.BasicDataSourceFactory
  
  
driverClassName

  
  
url

jdbc:mckoi://localhost:/databasename?autoReconnect=true
  
  
username
javauser
  
  
password
javadude
  
  
maxActive
20
  
  
maxIdle
30
  
  
maxWait
1
  
  
removeAbandoned
true
  
  
   
removeAbandonedTimeout
60
  
  
logAbandoned
true
  

  
  
[/code]

1. Where should I put the  in the
server.xml file?

2. What is the value I should give to the
driverClassName parameter?

3. What is the port number I should give to the url
parameter?  i.e. jdbc:mckoi://localhost:/DatabaseName?autoReconnect=true



___
Do you Yahoo!?
Win 1 of 4,000 free domain names from Yahoo! Enter now.
http://promotions.yahoo.com/goldrush

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



RE: Tomcat 4.1: JSP pages don't always compile the first time?

2004-09-03 Thread Shapira, Yoav

Hi,
As I said, JDBC drivers are fine, they're not part of the J2SDK or J2EE
SDK.

Yoav Shapira
Millennium Research Informatics


>-Original Message-
>From: Jeffrey Barnett [mailto:[EMAIL PROTECTED]
>Sent: Friday, September 03, 2004 2:51 PM
>To: Tomcat Users List
>Subject: Re: Tomcat 4.1: JSP pages don't always compile the first time?
>
>But if the webapps are all using a common connection pool, wouldn't
>there need to be a single driver jar?  Where would it go, if not in
>$CATALINA_HOME/common/lib ?
>
>Shapira, Yoav wrote:
>
>>Hi,
>>It applies to APIs bundled in the J2SDK and the J2EE SDK.  So
>>servlet.jar, jsp-api.jar, jta.jar, jmx.jar, things like that, but not
>>standard.jar, JDBC drivers, etc.
>>
>>As a rule of thumb: if tomcat bundles a library, don't package a
>>different version of the same library with your webapp.
>>
>>Yoav Shapira
>>Millennium Research Informatics
>>
>>
>>
>>
>>>-Original Message-
>>>From: Jeffrey Barnett [mailto:[EMAIL PROTECTED]
>>>Sent: Friday, September 03, 2004 2:16 PM
>>>To: Tomcat Users List
>>>Subject: Re: Tomcat 4.1: JSP pages don't always compile the first
time?
>>>
>>>Does this warning/suggestion apply just to jsp-api.jar or to all the
>>>
>>>
>>jsp
>>
>>
>>>jars (e.g.jstl.jar, standard.jar,...) as well?
>>>
>>>Shapira, Yoav wrote:
>>>
>>>
>>>
Hi,
You have mismatched versions of the Servlet API jars around.  There
should be only one, in tomcat's common repository.  Don't ship the
servlet or JSP API jars with your webapps.  And if you stored


>>references
>>
>>
to objects from old versions of these APIs in your Sessions, junk
the
session repository (session.ser).

Yoav Shapira
Millennium Research Informatics






>-Original Message-
>From: Richard Mundell [mailto:[EMAIL PROTECTED]
>Sent: Thursday, September 02, 2004 11:09 AM
>To: [EMAIL PROTECTED]
>Subject: Tomcat 4.1: JSP pages don't always compile the first time?
>
>We have a large JSP-based application which we're noting some first
>
>
>
>
time




>compilation problems.
>
>When we deploy the .war file (with the "work" cache deleted and
>
>
>>Tomcat
>>
>>
>freshly started) some of our pages (but not all) fail to compile
upon
>the first access with the error below.
>
>If you simply refresh the page through the web browser it then
>
>
>>compiles
>>
>>
>fine, and is fine from that point onwards. It always happens with
the
>same pages. These pages have includes of other JSP pages, but these
>
>
>
>
have




>all already been correctly compiled and previously accessed.
>
>Can anyone give me any ideas on this? I can't find anything similar
>after trawling the search engines?
>
>Thanks,
>
>Richard
>
>
>javax.servlet.ServletException: (class:
>org/apache/jsp/OrderManagementComments_jsp, method: SortBasket
>signature: (Ljavax/servlet/http/HttpSession;)V) Incompatible type
for
>getting or setting field
>
>   at
>org.apache.jasper.servlet.JspServlet.service(JspServlet.java:248)
>
>   at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
>
>   at
>org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Ap
pl
>
>
>>ic
>>
>>
>
>
a




>tionFilterChain.java:247)
>
>   at
>org.apache.catalina.core.ApplicationFilterChain.doFilter(Applicatio
nF
>
>
>>il
>>
>>
>
>
t




>erChain.java:193)
>
>   at
>org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrappe
rV
>
>
>>al
>>
>>
>
>
v




>e.java:260)
>
>   at
>org.apache.catalina.core.StandardPipeline$StandardPipelineValveCont
ex
>
>
>>t.
>>
>>
>
>
i




>nvokeNext(StandardPipeline.java:643)
>
>   at
>org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.j
av
>
>
>>a:
>>
>>
>
>
4




>80)
>
>   at
>org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:99
5)
>
>   at
>org.apache.catalina.core.StandardContextValve.invoke(StandardContex
tV
>
>
>>al
>>
>>
>
>
v




>e.java:191)
>
>   at
>org.apache.catalina.core.StandardPipeline$StandardPipelineValveCont
ex
>
>
>>t.
>>
>>
>
>
i




>nvokeNext(StandardPipeline.java:643)
>
>   at
>org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.j
av
>
>
>>a:
>>
>>
>
>
4




>80)
>
>   at
>org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:99
5)
>
>   at
>org.apache.catalina.core.StandardContext.invoke(StandardContext.ja

Re: Tomcat 4.1: JSP pages don't always compile the first time?

2004-09-03 Thread Jeffrey Barnett
But if the webapps are all using a common connection pool, wouldn't 
there need to be a single driver jar?  Where would it go, if not in 
$CATALINA_HOME/common/lib ?

Shapira, Yoav wrote:
Hi,
It applies to APIs bundled in the J2SDK and the J2EE SDK.  So
servlet.jar, jsp-api.jar, jta.jar, jmx.jar, things like that, but not
standard.jar, JDBC drivers, etc.
As a rule of thumb: if tomcat bundles a library, don't package a
different version of the same library with your webapp.
Yoav Shapira
Millennium Research Informatics
 

-Original Message-
From: Jeffrey Barnett [mailto:[EMAIL PROTECTED]
Sent: Friday, September 03, 2004 2:16 PM
To: Tomcat Users List
Subject: Re: Tomcat 4.1: JSP pages don't always compile the first time?
Does this warning/suggestion apply just to jsp-api.jar or to all the
   

jsp
 

jars (e.g.jstl.jar, standard.jar,...) as well?
Shapira, Yoav wrote:
   

Hi,
You have mismatched versions of the Servlet API jars around.  There
should be only one, in tomcat's common repository.  Don't ship the
servlet or JSP API jars with your webapps.  And if you stored
 

references
 

to objects from old versions of these APIs in your Sessions, junk the
session repository (session.ser).
Yoav Shapira
Millennium Research Informatics

 

-Original Message-
From: Richard Mundell [mailto:[EMAIL PROTECTED]
Sent: Thursday, September 02, 2004 11:09 AM
To: [EMAIL PROTECTED]
Subject: Tomcat 4.1: JSP pages don't always compile the first time?
We have a large JSP-based application which we're noting some first
   

time
 

compilation problems.
When we deploy the .war file (with the "work" cache deleted and
   

Tomcat
 

freshly started) some of our pages (but not all) fail to compile upon
the first access with the error below.
If you simply refresh the page through the web browser it then
   

compiles
 

fine, and is fine from that point onwards. It always happens with the
same pages. These pages have includes of other JSP pages, but these
   

have
 

all already been correctly compiled and previously accessed.
Can anyone give me any ideas on this? I can't find anything similar
after trawling the search engines?
Thanks,
Richard
javax.servlet.ServletException: (class:
org/apache/jsp/OrderManagementComments_jsp, method: SortBasket
signature: (Ljavax/servlet/http/HttpSession;)V) Incompatible type for
getting or setting field
at
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:248)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
	at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
   

ic
 

   

a
 

tionFilterChain.java:247)
	at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
   

il
 

   

t
 

erChain.java:193)
	at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV
   

al
 

   

v
 

e.java:260)
	at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContex
   

t.
 

   

i
 

nvokeNext(StandardPipeline.java:643)
	at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav
   

a:
 

   

4
 

80)
at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
	at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextV
   

al
 

   

v
 

e.java:191)
	at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContex
   

t.
 

   

i
 

nvokeNext(StandardPipeline.java:643)
	at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav
   

a:
 

   

4
 

80)
at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
	at
org.apache.catalina.core.StandardContext.invoke(StandardContext.java:
   

23
 

   

9
 

7)
	at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j
   

av
 

   

a
 

:180)
	at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContex
   

t.
 

   

i
 

nvokeNext(StandardPipeline.java:643)
	at
org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatche
   

rV
 

   

a
 

lve.java:170)
	at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContex
   

t.
 

   

i
 

nvokeNext(StandardPipeline.java:641)
	at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j
   

av
 

   

a
 

:171)
	at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContex
   

t.
 

   

i
 

nvokeNext(StandardPipeline.java:641)
	at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav
   

a:
 

   

4
 

80)
at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
	at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal
   

ve
 

   

.
 

java:174)
	at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContex
   

RE: Newbie help w/ORielly examples

2004-09-03 Thread Ernesto Echeverría
What book is that? Java Server Pages 3rd Edition? 

Have you tried the JSP samples from the tomcat installation? First thing to
do cause then you know if jsps are compiling correctly.


José Ernesto Echeverría


-Original Message-
From: John Najarian [mailto:[EMAIL PROTECTED] 
Sent: Viernes, 03 de Septiembre de 2004 12:16 p.m.
To: 'Tomcat Users List'
Subject: [tomcat] RE: Newbie help w/ORielly examples

Yes, the entire directory.  I think I'll uninstall 5.19 and install 5.27

-Original Message-
From: Williams, Mark L CIV NSWC-PC [mailto:[EMAIL PROTECTED]
Sent: Friday, September 03, 2004 11:01 AM
To: Tomcat Users List
Subject: RE: Newbie help w/ORielly examples

FWIW, the O'Reilly examples work just fine on my TC 5.0.27 site with no
tweaking of any kind. Did you if you followed the installation instructions
to be sure the whole directory tree was copied into the webapps directory?

Mark

-Original Message-
From: Shapira, Yoav [mailto:[EMAIL PROTECTED]
Sent: Friday, September 03, 2004 12:57
To: Tomcat Users List
Subject: RE: Newbie help w/ORielly examples



Hi,
Are you trying the Tomcat examples or the O'Reilly ones?

Yoav Shapira
Millennium Research Informatics


>-Original Message-
>From: John Najarian [mailto:[EMAIL PROTECTED]
>Sent: Friday, September 03, 2004 1:55 PM
>To: 'Tomcat Users List'
>Subject: RE: Newbie help w/ORielly examples
>
>I don't know if the Tomcat examples run.  That's what I'm trying.
>Other JPSs & Servelts do run on this tomcat installation.
>
>-Original Message-
>From: Shapira, Yoav [mailto:[EMAIL PROTECTED]
>Sent: Friday, September 03, 2004 10:25 AM
>To: Tomcat Users List
>Subject: RE: Newbie help w/ORielly examples
>
>
>Hi,
>It's not accurate to say that 500-class HTTP responses are usually 
>application code bugs.  Server misconfiguration is at least as common a 
>cause for these responses.
>
>The stack trace and error information posted by the OP is insufficient
to
>determine the cause of the error.
>
>To the OP: do the Tomcat examples run?
>
>Yoav Shapira
>Millennium Research Informatics
>
>
>>-Original Message-
>>From: John Najarian [mailto:[EMAIL PROTECTED]
>>Sent: Friday, September 03, 2004 1:20 PM
>>To: 'Tomcat Users List'
>>Subject: RE: Newbie help w/ORielly examples
>>
>>Recomiliing didn't help.  Has anyone got any ideas?
>>Thanks.
>>
>>-Original Message-
>>From: John Najarian [mailto:[EMAIL PROTECTED]
>>Sent: Thursday, September 02, 2004 2:56 PM
>>To: 'Tomcat Users List'
>>Subject: RE: Newbie help w/ORielly examples
>>
>>I've restarted a few times.  I'll see if I can recompile these.
>>
>>-Original Message-
>>From: John Villar [mailto:[EMAIL PROTECTED]
>>Sent: Thursday, September 02, 2004 2:40 PM
>>To: Tomcat Users List
>>Subject: Re: Newbie help w/ORielly examples
>>
>>Usually HTTP 500 codes are bugs in the code i really don't know
what
>>this "debug" attribute is used for but you should restart your 
>>tomcat to see if it heals.
>>
>>John Najarian escribió:
>>
>>>I got in there but now I get this error when I try to access
>>>
>>>the context '/ora':
>>>
>>>
>>>
>>>
>>>HTTP Status 500 - Error retrieving attribute debug
>>>
>>>  _
>>>
>>>
>>>type Status report
>>>
>>>message Error retrieving attribute debug
>>>
>>>description The server encountered an internal error (Error
retrieving
>>>attribute debug) that prevented it from fulfilling this request.
>>>
>>>  _
>>>
>>>
>>>Apache Tomcat/5.0.19
>>>
>>>
>>>
>>>
>>>
>>>
>>>-Original Message-
>>>From: John Villar [mailto:[EMAIL PROTECTED]
>>>Sent: Thursday, September 02, 2004 2:25 PM
>>>To: Tomcat Users List
>>>Subject: Re: Newbie help w/ORielly examples
>>>
>>>
>>>
>>>Then manually deploy it the admin app has a facility to deploy a
>>>
>>>context that should do the trick
>>>
>>>
>>>
>>>John Najarian escribió:
>>>
>>>
>>>
>>>
>>>
Thanks John, the autodeploy was already set to 'True'.


>>>
>>>
>>>
I've got a few apps working this one just doesn't.


>>>
>>>
>>>
>>>
>>>
>>>
-Original Message-


>>>
>>>
>>>
From: John Villar [mailto:[EMAIL PROTECTED]


>>>
>>>
>>>
Sent: Thursday, September 02, 2004 1:44 PM


>>>
>>>
>>>
To: Tomcat Users List


>>>
>>>
>>>
Subject: Re: Newbie help w/ORielly examples


>>>
>>>
>>>
>>>
>>>
>>>
enable autodeploy on the admin app (i.e. localhost:8080/admin). Make


>>>
>>>
>>>
sure you have a user configured to access the admin app in your


>>>
>>>
>>>
conf/server.xml file


>>>
>>>
>>>
>>>
>>>
>>>
John Najarian escribió:


>>>
>>>
>>>
>>>
>>>
>>>



>>>
>>>
>>>
>>>
>>>
>>>
>I've tried installing the examples from the 'Java Server Pages'
>
>
>>>
>>>
>>>
>book to no avail.  I expanded the jspbook3.zip file and copied
>
>
>>>
>>>
>>>
>the 'ora/' directory to the 'tomcat/webapps' directory.
>
>
>>>
>>>
>>>
>>>
>>>
>>>

RE: Tomcat 4.1: JSP pages don't always compile the first time?

2004-09-03 Thread Shapira, Yoav

Hi,
It applies to APIs bundled in the J2SDK and the J2EE SDK.  So
servlet.jar, jsp-api.jar, jta.jar, jmx.jar, things like that, but not
standard.jar, JDBC drivers, etc.

As a rule of thumb: if tomcat bundles a library, don't package a
different version of the same library with your webapp.

Yoav Shapira
Millennium Research Informatics


>-Original Message-
>From: Jeffrey Barnett [mailto:[EMAIL PROTECTED]
>Sent: Friday, September 03, 2004 2:16 PM
>To: Tomcat Users List
>Subject: Re: Tomcat 4.1: JSP pages don't always compile the first time?
>
>Does this warning/suggestion apply just to jsp-api.jar or to all the
jsp
>jars (e.g.jstl.jar, standard.jar,...) as well?
>
>Shapira, Yoav wrote:
>
>>Hi,
>>You have mismatched versions of the Servlet API jars around.  There
>>should be only one, in tomcat's common repository.  Don't ship the
>>servlet or JSP API jars with your webapps.  And if you stored
references
>>to objects from old versions of these APIs in your Sessions, junk the
>>session repository (session.ser).
>>
>>Yoav Shapira
>>Millennium Research Informatics
>>
>>
>>
>>
>>>-Original Message-
>>>From: Richard Mundell [mailto:[EMAIL PROTECTED]
>>>Sent: Thursday, September 02, 2004 11:09 AM
>>>To: [EMAIL PROTECTED]
>>>Subject: Tomcat 4.1: JSP pages don't always compile the first time?
>>>
>>>We have a large JSP-based application which we're noting some first
>>>
>>>
>>time
>>
>>
>>>compilation problems.
>>>
>>>When we deploy the .war file (with the "work" cache deleted and
Tomcat
>>>freshly started) some of our pages (but not all) fail to compile upon
>>>the first access with the error below.
>>>
>>>If you simply refresh the page through the web browser it then
compiles
>>>fine, and is fine from that point onwards. It always happens with the
>>>same pages. These pages have includes of other JSP pages, but these
>>>
>>>
>>have
>>
>>
>>>all already been correctly compiled and previously accessed.
>>>
>>>Can anyone give me any ideas on this? I can't find anything similar
>>>after trawling the search engines?
>>>
>>>Thanks,
>>>
>>>Richard
>>>
>>>
>>>javax.servlet.ServletException: (class:
>>>org/apache/jsp/OrderManagementComments_jsp, method: SortBasket
>>>signature: (Ljavax/servlet/http/HttpSession;)V) Incompatible type for
>>>getting or setting field
>>>
>>> at
>>>org.apache.jasper.servlet.JspServlet.service(JspServlet.java:248)
>>>
>>> at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
>>>
>>> at
>>>org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
ic
>>>
>>>
>>a
>>
>>
>>>tionFilterChain.java:247)
>>>
>>> at
>>>org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
il
>>>
>>>
>>t
>>
>>
>>>erChain.java:193)
>>>
>>> at
>>>org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV
al
>>>
>>>
>>v
>>
>>
>>>e.java:260)
>>>
>>> at
>>>org.apache.catalina.core.StandardPipeline$StandardPipelineValveContex
t.
>>>
>>>
>>i
>>
>>
>>>nvokeNext(StandardPipeline.java:643)
>>>
>>> at
>>>org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav
a:
>>>
>>>
>>4
>>
>>
>>>80)
>>>
>>> at
>>>org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
>>>
>>> at
>>>org.apache.catalina.core.StandardContextValve.invoke(StandardContextV
al
>>>
>>>
>>v
>>
>>
>>>e.java:191)
>>>
>>> at
>>>org.apache.catalina.core.StandardPipeline$StandardPipelineValveContex
t.
>>>
>>>
>>i
>>
>>
>>>nvokeNext(StandardPipeline.java:643)
>>>
>>> at
>>>org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav
a:
>>>
>>>
>>4
>>
>>
>>>80)
>>>
>>> at
>>>org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
>>>
>>> at
>>>org.apache.catalina.core.StandardContext.invoke(StandardContext.java:
23
>>>
>>>
>>9
>>
>>
>>>7)
>>>
>>> at
>>>org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j
av
>>>
>>>
>>a
>>
>>
>>>:180)
>>>
>>> at
>>>org.apache.catalina.core.StandardPipeline$StandardPipelineValveContex
t.
>>>
>>>
>>i
>>
>>
>>>nvokeNext(StandardPipeline.java:643)
>>>
>>> at
>>>org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatche
rV
>>>
>>>
>>a
>>
>>
>>>lve.java:170)
>>>
>>> at
>>>org.apache.catalina.core.StandardPipeline$StandardPipelineValveContex
t.
>>>
>>>
>>i
>>
>>
>>>nvokeNext(StandardPipeline.java:641)
>>>
>>> at
>>>org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j
av
>>>
>>>
>>a
>>
>>
>>>:171)
>>>
>>> at
>>>org.apache.catalina.core.StandardPipeline$StandardPipelineValveContex
t.
>>>
>>>
>>i
>>
>>
>>>nvokeNext(StandardPipeline.java:641)
>>>
>>> at
>>>org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav
a:
>>>
>>>
>>4
>>
>>
>>>80)
>>>
>>> at
>>>org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
>>>
>>> at
>>>org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal
ve
>>>
>>>
>>.
>>
>>
>>>java:174)
>>>
>>> at
>>>org.apache.catalina.core.StandardPipeline$Sta

RE: Newbie help w/ORielly examples

2004-09-03 Thread John Najarian
OReilly

-Original Message-
From: Shapira, Yoav [mailto:[EMAIL PROTECTED] 
Sent: Friday, September 03, 2004 10:57 AM
To: Tomcat Users List
Subject: RE: Newbie help w/ORielly examples


Hi,
Are you trying the Tomcat examples or the O'Reilly ones?

Yoav Shapira
Millennium Research Informatics


>-Original Message-
>From: John Najarian [mailto:[EMAIL PROTECTED]
>Sent: Friday, September 03, 2004 1:55 PM
>To: 'Tomcat Users List'
>Subject: RE: Newbie help w/ORielly examples
>
>I don't know if the Tomcat examples run.  That's what I'm trying.
>Other JPSs & Servelts do run on this tomcat installation.
>
>-Original Message-
>From: Shapira, Yoav [mailto:[EMAIL PROTECTED]
>Sent: Friday, September 03, 2004 10:25 AM
>To: Tomcat Users List
>Subject: RE: Newbie help w/ORielly examples
>
>
>Hi,
>It's not accurate to say that 500-class HTTP responses are usually
>application code bugs.  Server misconfiguration is at least as common a
>cause for these responses.
>
>The stack trace and error information posted by the OP is insufficient to
>determine the cause of the error.
>
>To the OP: do the Tomcat examples run?
>
>Yoav Shapira
>Millennium Research Informatics
>
>
>>-Original Message-
>>From: John Najarian [mailto:[EMAIL PROTECTED]
>>Sent: Friday, September 03, 2004 1:20 PM
>>To: 'Tomcat Users List'
>>Subject: RE: Newbie help w/ORielly examples
>>
>>Recomiliing didn't help.  Has anyone got any ideas?
>>Thanks.
>>
>>-Original Message-
>>From: John Najarian [mailto:[EMAIL PROTECTED]
>>Sent: Thursday, September 02, 2004 2:56 PM
>>To: 'Tomcat Users List'
>>Subject: RE: Newbie help w/ORielly examples
>>
>>I've restarted a few times.  I'll see if I can recompile these.
>>
>>-Original Message-
>>From: John Villar [mailto:[EMAIL PROTECTED]
>>Sent: Thursday, September 02, 2004 2:40 PM
>>To: Tomcat Users List
>>Subject: Re: Newbie help w/ORielly examples
>>
>>Usually HTTP 500 codes are bugs in the code i really don't know what
>>this "debug" attribute is used for but you should restart your
>>tomcat to see if it heals.
>>
>>John Najarian escribió:
>>
>>>I got in there but now I get this error when I try to access
>>>
>>>the context '/ora':
>>>
>>>
>>>
>>>
>>>HTTP Status 500 - Error retrieving attribute debug
>>>
>>>  _
>>>
>>>
>>>type Status report
>>>
>>>message Error retrieving attribute debug
>>>
>>>description The server encountered an internal error (Error retrieving
>>>attribute debug) that prevented it from fulfilling this request.
>>>
>>>  _
>>>
>>>
>>>Apache Tomcat/5.0.19
>>>
>>>
>>>
>>>
>>>
>>>
>>>-Original Message-
>>>From: John Villar [mailto:[EMAIL PROTECTED]
>>>Sent: Thursday, September 02, 2004 2:25 PM
>>>To: Tomcat Users List
>>>Subject: Re: Newbie help w/ORielly examples
>>>
>>>
>>>
>>>Then manually deploy it the admin app has a facility to deploy a
>>>
>>>context that should do the trick
>>>
>>>
>>>
>>>John Najarian escribió:
>>>
>>>
>>>
>>>
>>>
Thanks John, the autodeploy was already set to 'True'.


>>>
>>>
>>>
I've got a few apps working this one just doesn't.


>>>
>>>
>>>
>>>
>>>
>>>
-Original Message-


>>>
>>>
>>>
From: John Villar [mailto:[EMAIL PROTECTED]


>>>
>>>
>>>
Sent: Thursday, September 02, 2004 1:44 PM


>>>
>>>
>>>
To: Tomcat Users List


>>>
>>>
>>>
Subject: Re: Newbie help w/ORielly examples


>>>
>>>
>>>
>>>
>>>
>>>
enable autodeploy on the admin app (i.e. localhost:8080/admin). Make


>>>
>>>
>>>
sure you have a user configured to access the admin app in your


>>>
>>>
>>>
conf/server.xml file


>>>
>>>
>>>
>>>
>>>
>>>
John Najarian escribió:


>>>
>>>
>>>
>>>
>>>
>>>



>>>
>>>
>>>
>>>
>>>
>>>
>I've tried installing the examples from the 'Java Server Pages'
>
>
>>>
>>>
>>>
>book to no avail.  I expanded the jspbook3.zip file and copied
>
>
>>>
>>>
>>>
>the 'ora/' directory to the 'tomcat/webapps' directory.
>
>
>>>
>>>
>>>
>>>
>>>
>>>
>I restarted the tomcat service.  When I try to access the apps
>
>
>>>
>>>
>>>
>by typing 'http://localhost:8080/ora/' into a browser I get the
>
>
>>>
>>>
>>>
>following displayed in the browser.
>
>
>>>
>>>
>>>
>>>
>>>
>>>
>
>
>
>>>
>>>
>>>
>HTTP Status 404 - /ora/
>
>
>>>
>>>
>>>
>>>
>>>
>>>
>type Status report
>
>
>>>
>>>
>>>
>>>
>>>
>>>
>message /ora/
>
>
>>>
>>>
>>>
>>>
>>>
>>>
>description The requested resource (/ora/) is not available.
>
>
>>>
>>>
>>>
>Apache Tomcat/5.0.19
>
>
>>>
>>>
>>>
>
>
>
>>>
>>>
>>>
>>>
>>>
>>>
>Any ideas?  This is running on an XP machine.
>
>
>>>
>>>
>>>
>>>
>>>
>>>
>Thanks
>
>
>>>
>>>
>>>
>>>
>>

Re: Tomcat 4.1: JSP pages don't always compile the first time?

2004-09-03 Thread Jeffrey Barnett
Does this warning/suggestion apply just to jsp-api.jar or to all the jsp 
jars (e.g.jstl.jar, standard.jar,...) as well?

Shapira, Yoav wrote:
Hi,
You have mismatched versions of the Servlet API jars around.  There
should be only one, in tomcat's common repository.  Don't ship the
servlet or JSP API jars with your webapps.  And if you stored references
to objects from old versions of these APIs in your Sessions, junk the
session repository (session.ser).
Yoav Shapira
Millennium Research Informatics
 

-Original Message-
From: Richard Mundell [mailto:[EMAIL PROTECTED]
Sent: Thursday, September 02, 2004 11:09 AM
To: [EMAIL PROTECTED]
Subject: Tomcat 4.1: JSP pages don't always compile the first time?
We have a large JSP-based application which we're noting some first
   

time
 

compilation problems.
When we deploy the .war file (with the "work" cache deleted and Tomcat
freshly started) some of our pages (but not all) fail to compile upon
the first access with the error below.
If you simply refresh the page through the web browser it then compiles
fine, and is fine from that point onwards. It always happens with the
same pages. These pages have includes of other JSP pages, but these
   

have
 

all already been correctly compiled and previously accessed.
Can anyone give me any ideas on this? I can't find anything similar
after trawling the search engines?
Thanks,
Richard
javax.servlet.ServletException: (class:
org/apache/jsp/OrderManagementComments_jsp, method: SortBasket
signature: (Ljavax/servlet/http/HttpSession;)V) Incompatible type for
getting or setting field
at
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:248)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
	at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applic
   

a
 

tionFilterChain.java:247)
	at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFil
   

t
 

erChain.java:193)
	at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperVal
   

v
 

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

i
 

nvokeNext(StandardPipeline.java:643)
	at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:
   

4
 

80)
at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
	at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextVal
   

v
 

e.java:191)
	at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.
   

i
 

nvokeNext(StandardPipeline.java:643)
	at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:
   

4
 

80)
at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
	at
org.apache.catalina.core.StandardContext.invoke(StandardContext.java:23
   

9
 

7)
	at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.jav
   

a
 

:180)
	at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.
   

i
 

nvokeNext(StandardPipeline.java:643)
	at
org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherV
   

a
 

lve.java:170)
	at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.
   

i
 

nvokeNext(StandardPipeline.java:641)
	at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.jav
   

a
 

:171)
	at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.
   

i
 

nvokeNext(StandardPipeline.java:641)
	at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:
   

4
 

80)
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.
   

i
 

nvokeNext(StandardPipeline.java:643)
	at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:
   

4
 

80)
at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at
org.apache.ajp.tomcat4.Ajp13Processor.process(Ajp13Processor.java:458)
at
org.apache.ajp.tomcat4.Ajp13Processor.run(Ajp13Processor.java:551)
at java.lang.Thread.run(Thread.java:484)
   



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 PR

RE: Newbie help w/ORielly examples

2004-09-03 Thread John Najarian
Yes, the entire directory.  I think I'll uninstall 5.19 and install 5.27

-Original Message-
From: Williams, Mark L CIV NSWC-PC [mailto:[EMAIL PROTECTED] 
Sent: Friday, September 03, 2004 11:01 AM
To: Tomcat Users List
Subject: RE: Newbie help w/ORielly examples

FWIW, the O'Reilly examples work just fine on my TC 5.0.27 site with no
tweaking of any kind. Did you if you followed the installation
instructions to be sure the whole directory tree was copied into the
webapps directory?

Mark

-Original Message-
From: Shapira, Yoav [mailto:[EMAIL PROTECTED]
Sent: Friday, September 03, 2004 12:57
To: Tomcat Users List
Subject: RE: Newbie help w/ORielly examples



Hi,
Are you trying the Tomcat examples or the O'Reilly ones?

Yoav Shapira
Millennium Research Informatics


>-Original Message-
>From: John Najarian [mailto:[EMAIL PROTECTED]
>Sent: Friday, September 03, 2004 1:55 PM
>To: 'Tomcat Users List'
>Subject: RE: Newbie help w/ORielly examples
>
>I don't know if the Tomcat examples run.  That's what I'm trying.
>Other JPSs & Servelts do run on this tomcat installation.
>
>-Original Message-
>From: Shapira, Yoav [mailto:[EMAIL PROTECTED]
>Sent: Friday, September 03, 2004 10:25 AM
>To: Tomcat Users List
>Subject: RE: Newbie help w/ORielly examples
>
>
>Hi,
>It's not accurate to say that 500-class HTTP responses are usually
>application code bugs.  Server misconfiguration is at least as common a
>cause for these responses.
>
>The stack trace and error information posted by the OP is insufficient
to
>determine the cause of the error.
>
>To the OP: do the Tomcat examples run?
>
>Yoav Shapira
>Millennium Research Informatics
>
>
>>-Original Message-
>>From: John Najarian [mailto:[EMAIL PROTECTED]
>>Sent: Friday, September 03, 2004 1:20 PM
>>To: 'Tomcat Users List'
>>Subject: RE: Newbie help w/ORielly examples
>>
>>Recomiliing didn't help.  Has anyone got any ideas?
>>Thanks.
>>
>>-Original Message-
>>From: John Najarian [mailto:[EMAIL PROTECTED]
>>Sent: Thursday, September 02, 2004 2:56 PM
>>To: 'Tomcat Users List'
>>Subject: RE: Newbie help w/ORielly examples
>>
>>I've restarted a few times.  I'll see if I can recompile these.
>>
>>-Original Message-
>>From: John Villar [mailto:[EMAIL PROTECTED]
>>Sent: Thursday, September 02, 2004 2:40 PM
>>To: Tomcat Users List
>>Subject: Re: Newbie help w/ORielly examples
>>
>>Usually HTTP 500 codes are bugs in the code i really don't know
what
>>this "debug" attribute is used for but you should restart your
>>tomcat to see if it heals.
>>
>>John Najarian escribió:
>>
>>>I got in there but now I get this error when I try to access
>>>
>>>the context '/ora':
>>>
>>>
>>>
>>>
>>>HTTP Status 500 - Error retrieving attribute debug
>>>
>>>  _
>>>
>>>
>>>type Status report
>>>
>>>message Error retrieving attribute debug
>>>
>>>description The server encountered an internal error (Error
retrieving
>>>attribute debug) that prevented it from fulfilling this request.
>>>
>>>  _
>>>
>>>
>>>Apache Tomcat/5.0.19
>>>
>>>
>>>
>>>
>>>
>>>
>>>-Original Message-
>>>From: John Villar [mailto:[EMAIL PROTECTED]
>>>Sent: Thursday, September 02, 2004 2:25 PM
>>>To: Tomcat Users List
>>>Subject: Re: Newbie help w/ORielly examples
>>>
>>>
>>>
>>>Then manually deploy it the admin app has a facility to deploy a
>>>
>>>context that should do the trick
>>>
>>>
>>>
>>>John Najarian escribió:
>>>
>>>
>>>
>>>
>>>
Thanks John, the autodeploy was already set to 'True'.


>>>
>>>
>>>
I've got a few apps working this one just doesn't.


>>>
>>>
>>>
>>>
>>>
>>>
-Original Message-


>>>
>>>
>>>
From: John Villar [mailto:[EMAIL PROTECTED]


>>>
>>>
>>>
Sent: Thursday, September 02, 2004 1:44 PM


>>>
>>>
>>>
To: Tomcat Users List


>>>
>>>
>>>
Subject: Re: Newbie help w/ORielly examples


>>>
>>>
>>>
>>>
>>>
>>>
enable autodeploy on the admin app (i.e. localhost:8080/admin). Make


>>>
>>>
>>>
sure you have a user configured to access the admin app in your


>>>
>>>
>>>
conf/server.xml file


>>>
>>>
>>>
>>>
>>>
>>>
John Najarian escribió:


>>>
>>>
>>>
>>>
>>>
>>>



>>>
>>>
>>>
>>>
>>>
>>>
>I've tried installing the examples from the 'Java Server Pages'
>
>
>>>
>>>
>>>
>book to no avail.  I expanded the jspbook3.zip file and copied
>
>
>>>
>>>
>>>
>the 'ora/' directory to the 'tomcat/webapps' directory.
>
>
>>>
>>>
>>>
>>>
>>>
>>>
>I restarted the tomcat service.  When I try to access the apps
>
>
>>>
>>>
>>>
>by typing 'http://localhost:8080/ora/' into a browser I get the
>
>
>>>
>>>
>>>
>following displayed in the browser.
>
>
>>>
>>>
>>>
>>>
>>>
>>>
>
>
>
>>>
>>>
>>>
>HTTP Status 404 - /ora/
>
>
>>>
>>>
>>>
>>>
>>>
>>>

RE: How do I programmatically find the DocBase of my webapp?

2004-09-03 Thread Jay Glanville
Thanks Yoav.

In my defense, I did perform a search.  However, NOT in my defense, my
search was a little week: do you know how many hits you get when
searching the archives for 'docbase'?  Not a good word to limit by.  ;-)

--
Jay Glanville
Software Engineer


> -Original Message-
> From: Shapira, Yoav [mailto:[EMAIL PROTECTED] 
> Sent: Friday, September 03, 2004 2:07 PM
> To: Tomcat Users List
> Subject: RE: How do I programmatically find the DocBase of my webapp?
> 
> 
> 
> Hi,
> Why don't people ever search the archives before posting?  At least
> that's how it seems ;)
> 
> Use ServletContext#getRealPath("/") if running unpacked, 
> which I bet is
> your use case.
> 
> Yoav Shapira
> Millennium Research Informatics
> 
> 
> >-Original Message-
> >From: Glanville, Jay [mailto:[EMAIL PROTECTED]
> >Sent: Friday, September 03, 2004 2:00 PM
> >To: [EMAIL PROTECTED]
> >Subject: How do I programmatically find the DocBase of my webapp?
> >
> >Hello all,
> >
> >Quick question here (I hope).  Inside of my web application, 
> I want to
> >find the full, absolute file path to this application's doc 
> base.  How
> >do I do this?  Basically, I want to ensure that files X, Y 
> and Z exist
> >before my application starts to respond to requests.
> >
> >JDG


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



RE: How do I programmatically find the DocBase of my webapp?

2004-09-03 Thread Shapira, Yoav

Hi,
Why don't people ever search the archives before posting?  At least
that's how it seems ;)

Use ServletContext#getRealPath("/") if running unpacked, which I bet is
your use case.

Yoav Shapira
Millennium Research Informatics


>-Original Message-
>From: Glanville, Jay [mailto:[EMAIL PROTECTED]
>Sent: Friday, September 03, 2004 2:00 PM
>To: [EMAIL PROTECTED]
>Subject: How do I programmatically find the DocBase of my webapp?
>
>Hello all,
>
>Quick question here (I hope).  Inside of my web application, I want to
>find the full, absolute file path to this application's doc base.  How
>do I do this?  Basically, I want to ensure that files X, Y and Z exist
>before my application starts to respond to requests.
>
>JDG
>
>--
>Jay Glanville
>Software Engineer
>
>-
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]




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]



RE: Newbie help w/ORielly examples

2004-09-03 Thread Williams, Mark L CIV NSWC-PC
FWIW, the O'Reilly examples work just fine on my TC 5.0.27 site with no
tweaking of any kind. Did you if you followed the installation
instructions to be sure the whole directory tree was copied into the
webapps directory?

Mark

-Original Message-
From: Shapira, Yoav [mailto:[EMAIL PROTECTED]
Sent: Friday, September 03, 2004 12:57
To: Tomcat Users List
Subject: RE: Newbie help w/ORielly examples



Hi,
Are you trying the Tomcat examples or the O'Reilly ones?

Yoav Shapira
Millennium Research Informatics


>-Original Message-
>From: John Najarian [mailto:[EMAIL PROTECTED]
>Sent: Friday, September 03, 2004 1:55 PM
>To: 'Tomcat Users List'
>Subject: RE: Newbie help w/ORielly examples
>
>I don't know if the Tomcat examples run.  That's what I'm trying.
>Other JPSs & Servelts do run on this tomcat installation.
>
>-Original Message-
>From: Shapira, Yoav [mailto:[EMAIL PROTECTED]
>Sent: Friday, September 03, 2004 10:25 AM
>To: Tomcat Users List
>Subject: RE: Newbie help w/ORielly examples
>
>
>Hi,
>It's not accurate to say that 500-class HTTP responses are usually
>application code bugs.  Server misconfiguration is at least as common a
>cause for these responses.
>
>The stack trace and error information posted by the OP is insufficient
to
>determine the cause of the error.
>
>To the OP: do the Tomcat examples run?
>
>Yoav Shapira
>Millennium Research Informatics
>
>
>>-Original Message-
>>From: John Najarian [mailto:[EMAIL PROTECTED]
>>Sent: Friday, September 03, 2004 1:20 PM
>>To: 'Tomcat Users List'
>>Subject: RE: Newbie help w/ORielly examples
>>
>>Recomiliing didn't help.  Has anyone got any ideas?
>>Thanks.
>>
>>-Original Message-
>>From: John Najarian [mailto:[EMAIL PROTECTED]
>>Sent: Thursday, September 02, 2004 2:56 PM
>>To: 'Tomcat Users List'
>>Subject: RE: Newbie help w/ORielly examples
>>
>>I've restarted a few times.  I'll see if I can recompile these.
>>
>>-Original Message-
>>From: John Villar [mailto:[EMAIL PROTECTED]
>>Sent: Thursday, September 02, 2004 2:40 PM
>>To: Tomcat Users List
>>Subject: Re: Newbie help w/ORielly examples
>>
>>Usually HTTP 500 codes are bugs in the code i really don't know
what
>>this "debug" attribute is used for but you should restart your
>>tomcat to see if it heals.
>>
>>John Najarian escribió:
>>
>>>I got in there but now I get this error when I try to access
>>>
>>>the context '/ora':
>>>
>>>
>>>
>>>
>>>HTTP Status 500 - Error retrieving attribute debug
>>>
>>>  _
>>>
>>>
>>>type Status report
>>>
>>>message Error retrieving attribute debug
>>>
>>>description The server encountered an internal error (Error
retrieving
>>>attribute debug) that prevented it from fulfilling this request.
>>>
>>>  _
>>>
>>>
>>>Apache Tomcat/5.0.19
>>>
>>>
>>>
>>>
>>>
>>>
>>>-Original Message-
>>>From: John Villar [mailto:[EMAIL PROTECTED]
>>>Sent: Thursday, September 02, 2004 2:25 PM
>>>To: Tomcat Users List
>>>Subject: Re: Newbie help w/ORielly examples
>>>
>>>
>>>
>>>Then manually deploy it the admin app has a facility to deploy a
>>>
>>>context that should do the trick
>>>
>>>
>>>
>>>John Najarian escribió:
>>>
>>>
>>>
>>>
>>>
Thanks John, the autodeploy was already set to 'True'.


>>>
>>>
>>>
I've got a few apps working this one just doesn't.


>>>
>>>
>>>
>>>
>>>
>>>
-Original Message-


>>>
>>>
>>>
From: John Villar [mailto:[EMAIL PROTECTED]


>>>
>>>
>>>
Sent: Thursday, September 02, 2004 1:44 PM


>>>
>>>
>>>
To: Tomcat Users List


>>>
>>>
>>>
Subject: Re: Newbie help w/ORielly examples


>>>
>>>
>>>
>>>
>>>
>>>
enable autodeploy on the admin app (i.e. localhost:8080/admin). Make


>>>
>>>
>>>
sure you have a user configured to access the admin app in your


>>>
>>>
>>>
conf/server.xml file


>>>
>>>
>>>
>>>
>>>
>>>
John Najarian escribió:


>>>
>>>
>>>
>>>
>>>
>>>



>>>
>>>
>>>
>>>
>>>
>>>
>I've tried installing the examples from the 'Java Server Pages'
>
>
>>>
>>>
>>>
>book to no avail.  I expanded the jspbook3.zip file and copied
>
>
>>>
>>>
>>>
>the 'ora/' directory to the 'tomcat/webapps' directory.
>
>
>>>
>>>
>>>
>>>
>>>
>>>
>I restarted the tomcat service.  When I try to access the apps
>
>
>>>
>>>
>>>
>by typing 'http://localhost:8080/ora/' into a browser I get the
>
>
>>>
>>>
>>>
>following displayed in the browser.
>
>
>>>
>>>
>>>
>>>
>>>
>>>
>
>
>
>>>
>>>
>>>
>HTTP Status 404 - /ora/
>
>
>>>
>>>
>>>
>>>
>>>
>>>
>type Status report
>
>
>>>
>>>
>>>
>>>
>>>
>>>
>message /ora/
>
>
>>>
>>>
>>>
>>>
>>>
>>>
>description The requested resource (/ora/) is not available.
>
>
>>>
>>>
>>>
>Apache Tomcat/5.0.19
>
>
>>>
>>>
>>>
>

How do I programmatically find the DocBase of my webapp?

2004-09-03 Thread Glanville, Jay
Hello all,

Quick question here (I hope).  Inside of my web application, I want to
find the full, absolute file path to this application's doc base.  How
do I do this?  Basically, I want to ensure that files X, Y and Z exist
before my application starts to respond to requests.

JDG

--
Jay Glanville
Software Engineer

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



RE: Newbie help w/ORielly examples

2004-09-03 Thread Shapira, Yoav

Hi,
Are you trying the Tomcat examples or the O'Reilly ones?

Yoav Shapira
Millennium Research Informatics


>-Original Message-
>From: John Najarian [mailto:[EMAIL PROTECTED]
>Sent: Friday, September 03, 2004 1:55 PM
>To: 'Tomcat Users List'
>Subject: RE: Newbie help w/ORielly examples
>
>I don't know if the Tomcat examples run.  That's what I'm trying.
>Other JPSs & Servelts do run on this tomcat installation.
>
>-Original Message-
>From: Shapira, Yoav [mailto:[EMAIL PROTECTED]
>Sent: Friday, September 03, 2004 10:25 AM
>To: Tomcat Users List
>Subject: RE: Newbie help w/ORielly examples
>
>
>Hi,
>It's not accurate to say that 500-class HTTP responses are usually
>application code bugs.  Server misconfiguration is at least as common a
>cause for these responses.
>
>The stack trace and error information posted by the OP is insufficient to
>determine the cause of the error.
>
>To the OP: do the Tomcat examples run?
>
>Yoav Shapira
>Millennium Research Informatics
>
>
>>-Original Message-
>>From: John Najarian [mailto:[EMAIL PROTECTED]
>>Sent: Friday, September 03, 2004 1:20 PM
>>To: 'Tomcat Users List'
>>Subject: RE: Newbie help w/ORielly examples
>>
>>Recomiliing didn't help.  Has anyone got any ideas?
>>Thanks.
>>
>>-Original Message-
>>From: John Najarian [mailto:[EMAIL PROTECTED]
>>Sent: Thursday, September 02, 2004 2:56 PM
>>To: 'Tomcat Users List'
>>Subject: RE: Newbie help w/ORielly examples
>>
>>I've restarted a few times.  I'll see if I can recompile these.
>>
>>-Original Message-
>>From: John Villar [mailto:[EMAIL PROTECTED]
>>Sent: Thursday, September 02, 2004 2:40 PM
>>To: Tomcat Users List
>>Subject: Re: Newbie help w/ORielly examples
>>
>>Usually HTTP 500 codes are bugs in the code i really don't know what
>>this "debug" attribute is used for but you should restart your
>>tomcat to see if it heals.
>>
>>John Najarian escribió:
>>
>>>I got in there but now I get this error when I try to access
>>>
>>>the context '/ora':
>>>
>>>
>>>
>>>
>>>HTTP Status 500 - Error retrieving attribute debug
>>>
>>>  _
>>>
>>>
>>>type Status report
>>>
>>>message Error retrieving attribute debug
>>>
>>>description The server encountered an internal error (Error retrieving
>>>attribute debug) that prevented it from fulfilling this request.
>>>
>>>  _
>>>
>>>
>>>Apache Tomcat/5.0.19
>>>
>>>
>>>
>>>
>>>
>>>
>>>-Original Message-
>>>From: John Villar [mailto:[EMAIL PROTECTED]
>>>Sent: Thursday, September 02, 2004 2:25 PM
>>>To: Tomcat Users List
>>>Subject: Re: Newbie help w/ORielly examples
>>>
>>>
>>>
>>>Then manually deploy it the admin app has a facility to deploy a
>>>
>>>context that should do the trick
>>>
>>>
>>>
>>>John Najarian escribió:
>>>
>>>
>>>
>>>
>>>
Thanks John, the autodeploy was already set to 'True'.


>>>
>>>
>>>
I've got a few apps working this one just doesn't.


>>>
>>>
>>>
>>>
>>>
>>>
-Original Message-


>>>
>>>
>>>
From: John Villar [mailto:[EMAIL PROTECTED]


>>>
>>>
>>>
Sent: Thursday, September 02, 2004 1:44 PM


>>>
>>>
>>>
To: Tomcat Users List


>>>
>>>
>>>
Subject: Re: Newbie help w/ORielly examples


>>>
>>>
>>>
>>>
>>>
>>>
enable autodeploy on the admin app (i.e. localhost:8080/admin). Make


>>>
>>>
>>>
sure you have a user configured to access the admin app in your


>>>
>>>
>>>
conf/server.xml file


>>>
>>>
>>>
>>>
>>>
>>>
John Najarian escribió:


>>>
>>>
>>>
>>>
>>>
>>>



>>>
>>>
>>>
>>>
>>>
>>>
>I've tried installing the examples from the 'Java Server Pages'
>
>
>>>
>>>
>>>
>book to no avail.  I expanded the jspbook3.zip file and copied
>
>
>>>
>>>
>>>
>the 'ora/' directory to the 'tomcat/webapps' directory.
>
>
>>>
>>>
>>>
>>>
>>>
>>>
>I restarted the tomcat service.  When I try to access the apps
>
>
>>>
>>>
>>>
>by typing 'http://localhost:8080/ora/' into a browser I get the
>
>
>>>
>>>
>>>
>following displayed in the browser.
>
>
>>>
>>>
>>>
>>>
>>>
>>>
>
>
>
>>>
>>>
>>>
>HTTP Status 404 - /ora/
>
>
>>>
>>>
>>>
>>>
>>>
>>>
>type Status report
>
>
>>>
>>>
>>>
>>>
>>>
>>>
>message /ora/
>
>
>>>
>>>
>>>
>>>
>>>
>>>
>description The requested resource (/ora/) is not available.
>
>
>>>
>>>
>>>
>Apache Tomcat/5.0.19
>
>
>>>
>>>
>>>
>
>
>
>>>
>>>
>>>
>>>
>>>
>>>
>Any ideas?  This is running on an XP machine.
>
>
>>>
>>>
>>>
>>>
>>>
>>>
>Thanks
>
>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>-
>
>
>>>
>>>
>>>
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>
>
>>>

RE: Newbie help w/ORielly examples

2004-09-03 Thread John Najarian
I don't know if the Tomcat examples run.  That's what I'm trying.
Other JPSs & Servelts do run on this tomcat installation.

-Original Message-
From: Shapira, Yoav [mailto:[EMAIL PROTECTED] 
Sent: Friday, September 03, 2004 10:25 AM
To: Tomcat Users List
Subject: RE: Newbie help w/ORielly examples


Hi,
It's not accurate to say that 500-class HTTP responses are usually
application code bugs.  Server misconfiguration is at least as common a
cause for these responses.

The stack trace and error information posted by the OP is insufficient to
determine the cause of the error.

To the OP: do the Tomcat examples run? 

Yoav Shapira
Millennium Research Informatics


>-Original Message-
>From: John Najarian [mailto:[EMAIL PROTECTED]
>Sent: Friday, September 03, 2004 1:20 PM
>To: 'Tomcat Users List'
>Subject: RE: Newbie help w/ORielly examples
>
>Recomiliing didn't help.  Has anyone got any ideas?
>Thanks.
>
>-Original Message-
>From: John Najarian [mailto:[EMAIL PROTECTED]
>Sent: Thursday, September 02, 2004 2:56 PM
>To: 'Tomcat Users List'
>Subject: RE: Newbie help w/ORielly examples
>
>I've restarted a few times.  I'll see if I can recompile these.
>
>-Original Message-
>From: John Villar [mailto:[EMAIL PROTECTED]
>Sent: Thursday, September 02, 2004 2:40 PM
>To: Tomcat Users List
>Subject: Re: Newbie help w/ORielly examples
>
>Usually HTTP 500 codes are bugs in the code i really don't know what
>this "debug" attribute is used for but you should restart your
>tomcat to see if it heals.
>
>John Najarian escribió:
>
>>I got in there but now I get this error when I try to access
>>
>>the context '/ora':
>>
>>
>>
>>
>>HTTP Status 500 - Error retrieving attribute debug
>>
>>  _
>>
>>
>>type Status report
>>
>>message Error retrieving attribute debug
>>
>>description The server encountered an internal error (Error retrieving
>>attribute debug) that prevented it from fulfilling this request.
>>
>>  _
>>
>>
>>Apache Tomcat/5.0.19
>>
>>
>>
>>
>>
>>
>>-Original Message-
>>From: John Villar [mailto:[EMAIL PROTECTED]
>>Sent: Thursday, September 02, 2004 2:25 PM
>>To: Tomcat Users List
>>Subject: Re: Newbie help w/ORielly examples
>>
>>
>>
>>Then manually deploy it the admin app has a facility to deploy a
>>
>>context that should do the trick
>>
>>
>>
>>John Najarian escribió:
>>
>>
>>
>>
>>
>>>Thanks John, the autodeploy was already set to 'True'.
>>>
>>>
>>
>>
>>
>>>I've got a few apps working this one just doesn't.
>>>
>>>
>>
>>
>>
>>
>>
>>
>>>-Original Message-
>>>
>>>
>>
>>
>>
>>>From: John Villar [mailto:[EMAIL PROTECTED]
>>>
>>>
>>
>>
>>
>>>Sent: Thursday, September 02, 2004 1:44 PM
>>>
>>>
>>
>>
>>
>>>To: Tomcat Users List
>>>
>>>
>>
>>
>>
>>>Subject: Re: Newbie help w/ORielly examples
>>>
>>>
>>
>>
>>
>>
>>
>>
>>>enable autodeploy on the admin app (i.e. localhost:8080/admin). Make
>>>
>>>
>>
>>
>>
>>>sure you have a user configured to access the admin app in your
>>>
>>>
>>
>>
>>
>>>conf/server.xml file
>>>
>>>
>>
>>
>>
>>
>>
>>
>>>John Najarian escribió:
>>>
>>>
>>
>>
>>
>>
>>
>>
>>>
>>>
>>>
>>
>>
>>
>>
>>
>>
I've tried installing the examples from the 'Java Server Pages'


>>
>>
>>
book to no avail.  I expanded the jspbook3.zip file and copied


>>
>>
>>
the 'ora/' directory to the 'tomcat/webapps' directory.


>>
>>
>>
>>
>>
>>
I restarted the tomcat service.  When I try to access the apps


>>
>>
>>
by typing 'http://localhost:8080/ora/' into a browser I get the


>>
>>
>>
following displayed in the browser.


>>
>>
>>
>>
>>
>>



>>
>>
>>
HTTP Status 404 - /ora/


>>
>>
>>
>>
>>
>>
type Status report


>>
>>
>>
>>
>>
>>
message /ora/


>>
>>
>>
>>
>>
>>
description The requested resource (/ora/) is not available.


>>
>>
>>
Apache Tomcat/5.0.19


>>
>>
>>



>>
>>
>>
>>
>>
>>
Any ideas?  This is running on an XP machine.


>>
>>
>>
>>
>>
>>
Thanks


>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
-


>>
>>
>>
To unsubscribe, e-mail: [EMAIL PROTECTED]


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


>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>



>>
>>
>>
>>
>>
>>
>>
>>
>>
>>>
>>>
>>>
>>
>>
>>
>>
>>
>>
>>
>>
>
>--
>John Villar
>Gerente de Proyectos
>Computadores Flor Hard Soft 2058 C.A.
>www.florhard.com
>
>
>
>
>
>-
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>
>
>-
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, 

RE: Newbie help w/ORielly examples

2004-09-03 Thread Shapira, Yoav

Hi,
It's not accurate to say that 500-class HTTP responses are usually application code 
bugs.  Server misconfiguration is at least as common a cause for these responses.

The stack trace and error information posted by the OP is insufficient to determine 
the cause of the error.

To the OP: do the Tomcat examples run?

Yoav Shapira
Millennium Research Informatics


>-Original Message-
>From: John Najarian [mailto:[EMAIL PROTECTED]
>Sent: Friday, September 03, 2004 1:20 PM
>To: 'Tomcat Users List'
>Subject: RE: Newbie help w/ORielly examples
>
>Recomiliing didn't help.  Has anyone got any ideas?
>Thanks.
>
>-Original Message-
>From: John Najarian [mailto:[EMAIL PROTECTED]
>Sent: Thursday, September 02, 2004 2:56 PM
>To: 'Tomcat Users List'
>Subject: RE: Newbie help w/ORielly examples
>
>I've restarted a few times.  I'll see if I can recompile these.
>
>-Original Message-
>From: John Villar [mailto:[EMAIL PROTECTED]
>Sent: Thursday, September 02, 2004 2:40 PM
>To: Tomcat Users List
>Subject: Re: Newbie help w/ORielly examples
>
>Usually HTTP 500 codes are bugs in the code i really don't know what
>this "debug" attribute is used for but you should restart your
>tomcat to see if it heals.
>
>John Najarian escribió:
>
>>I got in there but now I get this error when I try to access
>>
>>the context '/ora':
>>
>>
>>
>>
>>HTTP Status 500 - Error retrieving attribute debug
>>
>>  _
>>
>>
>>type Status report
>>
>>message Error retrieving attribute debug
>>
>>description The server encountered an internal error (Error retrieving
>>attribute debug) that prevented it from fulfilling this request.
>>
>>  _
>>
>>
>>Apache Tomcat/5.0.19
>>
>>
>>
>>
>>
>>
>>-Original Message-
>>From: John Villar [mailto:[EMAIL PROTECTED]
>>Sent: Thursday, September 02, 2004 2:25 PM
>>To: Tomcat Users List
>>Subject: Re: Newbie help w/ORielly examples
>>
>>
>>
>>Then manually deploy it the admin app has a facility to deploy a
>>
>>context that should do the trick
>>
>>
>>
>>John Najarian escribió:
>>
>>
>>
>>
>>
>>>Thanks John, the autodeploy was already set to 'True'.
>>>
>>>
>>
>>
>>
>>>I've got a few apps working this one just doesn't.
>>>
>>>
>>
>>
>>
>>
>>
>>
>>>-Original Message-
>>>
>>>
>>
>>
>>
>>>From: John Villar [mailto:[EMAIL PROTECTED]
>>>
>>>
>>
>>
>>
>>>Sent: Thursday, September 02, 2004 1:44 PM
>>>
>>>
>>
>>
>>
>>>To: Tomcat Users List
>>>
>>>
>>
>>
>>
>>>Subject: Re: Newbie help w/ORielly examples
>>>
>>>
>>
>>
>>
>>
>>
>>
>>>enable autodeploy on the admin app (i.e. localhost:8080/admin). Make
>>>
>>>
>>
>>
>>
>>>sure you have a user configured to access the admin app in your
>>>
>>>
>>
>>
>>
>>>conf/server.xml file
>>>
>>>
>>
>>
>>
>>
>>
>>
>>>John Najarian escribió:
>>>
>>>
>>
>>
>>
>>
>>
>>
>>>
>>>
>>>
>>
>>
>>
>>
>>
>>
I've tried installing the examples from the 'Java Server Pages'


>>
>>
>>
book to no avail.  I expanded the jspbook3.zip file and copied


>>
>>
>>
the 'ora/' directory to the 'tomcat/webapps' directory.


>>
>>
>>
>>
>>
>>
I restarted the tomcat service.  When I try to access the apps


>>
>>
>>
by typing 'http://localhost:8080/ora/' into a browser I get the


>>
>>
>>
following displayed in the browser.


>>
>>
>>
>>
>>
>>



>>
>>
>>
HTTP Status 404 - /ora/


>>
>>
>>
>>
>>
>>
type Status report


>>
>>
>>
>>
>>
>>
message /ora/


>>
>>
>>
>>
>>
>>
description The requested resource (/ora/) is not available.


>>
>>
>>
Apache Tomcat/5.0.19


>>
>>
>>



>>
>>
>>
>>
>>
>>
Any ideas?  This is running on an XP machine.


>>
>>
>>
>>
>>
>>
Thanks


>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
-


>>
>>
>>
To unsubscribe, e-mail: [EMAIL PROTECTED]


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


>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>



>>
>>
>>
>>
>>
>>
>>
>>
>>
>>>
>>>
>>>
>>
>>
>>
>>
>>
>>
>>
>>
>
>--
>John Villar
>Gerente de Proyectos
>Computadores Flor Hard Soft 2058 C.A.
>www.florhard.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]




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, prin

RE: Newbie help w/ORielly examples

2004-09-03 Thread John Najarian
Recomiliing didn't help.  Has anyone got any ideas?
Thanks.

-Original Message-
From: John Najarian [mailto:[EMAIL PROTECTED] 
Sent: Thursday, September 02, 2004 2:56 PM
To: 'Tomcat Users List'
Subject: RE: Newbie help w/ORielly examples

I've restarted a few times.  I'll see if I can recompile these.

-Original Message-
From: John Villar [mailto:[EMAIL PROTECTED] 
Sent: Thursday, September 02, 2004 2:40 PM
To: Tomcat Users List
Subject: Re: Newbie help w/ORielly examples

Usually HTTP 500 codes are bugs in the code i really don't know what 
this "debug" attribute is used for but you should restart your 
tomcat to see if it heals.

John Najarian escribió:

>I got in there but now I get this error when I try to access
>
>the context '/ora':
>
> 
>
>
>HTTP Status 500 - Error retrieving attribute debug
>
>  _  
>
>
>type Status report
>
>message Error retrieving attribute debug
>
>description The server encountered an internal error (Error retrieving
>attribute debug) that prevented it from fulfilling this request.
>
>  _  
>
>
>Apache Tomcat/5.0.19
>
>
> 
>
> 
>
>-Original Message-
>From: John Villar [mailto:[EMAIL PROTECTED] 
>Sent: Thursday, September 02, 2004 2:25 PM
>To: Tomcat Users List
>Subject: Re: Newbie help w/ORielly examples
>
> 
>
>Then manually deploy it the admin app has a facility to deploy a 
>
>context that should do the trick
>
> 
>
>John Najarian escribió:
>
> 
>
>  
>
>>Thanks John, the autodeploy was already set to 'True'.
>>
>>
>
>  
>
>>I've got a few apps working this one just doesn't.
>>
>>
>
>  
>
>
>  
>
>>-Original Message-
>>
>>
>
>  
>
>>From: John Villar [mailto:[EMAIL PROTECTED] 
>>
>>
>
>  
>
>>Sent: Thursday, September 02, 2004 1:44 PM
>>
>>
>
>  
>
>>To: Tomcat Users List
>>
>>
>
>  
>
>>Subject: Re: Newbie help w/ORielly examples
>>
>>
>
>  
>
>
>  
>
>>enable autodeploy on the admin app (i.e. localhost:8080/admin). Make 
>>
>>
>
>  
>
>>sure you have a user configured to access the admin app in your 
>>
>>
>
>  
>
>>conf/server.xml file
>>
>>
>
>  
>
>
>  
>
>>John Najarian escribió:
>>
>>
>
>  
>
>
>  
>
>> 
>>
>>
>
>  
>
>
>  
>
>>>I've tried installing the examples from the 'Java Server Pages'
>>>  
>>>
>
>  
>
>>>book to no avail.  I expanded the jspbook3.zip file and copied
>>>  
>>>
>
>  
>
>>>the 'ora/' directory to the 'tomcat/webapps' directory.
>>>  
>>>
>
>  
>
>
>  
>
>>>I restarted the tomcat service.  When I try to access the apps
>>>  
>>>
>
>  
>
>>>by typing 'http://localhost:8080/ora/' into a browser I get the
>>>  
>>>
>
>  
>
>>>following displayed in the browser.
>>>  
>>>
>
>  
>
>
>  
>
>>>
>>>  
>>>
>
>  
>
>>>HTTP Status 404 - /ora/
>>>  
>>>
>
>  
>
>
>  
>
>>>type Status report
>>>  
>>>
>
>  
>
>
>  
>
>>>message /ora/
>>>  
>>>
>
>  
>
>
>  
>
>>>description The requested resource (/ora/) is not available.
>>>  
>>>
>
>  
>
>>>Apache Tomcat/5.0.19
>>>  
>>>
>
>  
>
>>>
>>>  
>>>
>
>  
>
>
>  
>
>>>Any ideas?  This is running on an XP machine.
>>>  
>>>
>
>  
>
>
>  
>
>>>Thanks
>>>  
>>>
>
>  
>
>
>  
>
>
>  
>
>
>  
>
>>>-
>>>  
>>>
>
>  
>
>>>To unsubscribe, e-mail: [EMAIL PROTECTED]
>>>  
>>>
>
>  
>
>>>For additional commands, e-mail: [EMAIL PROTECTED]
>>>  
>>>
>
>  
>
>
>  
>
>
>  
>
>
>  
>
>
>  
>
>>>   
>>>  
>>>
>
>  
>
>
>  
>
>
>  
>
>> 
>>
>>
>
>  
>
>
> 
>
>  
>

-- 
John Villar
Gerente de Proyectos
Computadores Flor Hard Soft 2058 C.A.
www.florhard.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: repost: Where to get 5.5.1 from? ( Was TC 5.5 - 4 issues (jasper, ROOT, jndi, logging))

2004-09-03 Thread Shapira, Yoav

Hi,

>So the niglies are not 5.0 branch, they are 5.5.

Yup, nightlies are always built from CVS HEAD, which is the latest 5.5
stuff.  If someone wanted to do a "latest 5.0" build they'd use the
TOMCAT_5_0 CVS branch, not HEAD.

Yoav



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]



Re: repost: Where to get 5.5.1 from? ( Was TC 5.5 - 4 issues (jasper, ROOT, jndi, logging))

2004-09-03 Thread Vic
Shapira, Yoav wrote:
Hi,
How many times do I have to post this? ;)
5.5.1 is NOT AVAILABLE YET.  It's looking like I'll cut it Tuesday.
A. OK!

Nightlies are available at the usual place,
http://cvs.apache.org/builds/jakarta-tomcat-5/nightly/, but they're "use
at your own risk" of course.  Note that the above URL is nicely linked
from the normal Jakarta download pages, it's not hard to find ;)
So the niglies are not 5.0 branch, they are 5.5.
THNX,sorry to be slow on the uptake.
.V

Yoav Shapira
Millennium Research Informatics

--

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


Re: Fatal: relocation error: file libapr-0.so.0: symbol __divdi3: referenced symbol not found

2004-09-03 Thread Jonathan Rengifo
Hi, all...

My problem is definitive related with the libjkjni.so lib, when I add
the path of the library to the LD_LIBRARY_PATH I get the error
message:

ld.so.1: /usr/java/bin/java: fatal: relocation error: file
/usr/local/apache-httpd-2.0.50/lib/libapr-0.so.0: symbol __divdi3:
referenced symbol not found

But, when take this path out of the LD_LIBRARY_PATH the error
disappears, but also disappears the AF_SOCKET support of the
connector, and got this message:

INFO: APR not loaded, disabling jni components: java.io.IOException:
java.lang.UnsatisfiedLinkError: no jkjni in java.library.path

Because of this error I did put the libjkjni.so lib on the LD_LIBRARY_PATH...

Any suggestions??

Regards
Jonathan



On Fri, 3 Sep 2004 11:50:11 -0400, Jonathan Rengifo <[EMAIL PROTECTED]> wrote:
> Hi, thanks for your very important help..
> 
> I ran the ldd utility on the libapr-0.so.0 lib, with the following results:
> 
> /usr/local/apache-httpd-2.0.50/lib ldd libapr-0.so.0
> libsendfile.so.1 =>  /usr/lib/libsendfile.so.1
> librt.so.1 =>/usr/lib/librt.so.1
> libm.so.1 => /usr/lib/libm.so.1
> libsocket.so.1 =>/usr/lib/libsocket.so.1
> libnsl.so.1 =>   /usr/lib/libnsl.so.1
> libresolv.so.2 =>/usr/lib/libresolv.so.2
> libpthread.so.1 =>   /usr/lib/libpthread.so.1
> libdl.so.1 =>/usr/lib/libdl.so.1
> libc.so.1 => /usr/lib/libc.so.1
> libaio.so.1 =>   /usr/lib/libaio.so.1
> libmd5.so.1 =>   /usr/lib/libmd5.so.1
> libmp.so.2 =>/usr/lib/libmp.so.2
> libthread.so.1 =>/usr/lib/libthread.so.1
> /usr/platform/SUNW,Sun-Fire-V210/lib/libc_psr.so.1
> /usr/platform/SUNW,Sun-Fire-V210/lib/libmd5_psr.so.1
> 
> Then I  those libs for the symbol, and don't find it... What does this mean?
> 
> Thanks ..
> Jonathan
> 
> 
> 
> 
> On Fri, 3 Sep 2004 10:01:01 -0500, QM <[EMAIL PROTECTED]> wrote:
> > On Fri, Sep 03, 2004 at 10:44:13AM -0400, Jonathan Rengifo wrote:
> > : nm /usr/local/apache-httpd-2.0.50/lib/libapr-0.so.0 | grep div
> > : [337]   | 0|   0|FUNC |GLOB |0|UNDEF  |.div
> > : [640]   | 0|   0|FUNC |GLOB |0|UNDEF  |.udiv
> > : [909]   | 0|   0|NOTY |GLOB |0|UNDEF  |__divdi3
> > : [938]   | 0|   0|NOTY |GLOB |0|UNDEF  |__udivdi3
> > :
> > : So it seems that the problem is on the libapr-0.so.0 because there
> > : is the variable "__divdi3" wich is reporting the relocation error
> >
> > What happens when you run ldd on libapr-0.so.0, and skim those libs for
> > the symbol?
> >
> > Note especially any libs that ldd claims it can't find.
> >
> >
> >
> > -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]
> >
> >
>

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



RE: Tomcat 5 service on windows

2004-09-03 Thread Nelson, Jerry W, Contractor 146CF, SCB
Yes...

//SIGNED//
 
Jerry Nelson


-Original Message-
From: Allistair Crossley [mailto:[EMAIL PROTECTED]
Sent: Friday, September 03, 2004 9:20 AM
To: Tomcat Users List
Subject: RE: Tomcat 5 service on windows


did you try my suggestion re: service remove and then service install?

ADC

> -Original Message-
> From: Nelson, Jerry W, Contractor 146CF, SCB
> [mailto:[EMAIL PROTECTED]
> Sent: 03 September 2004 17:12
> To: 'Tomcat Users List'
> Subject: RE: Tomcat 5 service on windows
> 
> 
> Yes, ran service.bat completely unmodified.  I still have to 
> run startup.bat
> to get tomcat to work.
> 
> //SIGNED//
>  
> Jerry Nelson
> 
> 
> -Original Message-
> From: Allistair Crossley [mailto:[EMAIL PROTECTED]
> Sent: Friday, September 03, 2004 8:31 AM
> To: Tomcat Users List
> Subject: RE: Tomcat 5 service on windows
> 
> 
> also, you may try removal anyway and reinstall ...
> 
> service.bat remove
> 
> and then
> 
> service.bat install
> 
> if you checked the box on the install then maybe it _did_ do 
> something that
> needs to be removed first (wild stab in the dark!)
> 
> :p
> 
> ADC
> 
> > -Original Message-
> > From: Allistair Crossley 
> > Sent: 03 September 2004 16:28
> > To: Tomcat Users List
> > Subject: RE: Tomcat 5 service on windows
> > 
> > 
> > did you run the service.bat unmodified? this can also happen 
> > when you have spaces in some of the properties for the service name.
> > 
> > ADC
> > 
> > > -Original Message-
> > > From: Nelson, Jerry W, Contractor 146CF, SCB
> > > [mailto:[EMAIL PROTECTED]
> > > Sent: 03 September 2004 16:25
> > > To: 'Tomcat Users List'
> > > Subject: RE: Tomcat 5 service on windows
> > > 
> > > 
> > > I HAVE THE SAME PROBLEM...In my case, I am the computer 
> > > administrator and
> > > Tomcat has NEVER been installed previous to this. I have not 
> > > seen ANY good
> > > solutions to this, so I learned to live with the DOS 
> based service.
> > > 
> > > //SIGNED//
> > >  
> > > Jerry Nelson
> > > 
> > > -Original Message-
> > > From: John Villar [mailto:[EMAIL PROTECTED]
> > > Sent: Friday, September 03, 2004 6:27 AM
> > > To: Tomcat Users List
> > > Subject: Re: Tomcat 5 service on windows
> > > 
> > > 
> > > Do you have permission to write on the registry? you need to 
> > > have write 
> > > access to some key (don't remember specifically what is the 
> > key right 
> > > now) in the registry to install tomcat as a service.
> > > 
> > > Allistair Crossley escribió:
> > > 
> > > >did you have a tomcat service installed already? did you 
> > > have the services
> > > window open when you ran this? try checking there are no 
> > > tomcat services and
> > > closing the services window and trying again.
> > > >
> > > >ADC
> > > >
> > > >  
> > > >
> > > >>-Original Message-
> > > >>From: Andras Balogh [mailto:[EMAIL PROTECTED]
> > > >>Sent: 03 September 2004 11:28
> > > >>To: [EMAIL PROTECTED]
> > > >>Subject: Tomcat 5 service on windows
> > > >>
> > > >>
> > > >>Hello all,
> > > >>
> > > >>I have downloaded the Tomcat 5.0.28. distibution 
> for windows 
> > > >>(jakarta-tomcat-5.0.28.exe) and tried
> > > >>to install tomcat as service and checked the service 
> > option in the 
> > > >>install wizard.
> > > >>Tomcat wasn't installed as service and i tried manual with the 
> > > >>service.bat script:
> > > >>Here is the output i get:
> > > >>D:\Tomcat 5.0\bin>service install
> > > >>Installing the service 'Tomcat5' ...
> > > >>Using CATALINA_HOME:D:\Tomcat 5.0
> > > >>Using JAVA_HOME:D:\j2sdk1.4.1_05
> > > >>[2004-09-03 12:09:45] [349  prunsrv.c] [error]
> > > >>The system cannot find the file specified.
> > > >>[2004-09-03 12:09:45] [1037 prunsrv.c] [error]
> > > >>Load configuration failed
> > > >>[2004-09-03 12:09:45] [349  prunsrv.c] [error]
> > > >>The system cannot find the file specified.
> > > >>[2004-09-03 12:09:45] [1037 prunsrv.c] [error]
> > > >>Load configuration failed
> > > >>The service 'Tomcat5' has been installed.
> > > >>
> > > >>The service is still  not added, i think because of the 
> > > error i have.
> > > >>As a note i have on the server an older Tomcat 4.1.27 
> > > but is not 
> > > >>running and i modified CATALINA_HOME to point
> > > >>to the new tomcat (D:\Tomcat 5.0).
> > > >>
> > > >>What could be wrong?
> > > >>
> > > >>Thank you,
> > > >>Andras.
> > > >>
> > > >>
> > > >>
> > > -
> > > >>To unsubscribe, e-mail: 
> [EMAIL PROTECTED]
> > > >>For additional commands, e-mail: 
> > [EMAIL PROTECTED]
> > > >>
> > > >>
> > > >>
> > > >>
> > > >
> > > >
> > > > 
> > > >---
> > > >QAS Ltd.
> > > >Developers of QuickAddress Software
> > > >http://www.qas.com";>www.qas.com
> > > >Registered in England: No 2582055
> > > >Registered in Australia: No 082 851 474
> > > >---
> > > >
> > > >
> > > >
> >

RE: admin/manager app

2004-09-03 Thread Didier McGillis
They have the same exact setup I do in those three files.  Yes when they go 
to the admin section they get prompted for the login for the tomcat 
administrator, and I get the login for the admin section out our web 
application ( not tomcat admin )


From: "Shapira, Yoav" <[EMAIL PROTECTED]>
Reply-To: "Tomcat Users List" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <[EMAIL PROTECTED]>
Subject: RE: admin/manager app
Date: Fri, 3 Sep 2004 12:15:58 -0400
Hi,
Actually, he/she is probably just missing the user name and password in 
conf/tomcat-users.xml.

Yoav Shapira
Millennium Research Informatics
>-Original Message-
>From: John Villar [mailto:[EMAIL PROTECTED]
>Sent: Friday, September 03, 2004 12:11 PM
>To: Tomcat Users List
>Subject: Re: admin/manager app
>
>there's a file named admin.xml on conf/Catalina/localhost (standard
>configuration)... it has the following in it
>
>docBase="../server/webapps/admin" path="/admin" privileged="true">
>  prefix="localhost_admin_log." suffix=".txt" timestamp="true"/>
>
>
>i think that should do the trick
>
>Didier McGillis escribió:
>
>> I'm on a WinXP machine and the admin/mananger came to me disabled, I
>> inherited the system.
>> Where would someone have done that, in the server.xml or somewhere
>> else.  Using the standalone system.
>>
>> _
>> MSN® Calendar keeps you organized and takes the effort out of
>> scheduling get-togethers.
>> http://join.msn.com/?pgmarket=en-
>ca&page=byoa/prem&xAPID=1994&DI=1034&SU=http://hotmail.com/enca&HL=Market_M
>SNIS_Taglines
>>  Start enjoying all the benefits of MSN® Premium right now and get the
>> first two months FREE*.
>>
>>
>> -
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>>
>>
>
>--
>John Villar
>Gerente de Proyectos
>Computadores Flor Hard Soft 2058 C.A.
>www.florhard.com
>

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]
_
Powerful Parental Controls Let your child discover the best the Internet has 
to offer. 
http://join.msn.com/?pgmarket=en-ca&page=byoa/prem&xAPID=1994&DI=1034&SU=http://hotmail.com/enca&HL=Market_MSNIS_Taglines 
 Start enjoying all the benefits of MSN® Premium right now and get the 
first two months FREE*.

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


Re: TC 5.5 exceptions on shutdown and restart

2004-09-03 Thread Remy Maucherat
On Fri, 3 Sep 2004 16:14:46 +0100, Allistair Crossley
<[EMAIL PROTECTED]> wrote:
> Hi Guys,
> 
> I can create a couple of exceptions with TC 5.5 on shutdown as described below;

You should try again with the latest nightly:
http://cvs.apache.org/builds/jakarta-tomcat-5/nightly/

If it still doesn't work, you mention a lot of stuff, but not what you
did deploy.

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

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



RE: Tomcat 5 service on windows

2004-09-03 Thread Allistair Crossley
did you try my suggestion re: service remove and then service install?

ADC

> -Original Message-
> From: Nelson, Jerry W, Contractor 146CF, SCB
> [mailto:[EMAIL PROTECTED]
> Sent: 03 September 2004 17:12
> To: 'Tomcat Users List'
> Subject: RE: Tomcat 5 service on windows
> 
> 
> Yes, ran service.bat completely unmodified.  I still have to 
> run startup.bat
> to get tomcat to work.
> 
> //SIGNED//
>  
> Jerry Nelson
> 
> 
> -Original Message-
> From: Allistair Crossley [mailto:[EMAIL PROTECTED]
> Sent: Friday, September 03, 2004 8:31 AM
> To: Tomcat Users List
> Subject: RE: Tomcat 5 service on windows
> 
> 
> also, you may try removal anyway and reinstall ...
> 
> service.bat remove
> 
> and then
> 
> service.bat install
> 
> if you checked the box on the install then maybe it _did_ do 
> something that
> needs to be removed first (wild stab in the dark!)
> 
> :p
> 
> ADC
> 
> > -Original Message-
> > From: Allistair Crossley 
> > Sent: 03 September 2004 16:28
> > To: Tomcat Users List
> > Subject: RE: Tomcat 5 service on windows
> > 
> > 
> > did you run the service.bat unmodified? this can also happen 
> > when you have spaces in some of the properties for the service name.
> > 
> > ADC
> > 
> > > -Original Message-
> > > From: Nelson, Jerry W, Contractor 146CF, SCB
> > > [mailto:[EMAIL PROTECTED]
> > > Sent: 03 September 2004 16:25
> > > To: 'Tomcat Users List'
> > > Subject: RE: Tomcat 5 service on windows
> > > 
> > > 
> > > I HAVE THE SAME PROBLEM...In my case, I am the computer 
> > > administrator and
> > > Tomcat has NEVER been installed previous to this. I have not 
> > > seen ANY good
> > > solutions to this, so I learned to live with the DOS 
> based service.
> > > 
> > > //SIGNED//
> > >  
> > > Jerry Nelson
> > > 
> > > -Original Message-
> > > From: John Villar [mailto:[EMAIL PROTECTED]
> > > Sent: Friday, September 03, 2004 6:27 AM
> > > To: Tomcat Users List
> > > Subject: Re: Tomcat 5 service on windows
> > > 
> > > 
> > > Do you have permission to write on the registry? you need to 
> > > have write 
> > > access to some key (don't remember specifically what is the 
> > key right 
> > > now) in the registry to install tomcat as a service.
> > > 
> > > Allistair Crossley escribió:
> > > 
> > > >did you have a tomcat service installed already? did you 
> > > have the services
> > > window open when you ran this? try checking there are no 
> > > tomcat services and
> > > closing the services window and trying again.
> > > >
> > > >ADC
> > > >
> > > >  
> > > >
> > > >>-Original Message-
> > > >>From: Andras Balogh [mailto:[EMAIL PROTECTED]
> > > >>Sent: 03 September 2004 11:28
> > > >>To: [EMAIL PROTECTED]
> > > >>Subject: Tomcat 5 service on windows
> > > >>
> > > >>
> > > >>Hello all,
> > > >>
> > > >>I have downloaded the Tomcat 5.0.28. distibution 
> for windows 
> > > >>(jakarta-tomcat-5.0.28.exe) and tried
> > > >>to install tomcat as service and checked the service 
> > option in the 
> > > >>install wizard.
> > > >>Tomcat wasn't installed as service and i tried manual with the 
> > > >>service.bat script:
> > > >>Here is the output i get:
> > > >>D:\Tomcat 5.0\bin>service install
> > > >>Installing the service 'Tomcat5' ...
> > > >>Using CATALINA_HOME:D:\Tomcat 5.0
> > > >>Using JAVA_HOME:D:\j2sdk1.4.1_05
> > > >>[2004-09-03 12:09:45] [349  prunsrv.c] [error]
> > > >>The system cannot find the file specified.
> > > >>[2004-09-03 12:09:45] [1037 prunsrv.c] [error]
> > > >>Load configuration failed
> > > >>[2004-09-03 12:09:45] [349  prunsrv.c] [error]
> > > >>The system cannot find the file specified.
> > > >>[2004-09-03 12:09:45] [1037 prunsrv.c] [error]
> > > >>Load configuration failed
> > > >>The service 'Tomcat5' has been installed.
> > > >>
> > > >>The service is still  not added, i think because of the 
> > > error i have.
> > > >>As a note i have on the server an older Tomcat 4.1.27 
> > > but is not 
> > > >>running and i modified CATALINA_HOME to point
> > > >>to the new tomcat (D:\Tomcat 5.0).
> > > >>
> > > >>What could be wrong?
> > > >>
> > > >>Thank you,
> > > >>Andras.
> > > >>
> > > >>
> > > >>
> > > -
> > > >>To unsubscribe, e-mail: 
> [EMAIL PROTECTED]
> > > >>For additional commands, e-mail: 
> > [EMAIL PROTECTED]
> > > >>
> > > >>
> > > >>
> > > >>
> > > >
> > > >
> > > > 
> > > >---
> > > >QAS Ltd.
> > > >Developers of QuickAddress Software
> > > >http://www.qas.com";>www.qas.com
> > > >Registered in England: No 2582055
> > > >Registered in Australia: No 082 851 474
> > > >---
> > > >
> > > >
> > > >
> > > 
> > 
> >-
> > > >To unsubscribe, e-mail: 
> [EMAIL PROTECTED]
> > > >For additional commands, e-mail: 
> > [EMAIL PROTECTED]
> > > >
> > > >
> > > >

RE: repost: Where to get 5.5.1 from? ( Was TC 5.5 - 4 issues (jasper, ROOT, jndi, logging))

2004-09-03 Thread Shapira, Yoav

Hi,
How many times do I have to post this? ;)

5.5.1 is NOT AVAILABLE YET.  It's looking like I'll cut it Tuesday.

Nightlies are available at the usual place,
http://cvs.apache.org/builds/jakarta-tomcat-5/nightly/, but they're "use
at your own risk" of course.  Note that the above URL is nicely linked
from the normal Jakarta download pages, it's not hard to find ;)

Yoav Shapira
Millennium Research Informatics


>-Original Message-
>From: news [mailto:[EMAIL PROTECTED] On Behalf Of Vic
>Sent: Friday, September 03, 2004 12:08 PM
>To: [EMAIL PROTECTED]
>Subject: Re: repost: Where to get 5.5.1 from? ( Was TC 5.5 - 4 issues
>(jasper, ROOT, jndi, logging))
>
>That is 5.5.0.
>But 5.5.1 has bug fixes, where is that?
>And where can I get the 5.5.x nighlies?
>
>tia,
>.V
>
>
>Shapira, Yoav wrote:
>> Hi,
>> 5.5 releases are on the normal download pages, right above 5.0
releases.
>>
>> Yoav Shapira
>> Millennium Research Informatics
>>
>>
>>
>>>-Original Message-
>>>From: news [mailto:[EMAIL PROTECTED] On Behalf Of Vic
>>>Sent: Friday, September 03, 2004 6:53 AM
>>>To: [EMAIL PROTECTED]
>>>Subject: Re: repost: Where to get 5.5.1 from? ( Was TC 5.5 - 4 issues
>>>(jasper, ROOT, jndi, logging))
>>>
>>>Silly me, I can't find where to get the 5.5.1 or the 5.5 nighly's
from?
>>>They are not here, this looks like the 5.0 brach.
>>>http://cvs.apache.org/builds
>>>
>>>Where can I get the new 5.5s from?
>>>Do I have to go to cvs and build?
>>>
>>>tia,
>>>.V
>>>
>>>Vic wrote:
>>>
Yes, but where? What URL?

(the commons download link I think is for the 5.0 trunk? or is that
>>
>> 5.5?)
>>
.V

ps: Thax tomcat team on very nice product!

Remy Maucherat wrote:


>On Thu, 02 Sep 2004 11:52:48 -0500, Vic
<[EMAIL PROTECTED]>
>wrote:
>
>
>>Where can we get 5.5.1? Or 5.5 nightlies?
>
>
>
>Don't worry: since this is heavy development mode, new binaries are
>going to be released often (unless Yoav doesn't have time to do the
>releases).
>


>>>
>>>--
>>>Please post on Rich Internet Applications User Interface (RiA/SoA)
>>>
>>>
>>>
>>>-
>>>To unsubscribe, e-mail: [EMAIL PROTECTED]
>>>For additional commands, e-mail: [EMAIL PROTECTED]
>>
>>
>>
>>
>>
>> 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.
>
>
>--
>Please post on Rich Internet Applications User Interface (RiA/SoA)
>
>
>
>-
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]




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]



RE: admin/manager app

2004-09-03 Thread Shapira, Yoav

Hi,
Actually, he/she is probably just missing the user name and password in 
conf/tomcat-users.xml.

Yoav Shapira
Millennium Research Informatics


>-Original Message-
>From: John Villar [mailto:[EMAIL PROTECTED]
>Sent: Friday, September 03, 2004 12:11 PM
>To: Tomcat Users List
>Subject: Re: admin/manager app
>
>there's a file named admin.xml on conf/Catalina/localhost (standard
>configuration)... it has the following in it
>
>docBase="../server/webapps/admin" path="/admin" privileged="true">
>  prefix="localhost_admin_log." suffix=".txt" timestamp="true"/>
>
>
>i think that should do the trick
>
>Didier McGillis escribió:
>
>> I'm on a WinXP machine and the admin/mananger came to me disabled, I
>> inherited the system.
>> Where would someone have done that, in the server.xml or somewhere
>> else.  Using the standalone system.
>>
>> _
>> MSN® Calendar keeps you organized and takes the effort out of
>> scheduling get-togethers.
>> http://join.msn.com/?pgmarket=en-
>ca&page=byoa/prem&xAPID=1994&DI=1034&SU=http://hotmail.com/enca&HL=Market_M
>SNIS_Taglines
>>  Start enjoying all the benefits of MSN® Premium right now and get the
>> first two months FREE*.
>>
>>
>> -
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>>
>>
>
>--
>John Villar
>Gerente de Proyectos
>Computadores Flor Hard Soft 2058 C.A.
>www.florhard.com
>




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]



RE: Tomcat 5 service on windows

2004-09-03 Thread Nelson, Jerry W, Contractor 146CF, SCB
Yes, ran service.bat completely unmodified.  I still have to run startup.bat
to get tomcat to work.

//SIGNED//
 
Jerry Nelson


-Original Message-
From: Allistair Crossley [mailto:[EMAIL PROTECTED]
Sent: Friday, September 03, 2004 8:31 AM
To: Tomcat Users List
Subject: RE: Tomcat 5 service on windows


also, you may try removal anyway and reinstall ...

service.bat remove

and then

service.bat install

if you checked the box on the install then maybe it _did_ do something that
needs to be removed first (wild stab in the dark!)

:p

ADC

> -Original Message-
> From: Allistair Crossley 
> Sent: 03 September 2004 16:28
> To: Tomcat Users List
> Subject: RE: Tomcat 5 service on windows
> 
> 
> did you run the service.bat unmodified? this can also happen 
> when you have spaces in some of the properties for the service name.
> 
> ADC
> 
> > -Original Message-
> > From: Nelson, Jerry W, Contractor 146CF, SCB
> > [mailto:[EMAIL PROTECTED]
> > Sent: 03 September 2004 16:25
> > To: 'Tomcat Users List'
> > Subject: RE: Tomcat 5 service on windows
> > 
> > 
> > I HAVE THE SAME PROBLEM...In my case, I am the computer 
> > administrator and
> > Tomcat has NEVER been installed previous to this. I have not 
> > seen ANY good
> > solutions to this, so I learned to live with the DOS based service.
> > 
> > //SIGNED//
> >  
> > Jerry Nelson
> > 
> > -Original Message-
> > From: John Villar [mailto:[EMAIL PROTECTED]
> > Sent: Friday, September 03, 2004 6:27 AM
> > To: Tomcat Users List
> > Subject: Re: Tomcat 5 service on windows
> > 
> > 
> > Do you have permission to write on the registry? you need to 
> > have write 
> > access to some key (don't remember specifically what is the 
> key right 
> > now) in the registry to install tomcat as a service.
> > 
> > Allistair Crossley escribió:
> > 
> > >did you have a tomcat service installed already? did you 
> > have the services
> > window open when you ran this? try checking there are no 
> > tomcat services and
> > closing the services window and trying again.
> > >
> > >ADC
> > >
> > >  
> > >
> > >>-Original Message-
> > >>From: Andras Balogh [mailto:[EMAIL PROTECTED]
> > >>Sent: 03 September 2004 11:28
> > >>To: [EMAIL PROTECTED]
> > >>Subject: Tomcat 5 service on windows
> > >>
> > >>
> > >>Hello all,
> > >>
> > >>I have downloaded the Tomcat 5.0.28. distibution for windows 
> > >>(jakarta-tomcat-5.0.28.exe) and tried
> > >>to install tomcat as service and checked the service 
> option in the 
> > >>install wizard.
> > >>Tomcat wasn't installed as service and i tried manual with the 
> > >>service.bat script:
> > >>Here is the output i get:
> > >>D:\Tomcat 5.0\bin>service install
> > >>Installing the service 'Tomcat5' ...
> > >>Using CATALINA_HOME:D:\Tomcat 5.0
> > >>Using JAVA_HOME:D:\j2sdk1.4.1_05
> > >>[2004-09-03 12:09:45] [349  prunsrv.c] [error]
> > >>The system cannot find the file specified.
> > >>[2004-09-03 12:09:45] [1037 prunsrv.c] [error]
> > >>Load configuration failed
> > >>[2004-09-03 12:09:45] [349  prunsrv.c] [error]
> > >>The system cannot find the file specified.
> > >>[2004-09-03 12:09:45] [1037 prunsrv.c] [error]
> > >>Load configuration failed
> > >>The service 'Tomcat5' has been installed.
> > >>
> > >>The service is still  not added, i think because of the 
> > error i have.
> > >>As a note i have on the server an older Tomcat 4.1.27 
> > but is not 
> > >>running and i modified CATALINA_HOME to point
> > >>to the new tomcat (D:\Tomcat 5.0).
> > >>
> > >>What could be wrong?
> > >>
> > >>Thank you,
> > >>Andras.
> > >>
> > >>
> > >>
> > -
> > >>To unsubscribe, e-mail: [EMAIL PROTECTED]
> > >>For additional commands, e-mail: 
> [EMAIL PROTECTED]
> > >>
> > >>
> > >>
> > >>
> > >
> > >
> > > 
> > >---
> > >QAS Ltd.
> > >Developers of QuickAddress Software
> > >http://www.qas.com";>www.qas.com
> > >Registered in England: No 2582055
> > >Registered in Australia: No 082 851 474
> > >---
> > >
> > >
> > >
> > 
> >-
> > >To unsubscribe, e-mail: [EMAIL PROTECTED]
> > >For additional commands, e-mail: 
> [EMAIL PROTECTED]
> > >
> > >
> > >
> > >  
> > >
> > 
> > -- 
> > John Villar
> > Gerente de Proyectos
> > Computadores Flor Hard Soft 2058 C.A.
> > www.florhard.com
> > 
> > 
> > 
> > 
> -
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> > 
> > 
> 
> 
>  
> ---
> QAS Ltd.
> Developers of QuickAddress Software
> http://www.qas.com";>www.qas.com
> Registered in England: No 2582055
> Registered in Australia: No 082 851 474
> ---
> 
>

Re: repost: Where to get 5.5.1 from? ( Was TC 5.5 - 4 issues (jasper, ROOT, jndi, logging))

2004-09-03 Thread Vic
That is 5.5.0.
But 5.5.1 has bug fixes, where is that?
And where can I get the 5.5.x nighlies?
tia,
.V
Shapira, Yoav wrote:
Hi,
5.5 releases are on the normal download pages, right above 5.0 releases.
Yoav Shapira
Millennium Research Informatics

-Original Message-
From: news [mailto:[EMAIL PROTECTED] On Behalf Of Vic
Sent: Friday, September 03, 2004 6:53 AM
To: [EMAIL PROTECTED]
Subject: Re: repost: Where to get 5.5.1 from? ( Was TC 5.5 - 4 issues
(jasper, ROOT, jndi, logging))
Silly me, I can't find where to get the 5.5.1 or the 5.5 nighly's from?
They are not here, this looks like the 5.0 brach.
http://cvs.apache.org/builds
Where can I get the new 5.5s from?
Do I have to go to cvs and build?
tia,
.V
Vic wrote:
Yes, but where? What URL?
(the commons download link I think is for the 5.0 trunk? or is that
5.5?)
.V
ps: Thax tomcat team on very nice product!
Remy Maucherat wrote:

On Thu, 02 Sep 2004 11:52:48 -0500, Vic <[EMAIL PROTECTED]>
wrote:

Where can we get 5.5.1? Or 5.5 nightlies?

Don't worry: since this is heavy development mode, new binaries are
going to be released often (unless Yoav doesn't have time to do the
releases).

--
Please post on Rich Internet Applications User Interface (RiA/SoA)

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


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.

--
Please post on Rich Internet Applications User Interface (RiA/SoA)

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


Re: admin/manager app

2004-09-03 Thread John Villar
there's a file named admin.xml on conf/Catalina/localhost (standard 
configuration)... it has the following in it


 


i think that should do the trick
Didier McGillis escribió:
I'm on a WinXP machine and the admin/mananger came to me disabled, I 
inherited the system.
Where would someone have done that, in the server.xml or somewhere 
else.  Using the standalone system.

_
MSN® Calendar keeps you organized and takes the effort out of 
scheduling get-togethers. 
http://join.msn.com/?pgmarket=en-ca&page=byoa/prem&xAPID=1994&DI=1034&SU=http://hotmail.com/enca&HL=Market_MSNIS_Taglines 
 Start enjoying all the benefits of MSN® Premium right now and get the 
first two months FREE*.

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

--
John Villar
Gerente de Proyectos
Computadores Flor Hard Soft 2058 C.A.
www.florhard.com

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

admin/manager app

2004-09-03 Thread Didier McGillis
I'm on a WinXP machine and the admin/mananger came to me disabled, I 
inherited the system.
Where would someone have done that, in the server.xml or somewhere else.  
Using the standalone system.

_
MSN® Calendar keeps you organized and takes the effort out of scheduling 
get-togethers. 
http://join.msn.com/?pgmarket=en-ca&page=byoa/prem&xAPID=1994&DI=1034&SU=http://hotmail.com/enca&HL=Market_MSNIS_Taglines 
 Start enjoying all the benefits of MSN® Premium right now and get the 
first two months FREE*.

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


Re: Fatal: relocation error: file libapr-0.so.0: symbol __divdi3: referenced symbol not found

2004-09-03 Thread Jonathan Rengifo
Hi, thanks for your very important help..

I ran the ldd utility on the libapr-0.so.0 lib, with the following results:

/usr/local/apache-httpd-2.0.50/lib ldd libapr-0.so.0
libsendfile.so.1 =>  /usr/lib/libsendfile.so.1
librt.so.1 =>/usr/lib/librt.so.1
libm.so.1 => /usr/lib/libm.so.1
libsocket.so.1 =>/usr/lib/libsocket.so.1
libnsl.so.1 =>   /usr/lib/libnsl.so.1
libresolv.so.2 =>/usr/lib/libresolv.so.2
libpthread.so.1 =>   /usr/lib/libpthread.so.1
libdl.so.1 =>/usr/lib/libdl.so.1
libc.so.1 => /usr/lib/libc.so.1
libaio.so.1 =>   /usr/lib/libaio.so.1
libmd5.so.1 =>   /usr/lib/libmd5.so.1
libmp.so.2 =>/usr/lib/libmp.so.2
libthread.so.1 =>/usr/lib/libthread.so.1
/usr/platform/SUNW,Sun-Fire-V210/lib/libc_psr.so.1
/usr/platform/SUNW,Sun-Fire-V210/lib/libmd5_psr.so.1

Then I  those libs for the symbol, and don't find it... What does this mean?

Thanks ..
Jonathan




On Fri, 3 Sep 2004 10:01:01 -0500, QM <[EMAIL PROTECTED]> wrote:
> On Fri, Sep 03, 2004 at 10:44:13AM -0400, Jonathan Rengifo wrote:
> : nm /usr/local/apache-httpd-2.0.50/lib/libapr-0.so.0 | grep div
> : [337]   | 0|   0|FUNC |GLOB |0|UNDEF  |.div
> : [640]   | 0|   0|FUNC |GLOB |0|UNDEF  |.udiv
> : [909]   | 0|   0|NOTY |GLOB |0|UNDEF  |__divdi3
> : [938]   | 0|   0|NOTY |GLOB |0|UNDEF  |__udivdi3
> :
> : So it seems that the problem is on the libapr-0.so.0 because there
> : is the variable "__divdi3" wich is reporting the relocation error
> 
> What happens when you run ldd on libapr-0.so.0, and skim those libs for
> the symbol?
> 
> Note especially any libs that ldd claims it can't find.
> 
> 
> 
> -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]
> 
>

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



RE: Tomcat 5 service on windows

2004-09-03 Thread Allistair Crossley
also, you may try removal anyway and reinstall ...

service.bat remove

and then

service.bat install

if you checked the box on the install then maybe it _did_ do something that needs to 
be removed first (wild stab in the dark!)

:p

ADC

> -Original Message-
> From: Allistair Crossley 
> Sent: 03 September 2004 16:28
> To: Tomcat Users List
> Subject: RE: Tomcat 5 service on windows
> 
> 
> did you run the service.bat unmodified? this can also happen 
> when you have spaces in some of the properties for the service name.
> 
> ADC
> 
> > -Original Message-
> > From: Nelson, Jerry W, Contractor 146CF, SCB
> > [mailto:[EMAIL PROTECTED]
> > Sent: 03 September 2004 16:25
> > To: 'Tomcat Users List'
> > Subject: RE: Tomcat 5 service on windows
> > 
> > 
> > I HAVE THE SAME PROBLEM...In my case, I am the computer 
> > administrator and
> > Tomcat has NEVER been installed previous to this. I have not 
> > seen ANY good
> > solutions to this, so I learned to live with the DOS based service.
> > 
> > //SIGNED//
> >  
> > Jerry Nelson
> > 
> > -Original Message-
> > From: John Villar [mailto:[EMAIL PROTECTED]
> > Sent: Friday, September 03, 2004 6:27 AM
> > To: Tomcat Users List
> > Subject: Re: Tomcat 5 service on windows
> > 
> > 
> > Do you have permission to write on the registry? you need to 
> > have write 
> > access to some key (don't remember specifically what is the 
> key right 
> > now) in the registry to install tomcat as a service.
> > 
> > Allistair Crossley escribió:
> > 
> > >did you have a tomcat service installed already? did you 
> > have the services
> > window open when you ran this? try checking there are no 
> > tomcat services and
> > closing the services window and trying again.
> > >
> > >ADC
> > >
> > >  
> > >
> > >>-Original Message-
> > >>From: Andras Balogh [mailto:[EMAIL PROTECTED]
> > >>Sent: 03 September 2004 11:28
> > >>To: [EMAIL PROTECTED]
> > >>Subject: Tomcat 5 service on windows
> > >>
> > >>
> > >>Hello all,
> > >>
> > >>I have downloaded the Tomcat 5.0.28. distibution for windows 
> > >>(jakarta-tomcat-5.0.28.exe) and tried
> > >>to install tomcat as service and checked the service 
> option in the 
> > >>install wizard.
> > >>Tomcat wasn't installed as service and i tried manual with the 
> > >>service.bat script:
> > >>Here is the output i get:
> > >>D:\Tomcat 5.0\bin>service install
> > >>Installing the service 'Tomcat5' ...
> > >>Using CATALINA_HOME:D:\Tomcat 5.0
> > >>Using JAVA_HOME:D:\j2sdk1.4.1_05
> > >>[2004-09-03 12:09:45] [349  prunsrv.c] [error]
> > >>The system cannot find the file specified.
> > >>[2004-09-03 12:09:45] [1037 prunsrv.c] [error]
> > >>Load configuration failed
> > >>[2004-09-03 12:09:45] [349  prunsrv.c] [error]
> > >>The system cannot find the file specified.
> > >>[2004-09-03 12:09:45] [1037 prunsrv.c] [error]
> > >>Load configuration failed
> > >>The service 'Tomcat5' has been installed.
> > >>
> > >>The service is still  not added, i think because of the 
> > error i have.
> > >>As a note i have on the server an older Tomcat 4.1.27 
> > but is not 
> > >>running and i modified CATALINA_HOME to point
> > >>to the new tomcat (D:\Tomcat 5.0).
> > >>
> > >>What could be wrong?
> > >>
> > >>Thank you,
> > >>Andras.
> > >>
> > >>
> > >>
> > -
> > >>To unsubscribe, e-mail: [EMAIL PROTECTED]
> > >>For additional commands, e-mail: 
> [EMAIL PROTECTED]
> > >>
> > >>
> > >>
> > >>
> > >
> > >
> > > 
> > >---
> > >QAS Ltd.
> > >Developers of QuickAddress Software
> > >http://www.qas.com";>www.qas.com
> > >Registered in England: No 2582055
> > >Registered in Australia: No 082 851 474
> > >---
> > >
> > >
> > >
> > 
> >-
> > >To unsubscribe, e-mail: [EMAIL PROTECTED]
> > >For additional commands, e-mail: 
> [EMAIL PROTECTED]
> > >
> > >
> > >
> > >  
> > >
> > 
> > -- 
> > John Villar
> > Gerente de Proyectos
> > Computadores Flor Hard Soft 2058 C.A.
> > www.florhard.com
> > 
> > 
> > 
> > 
> -
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> > 
> > 
> 
> 
>  
> ---
> QAS Ltd.
> Developers of QuickAddress Software
> http://www.qas.com";>www.qas.com
> Registered in England: No 2582055
> Registered in Australia: No 082 851 474
> ---
> 
> 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 

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

RE: Tomcat 5 service on windows

2004-09-03 Thread Allistair Crossley
did you run the service.bat unmodified? this can also happen when you have spaces in 
some of the properties for the service name.

ADC

> -Original Message-
> From: Nelson, Jerry W, Contractor 146CF, SCB
> [mailto:[EMAIL PROTECTED]
> Sent: 03 September 2004 16:25
> To: 'Tomcat Users List'
> Subject: RE: Tomcat 5 service on windows
> 
> 
> I HAVE THE SAME PROBLEM...In my case, I am the computer 
> administrator and
> Tomcat has NEVER been installed previous to this. I have not 
> seen ANY good
> solutions to this, so I learned to live with the DOS based service.
> 
> //SIGNED//
>  
> Jerry Nelson
> 
> -Original Message-
> From: John Villar [mailto:[EMAIL PROTECTED]
> Sent: Friday, September 03, 2004 6:27 AM
> To: Tomcat Users List
> Subject: Re: Tomcat 5 service on windows
> 
> 
> Do you have permission to write on the registry? you need to 
> have write 
> access to some key (don't remember specifically what is the key right 
> now) in the registry to install tomcat as a service.
> 
> Allistair Crossley escribió:
> 
> >did you have a tomcat service installed already? did you 
> have the services
> window open when you ran this? try checking there are no 
> tomcat services and
> closing the services window and trying again.
> >
> >ADC
> >
> >  
> >
> >>-Original Message-
> >>From: Andras Balogh [mailto:[EMAIL PROTECTED]
> >>Sent: 03 September 2004 11:28
> >>To: [EMAIL PROTECTED]
> >>Subject: Tomcat 5 service on windows
> >>
> >>
> >>Hello all,
> >>
> >>I have downloaded the Tomcat 5.0.28. distibution for windows 
> >>(jakarta-tomcat-5.0.28.exe) and tried
> >>to install tomcat as service and checked the service option in the 
> >>install wizard.
> >>Tomcat wasn't installed as service and i tried manual with the 
> >>service.bat script:
> >>Here is the output i get:
> >>D:\Tomcat 5.0\bin>service install
> >>Installing the service 'Tomcat5' ...
> >>Using CATALINA_HOME:D:\Tomcat 5.0
> >>Using JAVA_HOME:D:\j2sdk1.4.1_05
> >>[2004-09-03 12:09:45] [349  prunsrv.c] [error]
> >>The system cannot find the file specified.
> >>[2004-09-03 12:09:45] [1037 prunsrv.c] [error]
> >>Load configuration failed
> >>[2004-09-03 12:09:45] [349  prunsrv.c] [error]
> >>The system cannot find the file specified.
> >>[2004-09-03 12:09:45] [1037 prunsrv.c] [error]
> >>Load configuration failed
> >>The service 'Tomcat5' has been installed.
> >>
> >>The service is still  not added, i think because of the 
> error i have.
> >>As a note i have on the server an older Tomcat 4.1.27 
> but is not 
> >>running and i modified CATALINA_HOME to point
> >>to the new tomcat (D:\Tomcat 5.0).
> >>
> >>What could be wrong?
> >>
> >>Thank you,
> >>Andras.
> >>
> >>
> >>
> -
> >>To unsubscribe, e-mail: [EMAIL PROTECTED]
> >>For additional commands, e-mail: [EMAIL PROTECTED]
> >>
> >>
> >>
> >>
> >
> >
> > 
> >---
> >QAS Ltd.
> >Developers of QuickAddress Software
> >http://www.qas.com";>www.qas.com
> >Registered in England: No 2582055
> >Registered in Australia: No 082 851 474
> >---
> >
> >
> >
> >-
> >To unsubscribe, e-mail: [EMAIL PROTECTED]
> >For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
> >
> >  
> >
> 
> -- 
> John Villar
> Gerente de Proyectos
> Computadores Flor Hard Soft 2058 C.A.
> www.florhard.com
> 
> 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 


 
---
QAS Ltd.
Developers of QuickAddress Software
http://www.qas.com";>www.qas.com
Registered in England: No 2582055
Registered in Australia: No 082 851 474
---



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



RE: Tomcat 5 service on windows

2004-09-03 Thread Nelson, Jerry W, Contractor 146CF, SCB
I HAVE THE SAME PROBLEM...In my case, I am the computer administrator and
Tomcat has NEVER been installed previous to this. I have not seen ANY good
solutions to this, so I learned to live with the DOS based service.

//SIGNED//
 
Jerry Nelson

-Original Message-
From: John Villar [mailto:[EMAIL PROTECTED]
Sent: Friday, September 03, 2004 6:27 AM
To: Tomcat Users List
Subject: Re: Tomcat 5 service on windows


Do you have permission to write on the registry? you need to have write 
access to some key (don't remember specifically what is the key right 
now) in the registry to install tomcat as a service.

Allistair Crossley escribió:

>did you have a tomcat service installed already? did you have the services
window open when you ran this? try checking there are no tomcat services and
closing the services window and trying again.
>
>ADC
>
>  
>
>>-Original Message-
>>From: Andras Balogh [mailto:[EMAIL PROTECTED]
>>Sent: 03 September 2004 11:28
>>To: [EMAIL PROTECTED]
>>Subject: Tomcat 5 service on windows
>>
>>
>>Hello all,
>>
>>I have downloaded the Tomcat 5.0.28. distibution for windows 
>>(jakarta-tomcat-5.0.28.exe) and tried
>>to install tomcat as service and checked the service option in the 
>>install wizard.
>>Tomcat wasn't installed as service and i tried manual with the 
>>service.bat script:
>>Here is the output i get:
>>D:\Tomcat 5.0\bin>service install
>>Installing the service 'Tomcat5' ...
>>Using CATALINA_HOME:D:\Tomcat 5.0
>>Using JAVA_HOME:D:\j2sdk1.4.1_05
>>[2004-09-03 12:09:45] [349  prunsrv.c] [error]
>>The system cannot find the file specified.
>>[2004-09-03 12:09:45] [1037 prunsrv.c] [error]
>>Load configuration failed
>>[2004-09-03 12:09:45] [349  prunsrv.c] [error]
>>The system cannot find the file specified.
>>[2004-09-03 12:09:45] [1037 prunsrv.c] [error]
>>Load configuration failed
>>The service 'Tomcat5' has been installed.
>>
>>The service is still  not added, i think because of the error i have.
>>As a note i have on the server an older Tomcat 4.1.27 but is not 
>>running and i modified CATALINA_HOME to point
>>to the new tomcat (D:\Tomcat 5.0).
>>
>>What could be wrong?
>>
>>Thank you,
>>Andras.
>>
>>
>>-
>>To unsubscribe, e-mail: [EMAIL PROTECTED]
>>For additional commands, e-mail: [EMAIL PROTECTED]
>>
>>
>>
>>
>
>
> 
>---
>QAS Ltd.
>Developers of QuickAddress Software
>http://www.qas.com";>www.qas.com
>Registered in England: No 2582055
>Registered in Australia: No 082 851 474
>---
>
>
>
>-
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>
>  
>

-- 
John Villar
Gerente de Proyectos
Computadores Flor Hard Soft 2058 C.A.
www.florhard.com



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



RE: TC 5.5 exceptions on shutdown and restart

2004-09-03 Thread Shapira, Yoav

Hi,
The bind exception is not surprising, as the shutdown isn't properly
completed and the port is never unbound.

Thanks for reporting the other exception though.

Please use the full release numbers, e.g. 5.5.0, when reporting issues.
Thanks ;)

Yoav Shapira
Millennium Research Informatics


>-Original Message-
>From: Allistair Crossley [mailto:[EMAIL PROTECTED]
>Sent: Friday, September 03, 2004 11:15 AM
>To: [EMAIL PROTECTED]
>Subject: TC 5.5 exceptions on shutdown and restart
>
>Hi Guys,
>
>I can create a couple of exceptions with TC 5.5 on shutdown as
described
>below;
>
>SCENARIO 1
>==
>
>1. I start TC 5.5 using the service with no error messages until it
says
>finally :
>INFO: Server startup in 8843 ms
>
>2. I wait 1 minute
>
>3. I shutdown the service. The additional logging is;
>
>03-Sep-2004 16:09:31 org.apache.coyote.http11.Http11Protocol pause
>INFO: Pausing Coyote HTTP/1.1 on http-8080
>03-Sep-2004 16:09:32 org.apache.catalina.core.StandardService stop
>INFO: Stopping service Catalina
>03-Sep-2004 16:09:32 org.apache.catalina.core.ApplicationContext log
>INFO: ContextListener:
>attributeReplaced('org.apache.catalina.WELCOME_FILES',
>'[Ljava.lang.String;@1636e4e')
>03-Sep-2004 16:09:32 org.apache.catalina.core.ApplicationContext log
>INFO: ContextListener:
>attributeReplaced('org.apache.catalina.WELCOME_FILES',
>'[Ljava.lang.String;@df0438')
>03-Sep-2004 16:09:32 org.apache.catalina.core.ApplicationContext log
>INFO: ContextListener:
>attributeReplaced('org.apache.catalina.WELCOME_FILES',
>'[Ljava.lang.String;@18e261d')
>03-Sep-2004 16:09:32 org.apache.catalina.core.ApplicationContext log
>INFO: SessionListener: contextDestroyed()
>03-Sep-2004 16:09:32 org.apache.catalina.core.ApplicationContext log
>INFO: ContextListener: contextDestroyed()
>03-Sep-2004 16:09:32 org.apache.catalina.core.ApplicationContext log
>INFO: ContextListener:
>attributeReplaced('org.apache.catalina.WELCOME_FILES',
>'[Ljava.lang.String;@10efd7c')
>03-Sep-2004 16:09:32 org.apache.catalina.core.ApplicationContext log
>INFO: ContextListener:
>attributeReplaced('org.apache.catalina.WELCOME_FILES',
>'[Ljava.lang.String;@12412e7')
>03-Sep-2004 16:09:32 org.apache.catalina.core.ApplicationContext log
>INFO: ContextListener:
>attributeReplaced('org.apache.catalina.WELCOME_FILES',
>'[Ljava.lang.String;@1552b76')
>03-Sep-2004 16:09:32 org.apache.catalina.core.ApplicationContext log
>INFO: SessionListener: contextDestroyed()
>03-Sep-2004 16:09:32 org.apache.catalina.core.ApplicationContext log
>INFO: ContextListener: contextDestroyed()
>java.lang.reflect.InvocationTargetException
>   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>   at
>sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.ja
va:3
>9)
>   at
>sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccesso
rImp
>l.java:25)
>   at java.lang.reflect.Method.invoke(Method.java:582)
>   at
org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:271)
>   at
org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:409)
>Caused by: java.lang.NullPointerException
>   at
>org.apache.catalina.core.ContainerBase.removeChild(ContainerBase.java:8
75)
>   at
>org.apache.catalina.startup.HostConfig.undeployApps(HostConfig.java:110
4)
>   at
org.apache.catalina.startup.HostConfig.stop(HostConfig.java:1076)
>   at
>org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:3
12)
>   at
>org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleS
uppo
>rt.java:119)
>   at
>org.apache.catalina.core.ContainerBase.stop(ContainerBase.java:1043)
>   at
>org.apache.catalina.core.ContainerBase.stop(ContainerBase.java:1055)
>   at
>org.apache.catalina.core.StandardEngine.stop(StandardEngine.java:425)
>   at
>org.apache.catalina.core.StandardService.stop(StandardService.java:512)
>   at
>org.apache.catalina.core.StandardServer.stop(StandardServer.java:2001)
>   at org.apache.catalina.startup.Catalina.stop(Catalina.java:594)
>   at org.apache.catalina.startup.Catalina.start(Catalina.java:569)
>   ... 6 more
>
>SCENARIO 2
>==
>
>1. I start TC 5.5 using the service with no error messages until it
says
>finally :
>INFO: Server startup in 9890 ms
>
>2. I restart the service and get a bunch of BindExceptions in addition
to
>the same InvocationTargetException as in SCENARIO 1.
>
>03-Sep-2004 16:12:41 org.apache.coyote.http11.Http11Protocol pause
>INFO: Pausing Coyote HTTP/1.1 on http-8080
>03-Sep-2004 16:12:42 org.apache.catalina.core.StandardService stop
>INFO: Stopping service Catalina
>03-Sep-2004 16:12:42 org.apache.catalina.core.ApplicationContext log
>INFO: ContextListener:
>attributeReplaced('org.apache.catalina.WELCOME_FILES',
>'[Ljava.lang.String;@bb494b')
>03-Sep-2004 16:12:42 org.apache.catalina.core.ApplicationContext log
>INFO: ContextListener:
>attributeReplaced('org.apache.catalina.WELCOME_FILES',
>'[Ljava.lang.String;@1

TC 5.5 exceptions on shutdown and restart

2004-09-03 Thread Allistair Crossley
Hi Guys,

I can create a couple of exceptions with TC 5.5 on shutdown as described below;

SCENARIO 1
==

1. I start TC 5.5 using the service with no error messages until it says finally :
INFO: Server startup in 8843 ms

2. I wait 1 minute

3. I shutdown the service. The additional logging is;

03-Sep-2004 16:09:31 org.apache.coyote.http11.Http11Protocol pause
INFO: Pausing Coyote HTTP/1.1 on http-8080
03-Sep-2004 16:09:32 org.apache.catalina.core.StandardService stop
INFO: Stopping service Catalina
03-Sep-2004 16:09:32 org.apache.catalina.core.ApplicationContext log
INFO: ContextListener: attributeReplaced('org.apache.catalina.WELCOME_FILES', 
'[Ljava.lang.String;@1636e4e')
03-Sep-2004 16:09:32 org.apache.catalina.core.ApplicationContext log
INFO: ContextListener: attributeReplaced('org.apache.catalina.WELCOME_FILES', 
'[Ljava.lang.String;@df0438')
03-Sep-2004 16:09:32 org.apache.catalina.core.ApplicationContext log
INFO: ContextListener: attributeReplaced('org.apache.catalina.WELCOME_FILES', 
'[Ljava.lang.String;@18e261d')
03-Sep-2004 16:09:32 org.apache.catalina.core.ApplicationContext log
INFO: SessionListener: contextDestroyed()
03-Sep-2004 16:09:32 org.apache.catalina.core.ApplicationContext log
INFO: ContextListener: contextDestroyed()
03-Sep-2004 16:09:32 org.apache.catalina.core.ApplicationContext log
INFO: ContextListener: attributeReplaced('org.apache.catalina.WELCOME_FILES', 
'[Ljava.lang.String;@10efd7c')
03-Sep-2004 16:09:32 org.apache.catalina.core.ApplicationContext log
INFO: ContextListener: attributeReplaced('org.apache.catalina.WELCOME_FILES', 
'[Ljava.lang.String;@12412e7')
03-Sep-2004 16:09:32 org.apache.catalina.core.ApplicationContext log
INFO: ContextListener: attributeReplaced('org.apache.catalina.WELCOME_FILES', 
'[Ljava.lang.String;@1552b76')
03-Sep-2004 16:09:32 org.apache.catalina.core.ApplicationContext log
INFO: SessionListener: contextDestroyed()
03-Sep-2004 16:09:32 org.apache.catalina.core.ApplicationContext log
INFO: ContextListener: contextDestroyed()
java.lang.reflect.InvocationTargetException
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:582)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:271)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:409)
Caused by: java.lang.NullPointerException
at org.apache.catalina.core.ContainerBase.removeChild(ContainerBase.java:875)
at org.apache.catalina.startup.HostConfig.undeployApps(HostConfig.java:1104)
at org.apache.catalina.startup.HostConfig.stop(HostConfig.java:1076)
at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:312)
at 
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
at org.apache.catalina.core.ContainerBase.stop(ContainerBase.java:1043)
at org.apache.catalina.core.ContainerBase.stop(ContainerBase.java:1055)
at org.apache.catalina.core.StandardEngine.stop(StandardEngine.java:425)
at org.apache.catalina.core.StandardService.stop(StandardService.java:512)
at org.apache.catalina.core.StandardServer.stop(StandardServer.java:2001)
at org.apache.catalina.startup.Catalina.stop(Catalina.java:594)
at org.apache.catalina.startup.Catalina.start(Catalina.java:569)
... 6 more

SCENARIO 2
==

1. I start TC 5.5 using the service with no error messages until it says finally :
INFO: Server startup in 9890 ms

2. I restart the service and get a bunch of BindExceptions in addition to the same 
InvocationTargetException as in SCENARIO 1.

03-Sep-2004 16:12:41 org.apache.coyote.http11.Http11Protocol pause
INFO: Pausing Coyote HTTP/1.1 on http-8080
03-Sep-2004 16:12:42 org.apache.catalina.core.StandardService stop
INFO: Stopping service Catalina
03-Sep-2004 16:12:42 org.apache.catalina.core.ApplicationContext log
INFO: ContextListener: attributeReplaced('org.apache.catalina.WELCOME_FILES', 
'[Ljava.lang.String;@bb494b')
03-Sep-2004 16:12:42 org.apache.catalina.core.ApplicationContext log
INFO: ContextListener: attributeReplaced('org.apache.catalina.WELCOME_FILES', 
'[Ljava.lang.String;@1c8efd1')
03-Sep-2004 16:12:42 org.apache.catalina.core.ApplicationContext log
INFO: ContextListener: attributeReplaced('org.apache.catalina.WELCOME_FILES', 
'[Ljava.lang.String;@f892a4')
03-Sep-2004 16:12:42 org.apache.catalina.core.ApplicationContext log
INFO: SessionListener: contextDestroyed()
03-Sep-2004 16:12:42 org.apache.catalina.core.ApplicationContext log
INFO: ContextListener: contextDestroyed()
03-Sep-2004 16:12:42 org.apache.catalina.core.ApplicationContext log
INFO: ContextListener: attributeReplaced('org.apache.catalina.WELCOME_FILES', 
'[Ljava.lang.String;@df0438

Re: Fatal: relocation error: file libapr-0.so.0: symbol __divdi3: referenced symbol not found

2004-09-03 Thread QM
On Fri, Sep 03, 2004 at 10:44:13AM -0400, Jonathan Rengifo wrote:
: nm /usr/local/apache-httpd-2.0.50/lib/libapr-0.so.0 | grep div
: [337]   | 0|   0|FUNC |GLOB |0|UNDEF  |.div
: [640]   | 0|   0|FUNC |GLOB |0|UNDEF  |.udiv
: [909]   | 0|   0|NOTY |GLOB |0|UNDEF  |__divdi3
: [938]   | 0|   0|NOTY |GLOB |0|UNDEF  |__udivdi3
: 
: So it seems that the problem is on the libapr-0.so.0 because there
: is the variable "__divdi3" wich is reporting the relocation error

What happens when you run ldd on libapr-0.so.0, and skim those libs for
the symbol?

Note especially any libs that ldd claims it can't find.

-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: Fatal: relocation error: file libapr-0.so.0: symbol __divdi3: referenced symbol not found

2004-09-03 Thread Jonathan Rengifo
Hi all...

I ran the ldd utility on the jni dynamic library "libjkjni.so" with
the following results:

ldd libjkjni.so 
libcrypt_i.so.1 =>   /usr/lib/libcrypt_i.so.1
libapr-0.so.0 =>
/usr/local/apache-httpd-2.0.50/lib/libapr-0.so.0
libc.so.1 => /usr/lib/libc.so.1
libgen.so.1 =>   /usr/lib/libgen.so.1
libsendfile.so.1 =>  /usr/lib/libsendfile.so.1
librt.so.1 =>/usr/lib/librt.so.1
libm.so.1 => /usr/lib/libm.so.1
libsocket.so.1 =>/usr/lib/libsocket.so.1
libnsl.so.1 =>   /usr/lib/libnsl.so.1
libresolv.so.2 =>/usr/lib/libresolv.so.2
libpthread.so.1 =>   /usr/lib/libpthread.so.1
libdl.so.1 =>/usr/lib/libdl.so.1
libaio.so.1 =>   /usr/lib/libaio.so.1
libmd5.so.1 =>   /usr/lib/libmd5.so.1
libmp.so.2 =>/usr/lib/libmp.so.2
/usr/platform/SUNW,Sun-Fire-V210/lib/libc_psr.so.1
libthread.so.1 =>/usr/lib/libthread.so.1
/usr/platform/SUNW,Sun-Fire-V210/lib/libmd5_psr.so.1


I notice that the library suposed to have the problem was there
"/usr/local/apache-httpd-2.0.50/lib/libapr-0.so.0" so I ran "nm"
utility on it with the following results:

nm /usr/local/apache-httpd-2.0.50/lib/libapr-0.so.0 | grep div
[337]   | 0|   0|FUNC |GLOB |0|UNDEF  |.div
[640]   | 0|   0|FUNC |GLOB |0|UNDEF  |.udiv
[909]   | 0|   0|NOTY |GLOB |0|UNDEF  |__divdi3
[938]   | 0|   0|NOTY |GLOB |0|UNDEF  |__udivdi3

So it seems that the problem is on the libapr-0.so.0 because there
is the variable "__divdi3" wich is reporting the relocation error

One more thing, the Apache2 and the JK2 connector was configured and
make by me on box..

Thanks all... Any comments would be very helpful

Regards

Jonathan




On Fri, 03 Sep 2004 09:13:58 -0400, John Villar
<[EMAIL PROTECTED]> wrote:
> 
> >1-Sep-2004 1:46:26 PM org.apache.jk.common.ChannelSocket init
> >INFO: JK2: ajp13 listening on /0.0.0.0:8009
> >
> >
> These two lines say that the JK2 connector has started normally it
> seems to me that the problem isn't on the java side
> 
> >ld.so.1: /usr/java/bin/java: fatal: relocation error: file
> >/usr/local/apache-httpd-2.0.50/lib/libapr-0.so.0: symbol __divdi3:
> >referenced symbol not found
> >
> >
> Here's the problem. first things first. find what libraries do
> uses "libapr", then try to see if all the files are in your path, use
> the which command, or was it whereis? :-S
> 
> >This causes tomcat not to start, I don't really know what to do about
> >this. I read some forum posted message about the "symbol __divdi3:
> >referenced symbol not found" and they said this is because of some
> >glibc 2.0 stuff, but didn't find any solution to thisâ
> >
> >
> certainly, Solaris is a real pain with the glibc issue try to
> compile apache from source in that box
> 
> --
> John Villar
> Gerente de Proyectos
> Computadores Flor Hard Soft 2058 C.A.
> www.florhard.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: Form based authentication - "last login"

2004-09-03 Thread QM
On Fri, Sep 03, 2004 at 10:08:59AM +0200, [EMAIL PROTECTED] wrote:
: IMHO the best sollution would be to intercept the authentication process (I'm 
working with Tomcat 4.x), to smuggle some custom code there that updates the 
appropriate column in the database. The question is.. how can I do this?? Or maybe 
someone has a better idea how to do this??

There are several ways to do this, I'm sure.  My preferred method:

map a Filter to the protected area(s) that checks for the presence of
some session object.  If the object isn't there, the person has just
logged in, so you record the timestamp and store the object.  Otherwise,
the person's already logged in and the filter can pass the
request/response down the chain.

The marker object needn't be anything special: a simple Boolean will do,
if you don't store any other objects for users who are logged in.

-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: Need Help

2004-09-03 Thread QM
On Fri, Sep 03, 2004 at 02:16:26PM +0800, Venu wrote:
: I am trying to execute my jsp's & servlets from my remote server
: from /home/httpd/vhosts/domainname.com dir
: 
: It works fine for the Html's but when try to execute my jsp's & servlets
:  it is not able to execute and even doesnt displays an error page just
: displays
: only the html tags.

Check out the Tomcat docs on this one.

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



Re: Problem with Tomcat upgrading

2004-09-03 Thread QM
On Fri, Sep 03, 2004 at 03:54:18PM +0200, Bedrijven.nl wrote:
: No not that I can see in the log. What I know is that ven not all the
: examples work as well. Some does other not.

What was your upgrade process?
Did you recompile everything against the new JARs, etc?

There's a brief list of steps on my website (http://www.brandxdev.net).

-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: Problem with Tomcat upgrading

2004-09-03 Thread Bedrijven.nl
Hi,

I tried this, but the first example came withe following error:

HTTP Status 500 - 




type Exception report

message 

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

exception 

javax.servlet.ServletException:
org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate(Ljava/lang/Str
ing;Ljava/lang/Class;Ljavax/servlet/jsp/PageContext;Lorg/apache/jasper/runti
me/ProtectedFunctionMapper;Z)Ljava/lang/Object;

org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImp
l.java:536)

org.apache.jsp.jsp2.el.basic_002darithmetic_jsp._jspService(basic_002darithm
etic_jsp.java:73)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:137)
javax.servlet.http.HttpServlet.service(HttpServlet.java:853)


root cause 

java.lang.NoSuchMethodError:
org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate(Ljava/lang/Str
ing;Ljava/lang/Class;Ljavax/servlet/jsp/PageContext;Lorg/apache/jasper/runti
me/ProtectedFunctionMapper;Z)Ljava/lang/Object;

org.apache.jsp.jsp2.el.basic_002darithmetic_jsp._jspService(basic_002darithm
etic_jsp.java:44)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:137)
javax.servlet.http.HttpServlet.service(HttpServlet.java:853)


note The full stack trace of the root cause is available in the Apache
Tomcat/5.0.25 logs.


What;s wrong?? I don't understand it anymore iam hopeless

Maarten


-Oorspronkelijk bericht-
Van: Shapira, Yoav [mailto:[EMAIL PROTECTED]
Verzonden: Friday, September 03, 2004 2:58 PM
Aan: Tomcat Users List
Onderwerp: RE: Problem with Tomcat upgrading



Hi,
Make sure you do a clean installation of Tomcat to a new directory:
don't override the old $CATALINA_HOME.  If you do the latter you might
end up with some old jars and config files loaded.  The fact the
examples don't run suggest a screwy Tomcat installation.

Yoav Shapira
Millennium Research Informatics


>-Original Message-
>From: Bedrijven.nl [mailto:[EMAIL PROTECTED]
>Sent: Friday, September 03, 2004 9:54 AM
>To: 'Tomcat Users List'
>Subject: RE: Problem with Tomcat upgrading
>
>Hi,
>
>No not that I can see in the log. What I know is that ven not all the
>examples work as well. Some does other not.
>ITs seems that Tomcat can interpretet my classes. My structure is at
>follows:
>
>WEB-INF/classes/nl/intervision/formbeans/LogonUserForm.class.
>
>Pff I really flipping..
>
>
>
>-Oorspronkelijk bericht-
>Van: Shapira, Yoav [mailto:[EMAIL PROTECTED]
>Verzonden: Friday, September 03, 2004 2:37 PM
>Aan: Tomcat Users List
>Onderwerp: RE: Problem with Tomcat upgrading
>
>
>
>Hi,
>It's possible to copy over webapps that adhere strictly to the Servlet
>Specification and general Java guidelines, which include importing all
>used classes.  It seems like you're doing that and still getting a
CNFE,
>and I'm not sure why you're getting the error.  Are there other errors,
>e.g. during server startup, that might be affecting your webapp?
>
>Yoav Shapira
>Millennium Research Informatics
>
>
>>-Original Message-
>>From: Bedrijven.nl [mailto:[EMAIL PROTECTED]
>>Sent: Friday, September 03, 2004 9:30 AM
>>To: 'Tomcat Users List'
>>Subject: RE: Problem with Tomcat upgrading
>>
>>Hello,
>>
>>I tried this see below. But same the same error that the Class is not
>>Found.
>>For my imagination: is't possible to install the new Tomcat 5.0.25
>version
>>and then copy a webapplication (in my case is called template) in the
>>webapps director..stop/start services and it should work. Isn't it??
Or
>do
>>I
>>need to do something more??
>>
>>I tried this...import the LogonUserForm
>>__
_
>>
>><%@ page language="java" %>
>><%@ page errorPage = "errorpage.jsp" %>
>><%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>
>><%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %>
>><%! String title ="Inloggen"; %>
>><%@ page import="nl.intervision.formbeans.LogonUserForm" %>
>><%@ include file="/includes/prelogintop.jsp" %>
>>
>><%@ include file="/includes/top.jsp" %>
>>
>>
>>
>>My LogonUserForm
>>__
_
>>
>>package nl.intervision.formbeans;
>>
>>import javax.servlet.http.HttpServletRequest;
>>import org.apache.struts.action.ActionError;
>>import org.apache.struts.action.ActionErrors;
>>import org.apache.struts.action.ActionForm;
>>import org.apache.struts.action.ActionMapping;
>>
>>import nl.intervision.util.*;
>>
>>public final class LogonUserForm extends ActionForm  {
>>
>>private String username = null;
>>private String password = null;
>>
>>public String getUsername() {
>>  return (this.username);
>>  }
>>
>>  public void setUsername(String username) {
>>  this.username = username;
>>}
>>
>>public

RE: Problem with Tomcat upgrading

2004-09-03 Thread Shapira, Yoav

Hi,
Make sure you do a clean installation of Tomcat to a new directory:
don't override the old $CATALINA_HOME.  If you do the latter you might
end up with some old jars and config files loaded.  The fact the
examples don't run suggest a screwy Tomcat installation.

Yoav Shapira
Millennium Research Informatics


>-Original Message-
>From: Bedrijven.nl [mailto:[EMAIL PROTECTED]
>Sent: Friday, September 03, 2004 9:54 AM
>To: 'Tomcat Users List'
>Subject: RE: Problem with Tomcat upgrading
>
>Hi,
>
>No not that I can see in the log. What I know is that ven not all the
>examples work as well. Some does other not.
>ITs seems that Tomcat can interpretet my classes. My structure is at
>follows:
>
>WEB-INF/classes/nl/intervision/formbeans/LogonUserForm.class.
>
>Pff I really flipping..
>
>
>
>-Oorspronkelijk bericht-
>Van: Shapira, Yoav [mailto:[EMAIL PROTECTED]
>Verzonden: Friday, September 03, 2004 2:37 PM
>Aan: Tomcat Users List
>Onderwerp: RE: Problem with Tomcat upgrading
>
>
>
>Hi,
>It's possible to copy over webapps that adhere strictly to the Servlet
>Specification and general Java guidelines, which include importing all
>used classes.  It seems like you're doing that and still getting a
CNFE,
>and I'm not sure why you're getting the error.  Are there other errors,
>e.g. during server startup, that might be affecting your webapp?
>
>Yoav Shapira
>Millennium Research Informatics
>
>
>>-Original Message-
>>From: Bedrijven.nl [mailto:[EMAIL PROTECTED]
>>Sent: Friday, September 03, 2004 9:30 AM
>>To: 'Tomcat Users List'
>>Subject: RE: Problem with Tomcat upgrading
>>
>>Hello,
>>
>>I tried this see below. But same the same error that the Class is not
>>Found.
>>For my imagination: is't possible to install the new Tomcat 5.0.25
>version
>>and then copy a webapplication (in my case is called template) in the
>>webapps director..stop/start services and it should work. Isn't it??
Or
>do
>>I
>>need to do something more??
>>
>>I tried this...import the LogonUserForm
>>__
_
>>
>><%@ page language="java" %>
>><%@ page errorPage = "errorpage.jsp" %>
>><%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>
>><%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %>
>><%! String title ="Inloggen"; %>
>><%@ page import="nl.intervision.formbeans.LogonUserForm" %>
>><%@ include file="/includes/prelogintop.jsp" %>
>>
>><%@ include file="/includes/top.jsp" %>
>>
>>
>>
>>My LogonUserForm
>>__
_
>>
>>package nl.intervision.formbeans;
>>
>>import javax.servlet.http.HttpServletRequest;
>>import org.apache.struts.action.ActionError;
>>import org.apache.struts.action.ActionErrors;
>>import org.apache.struts.action.ActionForm;
>>import org.apache.struts.action.ActionMapping;
>>
>>import nl.intervision.util.*;
>>
>>public final class LogonUserForm extends ActionForm  {
>>
>>private String username = null;
>>private String password = null;
>>
>>public String getUsername() {
>>  return (this.username);
>>  }
>>
>>  public void setUsername(String username) {
>>  this.username = username;
>>}
>>
>>public String getPassword() {
>>  return (this.password);
>>  }
>>
>>  public void setPassword(String password) {
>>  this.password = password;
>>}
>>
>>public void reset(ActionMapping mapping, HttpServletRequest
>request) {
>>  this.username = null;
>>  this.password = null;
>>}
>>
>>
>>/**
>> * Validate the properties that have been set from this HTTP
>request,
>> * and return an ActionErrors object that
encapsulates
>any
>> * validation errors that have been found.  If no errors are
found,
>>return
>> * null or an ActionErrors object with
no
>> * recorded error messages.
>> *
>> * @param mapping The mapping used to select this instance
>> * @param request The servlet request we are processing
>> */
>>public ActionErrors validate(ActionMapping mapping,
>> HttpServletRequest request) {
>>
>>ActionErrors errors = new ActionErrors();
>>  if (!CheckInput.checkTextLength(username, 1, 50)) {
>>  errors.add("username", new
>>ActionError("error.username.required"));
>>  errors.add("usernamewrong", new
>>ActionError("error.usernamewrong.display"));
>>  }
>>  if (!CheckInput.checkTextLength(password, 1, 50)) {
>>  errors.add("password", new
>>ActionError("error.password.required"));
>>  errors.add("passwordwrong", new
>>ActionError("error.passwordwrong.display"));
>>  }
>>  if (errors.size() > 0)
>>  {
>>  errors.add("textheader", new
>>ActionError("error.textheader.display"));
>>  }
>>  retu

RE: Problem with Tomcat upgrading

2004-09-03 Thread Bedrijven.nl
Hi,

No not that I can see in the log. What I know is that ven not all the
examples work as well. Some does other not.
ITs seems that Tomcat can interpretet my classes. My structure is at
follows:

WEB-INF/classes/nl/intervision/formbeans/LogonUserForm.class.

Pff I really flipping..



-Oorspronkelijk bericht-
Van: Shapira, Yoav [mailto:[EMAIL PROTECTED]
Verzonden: Friday, September 03, 2004 2:37 PM
Aan: Tomcat Users List
Onderwerp: RE: Problem with Tomcat upgrading



Hi,
It's possible to copy over webapps that adhere strictly to the Servlet
Specification and general Java guidelines, which include importing all
used classes.  It seems like you're doing that and still getting a CNFE,
and I'm not sure why you're getting the error.  Are there other errors,
e.g. during server startup, that might be affecting your webapp?

Yoav Shapira
Millennium Research Informatics


>-Original Message-
>From: Bedrijven.nl [mailto:[EMAIL PROTECTED]
>Sent: Friday, September 03, 2004 9:30 AM
>To: 'Tomcat Users List'
>Subject: RE: Problem with Tomcat upgrading
>
>Hello,
>
>I tried this see below. But same the same error that the Class is not
>Found.
>For my imagination: is't possible to install the new Tomcat 5.0.25
version
>and then copy a webapplication (in my case is called template) in the
>webapps director..stop/start services and it should work. Isn't it?? Or
do
>I
>need to do something more??
>
>I tried this...import the LogonUserForm
>___
>
><%@ page language="java" %>
><%@ page errorPage = "errorpage.jsp" %>
><%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>
><%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %>
><%! String title ="Inloggen"; %>
><%@ page import="nl.intervision.formbeans.LogonUserForm" %>
><%@ include file="/includes/prelogintop.jsp" %>
>
><%@ include file="/includes/top.jsp" %>
>
>
>
>My LogonUserForm
>___
>
>package nl.intervision.formbeans;
>
>import javax.servlet.http.HttpServletRequest;
>import org.apache.struts.action.ActionError;
>import org.apache.struts.action.ActionErrors;
>import org.apache.struts.action.ActionForm;
>import org.apache.struts.action.ActionMapping;
>
>import nl.intervision.util.*;
>
>public final class LogonUserForm extends ActionForm  {
>
>private String username = null;
>private String password = null;
>
>public String getUsername() {
>   return (this.username);
>   }
>
>   public void setUsername(String username) {
>   this.username = username;
>}
>
>public String getPassword() {
>   return (this.password);
>   }
>
>   public void setPassword(String password) {
>   this.password = password;
>}
>
>public void reset(ActionMapping mapping, HttpServletRequest
request) {
>   this.username = null;
>   this.password = null;
>}
>
>
>/**
> * Validate the properties that have been set from this HTTP
request,
> * and return an ActionErrors object that encapsulates
any
> * validation errors that have been found.  If no errors are found,
>return
> * null or an ActionErrors object with no
> * recorded error messages.
> *
> * @param mapping The mapping used to select this instance
> * @param request The servlet request we are processing
> */
>public ActionErrors validate(ActionMapping mapping,
> HttpServletRequest request) {
>
>ActionErrors errors = new ActionErrors();
>   if (!CheckInput.checkTextLength(username, 1, 50)) {
>   errors.add("username", new
>ActionError("error.username.required"));
>   errors.add("usernamewrong", new
>ActionError("error.usernamewrong.display"));
>   }
>   if (!CheckInput.checkTextLength(password, 1, 50)) {
>   errors.add("password", new
>ActionError("error.password.required"));
>   errors.add("passwordwrong", new
>ActionError("error.passwordwrong.display"));
>   }
>   if (errors.size() > 0)
>   {
>   errors.add("textheader", new
>ActionError("error.textheader.display"));
>   }
>   return errors;
>}
>}
>___
>
>
>
>
>
>-Oorspronkelijk bericht-
>Van: Shapira, Yoav [mailto:[EMAIL PROTECTED]
>Verzonden: Friday, September 03, 2004 2:11 PM
>Aan: Tomcat Users List; [EMAIL PROTECTED]
>Onderwerp: RE: Problem with Tomcat upgrading
>
>
>
>Hi,
>Import your classes if you're not doing so already.
>
>Yoav Shapira
>Millennium Research Informatics
>
>
>>-Original Message-
>>From: Bedrijven.nl [mailto:[EMAIL PROTECTED]
>>Sent: Friday, September 03, 2004 7:27 AM
>>To: 'Tomcat Users List'
>>Subject: Problem with Tomcat upgradin

RE: Rotation of Catalina.out

2004-09-03 Thread Andrew Janian
If you remove the stdout references then the output will only go to your file.  See 
below:



# Sample properties to initialise log4j
#log4j.rootCategory=debug, R

log4j.appender.R=org.apache.log4j.RollingFileAppender
log4j.appender.R.File=logtags.log

log4j.appender.R.MaxFileSize=100KB
# Keep one backup file <-- really keeping 2, you know that right?
log4j.appender.R.MaxBackupIndex=2

log4j.appender.R.layout=org.apache.log4j.PatternLayout
log4j.appender.R.layout.ConversionPattern=%p %t %c - %m%n



Hope that helps,

Andrew

-Original Message-
From: David Goodenough [mailto:[EMAIL PROTECTED]
Sent: Friday, September 03, 2004 8:47 AM
To: Tomcat Users List
Subject: Re: Rotation of Catalina.out


Well actually I am using Log4j (under the covers) I think.  I am 
using the  JSP tags, and they have log4j as a pre-req.  But
obviously somehow the default config for log4j is writing to 
stdout rather than a log file.  

The default log4j.properties file that ships with the log tags is:-



# Sample properties to initialise log4j
#log4j.rootCategory=debug, stdout, R
log4j.rootCategory=debug, stdout

log4j.appender.stdout=org.apache.log4j.ConsoleAppender
log4j.appender.stdout.layout=org.apache.log4j.PatternLayout

# Pattern to output the caller's file name and line number.
log4j.appender.stdout.layout.ConversionPattern=%5p - %m%n

log4j.appender.R=org.apache.log4j.RollingFileAppender
log4j.appender.R.File=logtags.log

log4j.appender.R.MaxFileSize=100KB
# Keep one backup file
log4j.appender.R.MaxBackupIndex=2

log4j.appender.R.layout=org.apache.log4j.PatternLayout
log4j.appender.R.layout.ConversionPattern=%p %t %c - %m%n



Obviously I need to modify this to get it to put the output
somewhere else and to rotate it.  But reading the log4j manual
on the apache site I am not sure I know what I need to modify.

TIA

David

On Friday 03 September 2004 13:55, Andrew Janian wrote:
> Here is a couple links that should explain the lack of rotation of
> catalina.out:
>
> 1) http://jakarta.apache.org/tomcat/faq/misc.html#catalina.out
>
>   This one is from the tomcat website and is just the question you are
> asking.  It says that you should not be using stdout (System.out.println)
> because you should be using a logging package like log4j (good
> recommendation).
>
> 2) http://marc.theaimsgroup.com/?t=10554447261&r=1&w=2
>
>   As reference by the above link, this one is a thread about rotating
> catalina.out.
>
> Hope this helps,
>
> Andrew Janian
>
> -Original Message-
> From: David Goodenough [mailto:[EMAIL PROTECTED]
> Sent: Friday, September 03, 2004 7:49 AM
> To: [EMAIL PROTECTED]
> Subject: Rotation of Catalina.out
>
>
> I am running Tomcat 5.0.27 on a Debian Unstable system
> in /usr/local/share/tomcat5.  Under this directory is the logs directory
> and that contains lots of localhost_log.-mm-dd.txt files (one for
> each day) but only one catalina.out file.
>
> In server.xml there are two Logger tags:-
>
>   
>  prefix="catalina_log." suffix=".txt"
>   timestamp="true"/>
>
>   directory="logs"  prefix="localhost_log." suffix=".txt"
> timestamp="true"/>
>
> and I guess that the latter is responsible for all the daily logs.
>
> The former however is obviously not responsible for the
> catalina.out as the file name is wrong.
>
> So I assume that Catalina.out is coming from
> StandardErrLogger and/or StandardOutLogger.
>
> My question is how to get daily files for Catalina.out?
>
> David
>
> -
> 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: Rotation of Catalina.out

2004-09-03 Thread David Goodenough
Well actually I am using Log4j (under the covers) I think.  I am 
using the  JSP tags, and they have log4j as a pre-req.  But
obviously somehow the default config for log4j is writing to 
stdout rather than a log file.  

The default log4j.properties file that ships with the log tags is:-



# Sample properties to initialise log4j
#log4j.rootCategory=debug, stdout, R
log4j.rootCategory=debug, stdout

log4j.appender.stdout=org.apache.log4j.ConsoleAppender
log4j.appender.stdout.layout=org.apache.log4j.PatternLayout

# Pattern to output the caller's file name and line number.
log4j.appender.stdout.layout.ConversionPattern=%5p - %m%n

log4j.appender.R=org.apache.log4j.RollingFileAppender
log4j.appender.R.File=logtags.log

log4j.appender.R.MaxFileSize=100KB
# Keep one backup file
log4j.appender.R.MaxBackupIndex=2

log4j.appender.R.layout=org.apache.log4j.PatternLayout
log4j.appender.R.layout.ConversionPattern=%p %t %c - %m%n



Obviously I need to modify this to get it to put the output
somewhere else and to rotate it.  But reading the log4j manual
on the apache site I am not sure I know what I need to modify.

TIA

David

On Friday 03 September 2004 13:55, Andrew Janian wrote:
> Here is a couple links that should explain the lack of rotation of
> catalina.out:
>
> 1) http://jakarta.apache.org/tomcat/faq/misc.html#catalina.out
>
>   This one is from the tomcat website and is just the question you are
> asking.  It says that you should not be using stdout (System.out.println)
> because you should be using a logging package like log4j (good
> recommendation).
>
> 2) http://marc.theaimsgroup.com/?t=10554447261&r=1&w=2
>
>   As reference by the above link, this one is a thread about rotating
> catalina.out.
>
> Hope this helps,
>
> Andrew Janian
>
> -Original Message-
> From: David Goodenough [mailto:[EMAIL PROTECTED]
> Sent: Friday, September 03, 2004 7:49 AM
> To: [EMAIL PROTECTED]
> Subject: Rotation of Catalina.out
>
>
> I am running Tomcat 5.0.27 on a Debian Unstable system
> in /usr/local/share/tomcat5.  Under this directory is the logs directory
> and that contains lots of localhost_log.-mm-dd.txt files (one for
> each day) but only one catalina.out file.
>
> In server.xml there are two Logger tags:-
>
>   
>  prefix="catalina_log." suffix=".txt"
>   timestamp="true"/>
>
>   directory="logs"  prefix="localhost_log." suffix=".txt"
> timestamp="true"/>
>
> and I guess that the latter is responsible for all the daily logs.
>
> The former however is obviously not responsible for the
> catalina.out as the file name is wrong.
>
> So I assume that Catalina.out is coming from
> StandardErrLogger and/or StandardOutLogger.
>
> My question is how to get daily files for Catalina.out?
>
> David
>
> -
> 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: Unable to integrate Apache 2.0.24, mod_jk2 with Tomcat 5.

2004-09-03 Thread Andy Eastham
Joao,

The way I do this is to forward all of a subdirectories requests to a webapp
on tomcat, and then I give my servlets an arbitrary extension (I use .isa
for irrelevant reasons).

For example, in workers2.properties, I forward everything to the apache url
/control to tomcat:
[uri:localhost/control/*]
worker=ajp13:localhost:8009

[uri:wwws/control/]
worker=ajp13:localhost:8009

[uri:127.0.0.1/control/*]
worker=ajp13:localhost:8009

Then in tomcats server.xml:
 
 www.xxx.com
 192.168.0.102
 localhost
 wwws
 127.0.0.1


 

 


Note the context path for "control", and the aliases for different urls your
server may be called by.

Then in the web.xml for the control webapp (under WEB-INF directory):


myServlet


com..servlet.myServlet

1





myServlet


*.isa



This maps any requests to anything.isa to my servlet.

If you don't want to use the extension method, you can use the "invoker"
servlet supplied with Tomcat.

This method requires that you redirect a subdirectory, not all apache
requests.  I don't know if you can redirect all apache requests, but that
would lose some of the benefits of using apache with tomcat, eg serving
images and other static content directly from apache.

Hope this helps,

Andy



> -Original Message-
> From: João Gil ACE-SC [mailto:[EMAIL PROTECTED]
> Sent: 03 September 2004 12:18
> To: Tomcat Users List
> Subject: RE: Unable to integrate Apache 2.0.24, mod_jk2 with Tomcat 5.
> 
> 
> Hello,
> 
> Thank's to Andy Eastham solution I managed to get Apache to forward *.jsp
> requests to Tomcat. In adition I also discovered
> that I had to define "localhost"(127.0.0.1) in JK2.properties file as
> without this config Tomcat(JK2) was listening on the wrong
> IP(0.0.0.0.).
> 
> Servlets are still not being forwarded - Apache reports - "404 file not
> found" when I click on, for example, - http://localhost/MyServlet.
> MyServlet exists on my root_path as MyServlet.class . Can anyone tell me
> how to prevent this error and forward the request to
> Tomcat5?
> 
> Warmest Regards
> Joao Gil
> 
> 
> 
> 
>   "Andy Eastham"
>   <[EMAIL PROTECTED]To:   "'Tomcat Users
> List'" <[EMAIL PROTECTED]>
>   om>  cc:
>Subject:  RE: Unable to
> integrate Apache 2.0.24 with Tomcat 5.
>   02-09-2004 16:41
>   Please respond to
>   "Tomcat Users
>   List"
> 
> 
> 
> 
> 
> 
> Joao,
> 
> I looked at that url and the way redirections are configured is different
> to
> mine.
> 
> I do NOT have things like
> 
> JkUriSet worker ajp13:localhost:8009
> 
> 
> 
> JkUriSet worker ajp13:localhost:8009
> 
> 
> (in fact these look like mod_jk configuration to me)
> 
> Instead, my workers2.properties is as follows:
> [logger.apache2]
> #level=DEBUG
> 
> [shm]
> file=/usr/local/apache2/logs/shm.file
> size=1048576
> 
> # Example socket channel, override port and host.
> [channel.socket:localhost:8009]
> port=8009
> host=127.0.0.1
> 
> # define the worker
> [ajp13:localhost:8009]
> channel=channel.socket:localhost:8009
> 
> # Uri mapping
> [uri:192.168.0.103/wisadmin/*]
> worker=ajp13:localhost:8009
> 
> [uri:localhost/wisadmin/*]
> worker=ajp13:localhost:8009
> 
> [uri:wis/wisadmin/]
> worker=ajp13:localhost:8009
> 
> [uri:127.0.0.1/wisadmin/*]
> worker=ajp13:localhost:8009
> 
> Note that the URIs are mapped in this file.
> 
> Give this a try,
> 
> Andy
> 
> > -Original Message-
> > From: João Gil ACE-SC [mailto:[EMAIL PROTECTED]
> > Sent: 02 September 2004 16:25
> > To: [EMAIL PROTECTED]
> > Subject: Unable to integrate Apache 2.0.24 with Tomcat 5.
> >
> >
> > Greatings,
> >
> > I am trying to integrate Apache 2.0.24 with Tomcat 5 with no success.
> >
> > The best solution I have found on the net is at
> > http://www.dynamicobjects.com/d2r/archives/002574.html
> >
> > After configuring Apache and Tomcat as instructed, both execute with
> > no problem. But Apache is still not forwarding JSP pages/Servlets
> > to Tomcat. Can anyone help me?
> >
> > Warmest Regards
> > Joao Gil
> >
> >
> >
> > -
> > 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 u

RE: javascript and servlets.

2004-09-03 Thread David . Pawson
 

-Original Message-
From: Marot Laurent 

i've just realised that you want to use  form

That I didn't know.
  Thanks Laurent.

Mike/John, I am now getting them via the request.getparameter() call,
Just that I had a problem on the client end.

f = request.getParameter("file0");
while (f != null){
out.println("file : "+ f );
out.println("");
//  fn[numFiles]=f;
numFiles++;
f =
request.getParameter("file"+Integer.toString(numFiles));
  System.err.println("Seeking "+
"file"+Integer.toString(numFiles));
}

Is working well.. except for the path being curtailed, just returning the 
filename+ext.

regards DaveP

** snip here **

  


-- 
DISCLAIMER: 

NOTICE: The information contained in this email and any attachments is 
confidential and may be privileged. If you are not the intended 
recipient you should not use, disclose, distribute or copy any of the 
content of it or of any attachment; you are requested to notify the 
sender immediately of your receipt of the email and then to delete it 
and any attachments from your system. 

RNIB endeavours to ensure that emails and any attachments generated by 
its staff are free from viruses or other contaminants. However, it 
cannot accept any responsibility for any  such which are transmitted.
We therefore recommend you scan all attachments. 

Please note that the statements and views expressed in this email and 
any attachments are those of the author and do not necessarily represent 
those of RNIB. 

RNIB Registered Charity Number: 226227 

Website: http://www.rnib.org.uk 

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



RE: Problem with Tomcat upgrading

2004-09-03 Thread Shapira, Yoav

Hi,
It's possible to copy over webapps that adhere strictly to the Servlet
Specification and general Java guidelines, which include importing all
used classes.  It seems like you're doing that and still getting a CNFE,
and I'm not sure why you're getting the error.  Are there other errors,
e.g. during server startup, that might be affecting your webapp?

Yoav Shapira
Millennium Research Informatics


>-Original Message-
>From: Bedrijven.nl [mailto:[EMAIL PROTECTED]
>Sent: Friday, September 03, 2004 9:30 AM
>To: 'Tomcat Users List'
>Subject: RE: Problem with Tomcat upgrading
>
>Hello,
>
>I tried this see below. But same the same error that the Class is not
>Found.
>For my imagination: is't possible to install the new Tomcat 5.0.25
version
>and then copy a webapplication (in my case is called template) in the
>webapps director..stop/start services and it should work. Isn't it?? Or
do
>I
>need to do something more??
>
>I tried this...import the LogonUserForm
>___
>
><%@ page language="java" %>
><%@ page errorPage = "errorpage.jsp" %>
><%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>
><%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %>
><%! String title ="Inloggen"; %>
><%@ page import="nl.intervision.formbeans.LogonUserForm" %>
><%@ include file="/includes/prelogintop.jsp" %>
>
><%@ include file="/includes/top.jsp" %>
>
>
>
>My LogonUserForm
>___
>
>package nl.intervision.formbeans;
>
>import javax.servlet.http.HttpServletRequest;
>import org.apache.struts.action.ActionError;
>import org.apache.struts.action.ActionErrors;
>import org.apache.struts.action.ActionForm;
>import org.apache.struts.action.ActionMapping;
>
>import nl.intervision.util.*;
>
>public final class LogonUserForm extends ActionForm  {
>
>private String username = null;
>private String password = null;
>
>public String getUsername() {
>   return (this.username);
>   }
>
>   public void setUsername(String username) {
>   this.username = username;
>}
>
>public String getPassword() {
>   return (this.password);
>   }
>
>   public void setPassword(String password) {
>   this.password = password;
>}
>
>public void reset(ActionMapping mapping, HttpServletRequest
request) {
>   this.username = null;
>   this.password = null;
>}
>
>
>/**
> * Validate the properties that have been set from this HTTP
request,
> * and return an ActionErrors object that encapsulates
any
> * validation errors that have been found.  If no errors are found,
>return
> * null or an ActionErrors object with no
> * recorded error messages.
> *
> * @param mapping The mapping used to select this instance
> * @param request The servlet request we are processing
> */
>public ActionErrors validate(ActionMapping mapping,
> HttpServletRequest request) {
>
>ActionErrors errors = new ActionErrors();
>   if (!CheckInput.checkTextLength(username, 1, 50)) {
>   errors.add("username", new
>ActionError("error.username.required"));
>   errors.add("usernamewrong", new
>ActionError("error.usernamewrong.display"));
>   }
>   if (!CheckInput.checkTextLength(password, 1, 50)) {
>   errors.add("password", new
>ActionError("error.password.required"));
>   errors.add("passwordwrong", new
>ActionError("error.passwordwrong.display"));
>   }
>   if (errors.size() > 0)
>   {
>   errors.add("textheader", new
>ActionError("error.textheader.display"));
>   }
>   return errors;
>}
>}
>___
>
>
>
>
>
>-Oorspronkelijk bericht-
>Van: Shapira, Yoav [mailto:[EMAIL PROTECTED]
>Verzonden: Friday, September 03, 2004 2:11 PM
>Aan: Tomcat Users List; [EMAIL PROTECTED]
>Onderwerp: RE: Problem with Tomcat upgrading
>
>
>
>Hi,
>Import your classes if you're not doing so already.
>
>Yoav Shapira
>Millennium Research Informatics
>
>
>>-Original Message-
>>From: Bedrijven.nl [mailto:[EMAIL PROTECTED]
>>Sent: Friday, September 03, 2004 7:27 AM
>>To: 'Tomcat Users List'
>>Subject: Problem with Tomcat upgrading
>>
>>Hello,
>>
>>I am testing the new Tomcat version. So what dit I do:
>>
>>- Installed Tomcat 5.0.19 (older version was 4.0.25)
>>- copied my webapps to the new installation
>>- restarting tomcat
>>
>>Everything seems to work fine. However when I tried to start my
>>webapplications everything goes fine but Tomcat trowns a ClassNotFound
>>Exception.
>>
>>example:
>>
>>the logonuser.jsp
>>
>><%@ page language="java" %>
>><%@ page errorPage = "errorpage.jsp" %>
>><%@ taglib ur

RE: Problem with Tomcat upgrading

2004-09-03 Thread Bedrijven.nl
Hello,

I tried this see below. But same the same error that the Class is not Found.
For my imagination: is't possible to install the new Tomcat 5.0.25 version
and then copy a webapplication (in my case is called template) in the
webapps director..stop/start services and it should work. Isn't it?? Or do I
need to do something more??

I tried this...import the LogonUserForm
___

<%@ page language="java" %>
<%@ page errorPage = "errorpage.jsp" %>
<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>
<%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %>
<%! String title ="Inloggen"; %>
<%@ page import="nl.intervision.formbeans.LogonUserForm" %>
<%@ include file="/includes/prelogintop.jsp" %>

<%@ include file="/includes/top.jsp" %>



My LogonUserForm
___

package nl.intervision.formbeans;

import javax.servlet.http.HttpServletRequest;
import org.apache.struts.action.ActionError;
import org.apache.struts.action.ActionErrors;
import org.apache.struts.action.ActionForm;
import org.apache.struts.action.ActionMapping;

import nl.intervision.util.*;

public final class LogonUserForm extends ActionForm  {

private String username = null;
private String password = null;

public String getUsername() {
return (this.username);
}

public void setUsername(String username) {
this.username = username;
}

public String getPassword() {
return (this.password);
}

public void setPassword(String password) {
this.password = password;
}

public void reset(ActionMapping mapping, HttpServletRequest request) {
this.username = null;
this.password = null;
}


/**
 * Validate the properties that have been set from this HTTP request,
 * and return an ActionErrors object that encapsulates any
 * validation errors that have been found.  If no errors are found,
return
 * null or an ActionErrors object with no
 * recorded error messages.
 *
 * @param mapping The mapping used to select this instance
 * @param request The servlet request we are processing
 */
public ActionErrors validate(ActionMapping mapping,
 HttpServletRequest request) {

ActionErrors errors = new ActionErrors();
if (!CheckInput.checkTextLength(username, 1, 50)) {
errors.add("username", new
ActionError("error.username.required"));
errors.add("usernamewrong", new
ActionError("error.usernamewrong.display"));
}
if (!CheckInput.checkTextLength(password, 1, 50)) {
errors.add("password", new
ActionError("error.password.required"));
errors.add("passwordwrong", new
ActionError("error.passwordwrong.display"));
}
if (errors.size() > 0)
{
errors.add("textheader", new
ActionError("error.textheader.display"));
}
return errors;
}
}
___





-Oorspronkelijk bericht-
Van: Shapira, Yoav [mailto:[EMAIL PROTECTED]
Verzonden: Friday, September 03, 2004 2:11 PM
Aan: Tomcat Users List; [EMAIL PROTECTED]
Onderwerp: RE: Problem with Tomcat upgrading



Hi,
Import your classes if you're not doing so already.

Yoav Shapira
Millennium Research Informatics


>-Original Message-
>From: Bedrijven.nl [mailto:[EMAIL PROTECTED]
>Sent: Friday, September 03, 2004 7:27 AM
>To: 'Tomcat Users List'
>Subject: Problem with Tomcat upgrading
>
>Hello,
>
>I am testing the new Tomcat version. So what dit I do:
>
>- Installed Tomcat 5.0.19 (older version was 4.0.25)
>- copied my webapps to the new installation
>- restarting tomcat
>
>Everything seems to work fine. However when I tried to start my
>webapplications everything goes fine but Tomcat trowns a ClassNotFound
>Exception.
>
>example:
>
>the logonuser.jsp
>
><%@ page language="java" %>
><%@ page errorPage = "errorpage.jsp" %>
><%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>
><%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %>
><%! String title ="Inloggen"; %>
><%@ include file="/includes/prelogintop.jsp" %>
>
><%@ include file="/includes/top.jsp" %>
>
>
>etc.
>
>Tomcat throws teh following exception:
>
>javax.servlet.jsp.JspException: Exception creating bean of class
>nl.intervision.formbeans.LogonUserForm:
java.lang.ClassNotFoundException:
>nl.intervision.formbeans.LogonUserForm at
>org.apache.struts.taglib.html.FormTag.doStartTag(FormTag.java:568) at
>org.apache.jsp.logonuser_jsp._jspService(logonuser_jsp.java:106) at
>org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:137) at
>javax.servlet.http.HttpServl

RE: service tomcat does not support chkconfig

2004-09-03 Thread Qi, Xlaoyan
I have trouble to add tomcat(tomcat-5.0.27) as a service in my RHE3.
Script is like this: 


#!/bin/sh

##
#
#   Copyright 2004 The Apache Software Foundation.
#
#   Licensed under the Apache License, Version 2.0 (the "License");
#   you may not use this file except in compliance with the License.
#   You may obtain a copy of the License at
#
#   http://www.apache.org/licenses/LICENSE-2.0
#
#   Unless required by applicable law or agreed to in writing, software
#   distributed under the License is distributed on an "AS IS" BASIS,
#   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
implied.
#   See the License for the specific language governing permissions and
#   limitations under the License.

##
#
# Small shell script to show how to start/stop Tomcat using jsvc
# If you want to have Tomcat running on port 80 please modify the
server.xml
# file:
#
#
#
#
# That is for Tomcat-5.0.x (Apache Tomcat/5.0)
#
# Adapt the following lines to your configuration
JAVA_HOME=/usr/java/j2sdk1.4.2_05
CATALINA_HOME=/usr/local/jakarta-tomcat-5.0.27/build
DAEMON_HOME=/usr/local/jakarta-tomcat-5.0.27/bin
TOMCAT_USER=jakarta
TMP_DIR=/var/tmp
CATALINA_OPTS=
CLASSPATH=\
$JAVA_HOME/lib/tools.jar:\
$CATALINA_HOME/bin/commons-daemon.jar:\
$CATALINA_HOME/bin/bootstrap.jar

case "$1" in
  start)
#
# Start Tomcat
#
$DAEMON_HOME/jsvc-src/native/unix/jsvc \
-user $TOMCAT_USER \
-home $JAVA_HOME \
-Dcatalina.home=$CATALINA_HOME \
-Djava.io.tmpdir=$TMP_DIR \
-outfile $CATALINA_HOME/logs/catalina.out \
-errfile '&1' \
$CATALINA_OPTS \
-cp $CLASSPATH \
org.apache.catalina.startup.Bootstrap
#
# To get a verbose JVM
#-verbose \
# To get a debug of jsvc.
#-debug \
;;

  stop)
#
# Stop Tomcat
#
PID=`cat /var/run/jsvc.pid`
kill $PID
;;

  *)
echo "Usage tomcat.sh start/stop"
exit 1;;
esac

-Original Message-
From: Didier McGillis [mailto:[EMAIL PROTECTED] 
Sent: Friday, September 03, 2004 9:09 AM
To: [EMAIL PROTECTED]
Subject: RE: service tomcat does not support chkconfig

I'm using RHE2, and Tomcat 4, so not totally your situation but I was
able 
to create and add the startup script to chkconfig without issue.  Could
it 
be your script?


>From: "Qi, Xlaoyan" <[EMAIL PROTECTED]>
>Reply-To: "Tomcat Users List" <[EMAIL PROTECTED]>
>To: <[EMAIL PROTECTED]>
>Subject: service tomcat does not support chkconfig
>Date: Fri, 3 Sep 2004 09:02:21 -0400
>
>I downloaded the tomcat-5.0.27 and it can start fine with startup.sh.
>When I tried to put tomcat.sh to /etc/init.d to add it as a service to
>start up at boot time in my RHE3, It tells me "service tomcat does not
>support chkconfig". What could be the problem? Thank you very much for
>your help.
>
>
>
>Cynthia
>
>
>

_
Designer Mail isn't just fun to send, it's fun to receive. Use special 
stationery, fonts and colors. 
http://join.msn.com/?pgmarket=en-ca&page=byoa/prem&xAPID=1994&DI=1034&SU
=http://hotmail.com/enca&HL=Market_MSNIS_Taglines 
  Start enjoying all the benefits of MSN(r) Premium right now and get
the 
first two months FREE*.


-
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 service on windows

2004-09-03 Thread John Villar
Do you have permission to write on the registry? you need to have write 
access to some key (don't remember specifically what is the key right 
now) in the registry to install tomcat as a service.

Allistair Crossley escribió:
did you have a tomcat service installed already? did you have the services window open 
when you ran this? try checking there are no tomcat services and closing the services 
window and trying again.
ADC
 

-Original Message-
From: Andras Balogh [mailto:[EMAIL PROTECTED]
Sent: 03 September 2004 11:28
To: [EMAIL PROTECTED]
Subject: Tomcat 5 service on windows
Hello all,
   I have downloaded the Tomcat 5.0.28. distibution for windows 
(jakarta-tomcat-5.0.28.exe) and tried
to install tomcat as service and checked the service option in the 
install wizard.
Tomcat wasn't installed as service and i tried manual with the 
service.bat script:
Here is the output i get:
D:\Tomcat 5.0\bin>service install
Installing the service 'Tomcat5' ...
Using CATALINA_HOME:D:\Tomcat 5.0
Using JAVA_HOME:D:\j2sdk1.4.1_05
[2004-09-03 12:09:45] [349  prunsrv.c] [error]
The system cannot find the file specified.
[2004-09-03 12:09:45] [1037 prunsrv.c] [error]
Load configuration failed
[2004-09-03 12:09:45] [349  prunsrv.c] [error]
The system cannot find the file specified.
[2004-09-03 12:09:45] [1037 prunsrv.c] [error]
Load configuration failed
The service 'Tomcat5' has been installed.

The service is still  not added, i think because of the error i have.
   As a note i have on the server an older Tomcat 4.1.27 but is not 
running and i modified CATALINA_HOME to point
to the new tomcat (D:\Tomcat 5.0).

What could be wrong?
Thank you,
Andras.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
   


 
---
QAS Ltd.
Developers of QuickAddress Software
http://www.qas.com";>www.qas.com
Registered in England: No 2582055
Registered in Australia: No 082 851 474
---


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

 

--
John Villar
Gerente de Proyectos
Computadores Flor Hard Soft 2058 C.A.
www.florhard.com

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

RE: javascript and servlets.

2004-09-03 Thread Marot Laurent
i've just realised that you want to use  form


-Message d'origine-
De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Envoyà : vendredi 3 septembre 2004 15:15
à : [EMAIL PROTECTED]
Objet : RE: javascript and servlets.


 

-Original Message-
From: Ralph Einfeldt

If you have file0 through file this should work:

request.getParameter("file0");
..
request.getParameter("file");

if file1 through file are null against your expectations,
I would say something is wrong on the client side.

And so it was Ralph. No idea what, but I'm now iterating
through the attribute values happily... except,
  The

I enter a full path, e.g. c:\dir\dir\file.ext
and the retrieved value is file.ext.

I'm still missing a bit,
but so far so good!
  Tks for the tips.
regards DaveP

-- 
DISCLAIMER: 

NOTICE: The information contained in this email and any attachments is 
confidential and may be privileged. If you are not the intended 
recipient you should not use, disclose, distribute or copy any of the 
content of it or of any attachment; you are requested to notify the 
sender immediately of your receipt of the email and then to delete it 
and any attachments from your system. 

RNIB endeavours to ensure that emails and any attachments generated by 
its staff are free from viruses or other contaminants. However, it 
cannot accept any responsibility for any  such which are transmitted.
We therefore recommend you scan all attachments. 

Please note that the statements and views expressed in this email and 
any attachments are those of the author and do not necessarily represent 
those of RNIB. 

RNIB Registered Charity Number: 226227 

Website: http://www.rnib.org.uk 

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



Re: javascript and servlets.

2004-09-03 Thread Mike Fuellbrandt
If your fields are all file uploads, then you probably can't get them
through the regular HttpServletRequest.getParameter().  I'm curious
though, what do you get from the first element ("file0").  Is it the
file contents?


What you need to do is submit the form as multipart form, and process
posted boundaries.
This article has everything that you'll need:
http://www.javaworld.com/javaworld/jw-06-2001/jw-0622-filters-p4.html

Don't forget to modify your form like this:



On Fri, 3 Sep 2004 12:21:52 +0100 , [EMAIL PROTECTED]
<[EMAIL PROTECTED]> wrote:
> 
> 
> -Original Message-
> From: Ralph Einfeldt
> 
> 
> 
> 
> the query string can be found in the access log.
> (This might be turned of)
> How do I enable it please?
> 
> From your last post with the source I think that each input
> tag has it's own form so only one field is submitted.
> 
> I noted that the jscript adds extra input elements
> within the form, hence there are many, each with a differing
> name attribute. All within the same form.
> 
> regards DaveP
> 
> 
> 
> --
> DISCLAIMER:
> 
> NOTICE: The information contained in this email and any attachments is
> confidential and may be privileged. If you are not the intended
> recipient you should not use, disclose, distribute or copy any of the
> content of it or of any attachment; you are requested to notify the
> sender immediately of your receipt of the email and then to delete it
> and any attachments from your system.
> 
> RNIB endeavours to ensure that emails and any attachments generated by
> its staff are free from viruses or other contaminants. However, it
> cannot accept any responsibility for any  such which are transmitted.
> We therefore recommend you scan all attachments.
> 
> Please note that the statements and views expressed in this email and
> any attachments are those of the author and do not necessarily represent
> those of RNIB.
> 
> RNIB Registered Charity Number: 226227
> 
> Website: http://www.rnib.org.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]



Re: javascript and servlets.

2004-09-03 Thread John Villar
A better approach would be to name all the fields "file" instead of 
"fileX" and then us the getParameterValues to get the enumeration of 
values taken from the fields named "file" very simple and 
elegant not "for (int" loop just a plain old while 
(enum.hasMoreElements()){ enum.nextElement().}

if your javascrip relies on the field names, you can use the fields ID 
instead, because field ID isn't passed as parameter name

[EMAIL PROTECTED] escribiÃ:
I have a form with multiple  elements.
The names are generated and range file0..n
I'm trying (and failing) to retrieve the value of the input fields.
String f ="";
	f = request.getParameter("file0");
works fine; 
  The remainder appear inaccessible.
In the docs ...webapps/tomcat-docs/servletapi/index.html
I'm warned:
 You should only use this method when you are sure the parameter has only
one value. If the parameter might have more than one value, use
getParameterValues(java.lang.String).

However, since each entry within the form has a variant name value,
what parameter should I pass to the getParameterValues method
to retrieve the multiple values?
tc 5.0.27 in use.
Regards DaveP.
 snip here *
 

--
John Villar
Gerente de Proyectos
Computadores Flor Hard Soft 2058 C.A.
www.florhard.com

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

RE: javascript and servlets.

2004-09-03 Thread David . Pawson
 

-Original Message-
From: Ralph Einfeldt

If you have file0 through file this should work:

request.getParameter("file0");
..
request.getParameter("file");

if file1 through file are null against your expectations,
I would say something is wrong on the client side.

And so it was Ralph. No idea what, but I'm now iterating
through the attribute values happily... except,
  The

I enter a full path, e.g. c:\dir\dir\file.ext
and the retrieved value is file.ext.

I'm still missing a bit,
but so far so good!
  Tks for the tips.
regards DaveP

-- 
DISCLAIMER: 

NOTICE: The information contained in this email and any attachments is 
confidential and may be privileged. If you are not the intended 
recipient you should not use, disclose, distribute or copy any of the 
content of it or of any attachment; you are requested to notify the 
sender immediately of your receipt of the email and then to delete it 
and any attachments from your system. 

RNIB endeavours to ensure that emails and any attachments generated by 
its staff are free from viruses or other contaminants. However, it 
cannot accept any responsibility for any  such which are transmitted.
We therefore recommend you scan all attachments. 

Please note that the statements and views expressed in this email and 
any attachments are those of the author and do not necessarily represent 
those of RNIB. 

RNIB Registered Charity Number: 226227 

Website: http://www.rnib.org.uk 

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



RE: TC-5.0.27 and eclipse Java Compiler

2004-09-03 Thread Shapira, Yoav

Hi,
TC 5.5 not only can but does use the Eclipse JDT compiler by default.
It's not a trivial back-port to the 5.0 branch, but it's of course
possible, and you don't even have to mess with that many classes.  But
you would need to write some code and build your own custom tomcat
version.

You'd need to modify org.apache.jasper.compiler.Compiler to use JDT
instead of Ant.  Take a look at that class' code.

Yoav Shapira
Millennium Research Informatics


>-Original Message-
>From: Zsolt Koppany [mailto:[EMAIL PROTECTED]
>Sent: Friday, September 03, 2004 5:00 AM
>To: Tomcat Users List
>Subject: TC-5.0.27 and eclipse Java Compiler
>
>Hi,
>
>I have read that TC-5.5 can use the eclipse Java Compiler. Can I use
this
>compiler also with TC-5.0.27? If yes, how?
>
>Zsolt
>
>
>
>
>-
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]




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]



RE: ServletContextListener and HttpSessionActivationListener

2004-09-03 Thread Shapira, Yoav

Hi,
I think this was clarified in Spec v2.4 to match Michael's opinion, and
there's an open issue for Tomcat 5 for this already.

Yoav Shapira
Millennium Research Informatics


>-Original Message-
>From: Michael Sudkamp [mailto:[EMAIL PROTECTED]
>Sent: Friday, September 03, 2004 7:07 AM
>To: 'Tomcat Users List'
>Subject: AW: ServletContextListener and HttpSessionActivationListener
>
>>
>> We can talk opinions all we want -- if it's a grey area in
>> the spec, and
>> your container (Tomcat, in this case) does things a certain way then
>> that's how it goes.
>
>But if people would agree with me we could try to get a next spec more
>specific. That's my intention.
>
>>
>> Have you at least tried the 5.x series and/or checked Bugzilla?
>>
>
>Yes, Tomcat 5.0.24 does the same
>
>Michael
>
>
>-
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]




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]



RE: service tomcat does not support chkconfig

2004-09-03 Thread Didier McGillis
check this out, down near the bottom.
http://www.tldp.org/HOWTO/MMBase-Inst-HOWTO/x184.html

From: "Didier McGillis" <[EMAIL PROTECTED]>
Reply-To: "Tomcat Users List" <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Subject: RE: service tomcat does not support chkconfig
Date: Fri, 03 Sep 2004 13:08:58 +
I'm using RHE2, and Tomcat 4, so not totally your situation but I was able 
to create and add the startup script to chkconfig without issue.  Could it 
be your script?


From: "Qi, Xlaoyan" <[EMAIL PROTECTED]>
Reply-To: "Tomcat Users List" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Subject: service tomcat does not support chkconfig
Date: Fri, 3 Sep 2004 09:02:21 -0400
I downloaded the tomcat-5.0.27 and it can start fine with startup.sh.
When I tried to put tomcat.sh to /etc/init.d to add it as a service to
start up at boot time in my RHE3, It tells me "service tomcat does not
support chkconfig". What could be the problem? Thank you very much for
your help.

Cynthia

_
Designer Mail isn't just fun to send, it's fun to receive. Use special 
stationery, fonts and colors. 
http://join.msn.com/?pgmarket=en-ca&page=byoa/prem&xAPID=1994&DI=1034&SU=http://hotmail.com/enca&HL=Market_MSNIS_Taglines 
 Start enjoying all the benefits of MSN® Premium right now and get the 
first two months FREE*.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
_
Take advantage of powerful junk e-mail filters built on patented Microsoft® 
SmartScreen Technology. 
http://join.msn.com/?pgmarket=en-ca&page=byoa/prem&xAPID=1994&DI=1034&SU=http://hotmail.com/enca&HL=Market_MSNIS_Taglines 
 Start enjoying all the benefits of MSN® Premium right now and get the 
first two months FREE*.

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


RE: repost: Where to get 5.5.1 from? ( Was TC 5.5 - 4 issues (jasper, ROOT, jndi, logging))

2004-09-03 Thread Shapira, Yoav

Hi,
5.5 releases are on the normal download pages, right above 5.0 releases.

Yoav Shapira
Millennium Research Informatics


>-Original Message-
>From: news [mailto:[EMAIL PROTECTED] On Behalf Of Vic
>Sent: Friday, September 03, 2004 6:53 AM
>To: [EMAIL PROTECTED]
>Subject: Re: repost: Where to get 5.5.1 from? ( Was TC 5.5 - 4 issues
>(jasper, ROOT, jndi, logging))
>
>Silly me, I can't find where to get the 5.5.1 or the 5.5 nighly's from?
>They are not here, this looks like the 5.0 brach.
>http://cvs.apache.org/builds
>
>Where can I get the new 5.5s from?
>Do I have to go to cvs and build?
>
>tia,
>.V
>
>Vic wrote:
>> Yes, but where? What URL?
>>
>> (the commons download link I think is for the 5.0 trunk? or is that
5.5?)
>>
>> .V
>>
>> ps: Thax tomcat team on very nice product!
>>
>> Remy Maucherat wrote:
>>
>>> On Thu, 02 Sep 2004 11:52:48 -0500, Vic <[EMAIL PROTECTED]>
>>> wrote:
>>>
 Where can we get 5.5.1? Or 5.5 nightlies?
>>>
>>>
>>>
>>> Don't worry: since this is heavy development mode, new binaries are
>>> going to be released often (unless Yoav doesn't have time to do the
>>> releases).
>>>
>>
>>
>
>
>--
>Please post on Rich Internet Applications User Interface (RiA/SoA)
>
>
>
>-
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]




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]



Re: Fatal: relocation error: file libapr-0.so.0: symbol __divdi3: referenced symbol not found

2004-09-03 Thread John Villar

1-Sep-2004 1:46:26 PM org.apache.jk.common.ChannelSocket init
INFO: JK2: ajp13 listening on /0.0.0.0:8009
 

These two lines say that the JK2 connector has started normally it 
seems to me that the problem isn't on the java side

ld.so.1: /usr/java/bin/java: fatal: relocation error: file
/usr/local/apache-httpd-2.0.50/lib/libapr-0.so.0: symbol __divdi3:
referenced symbol not found
 

Here's the problem. first things first. find what libraries do 
uses "libapr", then try to see if all the files are in your path, use 
the which command, or was it whereis? :-S

This causes tomcat not to start, I don't really know what to do about
this. I read some forum posted message about the "symbol __divdi3:
referenced symbol not found" and they said this is because of some 
glibc 2.0 stuff, but didn't find any solution to thisâ
 

certainly, Solaris is a real pain with the glibc issue try to 
compile apache from source in that box

--
John Villar
Gerente de Proyectos
Computadores Flor Hard Soft 2058 C.A.
www.florhard.com

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

RE: Problem with Tomcat upgrading

2004-09-03 Thread Shapira, Yoav

Hi,
Import your classes if you're not doing so already.

Yoav Shapira
Millennium Research Informatics


>-Original Message-
>From: Bedrijven.nl [mailto:[EMAIL PROTECTED]
>Sent: Friday, September 03, 2004 7:27 AM
>To: 'Tomcat Users List'
>Subject: Problem with Tomcat upgrading
>
>Hello,
>
>I am testing the new Tomcat version. So what dit I do:
>
>- Installed Tomcat 5.0.19 (older version was 4.0.25)
>- copied my webapps to the new installation
>- restarting tomcat
>
>Everything seems to work fine. However when I tried to start my
>webapplications everything goes fine but Tomcat trowns a ClassNotFound
>Exception.
>
>example:
>
>the logonuser.jsp
>
><%@ page language="java" %>
><%@ page errorPage = "errorpage.jsp" %>
><%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>
><%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %>
><%! String title ="Inloggen"; %>
><%@ include file="/includes/prelogintop.jsp" %>
>
><%@ include file="/includes/top.jsp" %>
>
>
>etc.
>
>Tomcat throws teh following exception:
>
>javax.servlet.jsp.JspException: Exception creating bean of class
>nl.intervision.formbeans.LogonUserForm:
java.lang.ClassNotFoundException:
>nl.intervision.formbeans.LogonUserForm at
>org.apache.struts.taglib.html.FormTag.doStartTag(FormTag.java:568) at
>org.apache.jsp.logonuser_jsp._jspService(logonuser_jsp.java:106) 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.j
ava:
>2
>10) 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(Applic
atio
>n
>FilterChain.java:237) at
>org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFil
terC
>h
>ain.java:157) at
>org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperVal
ve.j
>a
>va:214) at
>org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveC
onte
>x
>t.java:104) at
>org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:
520)
>at
>org.apache.catalina.core.StandardContextValve.invokeInternal(StandardCo
ntex
>t
>Valve.java:198) at
>org.apache.catalina.core.StandardContextValve.invoke(StandardContextVal
ve.j
>a
>va:152) at
>org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveC
onte
>x
>t.java:104) at
>org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:
520)
>at
>org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.jav
a:13
>7
>) at
>org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveC
onte
>x
>t.java:104) at
>org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.jav
a:11
>7
>) at
>org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveC
onte
>x
>t.java:102) at
>org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:
520)
>at
>org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve
.jav
>a
>:109) at
>org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveC
onte
>x
>t.java:104) at
>org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:
520)
>at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929) at
>org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)
at
>org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:7
93)
>at
>org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process
Conn
>e
>ction(Http11Protocol.java:702) at
>org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:5
71)
>at
>org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPoo
l.ja
>v
>a:644) at java.lang.Thread.run(Thread.java:536)
>
>
>My webapps is structered as follows:
>
>C:\tomcat\webapps\template\WEB-
>INF\classes\nl\intervision\formbeans\LogonUse
>rForm.java.
>
>
>So why is a class not found exception thrown?
>
>I tried so many classpath settings but none of them works!
>
>Please help me out!!
>
>Tnx in advanced
>
>Maarten
>
>
>
>-Oorspronkelijk bericht-
>Van: news [mailto:[EMAIL PROTECTED] Vic
>Verzonden: Friday, September 03, 2004 11:53 AM
>Aan: [EMAIL PROTECTED]
>Onderwerp: Re: repost: Where to get 5.5.1 from? ( Was TC 5.5 - 4 issues
>(jasper, ROOT, jndi, logging))
>
>
>Silly me, I can't find where to get the 5.5.1 or the 5.5 nighly's from?
>They are not here, this looks like the 5.0 brach.
>http://cvs.apache.org/builds
>
>Where can I get the new 5.5s from?
>Do I have to go to cvs and build?
>
>tia,
>.V
>
>Vic wrote:
>> Yes, but where? What URL?
>>
>> (the commons download link I think is for the 5.0 trunk? or is that
5.5?)
>>
>> .V
>>
>> ps: Thax tomcat team on very nice product!
>>
>> Remy Maucherat wrote:
>>
>>> On Thu, 02 Sep 2004 11:52:48 -0500, Vic <[EMAIL

RE: service tomcat does not support chkconfig

2004-09-03 Thread Didier McGillis
I'm using RHE2, and Tomcat 4, so not totally your situation but I was able 
to create and add the startup script to chkconfig without issue.  Could it 
be your script?


From: "Qi, Xlaoyan" <[EMAIL PROTECTED]>
Reply-To: "Tomcat Users List" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Subject: service tomcat does not support chkconfig
Date: Fri, 3 Sep 2004 09:02:21 -0400
I downloaded the tomcat-5.0.27 and it can start fine with startup.sh.
When I tried to put tomcat.sh to /etc/init.d to add it as a service to
start up at boot time in my RHE3, It tells me "service tomcat does not
support chkconfig". What could be the problem? Thank you very much for
your help.

Cynthia

_
Designer Mail isn't just fun to send, it's fun to receive. Use special 
stationery, fonts and colors. 
http://join.msn.com/?pgmarket=en-ca&page=byoa/prem&xAPID=1994&DI=1034&SU=http://hotmail.com/enca&HL=Market_MSNIS_Taglines 
 Start enjoying all the benefits of MSN® Premium right now and get the 
first two months FREE*.

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


service tomcat does not support chkconfig

2004-09-03 Thread Qi, Xlaoyan
I downloaded the tomcat-5.0.27 and it can start fine with startup.sh.
When I tried to put tomcat.sh to /etc/init.d to add it as a service to
start up at boot time in my RHE3, It tells me "service tomcat does not
support chkconfig". What could be the problem? Thank you very much for
your help.

 

Cynthia

 



Re: tomcat5 using jsvc in a chroot jail

2004-09-03 Thread John Villar

That, and dump strace's output to a file so you can grep for other
occurences of ".hotspot_compiler"... Maybe it's failing to create a file
somewhere.
   

This file is not referenced anywhere else in the strace.
 

It seems to me that the ".hotspot_compiler" is referencing to javac, try 
(and i'm just guessing here) to symlink javac to that file in the 
JAVA_HOME dir just to test

How did you copy/install the JDK?
   

I did a recursive cp of all files.
 

This could be the issue the JDK not necesarilly copies its file in 
just one dir

--
John Villar
Gerente de Proyectos
Computadores Flor Hard Soft 2058 C.A.
www.florhard.com

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

AW: Unable to integrate Apache 2.0.24, mod_jk2 with Tomcat 5.

2004-09-03 Thread SH Solutions
Hi

> Servlets are still not being forwarded - Apache reports - "404 file 
> not
found" when I click on, for example, - http://localhost/MyServlet.
MyServlet exists on my root_path as MyServlet.class . Can anyone tell me how
to prevent this error and forward the request to Tomcat5?

First, simply copying Java Classes to root_path does not work.
Servlets need to be
1. inside WEB-INF
2. NOT packageless
3. mapped in web.xml

Try to get tomcat with it's own html-connector to work first.
It is much easier than with apache / mod_jk.

THEN think about using tomcat without apache.
And only LAST, put mod_jk inbetween.
In that case, think about updateing your fairly old version of Apache2.
2.0.50 is current stable. 2.0.24 is old and has much more bugs. There should
be no problems, since the apache2 api is stable since 2.0.22.

Regards,
  Steffen


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



  1   2   >