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 di

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

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: orion 1.5.4 not compatible with java 1.4

2002-02-16 Thread Tim Endres
My guess would be that your tools.jar file is from from JDK1.3, and it properly complains that the java.lang.Object.class file, from JDK1.4, has a version number more recent than what the compiler understands. tim. > Hi everybody, > > does anyone know, why the orion 1.5.4 is not fully compatibl

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

2001-08-07 Thread Tim Endres
> I have the cvs web perl script that we used to use with apache I have tried with no >luck to get it working with orion. > > Has anyone here done this? get some type of cvs web scrip working for orion. > > Thanks.. > Frank I have gotten jCVS Servlet to work (www.jcvs.org), but then it is ser

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

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 serv

Re: Error running java -jar orion.jar -install

2001-06-10 Thread Tim Endres
Between release 1.4.7 and 1.4.8, Orion switched over to Xalan 2. It appears from the stack trace that you have somehow confused the JAR files related to Xalan. Did you by chance copy your own versions of the JARs into Orion's folder? tim. > Hello, I recently downloaded Orion 1.5.2 and I get the

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 compile

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 conte

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

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 fea

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 arti

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. B

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 ca

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 lit

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. > &g

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: [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 > j

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-03 Thread Tim Endres
> found in the server > Orion/1.4.5 initialized > > I guess the real trouble is that I'm not sure of the distinct meanings > between > "server" > "web site" > "web appliction" > "default web site" > "default web applict

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 have

Re: broken default web app - not found

2001-05-02 Thread Tim Endres
In my server.xml file, I have the following line: 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: Note how the path is a path, not an xml file. It could also be your EAR file if you have

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

Re: MVC/XML Framework Comments please

2001-04-26 Thread Tim Endres
t our code can 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

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 tr

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 pr

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 co

RE: work around for rh7.1

2001-04-22 Thread Tim Endres
Hmm. Thanks for pointing that out. Is it specifically running Orion where you see the problem, or are you seeing it with other Java applications also? I ask because I am currently running Tomcat 3.2.1 with Apache on the GJT, and so far I have not had any problems with Java, servlets, JavaDoc or J

Re: work around for rh7.1

2001-04-22 Thread Tim Endres
There is a simpler workaround that does not require you to modify your installation. Simply edit $JAVA_HOME/bin/.java_wrapper and add: export LD_ASSUME_KERNEL=2.2.5 Add this right after the setting of PATH. This works for me with 1.3.1rc1 under RH7.1. tim. > If you have not installed red ha

RE: .zip files and solaris

2001-04-21 Thread Tim Endres
hat'll 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 > &

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

RE: A Swedish Idea

2001-04-18 Thread Tim Endres
> For developers looking to seriously develop commercial-class or commercial > software and resell it, licenses are EVERYTHING, and the specific wording is > VERY IMPORTANT if you wish to have a business that appeals to the corporate > types or serious commercial customers (not to mention one that

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

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

2001-04-13 Thread Tim Endres
stored in there, and execute 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...

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

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: JBoss verses Orion

2001-04-02 Thread Tim Endres
> I have been trying to resolve the issue with "domain was null" > NullPointerException in Orion for the last 4 weeks, with no repsonse. How am > I supposed to continue using this product? I think the answer is that you should not. If I were using a product that did not work, and got no help from

Re: Does any one has a solution for the "domain was null" message???

2001-03-29 Thread Tim Endres
Inside the container, you are supposed to use ApplicationInitialContextFactory instead of ApplicationClientInitialContextFactory. Have you tried that? > Could someone help me with this problem. When trying to create a new > InitialContext with factory > com.evermind.server.ApplicationClientIniti

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

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

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 /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, the

RE: Orion + IE + HTTPS = Trouble

2001-03-26 Thread Tim Endres
ompany's secure sites, so > something is being handled 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 PROTEC

Re: JNDI SecurityException

2001-03-26 Thread Tim Endres
First, have you tried using ApplicationClientInitialContextFactory as opposed to RMIInitialContextFactory? Second, I believe it is a known bug in Orion that servlet's do not properly send their user/password information to the app server. In other words, Servlet InitialContext authentication is br

Re: Orion + IE + HTTPS = Trouble

2001-03-26 Thread Tim Endres
The artical you reference on Microsoft's site explicitly states that the problem is in MS's products, which implies it is not an Orion problem. Further, the problem is related to BASIC AUTH dialogs. Thus, the reason I believe you are not seeing this problem in general with other servers is that no

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 user/passwo

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

2001-03-22 Thread Tim Endres
We take a fundamentally different approach. We define the session in the EJB world. In other words, we have a UserSession Entity Bean. This bean is used much the way that HttpSessions are used, but it exists within the container world. We then store the UID (primary key) of the UserSession entity

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: applicationClientInitialContextFactory problem

2001-03-21 Thread Tim Endres
If I remember correctly (check the archives for messages on this topic), you need to use the RMI InitialContext Factory, as opposed to the Application Client IC, for applets. tim. > I am trying to use authentication based on principals.xml > I am in an applet, and run the following: > env = new

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 th

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. tim. > Hello all, > > I'm setting up J2EE program and I'm having trouble getting the Java mail > to work. I am ge

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 ess

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

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

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

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: Why is Hypersonic SQL still being integrated

2001-03-14 Thread Tim Endres
> If HypersonicSQL is a dead project, why is it still being shipped with Orion? What is the better alternative?

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 hardco

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. > <%@ pa

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/f

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 dir

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 b

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 luc

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

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 ne

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: 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.(AttributeSet.java:139) Richard, do you have the source code for that line it is croaking on? tim.

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 rela

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 yo

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: 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: 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: > I keep getting internal server errors (HTTP 500), where do I go to de

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 w

Re: Bowser back buttons and jsp

2001-02-22 Thread Tim Endres
I believe you will need to design your system to accomodate this case. There is no workaround that I am aware of, and this is a very common user behavior. tim. > This question doesn't really apply to the webserver in general. I have > developed an ecommerce application using java beans and jsp.

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 workaroun

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.

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

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 env

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

2001-02-13 Thread Tim Endres
t; ago, and he > > > confirms the behaviour described in the spec. If you have > > > used SAXON in any > > > other way, and/or followed Mike on the Mulberry XSLT mailing > > > list, you'll > > > realize that here's a guy who is so up on XSLT that

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 freet

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:

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
MAIL PROTECTED]> ] > Sent: Tuesday, February 13, 2001 2:47 AM > To: Orion-Interest > Cc: Duffey, Kevin > Subject: RE: Why xsl:include seems to try to find files in /Orion folder > a nd n ot web-app root? > > > Orion should just replace Xalan for Saxon anyways... and u

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 need

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

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: > > > - I know that you often need your own context

  1   2   >