Ivanov [mailto:[EMAIL PROTECTED]
Sent: Tuesday, July 12, 2005 10:02 PM
To: Benson Margulies; tomcat-user@jakarta.apache.org
Subject: Re: java.library.path when running as a service
My PATH variable already includes $CATALINA_HOME\common\lib, and it
definitely has worked in the past. Wouldn't
It can only be set in the system environment for all services as once.
The tomcat service integration does not include any help in this area.
-Original Message-
From: Michael Ivanov [mailto:[EMAIL PROTECTED]
Sent: Wednesday, July 13, 2005 12:51 PM
To: Benson Margulies; tomcat-user
Due to a bug in the JRE/JVM, your dependent DLLs have to either be in
PATH or in the directory containing java.exe. My personal favorite
solution to this is to use the delay loader hook to get around it.
-Original Message-
From: Michael Ivanov [mailto:[EMAIL PROTECTED]
Sent: Tuesday,
advantage of the new versions of Java and tomcat.
thanks
Benson Margulies [EMAIL PROTECTED] wrote:
Why do you expect this to work with the us7 oracle encoding? The JDBC
driver will work very hard to force all your Arabic characters to turn
into ? marks with this configuration. You must use UTF-8
Users List
Sent: Tuesday, March 01, 2005 2:39 AM
Subject: Re: Arabic encoding
I tested many tomcat versions, I found until tomcat 4.1.31 no
problems
with arabic, but when I tried tomcat-4.1.18 and newer versions, I
faced
the same problem.
- Original Message -
From: Benson Margulies
I'm a little puzzled by Mbeans. JMX self-describes as a management
technology, but it seems as if people (and particularly JBoss) are using
Mbeans as building blocks for services in the app server that are not
well-modeled as EJBs. Can anyone offer a pointer to some information on
this?
Apache isn't the same thing as 'Apache Software Foundation / Jakarta
Tomcat'. The usual PHP requires plain old Apache, not Tomcat.
-Original Message-
From: peter smith [mailto:[EMAIL PROTECTED]
Sent: Sunday, March 20, 2005 5:59 PM
To: tomcat-user@jakarta.apache.org
Subject: php and
Personally, I've never gotten anything from Redhat but a bill. Their
support agreement is a masterpiece of extracting the maximum money for
the minimum in actual support. Pretty much anything you might actually
need help with is carefully excluded.
-Original Message-
From: QM
You aren't going to accomplish this by 'running tomcat under Cygwin'.
The Java VM is not a cygwin application, it's a Win32 application.
What you need to do is build a JNI library that links to the cygwin DLL
and is callable from Java.
-Original Message-
From: Rahul Joshi [mailto:[EMAIL
is not the right way. I
may change it this time, but I need to understand.
thanks
- Original Message -
From: Benson Margulies [EMAIL PROTECTED]
To: Tomcat Users List tomcat-user@jakarta.apache.org
Sent: Sunday, February 27, 2005 12:44 AM
Subject: RE: Arabic encoding
Oracle's ODBC driver
Why do you give your webapp access to a sql user with all this dangerous
and unneccessary access? The user name / password on the
externally-accessible machine could have a sql login that only granted
access to views (or better yet) procedures, that allowed for the minimal
necessary access: that's
it
stopped with the new versions, what changes made to the encoding of
tomcat??
do I need tomcat-i18n-ar.jar? and if so, from where to get it?
I can't determine where is the problem, is it from the new Java or the
new tomcat.
thanks in advanced
- Original Message -
From: Benson Margulies
Does ldd of your .so show dependencies? Where are they?
Generally, the Java classes with the native methods have to be in a
classloader other than webapp to get useful results.
-Original Message-
From: vaheesan selvarajah [mailto:[EMAIL PROTECTED]
Sent: Wednesday, February 23, 2005
What database? Do you have the database set up to deliver Unicode, or
CP1256, correctly? Note that not all Arabic fits into CP1256, you might
really be better off with UTF-8.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For
I'd worry about character encoding if I were you. I bet someone is
transcoding.
-Original Message-
From: Varley, Roger [mailto:[EMAIL PROTECTED]
Sent: Monday, February 21, 2005 11:00 AM
To: Tomcat Users List (E-mail)
Subject: HttpServletInputStream is corrupting data?
Hi
I don't think
catalina.properties file
From: Benson Margulies [mailto:[EMAIL PROTECTED]
Subject: RE: 5.0.28 catalina.properties file
What didn't work looked like
common.loader=${catalina.home}/common/classes,${catalina.home}
/common/endorsed/*.jar,{catalina.home}/common/lib/*.jar,c:/esri/lib/bt
nm.jar
Grasping
file
From: Benson Margulies [mailto:[EMAIL PROTECTED]
Subject: 5.0.28 catalina.properties file
I just converted a non-working to a working configuration by replacing
a set of jar file pathnames with a pathname to x/*.jar where x is a
dir containing the same two jars.
How about posting
It appears that listing a specific jar file, as opposed to *.jar in a
directory, doesn't work right in catalina.properties in 5.0.28. At
least, I just converted a non-working to a working configuration by
replacing a set of jar file pathnames with a pathname to x/*.jar where x
is a dir containing
Sysdeo imposes a rather particular development methodology.
Anything you can do with setenv.bat you can do with VM and application
arguments in the application launch department of eclipse.
-Original Message-
From: Vamsee Kanakala [mailto:[EMAIL PROTECTED]
Sent: Tuesday, February 08,
PROTECTED]
Sent: Wednesday, February 09, 2005 3:49 AM
To: Tomcat Users List
Subject: Re: using shared objects from tomcat
Benson Margulies wrote:
-- Tomcat can't 'ignore' LD_ environment variables. They control how
ld.so loads the JVM into the process address space and links it. You
put
env
Some lunatic has added a blizzard support alias to the list. This
happens constantly. I don't know if some IIS-head out there does it to
annoy the tomcat community. I used to think that it was an email address
harvesting trick, but I haven't been able to figure out how. The result
is that every
1) Your monitoring options depend on what unix(-like) system you are
running on. On Linux, there's strace. On Solaris, truss. On HPUX and
AIX? I forget. To do this PROGRAMMATICALLY to create a sandbox? Forget
it. The Unix Approach is this:
A) create a uid/gid with only the access that you want
This is a debian suggesting strace to be the one for me. Can I attach
strace to my .so-file or do I have to start tomcat via strace?
-- .so.s don't have independent existence. You run strace on a process.
I recommend using the -p option to attach it to the JVM after the JVM is
up but before you
I have a heap of JNI code, written in C++. It works fine on Windows,
inside and outside Tomcat, when compiled with VC++ 7.1. The underlying
C++ is clean in Purify, or as clean as any code that uses STL ever gets.
On Solaris 2.8, compiled with Forte6u2 (5.3), current patches, + JDK
1.4.2_05, it
To begin with, unless you are planning to submit your valve as a patch
for inclusion, I wouldn't recommend putting it in org.apache.anything.
Since Valves run inside the server, not inside the web app, they need to
be in the server classpath. You can either do what you did or edit
You need a ServletContextListener, and you can get to them from there.
-Original Message-
From: news [mailto:[EMAIL PROTECTED] On Behalf Of Shankar Unni
Sent: Monday, December 27, 2004 5:47 PM
To: tomcat-user@jakarta.apache.org
Subject: How to access web-app context-params from
Some posters misunderstand virtual hosts.
The first step in creating a virtual host is to assign it a unique IP
address and host name.
The second step is to configuring the machine's ethernet adapter to have
several IP addresses. This is done on Unix/Linux by creating additional
devices with
Why would you expect this to be possible?
JNDI defines an API for a directory. Inside one JVM, it's simple
technology to use that API to look up Java objects. Once you involve
multiple JVMs, you need some sort of object sharing and/or persistence
system to allow code in multiple JVM's to look up
PROTECTED]
Sent: Tuesday, December 07, 2004 10:25 PM
To: Tomcat Users List
Subject: RE: Help: Windows Server on Linux Client
but where to type [EMAIL PROTECTED] or foo\domain in linux?
sorry im a newbie in linux...
thanks!
aris
-Original Message-
From: Benson Margulies [mailto:[EMAIL
Now you have to turn on security in Tomcat. If you want to talk to the
AD for this purpose, well, lots of luck. You will need a custom realm or
to implement this by hand in your servlets.
Once you have security enabled at all, the browser (on Linux or
wherever) will pop up a 'basic auth' dialog,
The user can type [EMAIL PROTECTED] in as their user name to the basic auth
box, and their domain password, or foo\domain. And then the IIS will
cheerfully authenticate them to the domain.
-
To unsubscribe, e-mail: [EMAIL
JSP 2.0 is an XML file. There's no such entity as nbsp; in XML by
default. The result of running the JSP process is an HTML file. There is
an nbsp; entity in HTML. To get the HTML entity, you have to escape the
XML entity process.
-Original Message-
From: Gili [mailto:[EMAIL PROTECTED]
Two thoughts:
1: startup time can be further shrunk by lightly editing the config to
remove the default load balancing app and the like.
2: I do all this using eclipse + MyEclipse, and I've found it quite
satisfactory.
-
To
Use an actual operating system :)
-Original Message-
From: Pragyan Padmini Misra [mailto:[EMAIL PROTECTED]
Sent: Wednesday, November 17, 2004 6:48 AM
To: 'Tomcat Users List'
Subject: Tomcat startup time delay in Windows 95/98
HI,
I had posted this earlier and again am resending as am
Just run a standalone tomcat. Connecting to Apache is real work and you
don't need it.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
You need a ResourceLink in your context. See the JNDI howto document.
-Original Message-
From: Roland Carlsson [mailto:[EMAIL PROTECTED]
Sent: Monday, November 01, 2004 1:51 AM
To: TomcatUsers
Subject: Where do context end?
Hi!
I encounterd what I thought to be a little curiosity this
access to HttpServletRequest or some other class?
Regards
Roland Carlsson
Den 04-11-01 13.10, skrev Benson Margulies [EMAIL PROTECTED]:
You need a ResourceLink in your context. See the JNDI howto document.
-Original Message-
From: Roland Carlsson [mailto:[EMAIL PROTECTED]
Sent
Look up the base64 encoding support in the javamail API.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Of course, 'it seems to me that convert a byte array of the contents of
a MS DOC file to a string cause error'.
The contents of an MS doc file are not a set of bytes in a single
character encoding. They can't be 'converted to a string'.
-Original Message-
From: Daxin Zuo [mailto:[EMAIL
UTF-7. Or any other ACE.
-Original Message-
From: Shilpa Nalgonda [mailto:[EMAIL PROTECTED]
Sent: Friday, October 29, 2004 3:38 PM
To: Tomcat Users List
Subject: RE: Internationalization of characters --UTF8 encoding
Our java Application takes UTF-8 encoded unicode data and sores in a
The question is not 'DTD or schema'. The question is, 'does the 2.4
schema relax the order, and does Tomcat comply?'
-Original Message-
From: David Smith [mailto:[EMAIL PROTECTED]
Sent: Thursday, October 28, 2004 7:49 AM
To: Tomcat Users List
Subject: Re: JNDI Resources in web.xml
Hi.
The standard make a series of provisions for the case in which there is
no 'pathname' corresponding to some resource in a web application. These
provisions were intended to support a model where a WAR file is never
exploded into a native file system. Conceptually, you can model this as
supporting
I think that JNI is the only counter-example. Forgive me if the
following is well know but seen as unimportant to all concerned.
There is a JVM restriction: any given class with native members can only
be loaded into one classloader of a JVM. So, if two webapps both try to
include a native class,
This is much more than a character encoding problem.
Extracting text from a Microsoft Word file is a very complex process.
Microsoft provides 'IFilter' support for this purpose. Various vendors
sell more portable solutions. I don't know of a full open-source
solution.
You can tell the user to
I'm reading this thread as the following meta-discussion. I may be
confused.
Steve and others: Help us, we've having trouble making global resources
work due to poor documentation and problems deciding what to put in the
'common' classpath and what to put in the webapp class path.
Yoav and
Whoops, I missed a point:
'counter-example' to the general idea that anything you can do as a
global resource you can do just as well as a per-web-app resource.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional
What do you want to see? Hex digits?
-Original Message-
From: Daxin Zuo [mailto:[EMAIL PROTECTED]
Sent: Thursday, October 28, 2004 9:12 PM
To: Tomcat Users List; [EMAIL PROTECTED]
Subject: How to Display a byte array (contents of a MS DOC fie, Excel,
..) in web browser
I receive a
This is usually the symptom of a TS-unaware application popping up a
dialog box on the real console. Perhaps the JVM suffers from this
tendency?
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL
The specifications specify how a webapp declares the resources that it
uses, but not how those resources are configured in the container and
made accessible to the webapp. So, whatever we have in here is going to
be tomcat-specific.
The question is, are the arbiters of taste interested in
As I read the discussion, I don't think that anyone claimed that only
WAR's are interesting or important.
Yoav, in one posting, explained that the servlet spec is written from a
point of view that only requires support for applications in unexploded
WAR files. That is not the same thing as
As a recent patcher of this document, I wish that I had made all the
references to ResourceLink say 'of the Context or DefaultContext'
element to stop people from accidently trying to put them into the
Global...
-
To unsubscribe,
Webapps can only see GlobalNamingResource resources if there is a
ResourceLink in the Context or DefaultContext. By default, the global
context is only visible to global code. This is explained in the how-to,
though my wording in there turns out to be less clear than I had hoped.
-Original
Run a web service in the other JVM?
-Original Message-
From: Matteo Turra [mailto:[EMAIL PROTECTED]
Sent: Friday, October 22, 2004 4:32 AM
To: Tomcat Users List
Subject: split mod_jk2 configuration file for vhosts
I tell apache httpd where is the workers2.properties file with
JkSet
.5 additional cents:
JNI also drives the use of common/lib, due to the restriction of only
loading a native class in one ClassLoader.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Who is processing the style sheet, tomcat or the browser?
If you are calling TRaX in the browser, there is a problem with the
interaction of Jasper and Xalan, such that you can't get TRaX to write
directly to the JspWriter and get UTF-8 to come out.
See HttpServletRequest.setCharacterEncoding.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
One item for emphasis: the JRE provides the feature of adding a JAR to
the classpath. The JRE does not offer direct support for WAR semantics,
such as JAR files in the WEB-INF/lib directory. Tomcat would have to,
for example, have a classloader that searched the WAR file in the
specified order.
In case it's helpful to anyone, I found the answer to this.
Adding classes to the classpath in the Eclipse preferences leads to
pretty serious confusion, not too surprisingly. If one pulls them into a
jar and drops them into common/lib, all is well, including breakpoints.
I wish I could find a
I need to debug a JNDI resource factory configured in server.xml. I'm
running eclipse 3.0.
I'd like to just use eclipse's ability to launch tomcat in the debugger,
but breakpoints aren't breaking.
Anyone else been down this path?
I'd like to build a completely wired-down webapp with an Axis soap
service included therein.
The default wsdd includes some machine-specific pathnames, so I can't
just capture it send it around.
I'm poking gently at the axix-specific api, but I'm not finding the
right thing if there is one. I'm
Oh, sorry, sorry, this was supposed to be directed to axis.
-Original Message-
From: Benson Margulies [mailto:[EMAIL PROTECTED]
Sent: Tuesday, June 29, 2004 12:46 PM
To: Tomcat Users List
Subject: Not using the admin app
I'd like to build a completely wired-down webapp
Folks,
Is anyone out there running a deployed application using JAX-RPC for
soap/wsi? If so, are you using Axis, or the Sun JWSDP stuff? Or
something else entirely?
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional
What, exactly, is going wrong? Are the JSP pages mishandled? The request
parameters?
-Original Message-
From: Jason Novotny [mailto:[EMAIL PROTECTED]
Sent: Sunday, June 27, 2004 7:59 AM
To: Tomcat Users List
Subject: UTF-8 character encoding and Tomcat 5.0.25
Hi,
In
Subject: Re: UTF-8 character encoding and Tomcat 5.0.25
It seems all the accented characters in any language show
up as ?..
Thanks, Jason
Benson Margulies wrote:
What, exactly, is going wrong? Are the JSP pages mishandled? The
request parameters?
-Original Message
I'd like to give people a webapp to run by telling them:
- drop the .war file
- add some parameters
- stand back
If I focus on Tomcat, I see how to do that: I can tell them to create a
Context element in the outboard XML file and configure some resources
there.
This is, of course,
See http://issues.apache.org/bugzilla/show_bug.cgi?id=23357. Perhaps if
you vote for it, someone would fix it?
-Original Message-
From: Jonathan Melhuish [mailto:[EMAIL PROTECTED]
Sent: Tuesday, June 22, 2004 11:44 AM
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: Re: Bizarre
Sure, but the other question is this:
ServletContext.log allows a webapp to log. Wouldn't It Be Nice if that
same log was somehow available to any old bit-o-java when running in the
environment?
-
To unsubscribe, e-mail: [EMAIL
Here's what I've seen.
The TRaX API, as implemented by xalan, has a thing called
javax.xml.transform.stream.StreamResult.
The xalan implementation of this looks at the type of the object passed
in to decide what sort of character handling is desired.
When you pass in a JspWriter, it gets
I just dropped a clean install of 5.0.25 onto Windows Server 2003, and I
did not install ask for a service from the installer. I don't have
'start and stop tomcat' links in my Start menu at all.
I then tried to run 'TOMCAT_ROOT\bin\catalina run'
to test out my configuration.
It didn't locate
I left a really bad typo in this message. Here's the fixed version:
I just dropped a clean install of 5.0.25 onto Windows Server 2003, and I
did not install ask for a service from the installer. I don't have
'start and stop tomcat' links in my Start menu at all.
I then tried to run
I'm seeing evidence of several odd auto-responses. It looks like someone
thinks that it is a fun prank to add random addresses of unsuspecting
people to this list.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional
Have a look at http://issues.apache.org/bugzilla/show_bug.cgi?id=29584.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
It would seem a lot less work to fill up a hashtable with parameters and
get a vanilla JNDI context for your external nameserver independent of
the internal context used for web-app resources. What's the point of
looking up web-app resources in an external directory when they can't be
shared
Patches submitted.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Tomcat does not expose a naming service on any port at all, so far as I
know. It just offers an internal API to JNDI in which it populates a
namespace.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail:
Yoav,
I figured out what happened to me, but I'm not sure I understand your
reply.
I have a resource that must be one-per-process. It's unfortunate, but
that's the case. So, I thought that the Global... resources was the
place to define it.
Perhaps this is obvious to everyone else, but I didn't
1) Would it be appropriate to bugzilla a request to clarify the
documentation on the use of custom factories for resources in JNDI? The
doc didn't turn out to be exactly incorrect, but I think that it is
somewhat misleading, and could be improved by some explicit annotations.
I expected to be
Yoav,
I wrote up the material in bz 29584. However, I end up wondering if
there is, after all, either a bug or a possible desirable feature here.
The documentation in globalresources.html describing the purpose of
GlobalMakingResources:
You can declare the characteristics of the resource to be
Tomcat 5.0.25
JDK 1.4.1
I'm following the instructions to create a custom bean factory for use
with JNDI.
At server initialization, the MBean code calls into my ObjectFactory to
create, successfully, the first bean.
Then, my webapp has a resource manager listener. It tries to use the
standard
I believe I have found my error in web.xml. I will send a more complete
cry for help if I turn out to be wrong.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
]
Sent: Sunday, June 13, 2004 10:22 PM
To: Tomcat Users List
Subject: Re: JNDI frustration
Take a look at
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=29255.
Benson Margulies wrote:
Tomcat 5.0.25
JDK 1.4.1
I'm following the instructions to create a custom bean
factory
OK, I am stuck. Here are the details:
server.xml, adding to the existing GlobalNamingResources:
GlobalNamingResources
!-- Test entry for demonstration purposes --
Environment name=simpleValue type=java.lang.Integer
value=30/
Resource name=bean/RLPEnvironmentFactory auth=Container
I can't figure out how to specify context options such as the existence
of a logger for a context established with the ant tasks.
I am setting up a webapp that uses some JNI class. When it gets to the
crucial point, the tomcat VM just disappears. No errors, no log message,
no nuthin.
I'm on Windows XP at the moment.
Very soon, I expect to move this show to Linux, and I more-or-less
anticipate seeing JVM coredumps
84 matches
Mail list logo