RE: Custom HTTP 503 Error Page Not Working - Tomcat 5.5.15

2006-02-05 Thread Yue Mu
Thanks, Chuck.
   
  In my case, the default servlet/container DID send the HTTP 503 error back, 
displaying the error with the Tomcat default 503 error page, instead of the 
custom error page.

  I also did a small experiment by removing the web application all together. 
In this case, the container returns the custom 404 error page which is correct 
since the web app is permanently unavailable.
   
  So I think Tomcat does the right thing for the most part, with the exception 
that it fails to pick up the custom error page, unless I missed something with 
configuration.
   
  Thanks,
  ym
  
Caldarale, Charles R [EMAIL PROTECTED] wrote:
   From: Yue Mu [mailto:[EMAIL PROTECTED] 
 Subject: RE: Custom HTTP 503 Error Page Not Working - Tomcat 5.5.15
 
 If the sendError method is called on the response,

I think the above clause lets the container off the hook, since the app
code could not have used the sendError method (since the app was
disabled). It would seem a bit risky for the container to be looking at
any configuration data or other resources of a disabled app, since that
information may well be in a state of flux.

- Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
MATERIAL and is thus for use only by the intended recipient. If you
received this in error, please contact the sender and delete the e-mail
and its attachments from all computers.

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




-
Brings words and photos together (easily) with
 PhotoMail  - it's free and works with Yahoo! Mail.

Re: What is behind j_security_check

2006-02-05 Thread Mark Lowe
On 2/5/06, Arash Bijanzadeh [EMAIL PROTECTED] wrote:
 Could somebody please lead me to what class is behind j_security_check?


Not sure exactly what class you're asking about, but j_security_check
is the url used for form based logins to realms configured for a given
context and/or container..

http://tomcat.apache.org/tomcat-5.0-doc/realm-howto.html

Tomcat comes with a few bundled realm classes that implement
org.apache.catalina.Realm

In context file and/or server xml..
Realm className=a realm class..

HTH

Mark


 --
 from debian manifesto:
 Debian Linux is a brand-new kind of Linux distribution.
 Rather than being developed by one isolated individua
 l or group, as other distributions of Linux have been developed in the
 past, Debian is being developed openly in the spirit of Linux and GNU.



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



Is There a Howto

2006-02-05 Thread Eugene Poole
Where can I find a 'HowTo' or a tutorial on HTTP 2.0.53 + Tomcat 5.0.28 
+ Oracle 19g R2 + Fedora Core 4?


Gene

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



Tomcat caching

2006-02-05 Thread Andreas Haufler
Hi everybody,

I just wanted to ask, if tomcat does caching of static contents like
html pages or images, and if yes, how the size of this cache can be set.

regards
Andreas Haufler

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



Re: request.getHeader() gives null

2006-02-05 Thread David Smith

Anoop --

Correct me if I'm wrong, but it looks like you are trying to set 
response headers on a 302 response and then expecting those headers to 
return on the next request.  I can't find any information indicating 
this behavior is supported by the HTTP protocol.  You are better off 
setting cookies, GET parameters, or session attributes to transfer info 
the the next request.  The first two will work for any request to the 
same server.  The last one will only work if the next request is going 
to the same webapp.


--David

Yue Mu wrote:

HI Anoop,
   
   Is it that the response of the first page becomes the request of the next jsp
   
  No - the next jsp gets the same request, which is the whole idea of forwarding a request. This is why you don't see the newly added headers (to the response!). 
   
  I'm not sure what you are trying to do but you need to use Response.containHeaders(java.lang.String name) to check if a header is already there.
   
  Hope this helps.
   
  Regards,

  Z.

Anoop kumar V [EMAIL PROTECTED] wrote:
  I would really appreciate if someone can answer my question..

Thanks,
Anoop

On 2/3/06, Anoop kumar V wrote:
  

HI All,

I am using Tomcat5.
I have a simple jsp displaying the header information that I have set in
another jsp page. For some reason I can see all the default headers except
the headers that I have set in this jsp. I am doing a jsp:forward to go to
the next page which displays the header information ( I have also tried
redirect - but just wont work)...



--
index.jsp






 @author Anoop Kumar V.
  

 Date: Jan 19, 2006 4:13:05 PM
--%










  

  System.out.println(Jsp called successfully);
  

  response.addHeader(userName,GSE_FMS);
  response.setHeader(userName,GSE_FMS);  //just to be sure.
  response.addHeader(myValue,theValue);

  boolean isheader = response.containsHeader(userName);

  System.out.println(\n!\ncontains
userName header ...+isheader);
  System.out.println(contains myValue header ... +
response.containsHeader(myValue));
  //response.sendRedirect(/TestHeaderResponse.jsp);

  %





--
TestHeaderResponse.jsp--





 Created for Sikorsky GSE
  

 @author Anoop Kumar V.
 Date: Jan 19, 2006 4:13:05 PM
--%









  

  System.out.println(Test header response page called successfully);
  

  String s = request.getHeader(userName);
  System.out.println(user: +s);   // Issue: always returns
null even though set in the previous page
  out.println(USERNAME HEADER:  + s +


);
  

  Enumeration headernames = request.getHeaderNames();
  System.out.println(Headers-);
  while (headernames.hasMoreElements()){
  String headername = (String)headernames.nextElement();
  String headervalue = request.getHeader(headername);
  System.out.println(headername++headervalue);
  out.println( + headername++headervalue + 


);
  

  out.flush();
}
  %





I think I am doing something fundamentally wrong

Also can someone help me with understanding how the setHeader and
getHeader works - we use response.setHeader to set but use
request.getHeader to read the header values. Is it that the response of
the first page becomes the request of the next jsp
--
Thanks and best regards,
Anoop






--
Thanks and best regards,
Anoop



-
Relax. Yahoo! Mail virus scanning helps detect nasty viruses!
  



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



Re: Cannot create JDBC driver of class '' for connect URL 'null'

2006-02-05 Thread Petr Hadraba
Hi,

here is some more informations about JNDI, PostgreSQL, etc:

I wrote, I had the same problem, and here is my solution:

Create in your development environment (Eclipse, NetBeans, Midnight
Commander...) the META-INF/context.xml with the following content:
Context
  Resource ... /
/Context

Add to your WEB-INF/web.xml the resource-ref / tag.

Create WAR file containing all the required files (incl.
META-INF/context.xml!!!)
and deplay it.

Tomcat, during deploy, looks for the META-INF/context.xml and copies
it into ${CATALINA_HOME}/conf/Catalina/localhost/[app_name].xml.

Here is my files:
META-INF/context.xml:
?xml version=1.0 encoding=UTF-8?
Context
Resource auth=Container description=Test database connection
name=jdbc/testDB type=javax.sql.DataSource password=test
driverClassName=org.postgresql.Driver maxIdle=20
maxWait=5000
validationQuery= username=test
url=jdbc:postgresql://127.0.0.1:5432/test maxActive=20 /
/Context

===

WEB-INF/web.xml:
?xml version=1.0 encoding=UTF-8?
web-app id=WebApp_ID version=2.4
xmlns=http://java.sun.com/xml/ns/j2ee;
xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
xsi:schemaLocation=http://java.sun.com/xml/ns/j2ee
http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd;
display-namePokus/display-name
servlet
description/description
display-nameTest/display-name
servlet-nameTest/servlet-name
servlet-classtest.Test/servlet-class
/servlet
servlet-mapping
servlet-nameTest/servlet-name
url-pattern//url-pattern
/servlet-mapping
welcome-file-list
welcome-fileindex.html/welcome-file
welcome-fileindex.htm/welcome-file
welcome-fileindex.jsp/welcome-file
welcome-filedefault.html/welcome-file
welcome-filedefault.htm/welcome-file
welcome-filedefault.jsp/welcome-file
/welcome-file-list
resource-ref
description
Resource reference to a factory for java.sql.Connection
instances that may be used for talking to a particular
database that is configured in the server.xml file.
/description
res-ref-namejdbc/testDB/res-ref-name
res-typejavax.sql.DataSource/res-type
res-authContainer/res-auth
res-sharing-scope
Unshareable
/res-sharing-scope
/resource-ref
/web-app

===

Hope to helps you!

I found it here:
http://www.theserverside.com/discussions/thread.tss?thread_id=29795#156653


Have a nice day!

PETR


On 1/31/06, Lothar Krenzien [EMAIL PROTECTED] wrote:

 Hi Petr,

 thanks for your answer. That exactly the configuration I have. But after 
 playing around I got success by removing the line

 Listener className=org.apache.catalina.core.AprLifecycleListener /

 from the server.xml. Even I don't know what it means ;)


 Lothar

 Tomcat Users List users@tomcat.apache.org schrieb am 31.01.06 17:55:29:
 
  Hi,
 
  I have the following problem. I found this solution:
 
  There is in the server.xml the Resource tag describing your
  dataSource. Move this element into the Context element in the same xml
  file (at the bottom).
 
  See http://tomcat.apache.org/tomcat-5.5-doc/jndi-resources-howto.html
  section `JDBC Data Sources'
 
  Have a nice time
 
  PETR
 
 
  On 1/31/06, Lothar Krenzien [EMAIL PROTECTED] wrote:
   Hi,
  
   after switching from Tomcat 5.5.9 to 5.5.15  I get the following error :
  
   2006-01-31 16:43:38,130 [INFO ] QueryLogger.*** error.
   org.apache.tomcat.dbcp.dbcp.SQLNestedException: Cannot create JDBC driver 
   of class '' for connect URL 'null'
   at 
   org.apache.tomcat.dbcp.dbcp.BasicDataSource.createDataSource(BasicDataSource.java:780)
   at 
   org.apache.tomcat.dbcp.dbcp.BasicDataSource.getConnection(BasicDataSource.java:540)
   at 
   org.objectstyle.cayenne.access.DataNode.performQueries(DataNode.java:298)
   at 
   org.objectstyle.cayenne.access.DataDomainQueryAction.performQuery(DataDomainQueryAction.java:107)
   at 
   org.objectstyle.cayenne.access.DataDomain.performQueries(DataDomain.java:643)
   at 
   org.objectstyle.cayenne.access.DataContext.performQueries(DataContext.java:1100)
   at 
   org.objectstyle.cayenne.access.Transaction.performQueries(Transaction.java:207)
   at 
   org.objectstyle.cayenne.access.DataContext.performQueries(DataContext.java:1068)
   at 
   org.objectstyle.cayenne.access.DataContextSelectAction.performQuery(DataContextSelectAction.java:173)
   at 
   org.objectstyle.cayenne.access.DataContextSelectAction.performQuery(DataContextSelectAction.java:93)
   at 
   

Re: org.apache.log.format.Formatter

2006-02-05 Thread Rahul Akolkar
On 2/5/06, Martin Gainty [EMAIL PROTECTED] wrote:
 Good Morning Gentlemen-

 Any idea where I can acquire jar for org.apache.log.format?

snip/

excalibur-logkit [ http://excalibur.apache.org/download.cgi ],
formerly known as avalon-logkit.

-Rahul


 Sorry for the simple question

 Thanks!

 Martin Gainty


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



Re: Missing startup/shutdown scripts in latest 5.1.15 Windows install

2006-02-05 Thread Glen Mazza

Robert Rivoir wrote:


I just installed Tomcat 5.5 on WinXP with the windows installer.  The
setup docs indicate that it gets installed as a service, but also
suggests there should be scripts (I assume .bat files) created in the
bin directory for starting, stopping and configuring tomcat.  But my 
install
directory contains nothing but .exe and .jar files.  


That's strange.  But for development purposes (as opposed to production 
use), I would forget about the windows installer and just install the TC 
.zip binary version into a new directory instead, and create desktop 
shortcuts to the bin/startup.bat and bin/shutdown.bat.  You will not 
have a Windows service for TC as a result, but I think you will find 
shortcuts to the batch files more convenient than shutting down TC via 
MS Control Panel/Services anyway.


Glen

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



RE: Missing startup/shutdown scripts in latest 5.1.15 Windows install

2006-02-05 Thread Caldarale, Charles R
 From: Glen Mazza [mailto:[EMAIL PROTECTED] 
 Subject: Re: Missing startup/shutdown scripts in latest 
 5.1.15 Windows install
 
 I would forget about the windows installer and just install the TC 
 .zip binary version into a new directory instead, and create desktop 
 shortcuts to the bin/startup.bat and bin/shutdown.bat.  You will not 
 have a Windows service for TC as a result, but I think you will find 
 shortcuts to the batch files more convenient than shutting down TC
 via MS Control Panel/Services anyway.

When the .zip download is used, it includes a service.bat script to
register Tomcat as a service.  The tomcat5w.exe program can be used to
manage the service, using either the installer or the .zip download.

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
MATERIAL and is thus for use only by the intended recipient. If you
received this in error, please contact the sender and delete the e-mail
and its attachments from all computers.

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



Help Error Code -12227

2006-02-05 Thread Scott Purcell
Hello,

I am running Tomcat 5.5, Verisign, and PayPal. Basically the whole site is set 
up with SSL via a security-constraint element in the web.xml file.

Anyway, I have found a huge bug, that is driving me crazy. I can submit the 
data from a purchase using IE and all is good. But with Netscape 7.2 and 
Mozilla 5.0, I can surf the whole site and all is good. But after submitting my 
purchase to paypal and it comes back, then the browser goes into a bad state. 
Error code: -12227. And anyone else who hits the site afterwards with Mozilla 
or Netscape gets the same error. They cannot even go to the site.

I have searched on -12227 and nothing makes sense.

If anyone has ideas ... please let me know,

Thanks,


RE: Would like to know what might be causing this exception in servlet

2006-02-05 Thread Tim Lucia
I think Chuck is right.  One thing that most J2EE / web applications do not
do is to catch the IOError the container is supposed to throw when the
browser / client disconnects and closes the socket.  That way the answering
thread can immediately stop its work, clean up, and go home.

Tim

-Original Message-
From: Caldarale, Charles R [mailto:[EMAIL PROTECTED] 
Sent: Sunday, February 05, 2006 1:21 AM
To: Tomcat Users List
Subject: RE: Would like to know what might be causing this exception in
servlet


 From: Richard S. Huntrods [mailto:[EMAIL PROTECTED]
 Subject: Would like to know what might be causing this 
 exception in servlet
 
 Feb 1, 2006 9:09:33 PM org.apache.tomcat.util.net.PoolTcpEndpoint
 processSocket
 SEVERE: Socket error caused by remote host /204.244.137.23
 java.net.SocketException: Connection reset

I believe this is just expected behavior when the peer closes its end of the
TCP session (e.g., user closes the browser before a response is delivered),
before the SSL negotiation is completed.  No workaround or fix needed.

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
MATERIAL and is thus for use only by the intended recipient. If you received
this in error, please contact the sender and delete the e-mail and its
attachments from all computers.

-
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: newbie:access tomcat virtual host via apache

2006-02-05 Thread Tim Lucia
A few weeks ago, I asked a similar question which went unanswered.
Basically, I want to have the user request www.somewhere.com but have Apache
forward that to tomcatserver:8009/someNonRootContext/ so I can have
different versions, w/o exposing the context to the user.  Rewriting works,
except that cookies set in Tomcat are relative to /someNonRootContext and so
the browser does not send them back on the next request.

Tim

-Original Message-
From: Dieter Schicker [mailto:[EMAIL PROTECTED] 
Sent: Sunday, February 05, 2006 4:46 AM
To: Tomcat Users List
Subject: Re: newbie:access tomcat virtual host via apache


If you can't mount / because you also run php on apache, you can afaik 
only mount specific directories of tomcat in Apache, e.g.  
http://foo.bar.com:8080/jsp-examples = http://foo.bar.com/jsp-examples. 
In Google you can find many examples for this configuration.

Didi

matador wrote:
 runnning tomcat 5.x on windows with apache 2.0.5x with modjk.  tomcat 
 on
 8080 and apache on 80.

 so for a given webapp at foo.bar.com that really is served up by 
 tomcat on
 8080 as http://foo.bar.com:8080.  how to get apache to see it so that i
can 
 access it as http://foo.bar.com without the port number?

  no i wont run tomcat on 80 since we also run php on that apahce 
 instance
 as well ;) 

 thx


 -
 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: newbie:access tomcat virtual host via apache

2006-02-05 Thread Dieter Schicker
I also asked a similar question which also went unanswered. Maybe it's 
simply not possible to do that 


Didi

Tim Lucia wrote:

A few weeks ago, I asked a similar question which went unanswered.
Basically, I want to have the user request www.somewhere.com but have Apache
forward that to tomcatserver:8009/someNonRootContext/ so I can have
different versions, w/o exposing the context to the user.  Rewriting works,
except that cookies set in Tomcat are relative to /someNonRootContext and so
the browser does not send them back on the next request.

Tim

-Original Message-
From: Dieter Schicker [mailto:[EMAIL PROTECTED] 
Sent: Sunday, February 05, 2006 4:46 AM

To: Tomcat Users List
Subject: Re: newbie:access tomcat virtual host via apache


If you can't mount / because you also run php on apache, you can afaik 
only mount specific directories of tomcat in Apache, e.g.  
http://foo.bar.com:8080/jsp-examples = http://foo.bar.com/jsp-examples. 
In Google you can find many examples for this configuration.


Didi

matador wrote:
  
runnning tomcat 5.x on windows with apache 2.0.5x with modjk.  tomcat 
on

8080 and apache on 80.

so for a given webapp at foo.bar.com that really is served up by 
tomcat on

8080 as http://foo.bar.com:8080.  how to get apache to see it so that i

can 
  

access it as http://foo.bar.com without the port number?

 no i wont run tomcat on 80 since we also run php on that apahce 
instance

as well ;) 

thx


-
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: Desperate for help with isapi_redirect.dll

2006-02-05 Thread Mark Thomas
This (the logging problem) is now fixed in SVN.

Many thanks to David for providing the test case and to Bill and Bruno
for their hints and tips along the way.

Mark


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



file servlet

2006-02-05 Thread Gilbert, Antoine
I'm using tomcat 5.5

 

Any way to make tomcat able to serve zip and video files ? without
having to write code



Re: What is behind j_security_check

2006-02-05 Thread Bill Barker
o.a.c.authenticator.FormAuthenticator

Arash Bijanzadeh [EMAIL PROTECTED] wrote in message 
news:[EMAIL PROTECTED]
Could somebody please lead me to what class is behind j_security_check?

--
from debian manifesto:
Debian Linux is a brand-new kind of Linux distribution.
Rather than being developed by one isolated individua
l or group, as other distributions of Linux have been developed in the
past, Debian is being developed openly in the spirit of Linux and GNU.




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



Re: duplicate WEB-INF folder created under base directory

2006-02-05 Thread Rick Col
Thanks for the reply, Mark.

Actually, WEB-INF folder name is correct, here I
copied 
the build location used for build target from
build.xml:
property name=build  
value=webapp/WEB-INF/classes/

and build task works perfectly fine. 

And the following is part of unpacked war file
directory:
.
WEB-INF/
WEB-INF/classes/

WEB-INF/lib/log4j-1.2.6.jar
WEB-INF/lib/servlet.jar
WEB-INF/lib/struts.jar
WEB-INF/struts-bean.tld
WEB-INF/struts-config.xml
WEB-INF/struts-html.tld
WEB-INF/struts-logic.tld
index.jsp
WEB-INF/web.xml
..

Everything looks fine to me. 

When Tomcat 5.0.28 is used, it complains something
like this: web.xml in web application is missing. So I
switched to Tomcat 4.1, now I got this error:
org.apache.jasper.JasperException: File
/WEB-INF/c.tld not found
at
org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:105)


--- Mark Thomas [EMAIL PROTECTED] wrote:

 1. Check your folder is called WEB-INF, not WEB_INF
 2. Check the case inside the .war file is correct.
 It must be
 WEB-INF, all in upper case.
 
 HTH,
 
 Mark
 
 

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



weird mod_jk loggin delay?

2006-02-05 Thread Fred K
Hello:

When I set the mod_jk log level to info or warning or error, I do not
see any log entries until I shut down the Apache server or after a
delay (eg. after some buffer (?) filled with a 1000 chrs.).

With log level debug the logfile is updated instantly.  With 1.2.3-dev it
wrote the logfile instantly.

Does anybody observe this too ?
Is this unique to my installations? Am I missing some configuration setting
?  Is there some log buffer ? Where do I need to look, I do not think i see
any buffer setting in mod_jk.c?

Your help is greatly appreciated,

Thank you - Fred
ps: I am using mod_jk with Apache 1.3.28 and Tomcat 5.5.12 (Solaris 8 and
Linux RHEL).


Security constraints URL rewriting

2006-02-05 Thread Erik Eide
Hi

I'd like to re-write some of the URLs of my web app to support
wildcard prefixes (ie, /resource-id value/servlet/) and wonder if
this is possible when using authentication defined by security
constraints (and url-pattern) in the web.xml

As I understand it, the HTTP request is authenticated before my URL
re-writing filter is invoked (and would fail, as I can't map all
possible resource-id value combinations)

Is it possible to change the order in which tomcat does
authentication, so that my filter gets a chance to re-write the URL
first ?

Erik

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



tomcat/linux no xserver problem

2006-02-05 Thread Eickvonder Bjoern
Hi,

one of our customers is using tomcat 5.0.28 with jdk 1.4.2_05 on linux
without a running xserver. In fact there is not even one installed. Now
our application produces the following exceptions on generating pdfs
using fop:

1.) java.lang.UnsatisfiedLinkError:
/usr/java/j2sdk1.4.2_05/jre/lib/i386/libawt.so: libXp.so.6: cannot open
shared object file: No such file or directory

2.) java.lang.NoClassDefFoundError at
org.apache.fop.svg.SVGUserAgent.getViewportSize(SVGUserAgent.java:145)
[This line of code is just: return new Dimension(100, 100);]

The first we solved by setting the headless parameter and installing
some basic x-win libraries, but the second exception is still thrown in
some cases. To be more precise it seems that now all pdfs are generated
except those with embedded svg (using fo:foreign-instream-object).
Anyone an idea what might be still missing or misconfigured on the
server?

Bjoern Eickvonder

Besuchen Sie uns vom 14.02. bis zum 16.02.2006 auf der Learntec in Karlsruhe 
auf unserem Messestand 342. Vereinbaren Sie einen Termin mit uns...

Diese E-Mail enthalt vertrauliche und/oder rechtlich geschutzte Informationen. 
Wenn Sie nicht der richtige Adressat sind oder diese E-Mail irrtumlich erhalten 
haben, informieren Sie bitte sofort den Absender und vernichten Sie diese Mail. 
Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser Mail bzw. Inhalte 
hieraus ist nicht gestattet.



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



Virtual Directory

2006-02-05 Thread sumesh

Dear friends,
   How can I create a Virtual Directory in Apache Tomcat? I have
installed tomcat in C:\Program Files\Apache Group\Tomcat 4.1 and I
have some Tutorials in E:\Tutorial .I want to publish the same using
the same Web Server.How can I do that




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



RE: Commercial Support?

2006-02-05 Thread Bruno Georges
Kirt

I confirm you can get support from Jboss [we do].
We also went through the same path to sell it to Business, and we are now
migrating to Tomcat / JBoss.

As Richard pointed, Tomcat's lead developer Remy Maucherat is a JBoss
employee.

Their support is excellent.

With Best Regards
Bruno Georges

Glencore International AG
Tel. +41 41 709 3204
Fax +41 41 709 3000




  Richard Mixon   

  [EMAIL PROTECTED] To:  'Tomcat Users List' 
users@tomcat.apache.org 
  et  cc:  

   Subject: RE: Commercial Support? 

  03.02.06 23:36

  Please respond   Distribute:  

  to Tomcat Users Personal?   |---|

  List| [ ] x |

   |---|









Not positive, but I believe that Jboss also offers support for just Tomcat.
I attended a webinar a while back and it appears a number of the Tomcat
developers are also affiliated with Jboss.

HTH - Richard

-Original Message-
From: Kirt Dankmyer [mailto:[EMAIL PROTECTED]
Sent: Friday, February 03, 2006 12:39 PM
To: Tomcat Users List
Subject: Commercial Support?

Okay, I know that Tomcat is your basic open-source product, and that
excellent support already comes from the community.

But as I am sure some of you know, that's a tough sell to corporate execs
sometimes.

So, if you were going to purchase support for Tomcat, who would you
purchase
it from? What companies would you recommend?

--
Kirt Loki Dankmyer -- http://ivanhoeunbound.com -- xiomBRAG on AIM cats *
hats * RPGs * love * Eris * Agent Patriot * anime * Dada * poetry Only ONE
MAN can kill this many Russians. Bring his guitar to me! -Death

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




LEGAL DISCLAIMER. The contents of this e-mail and any attachments are strictly
confidential and they may not be used or disclosed by someone who is not a
named recipient.
If you have received this email in error please notify the sender by replying
to this email inserting the word misdirected as the message and delete this
e-mail from your system.


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