JMS and MS MQ

2000-10-16 Thread Magnus Rydin
Does anyone have a setup involving JMS and Micro$oft MQ? Would be fun to hear your experiences with setting it up. WR

Re: Deleting cookies with Orion

2000-10-16 Thread Dave Ford
I'm trying to delete a cookie (setMaxAge=0), and calling res.addCookie(), but it doesn't look like the cookie is being removed from the client. The exact same code works in another servlet container. I am having the same problem. Did you ever solve this?? Thanks in advance. Dave Ford

setMaxAge(0) does not work correctly

2000-10-16 Thread Dave Ford
To delete a cookie called x, the following should work: Cookie c = new Cookie("x","bla"); c.setMaxAge(0); response.addCookie(c); But it doesn't. Upon inspecting the http response header that was actually generated, I found this: Set-Cookie: a=18; Path= I beleive that setMaxAge should result

Steps For Deploying the EJB

2000-10-16 Thread Santosh Kumar
Hi All, I am pretty new to EJB. Have started with Orion. I would like to know the step by step procedure for deploying an EJB Application on the Orion. Or atleast a pointer to the same. some url site? Some Doc? Please Help Me! Santosh.

RE: setMaxAge(0) does not work correctly

2000-10-16 Thread Christophe Hartwig
Hi ! I thought setMaxAge(0) was used to set a "transient" cookie, one that disapears when browser is closed... If you want the cookie to expire, you'll probably have to set it to a past date explicitely... Bye Christophe -Original Message- From: Dave Ford [mailto:[EMAIL PROTECTED]]

Re: setMaxAge(0) does not work correctly

2000-10-16 Thread Robert Krueger
At 01:19 16.10.00 , you wrote: please file a bug report in bugzilla. robert To delete a cookie called x, the following should work: Cookie c = new Cookie("x","bla"); c.setMaxAge(0); response.addCookie(c); But it doesn't. Upon inspecting the http response header that was actually generated, I

Calling EJB from outside an application.

2000-10-16 Thread Chris Randall
Please can you help, I have written a bean that is in an application, The orion-primer demo. I can call this bean from inside the application but when I try and call this from another servlet outside the application I get : javax.naming.NamingException: Error instantiating web-app JNDI-context:

Re: Entity bean ejb/entity/Autor autocreate table

2000-10-16 Thread Sven van 't Veer
Robert Krueger wrote: At 16:44 14.10.00 , you wrote: Robert Krueger wrote: check out orion-ejb-jar.dtd docs. you can change the table names to whatever you like. I knew that much, but that's created -after- deployment, and only if deployment was succesful. I was looking for a

Re: setMaxAge(0) does not work correctly

2000-10-16 Thread Joel Shellman
Which version of Orion are you using? I know at least one cookie bug that was recently fixed, so please make sure you are using a new version of Orion. Joel Shellman Chief Software Architect http://www.ants.com/90589781 - Original Message - From: "Dave Ford" [EMAIL PROTECTED] To:

Table Auto-Creation

2000-10-16 Thread S.Badrinarayanan
Hi all Can anyone tell how to stop the autocreation of tables when deploying an entity bean? Regards sb Chequemail.com - a free web based e-mail service that also pays!!! http://www.chequemail.com

Re: Table Auto-Creation

2000-10-16 Thread Robert Krueger
check out the dtds. it's autocreate-tables='false' per application in orion-application.xml if you never want to use it you can put it in global-application as a default for all others. HTH robert At 11:15 16.10.00 , you wrote: Hi all Can anyone tell how to stop the autocreation of tables

RE: Table Auto-Creation

2000-10-16 Thread Mike Cannon-Brookes
Easy one. Look at orion-ejb-jar.xml and orion-application.xml docs there's an "autocreate-tables" attribute, just set it to false. Mike -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of S.Badrinarayanan Sent: Monday, October 16, 2000 9:15 PM To:

RE: The New Java Pet Store

2000-10-16 Thread Ray Harrison
I thought so too, but -Djsp.tags.reuse=false produces the same error. --- Mike Cannon-Brookes [EMAIL PROTECTED] wrote: I'm thinking it's probably the same bug as in the first pet store, concerning tag reuse? Search the archives, something like -Djsp.tags.reuse=false Mike

RE: Table Auto-Creation

2000-10-16 Thread Arved Sandstrom
Check the Orion docs, specifically the tag descriptions for "orion-application.xml". Basically, though, the 'autocreate-tables' property on the top-level orion-application tag is set to "false" to _not_ have tables automatically created at deployment time for CMP beans. Arved Sandstrom

RE: Steps For Deploying the EJB

2000-10-16 Thread Kemp Randy-W18971
Santosh: I am new to Orion also, but a couple good primers are found in http://www.jollem.com/orion-cmp-primer and http://www.znerd.demon.nl/orion-primer. Randy -Original Message-From: Santosh Kumar [mailto:[EMAIL PROTECTED]]Sent: Monday, October 09, 2000 3:43 AMTo:

unicode parameters

2000-10-16 Thread Savotchkin Egor
Hi all, I send an encoded (in unicode by some javascript function from IE ) string of parameters to orion server from an applet. Each character of the string is substituted with its unicode value in the form %u, where X is a hex digit on the client side. On the server side

RE: Deleting cookies with Orion

2000-10-16 Thread Hani Suleiman
Title: RE: Deleting cookies with Orion Nope, I implemented a workaround though by setting the value of the cookie to something invalid, and had my servlets treat an invalid cookie as a non-existent one. -Original Message- From: Dave Ford To: Hani Suleiman; Orion-Interest Sent:

Orion 1.3.8 and Servlets

2000-10-16 Thread arjan
Guys, I have this small problem with my servlets.. whenever I make changes to them and recompile them, I have to restart my orion for the changes to take effect.. I know there is a development mode which auto compiles the files but I suppose that only applies to JSP's ? so what I would like to

EJB-EJB relationship example

2000-10-16 Thread Truong Di Ly
Hi, has someone a short example with EJB2 which use EJB-EJB relationship. The atm example doesn't run because i don't have a JMS server installed. Thanks, Di

Re: Table Auto-Creation

2000-10-16 Thread arjan
well, the orion-application.xml describes a "autocreate=true|false" the default is true, so setting it to false should do the trick. Arjan Wijnveen MarketXS B.V. On 16 Oct 2000, S.Badrinarayanan wrote: Hi all Can anyone tell how to stop the autocreation of tables when deploying an entity

Re: startup / monitor script?

2000-10-16 Thread Mike Atkin
From: "Robert Krueger" [EMAIL PROTECTED] At 20:22 15.10.00 , you wrote: Klaus - thanks I'll try that. On my other point, has anyone written a shell or perl script to do the following on Linux/Unix: 1) Start Orion 2) Monitor that the Java process Orion is running in is running 3) If

transport-guarantee

2000-10-16 Thread Savotchkin Egor
Hi all! Could somebody please explain me what this tag is for in Orion? When I set it to CONFIDENTIAL Orion just serves me with a blank page, so how do I use it? I thought I could use it to set up somethink like ssl to only part of my site... is it so? Egor Savotchkin.

resource factories

2000-10-16 Thread Christian Eichinger
Hi all Does anyone know how to integrate external resource factories in the orion container (the EJB Spec 2.0 draft only states that "A tool to allow the System Adminitrator to add, remove, and configure a resource manager for the EJB Server" should be provided by the container) thanks

RE: Orion 1.3.8 and Servlets

2000-10-16 Thread Hani Suleiman
Title: RE: Orion 1.3.8 and Servlets If you 'touch' any of the configuration files for your application (eg, web.xml), then Orion will reload that app. I use an ant build script which after installing the app, uses the touch task to force Orion to reload. -Original Message- From:

Re: setMaxAge(0) does not work correctly

2000-10-16 Thread Dave Ford
Which version of Orion are you using? I am using 1.3.8. Dave Ford

UserManager and the log file

2000-10-16 Thread jbirchfield
We have implemented our own usermanager, and everything works as expected, except logging. After logging in using FORM based authentication, we can successfully perform a 'request.getRemoteUser()' call to retrieve the users login information. I would expect that if the server knows the

RE: Deleting cookies with Orion

2000-10-16 Thread Robert Krueger
At 09:37 16.10.00 , you wrote: Nope, I implemented a workaround though by setting the value of the cookie to something invalid, and had my servlets treat an invalid cookie as a non-existent one. did you ever file this as a bug report in bugzilla? if not PLEASE do. Your helping yourself and

RE: Deleting cookies with Orion

2000-10-16 Thread Hani Suleiman
Title: RE: Deleting cookies with Orion I just filed it, and included David's Ford header debugging info. Bug #118. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Robert Krueger Sent: Monday, October 16, 2000 11:01 AM To: Orion-Interest

Re: Steps For Deploying the EJB

2000-10-16 Thread Jim Archer
Check out the Orion primer and Orion CMP primer at: http://www.jollem.com These are great starting points for making EJBs and deploying them. In particular, pay attention to the ant build files (build.xml) to learn how to package up the .ear file and its components. Good luck. Jim --On

dependent object - deepCopy()?

2000-10-16 Thread Tim Drury
I have an EJB, Contact, and a dependent object, Address. I have the deployment descriptor setup using the dependents and relationships area (based on another user's post). When I deploy, Orion throws this message at me: Error Compiling file ...: The dependent class tfc.Address should implement

Re: Orion 1.3.8 and Servlets

2000-10-16 Thread Flemming Seerup
Actually I think it's the default behaviour of Orion to reload servlets. (edit ORION-WEB.XML - development="true") Most servlet-servers offers this (even weblogic I think). The only trick is, that the servlet-classes must NOT be in the general class-path! If the classes is in the classpath,

R: transport-guarantee

2000-10-16 Thread Montebove Luciano
transport-guarantee means only that you can't call that component if you aren't in a secure (SSL) connection. Hope this help. Luciano -Messaggio originale- Da: Savotchkin Egor [mailto:[EMAIL PROTECTED]] Inviato: lunedi 16 ottobre 2000 15.57 A: Orion-Interest Oggetto:

Re: dependent object - deepCopy()?

2000-10-16 Thread Nick Newman
Hi Tim, The important word in the error message is ABSTRACT. In other words, you DON'T implement it! You just write: public abstract Address deepCopy(); and orion does the rest. Nick At 12:13 PM 10/16/00 -0400, you wrote: I have an EJB, Contact, and a dependent object, Address. I

Multiple Web-apps question

2000-10-16 Thread Michael Nash
My apologies if this is covered elsewhere, but I've dug through the list archives and the doc can't quite see this answer I have two web-applications, the second of which "depends" on the first - e.g. the first app is for example a series of eCommerce components, the second app is a

RE: Deployment platforms

2000-10-16 Thread Duffey, Kevin
We are attempting to deploy our admin site using Orion in a non-clustered environment. We are having some difficulties however..but not with Orion. At least I don't think so. Our problem is in our code I am pretty sure. We are getting connection leaks on occassion especially on large queries. We

RE: Orion 1.3.8 and Servlets

2000-10-16 Thread Duffey, Kevin
Title: RE: Orion 1.3.8 and Servlets Actually, in orion-web.xml (located in /orion/application-deployments/app_name/web_app_name/orion-web.xml) there is a setting for development..which you said. But also there is another option, called source-directory="/path/dir" and when development="true"

WEB-INF lib files

2000-10-16 Thread Tony Wiegand
Hi all, I'm running Orion 1.3.8 on Redhat 6.2. When I deploy my webapp it doesn't pick up the jar files placed in my WEB-INF/lib directory. I'm trying to use log4j with my servlets. If I place the jar files in the orion lib, everything works fine.The error the

Connection Pooling

2000-10-16 Thread Amir Peivandi
Title: RE: Deleting cookies with Orion Hi, I need to use connection pooling in one of my EJB objects and I don't want to use any Orion specific code so I can move the EJB from Orion to other application servers it works again. I was reading the Orion mailing list and I couldn't find

RE: dependent object - deepCopy()?

2000-10-16 Thread Reddy Krishnan
as far as the spec goes deepcopy is an abstract method that is implemented by the EJB container. I have not had any problems with this. -Original Message- From: Tim Drury [mailto:[EMAIL PROTECTED]] Sent: Monday, October 16, 2000 9:13 AM To: Orion-Interest Subject: dependent object -

Compressing the output stream

2000-10-16 Thread Kirby, Nathaniel
On jsp-interest [http://archives.java.sun.com/cgi-bin/wa?A2=ind9912L=jsp-interestP=R11079 ] I read *** Date: Mon, 6 Dec 1999 12:29:14 +0100 Reply-To: Volker Turau [EMAIL PROTECTED] Sender: A mailing list about Java Server Pages specification and

Re: Connection Pooling

2000-10-16 Thread Robert Krueger
that's what the datasource absraction hides from you. what else do you need? any EJB 1.1 example will do. there are lots of books ou there (a free one at www.theserverside.com) robert At 14:19 16.10.00 , you wrote: Hi, I need to use connection pooling in one of my EJB objects and I don't

URL Pathing

2000-10-16 Thread DMoy
To Whom this may concern: I have written an application using java and jsp technologies that was developed around Caucho's Resin web application server. During my testing, I've found that I cannot run my code on Orion because in every instance where I do a redirect, Orion expects that the

getProperty toString

2000-10-16 Thread Kit Cragin
Hi: I am trying to access a bean from my JSP code. The property on the bean is an object. I thought, reading from the spec, that the toString() method would be called on the object I am trying to access. For instance if I had: jsp:useBean id="book" class="Book" scope="session" / ...

displaying xml

2000-10-16 Thread Derek Akers
Hi all... I am trying to display the contents of an XML file to the screen, embedded inside a JSP page. That is, I want to include a header and footer on the page (for navigation purposes), with the XML in the middle. I want the text to be viewable literally (tags all), but I have been

log analyzers

2000-10-16 Thread Kemp Randy-W18971
Has anyone used any log analyzer packages with Orion - either on the Windows or Unix platforms? If so, what packages are you using? If anyone is setting up CGI with Orion, do you put the CGI scripts in the default Orion web directory (like you do the HTML pages)?

Re: URL Pathing

2000-10-16 Thread Robert Krueger
At 15:54 16.10.00 , you wrote: To Whom this may concern: I have written an application using java and jsp technologies that was developed around Caucho's Resin web application server. During my testing, I've found that I cannot run my code on Orion because in every instance where I do a

RE: log analyzers

2000-10-16 Thread Hani Suleiman
Title: RE: log analyzers Using Webtrends on windows here, and it's working nicely. We're in the process of switching to the enterprise edition (to handle cluster logfiles) -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Kemp Randy-W18971 Sent:

Exception thrown on request if content header length 2K

2000-10-16 Thread Roy, Jaideep
I've sent this to bugzilla #120. If the content header length exceeds 2K Orion throws the following exception: Orion 1.3.8 throws an java.lang.ArrayIndexOutOfBoundsException at com.evermind.server.http.ek.uz(JAX) at com.evermind.server.http.EvermindHttpServletRequest.yl(JAX)

Re: displaying xml

2000-10-16 Thread Troy E. Echols
Perhaps enclosing the xml in pre> /pre> will work. Troy Echols Derek Akers wrote: Hi all... I am trying to display the contents of an XML file to the screen, embedded inside a JSP page. That is, I want to include a header and footer on the page (for navigation purposes), with the XML in the

Re: displaying xml

2000-10-16 Thread Joseph B. Ottinger
Use the view taglibrary, attached. You can also see the in16 (jsptags) project on sourceforge. Usage: view:escapeBlah blah blah/view:escape On Mon, 16 Oct 2000, Derek Akers wrote: Hi all... I am trying to display the contents of an XML file to the screen, embedded inside a JSP page. That

RE: Connection Pooling

2000-10-16 Thread Duffey, Kevin
Title: RE: Deleting cookies with Orion As far as I know, you will want to use DataSources, JDBC 2.0 and what not..they are standard to J2EE, so they should allow it to work. I know Connection Pooling is not Orion specific (in that it implements the J2EE standard for connection pooling). Its

RE: URL Pathing

2000-10-16 Thread Duffey, Kevin
I am not sure about Resin any longer, but it used to work fine for me on both. I know Orion follows the J2EE specs with Servlet 2.2/JSP 1.1. I would assume they are both doing so. Needless to say, without any example I am not quite sure what you mean. In my web-app, deployed in Orion, I use the

RE: orionsupport.com

2000-10-16 Thread Frank Eggink
Joseph, I think better sources of information then the standard documentation is great and very helpful for people using Orion. I have sometimes great difficulties getting things sorted out to the extend I'm wondering whether I'm on the right track. Assuming I'm not the only one in that

Re: log analyzers

2000-10-16 Thread Joel Shellman
Kemp Randy-W18971 wrote: Has anyone used any log analyzer packages with Orion - either on the Windows or Unix platforms? If so, what packages are you using? If anyone is setting up CGI with Orion, do you put the CGI scripts in the default Orion web directory (like you do the HTML

RE: URL Pathing

2000-10-16 Thread Kurt Hoyt
Title: RE: URL Pathing Yes, stuff the information about the root of your system somewhere so you can change it easily across your JSPs. Apparently, this is a hazy part of the servlet/JSP spec(s) that vendors have chosen to implement differently. Kurt in Atlanta -Original Message-

Re: URL Pathing

2000-10-16 Thread Christian Sell
thats an old story (see list archives). When it comes to sendRedirect, Orion interprets "/" as denoting the current context root, whereas all other servlet engines (including Tomcat, the J2EE reference impl) interpret it as the server document root. When this issue was discussed a while ago, the

Re: displaying xml

2000-10-16 Thread Derek Akers
Hi Troy, thanks, but I've already tried. the pre /pre tags do preserve the indentation of the XML, but do not allow for the displaying of tags for some reason. - Original Message - From: Troy E. Echols To: Orion-Interest Sent: Monday, October 16, 2000 5:09 PM

Tunnel Problem

2000-10-16 Thread David Kenzik
I saw someone mention this in the archive, but there was no response to the question. I have my tunnel servlet section setup, and my servlet-mapping setup properly. I'm merely trying to grab .gif files from my Apache server. I know the Tunnel class is being called, because it's triggering this

Re: More JMS woes :(

2000-10-16 Thread Simon Harris
Cheers. Will do. - Original Message - From: "Robert Krueger" [EMAIL PROTECTED] To: "Orion-Interest" [EMAIL PROTECTED] Sent: Sunday, October 15, 2000 10:21 PM Subject: Re: More JMS woes :( it's not too unlikely these are bugs as from the impression I get on this list it could be that

Re: displaying xml

2000-10-16 Thread Porfiriev Sergey
To Magnus Karl Avedal: it will be good idea to open "users contribution" topic at www.OrionServer.com ( like orionsupport was). and as result traffic in orion-interest will be decreased :) - Original Message - From: Derek Akers To: Orion-Interest Sent: Monday, October

RE: displaying xml

2000-10-16 Thread Hani Suleiman
Or how about a faq-o-matic? Seems ideal for this kind of thing. -Original Message-From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Porfiriev SergeySent: Monday, October 16, 2000 8:33 PMTo: Orion-InterestSubject: Re: displaying xml To Magnus Karl

EJB-lookup problems with moved Product ejb example

2000-10-16 Thread Vivek Iyer
Hello all, I'm getting a frustrating problem trying to bring up the "Product" entity bean inside Orion 1.4.0 (after latest autoupdate - though I had the problem with 1.3.4 as well). It only happens _after_ I move the location of the class files from d:\orion\demo\ejb\product to

calling EJBs from outside orion

2000-10-16 Thread Greg Matthews
dear all, is it possible to call EJBs running in orion from a java program started at the DOS command line, i.e from outside orion? i guess i might have to generate the client stubs (?). has anyone done this? this would be useful when building the ejb components to be used by the web

userThreads + calling EJBs from outside orion.

2000-10-16 Thread Greg Matthews
dear all, i've started orion 1.40 as follows: java -jar orion.jar -userThreads and then tried to get a reference totheInitialContext, and received this stack trace. f:\dev\scriptjava -classpath f:\orion\orion.jar;f:\jdk1.3\jre\lib\rt.jar;f:\classes

Re: Communication Error with moved Product ejb example

2000-10-16 Thread Jim Archer
Hello Vivek... --On Monday, October 16, 2000 10:20 PM -0500 Vivek Iyer [EMAIL PROTECTED] wrote: The error I get is (ultimately): D:\vivek\pricing\ejb\productjava ProductClient Communication error: Error reading application-client descriptor: No location specified and no suitable instance

Re: calling EJBs from outside orion

2000-10-16 Thread Jim Archer
Hi Greg... You won't find this messsage too helpfull, except that I can tell you it can be done. I tried it and got it to work. I did so be searching the archives. I no longer have the code I slapped together, or else I would sent it to you. Bu the answer is in the mail list archive. Good