RE: java.library.path when running as a service

2005-07-13 Thread Benson Margulies
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

RE: java.library.path when running as a service

2005-07-13 Thread Benson Margulies
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

RE: java.library.path when running as a service

2005-07-12 Thread Benson Margulies
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,

RE: Arabic encoding

2005-05-17 Thread Benson Margulies
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

RE: Arabic encoding

2005-05-15 Thread Benson Margulies
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

MBeans?

2005-03-28 Thread 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?

RE: php and apache tomcat

2005-03-20 Thread Benson Margulies
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

RE: Redhat Tomcat support

2005-03-14 Thread Benson Margulies
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

RE: Tomcat on Cygwin

2005-03-06 Thread Benson Margulies
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

RE: Arabic encoding

2005-02-27 Thread Benson Margulies
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

RE: Question for Tomcat Developers - How to Plug In Encryption for JDBC passwords

2005-02-27 Thread Benson Margulies
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

RE: Arabic encoding

2005-02-26 Thread Benson Margulies
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

RE: JNI loading problem

2005-02-24 Thread 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

RE: Arabic encoding

2005-02-23 Thread Benson Margulies
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

RE: HttpServletInputStream is corrupting data?

2005-02-21 Thread Benson Margulies
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

RE: 5.0.28 catalina.properties file

2005-02-16 Thread Benson Margulies
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

RE: 5.0.28 catalina.properties file

2005-02-15 Thread Benson Margulies
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

5.0.28 catalina.properties file

2005-02-14 Thread Benson Margulies
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

RE: Tomcat 5.6 / Eclipse / no startup.bat

2005-02-09 Thread Benson Margulies
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,

RE: using shared objects from tomcat

2005-02-09 Thread Benson Margulies
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

RE: Support Information Regarding - CD-Key Issues

2005-02-09 Thread Benson Margulies
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

RE: using shared objects from tomcat

2005-02-08 Thread Benson Margulies
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

RE: using shared objects from tomcat

2005-02-08 Thread Benson Margulies
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

JNI + Tomcat 5.0.28 + Solaris 2.8 - splat

2005-01-04 Thread Benson Margulies
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

RE: How Do I Install A Valve

2004-12-30 Thread Benson Margulies
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

RE: How to access web-app context-params from Servlet.init()?

2004-12-27 Thread Benson Margulies
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

RE: Virtual Hosts and SSL

2004-12-18 Thread Benson Margulies
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

RE: JNDI object not shared among TC instances

2004-12-13 Thread Benson Margulies
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

RE: Help: Windows Server on Linux Client

2004-12-08 Thread Benson Margulies
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

RE: Help: Windows Server on Linux Client

2004-12-08 Thread Benson Margulies
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,

RE: Help: Windows Server on Linux Client

2004-12-07 Thread Benson Margulies
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

RE: Bug using nbsp;?

2004-11-23 Thread Benson Margulies
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]

RE: Servlets and debugging

2004-11-23 Thread Benson Margulies
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

RE: Tomcat startup time delay in Windows 95/98

2004-11-17 Thread Benson Margulies
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

RE: Please help...

2004-11-12 Thread Benson Margulies
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]

RE: Where do context end?

2004-11-01 Thread Benson Margulies
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

RE: Where do context end?

2004-11-01 Thread Benson Margulies
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

RE: Internationalization of characters --UTF8 encoding

2004-10-30 Thread Benson Margulies
Look up the base64 encoding support in the javamail API. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: Upload MS DOC or Image file errors.

2004-10-29 Thread Benson Margulies
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

RE: Internationalization of characters --UTF8 encoding

2004-10-29 Thread Benson Margulies
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

RE: JNDI Resources in web.xml

2004-10-28 Thread Benson Margulies
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.

RE: Re[2]: JNDI DataSource GlobalResources problem

2004-10-28 Thread Benson Margulies
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

RE: JNDI DataSource GlobalResources problem

2004-10-28 Thread Benson Margulies
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,

RE: Upload MS DOC or Image file errors.

2004-10-28 Thread Benson Margulies
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

RE: JNDI DataSource GlobalResources problem

2004-10-28 Thread Benson Margulies
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

RE: JNDI DataSource GlobalResources problem

2004-10-28 Thread Benson Margulies
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

RE: How to Display a byte array (contents of a MS DOC fie, Excel, ..) in web browser

2004-10-28 Thread Benson Margulies
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

RE: Tomcat 5.0.27 hangs in windows 2000

2004-10-27 Thread Benson Margulies
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

RE: JNDI DataSource GlobalResources problem

2004-10-27 Thread Benson Margulies
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

RE: Re[2]: JNDI DataSource GlobalResources problem

2004-10-27 Thread Benson Margulies
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

RE: JNDI DataSource GlobalResources problem

2004-10-26 Thread Benson Margulies
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,

RE: RE: JNDI DataSource GlobalResources problem

2004-10-26 Thread Benson Margulies
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

RE: split mod_jk2 configuration file for vhosts

2004-10-22 Thread Benson Margulies
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

RE: Tomcat classloading...a theory question..

2004-10-21 Thread Benson Margulies
.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]

RE: encoding problems with UTF-8

2004-10-20 Thread Benson Margulies
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.

RE: how to send \u characters to tomcat

2004-10-20 Thread Benson Margulies
See HttpServletRequest.setCharacterEncoding. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: Run a war file without unpacking?

2004-10-19 Thread Benson Margulies
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.

RE: Debugging startup in 5.0.28 with eclipse 3.0/myeclipse

2004-10-19 Thread Benson Margulies
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

Debugging startup in 5.0.28 with eclipse 3.0/myeclipse

2004-10-18 Thread Benson Margulies
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?

Not using the admin app

2004-06-29 Thread Benson Margulies
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

RE: Not using the admin app

2004-06-29 Thread Benson Margulies
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

Anyone really using JAX-RPC?

2004-06-28 Thread Benson Margulies
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

RE: UTF-8 character encoding and Tomcat 5.0.25

2004-06-27 Thread Benson Margulies
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

RE: UTF-8 character encoding and Tomcat 5.0.25

2004-06-27 Thread Benson Margulies
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

Parameterizing a web app via resources

2004-06-24 Thread Benson Margulies
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,

RE: Bizarre parse error

2004-06-22 Thread Benson Margulies
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

RE: Tomcat Logging.. whats the best way ?

2004-06-22 Thread Benson Margulies
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

RE: Bizarre parse error

2004-06-22 Thread Benson Margulies
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

Overenthusiastic use of 'exit' in .bat files in 5.0.25?

2004-06-21 Thread Benson Margulies
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

RE: Overenthusiastic use of 'exit' in .bat files in 5.0.25?

2004-06-21 Thread Benson Margulies
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

RE: ConnectionPool timeout

2004-06-21 Thread Benson Margulies
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

RE: JNDI Question

2004-06-21 Thread Benson Margulies
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]

RE: Configuring JNDI for tomcat

2004-06-18 Thread Benson Margulies
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

RE: JNDI frustration

2004-06-18 Thread Benson Margulies
Patches submitted. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: Configuring JNDI for tomcat

2004-06-16 Thread Benson Margulies
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:

RE: JNDI frustration

2004-06-15 Thread Benson Margulies
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

RE: JNDI frustration

2004-06-15 Thread Benson Margulies
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

RE: JNDI frustration

2004-06-15 Thread Benson Margulies
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

JNDI frustration

2004-06-13 Thread Benson Margulies
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

RE: JNDI frustration

2004-06-13 Thread Benson Margulies
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]

RE: JNDI frustration

2004-06-13 Thread Benson Margulies
] 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

RE: JNDI frustration

2004-06-13 Thread Benson Margulies
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

logging versus ant tasks

2002-11-20 Thread Benson Margulies
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.

disappearing tomcat 4.1.12-LE-jsk14

2002-11-19 Thread Benson Margulies
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