Re: JDBC try/catch Pitfall ***MUST READ***

2002-04-09 Thread Tim Endres
try { if(rs != null) rs.close(); if(ps != null) ps.close(); if(conn != null) conn.close(); } catch(SQLException sqle) { sqle.printStackTrace(); } You do not make it clear, but if either

Re: JDBC try/catch Pitfall ***MUST READ***

2002-04-09 Thread Tim Endres
To be honest, having implemented compilers and interpretters, the for and while loop examples that they provide seem entirely logical. The cases, in fact, are similar to saying this statement is false, and Java would have to specify specific behavior for these cases. I still find it very

RE: timed events

2002-03-13 Thread Tim Endres
There are several solutions out there, both commercial and open source. You might wish to take a look before reinventing. tim. Which is not that portable across Application Servers ;) Typical issues are JNDI lookup problems up to ClassCastExceptions. Jens | -Original Message- |

Re: Many clicks, many request...

2002-02-20 Thread Tim Endres
This is usually handled by wrapping JavaScripts around the clickable object to disable it upon the first click, thus eliminating the next 99 clicks. tim. Hi, If I make 100 clicks fastly from my browser in a servlet, it generates 100 requests and 100 processes in the server. One only process

Re: question about ip allocation

2002-01-09 Thread Tim Endres
That is not true. Every ethernet interface can listen on its own port 80. This can even be done with virtual interfaces which share the same physical network card. Ports are a abstraction implemented at the driver level and based on header information in each packet. tim. Your machine has 2

Re: FW: [JBoss-user] Redux of Performance Issues

2001-11-27 Thread Tim Endres
Sounds to me like the lead developer of JBoss is a fifteen year old kid who is too busy watching MTV to bother with a serious reply to your posting. tim. Wow. I know people have complained about this list being a little slow, but if this is what I get from the lead developer of JBoss on how

Re: (my) problem locating a textfile from a Servlet

2001-06-26 Thread Tim Endres
Have you tried a leading slash? file1 = getServletContext().getResource( /WEB-INF/log4j.xml ); What we do, is get the real path with: String realPath = this.getServletContext().getRealPath( /WEB-INF/dir ); new File( realPath, fileName ); We do this because getResource() is so

Re: Security bug with application clients?

2001-06-12 Thread Tim Endres
I think maybe I didn't make something clear. I am using a java application client, NOT a web client. As such, I cannot invalidate sessions, make posts, etc. I will repeat that we have seen that Orion's InitialContext and Principal identity features do not work. They do not work in

Re: Update to 1.5.0 help please ?

2001-05-21 Thread Tim Endres
Did you remove the application deployment directory for your app? This is the first thing I do when stubs are misbehaving. tim. I just updated to 1.5.0 as well, and everytime I start Orion it complains about a wrapper that I can't find anymore on my machine How do I solve this ?? (I compiled

RE: init params

2001-05-12 Thread Tim Endres
Thanks for the quick posts. Stupid me, I thought getInitParameter would always be for init-params. I wonder why... getServletContext.getInitParameter(String):String is not getServletContext.getContextParameter(String):String ? Because getInitParameter() was invented before contexts

Re: TO THE DEVELOPERS: java.net.SocketException: socket closed

2001-05-10 Thread Tim Endres
I am not sure, but this may actually be a bug in the JVM. I say this becuase I documented a Socket bug three years ago that involved the closing of one side of a Socket connection. For example, in the UNIX RSH protocol, the Socket used in the protocol appears as stdio. In other words, stdin,

Re: .shtml ...help

2001-05-09 Thread Tim Endres
Unless Orion has builtin support for server side includes, you will probably need to find a servlet that perform this for you, and map *.shtml to the servlet. I do believe there are open source servlets out there that will give you server side include support. If you are only using the include

Re: Simple Java Doubts

2001-05-08 Thread Tim Endres
I believe that both of these questions are completely off-topic. Question 1: How does an elementary Singleton pattern based Object behave in a multi-threaded environment? What is this phenomenon called? How do you make such a Singleton Object thread safe? There are several excellent

Re: FW: custom finder in CMPs (SLSB facade)

2001-05-07 Thread Tim Endres
The thing which puzzles me is why not go to the Entity Bean directly itself? It saves both computer and programming resources. In all discussions and readings I have found no decent arguments that prevent me from going direct, unless you throw in the -valid- information hiding argument.

RE: custom finder in CMPs (SLSB facade)

2001-05-06 Thread Tim Endres
Now the question: How come so many people are keen on introducing SLSBs as a facade in front of Entity Beans to improve the performance? The same code (plus a tid bit extra) needs to be executed, the same pooling behavior is there for the Entity Bean and yes the SLSB introduces little

Re: Caching XLS style sheets

2001-05-06 Thread Tim Endres
I asked a question on an MVC application architecture using XLS, and got advice to cache XLS / XSLT style sheets, and pre compile them. Sounds like something I would say... Can someone give me some more background on this. Hope so. How? The code we use is totally tied to Xalan, but can

Re: Number of JVMs on Orion..

2001-05-05 Thread Tim Endres
java -jar orion.jar Hi Tim, Thanks for your reply. I would like to know how can we create JVMs running Orion on one machine? Thanks Subrah --- Tim Endres [EMAIL PROTECTED] wrote: Orion does not invoke JVMs. It runs within a JVM. Thus, the answer is one. Of course, this does

RE: [EJB] orion-ejb-jar.xml

2001-05-04 Thread Tim Endres
Hi Steffen, I'm new to orion as well. But I discovered, that after deployment you find a generated orion-ejb-jar.xml in the application-deployments/.. This can be changed and orion keeps your changes after another deployment. I would prefer to have the orion-ejb-jar.xml in jar file

Re: Number of JVMs on Orion..

2001-05-04 Thread Tim Endres
Orion does not invoke JVMs. It runs within a JVM. Thus, the answer is one. Of course, this does not prevent you from starting any number of JVMs running Orion. Hi, Can anyone explain how many number of JVMs can we create on Orion? Thanks Subrah

Re: broken default web app - not found

2001-05-03 Thread Tim Endres
trouble is that I'm not sure of the distinct meanings between server web site web appliction default web site default web appliction global... i have not found these defined on the orion site. j. Tim Endres [EMAIL PROTECTED] wrote: In my server.xml file, I have the following line

RE: Interests sake

2001-05-03 Thread Tim Endres
Does Orion support digital unix ? Thanks! I believe the answer to the question: Does Orion support XYZ operating system? Is answered by: Yes, if you have an adequate JVM. tim.

Re: broken default web app - not found

2001-05-02 Thread Tim Endres
In my server.xml file, I have the following line: global-application name=default path=application.xml / Looks to me like you've replaced the default web-app with your own 'pussycat'. You application should be defined by a separate app line, such as: application name=pussycat

Re: Backward compatibility

2001-05-02 Thread Tim Endres
You will need to be more specific. We ran into a problem with XML. We coded to the Xalan 1 API, making use of a class named 'XPathSupport'. However, this API has changed in Xalan 2, and Orion 1.4.8 uses Xalan 2. So we have put off updating to 1.4.8 until we can update our code to Xalan 2. We

Re: IIS, Orion, virtual host

2001-04-27 Thread Tim Endres
I've done this before, and this does prevent multiple web servers from listening on the same port. I think that this is definitely a problem. A virtual IP does not have it's own port, but it is sharing the same port with the main ip. If a machine has main ip 1.2.3.4 and virtual 1.2.3.5

Re: MVC/XML Framework Comments please

2001-04-26 Thread Tim Endres
We do exactly what you propose. A servlet drives lightweight commands. The commands get XML trees containing the HttpServletRequest information, and fill in a subtree with the XML results. This tree is fed into XSLT and the resulting HTML is sent down the wire. I prefer it over JSP by miles. We

RE: MVC/XML Framework Comments please

2001-04-26 Thread Tim Endres
It sounds like Tim has a homebrew system for going directly from Logic to Presentation. My team has been thinking of eventually writing a wrapper to expose JavaBeans (the model) as a DOM using reflection so you could still have a pull-based system rather than having to build the full tree

Re: MVC/XML Framework Comments please

2001-04-26 Thread Tim Endres
then skip the cost of parsing the XSL's XML file, in exchange for the cost of serialization. tim. Tim, that sounds v.interesting. Forgive my ignorance but what toolkit are you using and what do you mean by precompile the XSL pages? Thanks, Trevor On Thu, 26 Apr 2001, Tim Endres wrote

RE: work around for rh7.1

2001-04-22 Thread Tim Endres
This is a fresh install of rh7.1 (not an upgrade), then install jdk1.3.1rc1. If you just use the LD workaround, and type myjavapath/bin/java -version You will get a hang. I just wanted to be clear. This works fine for me, and is running the entire Giant Java Tree site, which is a

Re: .zip files and solaris

2001-04-21 Thread Tim Endres
jar xvf file.jar In development, I work with Orion on both Solaris and Windows 2000. But there must be an easier way of dealing with Orion and Jboss zip files. I use winzip to unzip them in Windows, and FTP the unzipped version to Solaris. Is there any third party software to unzip a

RE: .zip files and solaris

2001-04-21 Thread Tim Endres
NEVER work for a zip -Original Message- From: Tim Endres [mailto:[EMAIL PROTECTED]] Sent: Saturday, April 21, 2001 10:17 PM To: Orion-Interest Cc: Kemp Randy Subject: Re: .zip files and solaris jar xvf file.jar In development, I work with Orion on both Solaris

Re: Application mapping - how do I know it from within the app?

2001-04-17 Thread Tim Endres
getContexstPath(), which is what you want, is a method of HttpServletRequest. tim. Nope, when doing just that I get... 500 Internal Server Error Error parsing JSP page /aller/Allas/subscriber.jsp Syntax error in source/Allas/subscriber.jsp.java:32: Method getContextPath() not found in

RE: Is this the Orion Team?

2001-04-17 Thread Tim Endres
Well I would not know - I have never met him... I wonder what makes you able to make that king of comparison... I believe this was a "joke", which is tied to American TV, specifically Saturday Night Live and Dana Carvey's Satan skits. If it was not, then I have the same question as you. tim.

Re: How to enable UserManager support for arbitrary user...

2001-04-13 Thread Tim Endres
Is this what you are looking for? RoleManager roleMgr = (RoleManager) (new InitialContext()).lookup( "java:comp/RoleManager" ); roleMgr.login( "user", "pass" ); Unfortunately, I think that can only run in the container. To accomodate multiple logins under a servlet, we used to use a

RE: How to enable UserManager support for arbitrary user...

2001-04-13 Thread Tim Endres
this call with the user.login and user.password? Thanks. -AP_ -Original Message- From: Tim Endres [mailto:[EMAIL PROTECTED]] Sent: Friday, April 13, 2001 3:04 PM To: Orion-Interest Cc: Alex Paransky Subject: Re: How to enable UserManager support for arbitrary user

Re: Error starting HTTP server

2001-04-10 Thread Tim Endres
Because HTTP attempts to bind to port 80, which is a priveleged port under UNIX, I believe that you must start orion as the root user. tim. On NT Orion is running great but on Solaris JDK1.2.2 when I do java -jar orion.jar I get an error message flagging a problem with HTTP initialization.

Re: AdJuggler on Orion

2001-04-06 Thread Tim Endres
A more common reason for that error is that your database server, or the JDBC driver, has a timeout built into the connection. For instance, MySQL will timeout a connection after 8 hours. The MySQL JDBC driver has a option that you can turn on to "keepalive" the database connection. If it were an

Re: How to specify a servlet as a main page

2001-04-03 Thread Tim Endres
I think you need to map your servlet to the url "/", and handle from there. tim. Hi all, Until now I have been using a boot.jsp page as the main entry point to my application. But now I have changed it to a servlet. On the web.xml I have made a servlet mapping, servlet

Re: Case sensitive files names

2001-04-02 Thread Tim Endres
Isn't DOS lovely? I am not sure if this is an Orion issue, or a file system issue. However, you really should fix your HTML to match the case. One way to get around the problem would be to write a simple servlet that managed "/". This servlet would then look at the URL and determine the correct

Re: JNDI SecurityException

2001-03-27 Thread Tim Endres
I have no idea. I simply know that someone on the list claimed to have reported this bug, and to this day my servlets simply will not properly authenticate. I do not know if this is a problem with just servlets, or anything using ApplicationClient{ICF}. Our servlets are running in Orion. I

RE: Orion + IE + HTTPS = Trouble

2001-03-26 Thread Tim Endres
differently. If the problem lies with me, thats OK, I just need someone to point me in the right direction so I can fix it. Thanks, Bruce -Original Message- From: Tim Endres [mailto:[EMAIL PROTECTED]] Sent: Monday, March 26, 2001 2:24 PM To: Orion-Interest Subject: Re: Orion + IE

Re: Deployment xml files in ear file? If so, where?

2001-03-26 Thread Tim Endres
Except for orion-ejb-jar.xml, which alone has its own place in app/orion/. tim You can place your orion-*.xml files alongside their *.xml counterparts. (eg, principals.xml and orion-application.xml alongside application.xml). Note though that if the application has already been deployed,

Re: JNDI SecurityException

2001-03-26 Thread Tim Endres
I tried the ApplicationClientInitialContextFactory (by mistake) when I first set this up. I just gave me other problems (I think there was some sort of complaint about a missing application.xml file). As far as I know, there should be no reason that I cannot use the

RE: Removing SBs when expiring HttpSessions ... the challenge continues.

2001-03-23 Thread Tim Endres
We do not have the problem that you describe. Why? Because we do not let the container perform the authentication. We handle authentication *entirely* in our own code, and completely ignore the J2EE/container authentication. Thus, our servlets always access the EJB SB's using a single

RE: Orion Memory Configuration

2001-03-22 Thread Tim Endres
I wonder if the exception is misleading in this case. The OutOfMemoryException is reporting "unable to create new native thread". Could this be a limitation on the number of threads a process is allowed to invoke? Could it be that the JVM has a limitation on the number of threads? Or, could it be

Re: Java Mail and javax.activation.DataSource

2001-03-20 Thread Tim Endres
You are missing the JavaBeans Activation Framework classes (also known as Glosgow), which are in the JAR activation.jar. http://java.sun.com/products/javabeans/glasgow/jaf.html tim. Hello all, I'm setting up J2EE program and I'm having trouble getting the Java mail to work. I am getting

Re: How to do this servlet-mapping?

2001-03-20 Thread Tim Endres
Why not have your servlet "forward" any request that it does not recognize to another namespace. In other words, using your example, you would forward "/app/ball.gif" to "/images/ball.gif", thus eliminating the "/app" mapping. tim. I've tried using the servlet-mapping of /app/* and pointing

RE: Class cast exception....

2001-03-19 Thread Tim Endres
Don't you mean to say that the two JSP pages are generating two separate classes that are each declaring their own Website *inner* class? Your suggested solution is, of course, correct - use a top-level class. tim. Conrad Chan [EMAIL PROTECTED] It is not going to work. Both ess.jsp and

RE: Removal of SBs from expiring HTTP sessions ...

2001-03-15 Thread Tim Endres
Does that actually work in the remote EJB model; I mean through the stubs? If not, the servlets using the sessions could just as easily listen and in turn inform the SB's. tim. Can't you just make the SB a HttpSessionBindingListener and implement valueUnbound() ? -mike -Original

Re: Can I use InterBase's DataSource instead of Orion's?

2001-03-15 Thread Tim Endres
You should not be instantiating DataSource's directly. You should define the DataSource in Orion's configuration file, and then access the DataSource by name via your InitialContext. tim. In normal java application, I may use interbase.interclient.DataSource to access Interbase:

Re: Is it orion compatible with FORM METHOD = POST ?????

2001-03-14 Thread Tim Endres
FORM POST pages work just fine for us under Orion. However, we are not using JSP pages, we use our own servlets. tim. As the subject explains problem i am facing problem with POST method. When i develop jsp with POST method in my local machine its working great when i place the same file in

RE: Hypersonic website / docs

2001-03-14 Thread Tim Endres
Not Java. Not Free. Lengthy registration process required to figure this out. No thanks. Also try kdb at http://www.kx.com . 150kb, all in memory and FAST!!! Mike -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Michael J. Cannon Sent:

RE: Orion Team Needs New List Software

2001-03-14 Thread Tim Endres
The problem is not the autoresponder. It is the mailing list software that Orion uses, which appears to be years behind more common mailing list software. tim. I suspect that the person the mail is from is not responsible, obviously moved on and someone at the company set up the autoresponder.

Re: Design Advice (And Orion JNDI syntax) Needed

2001-03-12 Thread Tim Endres
Have you considered placing the string in the database? tim. Hello; Problem: My application has many text strings (i.e. email messages, email recipient addresses, canned messages, etc) that both my servlets and EJBs need to access. It needs to be done in a way that these are not hardcoded

Re: SSL Certificates + Security Alert

2001-03-11 Thread Tim Endres
Q: do i get the dialog window appearing because i'm using a test certificate? i.e. will the use of a live certificate mean that i don't get the dialog window appearing? Yes, *if* the certificate chain of that certificate leads to a root certificate that is installed in the user's browser.

RE: new error... never seen this.

2001-03-08 Thread Tim Endres
The newline between the "{% and %@ include file" causes a println to be generated and sends output the to client, which precludes the jsp:forward from working because forwards only work before you generate output. I think if you eliminate this newline, the problem will go away. tim. %@ page

Re: How to set orion to perform a timely task.. (CRON???)

2001-03-06 Thread Tim Endres
One way is to write a simple Java program that uses URLConnection to hit your JSP page and have CRON drive your simple program. tim. Someone suggesting hitting a JSP with a cron... how can you hit a URL with a CRON or AT command, I didn't think you could do that! Perhaps I misunderstood

RE: classloader does not implement getResourceAsStream ?

2001-03-05 Thread Tim Endres
This line (about line 881 in my version): URL url = this.getClass().getResource(registrations[i+1]); Must be replaced by this: URL url = getServletContext().getResource(registrations[i+1]); Gee, that makes it look like a bug in Struts, as opposed to the reported bug in Orion. I believe

Re: AW: Java ftp

2001-03-02 Thread Tim Endres
There is also a nice FTP package at: http://www.gjt.org/servlets/JCVSlet/list/gjt/com/fooware/net tim. Multithreaded FTP-Bean (OpenSource IBM). Would not reccommend it in a EJB-Class, since it seems to be multithreaded. http://www10.software.ibm.com/developerworks/opensource/cvs/ftp/

Re: mail.jar POP3

2001-02-28 Thread Tim Endres
If you upgrade the mail.jar to JavaMail 1.2, the POP3 provider is included. Replacing mail.jar is most likely your easiest route. Otherwise, you have to deal with the javamail.providers file, which will almost certainly require that you modify mail.jar's version of that file. tim. Hello, I'm

Re: Connecting to LDAP from Orion

2001-02-28 Thread Tim Endres
Go to http://java.sun.com/products/jndi/ and download the LDAP service provider. This will give you the JNDI SPI you need to access LDAP. As for docs/tutorials, I can not help you there. tim. Hi all, Today I tried to connect to a LDAP server so I tried some things for a while, but no

Re: orion.jar needed for JNDI-lookup??

2001-02-28 Thread Tim Endres
Stefan, Are you sure about the InitialContext class being loaded over the network? I have never heard of that before, and was not aware that JNDI supported this feature. Can you point to any documentation of the feature? I have always understood that the JNDI properties pointed to the class to

Re: Invalid manifest format I/O Exception?

2001-02-28 Thread Tim Endres
Do you add the manifest to the jar file using jar's '-m' option? tim. When I try to invoke my application-client through: "java -jar application.jar" I get "invalid manifest format: I/O Exception? I have a META-INF/MANIFEST.MF, both inside the "application.jar" and in the working

RE: simple JSP bug with switch

2001-02-27 Thread Tim Endres
OK, thanks, I understand that (which is how I fixed the code). However, I believe this isn't the proper behaviour for JSP. Orion should eat that newline. This is how other JSP engines behave, including Sun's reference engine. Seems that this would depend entirely on the JSP spec. If

RE: simple JSP bug with switch

2001-02-27 Thread Tim Endres
It appears to me that Sun's RI is recognizing the "obvious" - that statements can not appear between "switch" and "case", nor between "break" and "case". Unless the spec specifically addresses this, it seems that Orion is doing the correct thing, and Sun is providing a nicety that lulls one into

Re: Intro to Orion Tutorial

2001-02-26 Thread Tim Endres
James, Very nice work! You have made a great contribution. tim. I don't know about everyone else, but I had a real difficult time getting started with Orion (coming from WebLogic). It seemed like I was stumped at every turn. I know there are a few tutorials, but I found them difficult

RE: Win2k Pro. is mess... choosing the right database product

2001-02-23 Thread Tim Endres
MySQL has "support" for transactions. However, I think you have to download a special build of MySQL, and it is only supported for berkley db tables. This is a stop gap measure until 4.0, which will have much better tx support. tim. You are probably right in your asumptions. Might I ask why

Re: JAXP

2001-02-23 Thread Tim Endres
Hi Rich, Could you narrow it down? Specifically which JAR breaks Orion. We have replaced the xalan.jar and xerces.jar files with version 1.2.2 and Orion is happy. Is it just the jaxp.jar file that is the issue? Also, I believe that somewhere in the mailing list archives, you will find posts

RE: JAXP

2001-02-23 Thread Tim Endres
[Loaded java.lang.NoSuchMethodError from C:\Program Files\JavaSoft\JRE\1.3\lib\r t.jar] java.lang.NoSuchMethodError at org.apache.crimson.tree.AttributeSet.init(AttributeSet.java:139) Richard, do you have the source code for that line it is croaking on? tim.

RE: Get me off this subscription!!!!

2001-02-22 Thread Tim Endres
Folks, Orion has responded to this request at length. The response was simple. If you can't remember the email address you subscribed to the list with, how are they going to figure it out? If you use the unsubscribe form, and it does not work, then guess what? You are trying to unsubscribe the

Re: http 500 errors

2001-02-22 Thread Tim Endres
Once you run your app, go to the application-deployments directory and into the directory for your application. In there you will find a file named orion-application.xml. Add something like this to that file: log file path="application.log" / /log I keep getting internal server

RE: FAQ-O-MATIC (was: EJB Clustering -- ANYONE? [Urgent!])

2001-02-22 Thread Tim Endres
More than anything else, though, I think Orion needs a FAQ-O-MATIC. Seconded!

Re: Test20Cmp / Jim Archers example

2001-02-22 Thread Tim Endres
I am not certain about Jim's example. However, we use this style of code to null out "transient" fields that get filled in during the use of an entity bean. The problem is that these fields are not "cleared" between passivation and re-activation. Thus, you can have fields with invalid values from

Re: Servlet Method size limit? -- Illegal target of jump or branch

2001-02-19 Thread Tim Endres
This has been discussed before, so there are postings in the archive. The problem lies in the Class files themselves. Java Class files have 16 bits limitations, as well as others. The primary issue appears to be the large number of string constants generated by JSP pages. I believe that

RE: ms access Orion?

2001-02-16 Thread Tim Endres
However, MySQL support has not always been that "first class". I can remember the days when MySQL support was much like Orion support today - you needed the mailing list! Lets hope that Orion can make the same transition to providing strong support. tim. If you use mysql, I think you need to

Re: SV: Not authorized to view this page

2001-02-16 Thread Tim Endres
Orion's performance relative to other J2EE products is debatable, but I believe it is at the very top, if not the fastest. In addition, Orion is pure Java, so it is very portable (I actually develop on my Win98 laptop). I wanted to follow up and expound on this last parenthetical comment. I

Re: Last posting

2001-02-14 Thread Tim Endres
Cliff, I think your posting was sufficiently complex and general that it was unlikely to generate a reponse. Speaking for myself, but suspecting that it applies to other "professionals", I am very busy, and do not have the time to devote to such a response. Sorry. However, I believe you would

RE: VARCHAR values are always the length of the field

2001-02-14 Thread Tim Endres
I do not think that JDBC is inherently the issue here. Think about it - if the JDBC-ODBC bridge is faster than the JDBC driver, how can that be? They are both based on JDBC, and the bridge has ODBC in the processing as well. Thus, I would conclude that the Merant JDBC driver is poorly written. In

RE: Why xsl:include seems to try to find files in /Orion folder and not web-app root?

2001-02-13 Thread Tim Endres
Does Saxon solve this particular issue? If so, how? Thanks, tim. We have observed this behaviour with Xalan (1.2.x family) both in and outside of app servers. Xalan uses the "working directory", according to Java, as the base URI. Which is of course wrong. Dunno about Xalan2. Possibly

Re: Garbage collection, out of memory

2001-02-13 Thread Tim Endres
Your GC times are huge because you have provided so much memory. If you reduce the 500MB to 128MB, you will see more GC's, but they will be much shorter. This is a well known optimization issue. Too little memory causes to many GC runs, while too much memory causes GC runs to be too long. You

RE: Why xsl:include seems to try to find files in /Orion folder a nd n ot web-app root?

2001-02-13 Thread Tim Endres
Orion folder a nd n ot web-app root? Orion should just replace Xalan for Saxon anyways... and use TraX instead of a propietary interface to Xalan... Xalan is Apache's excuse for having a XSLT processors, besides being one of the slowest in the crowd... -- Victor -Origin

RE: Why xsl:include seems to try to find files in /Orion folder and not web-app root?

2001-02-13 Thread Tim Endres
I can't seem to find the email with the setSystemId(). Can you either forward it to me, or show me how you did it so I can try it out. Where is that set specifically? Thanks. Here it is. Not very detailed, but hopefully the clue you need. tim. -Original Message- From: Matt

Re: JDBC/DataSource/JNDI Error

2001-02-13 Thread Tim Endres
You need a proper jndi.properties file on your ClassPath. It will define the property 'java.naming.factory.initial', as well as others. These are needed by JNDI to find your InitialContext. tim. I have download a couple of MS SQL Server trial JDBC2.0 drivers including the free one from

RE: Why xsl:include seems to try to find files in /Orion folder and not web-app root?

2001-02-13 Thread Tim Endres
XSLTInputSource; I tried that and it worked out fine for fixing this problem (with Xalan). Regards, Arved Sandstrom -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Tim Endres Sent: Tuesday, February 13, 2001 3:02 PM To: Or

Re: classloader

2001-02-13 Thread Tim Endres
This is not a bug. It is a lack of understanding of ClassLoaders by the poster you referred to in your search. If you search the Orion mailing list archives, you will see many postings related to this subject. The problem is that ClassLoader issues are more complicated in an application server

Re: Why xsl:include seems to try to find files in /Orion folder and not web-app root?

2001-02-12 Thread Tim Endres
If you read the xalan source, you will see that this is a problem with xalan. The method that determines the location of the included file is written to be file-system and URL based. If has no concept of calling a method like "getRealPath()" to get a path relative to your webapp. The code is a

Re: The best way to get the context path

2001-02-09 Thread Tim Endres
Your context path can change depending on deployment. It is best to let the HttpServletRequest extract it from the URI. So the call to request.getContextPath() is your best bet. tim. where should I place the image filesPetr Podsednik wrote: img

Re: Too much caching? - the database has changed

2001-02-06 Thread Tim Endres
a table name different than the default one without touvhign the application-deployments folder? Wouldn't make more sense if I can change these things in the "ejb-jar.xml" that is part of the EJB package? Danut At 08:55 PM 2/5/2001 -0500, Tim Endres wrote: Check the docs. There

Re: HTTPS from Orion Java Bean

2001-02-05 Thread Tim Endres
Since I have no code, I can only guess... Sounds to me like you are getting a different URLConnection subclass in the two cases. I would try to print out the connection that you are getting to see what it is. Then you will need to see if you can correct the problem from there. tim. Hello all!

Re: Too much caching? - the database has changed

2001-02-05 Thread Tim Endres
Check the docs. There is a flag that you need to set to tell Orion that is does not have "exclusive" access to the database, and that it needs to recognize when a record is updated by a program other than Orion. I believe you need to look at the "exclusive-write-access" attribute of the

Re: How to specify cache time out period for images !!!!

2001-02-02 Thread Tim Endres
This is a very general HTTP/browser question that you might get a quicker answer to from a more target newsgroup, such as comp.infosystems.www.browsers, or one related to HTTP. However, if someone on this list has the answer, I know I sure would like to hear it. I wonder if have a servlet field

Re: Servlet loading twice if init() not finished?

2001-02-01 Thread Tim Endres
I believe that is perfectly normal behavior. Init() is called whenever a servlet instance is created, and they may be created at any time and in any number (unless you specify a limit in your servlet engine, or you use the single threaded model for your servlet, which I do not recommend for

Re: orion and mysql?

2001-01-30 Thread Tim Endres
I found it very easy...I use: http://mmmysql.sourceforge.net/ - jdbc driver http://javaexchange.com/ - connection pooling One variable i had was w/javaexchange's DBBroker, set AutoReconnect=true... so far so good...been using awhile Which mysql are you using? Not all

Re: Orion returns X EJB when you lookup for Y EJB !!!

2001-01-30 Thread Tim Endres
First, we faced big problem of lookup which everybody is facing. We solved that after very long exercise. Now we are facing another bigger problem. Please elaborate and explain to the list what you did to solve this problem. tim.

Re: application.log file size

2001-01-29 Thread Tim Endres
My thought is that you should rotate that log file the same way that many logfiles are rotated. Then it will not grow to 2.1GB. tim. Hey there, Has anyone ever delt with the application.log file size? We ran into a situation where orion died because it could not access the log file. It's

Re: Downloading a file via a Servlet

2001-01-29 Thread Tim Endres
We have a servlet that sends back PDFs that are stored in a database. Everything seems to work great but the one oddity/issue that I would like to solve if possible is. When someone wants to save the PDF, instead of viewing, it wants to save the PDF as the name of the servlet. I understand

Re: Session timeout

2001-01-25 Thread Tim Endres
Setting the session's timeout to infinite makes sense when you are managing the timeout within your logic. For instance, our system uses its own concept of an EJB session, which the servlet "fronts" with its own HTTPSession. Thus, when the EJB session times out, we would then invalidate the

Re: Connection reset by peer: socket write error Can someone help

2001-01-25 Thread Tim Endres
That is exactly correct. Say during a long download, the user hits the "Stop" button. The browser will close the connection, and the Exception indicated will be thrown by the underlying stream for the servlet. You will need to catch these exceptions if they are a problem for the servlet. tim.

Re: AW: Stand-alone-client

2001-01-18 Thread Tim Endres
ApplicationClientInitialContextFactory is the right factory when using application clients (J2EE - application-client.xml). If you want to use a pure stand alone Java Application RMIInitialContextFactory should be your choice. Please elaborate. What is the difference between an "application

Re: Stand-alone-client

2001-01-17 Thread Tim Endres
Try using: prop.setProperty( "java.naming.factory.initial", "com.evermind.server.rmi.ApplicationClientInitialContextFactory"); Hello! I'm trying to connect to my EJB's from a stand alone client like this: Properties prop = new Properties();

RE: Dynamic JSP in Orion

2001-01-10 Thread Tim Endres
I want to second this sentiment. We looked at JSP, Cocoon, Struts, and all of the other so-called "logic/presentation separation schemes". However, every time I looked at the pages of those schemes I saw code embedded in there. That did not look like separation to me. So, we built a simple

  1   2   >