Questions about JNDI Initial context

2001-02-28 Thread Thierry Cools
Hi, I already saw a lot of questions/answers about that in the mailing archive but none of them really answered the question so I'd like to evaluate the web-tier of Orion using an existing EJB application running on weblogic 6.0, I already did the same thing with Tomcat and in that

AW: Accessing Orion as EJB Server

2001-02-28 Thread Tibor Hegyi
I was not clear enough, I have not got problems with accessing my EJBs from a servlet within the SAME J2EE application, i.e. when the servlet and EJB is deployed in the same .EAR file. I have problems with accessing EJBs remotely from a remote Servlet client! Please see my first mail below and

SV: Orion taken over

2001-02-28 Thread Magnus Rydin
Title: SV: Orion taken over The source of all that was a 'quip' (a joke) on Bugzilla, nearly a year ago. Funny how these things gets a life of their own :) WR -Ursprungligt meddelande- Från: Ray Harrison [mailto:[EMAIL PROTECTED]] Skickat: den 27 februari 2001 08:36 Till:

JNDI Initial context questions

2001-02-28 Thread Thierry Cools
Hi, I already saw a lot of questions/answers about that in the mailing archive but none of them really answered the question so I'd like to evaluate the web-tier of Orion using an existing EJB application running on weblogic 6.0, I already did the same thing with Tomcat and in that

Remote JMS access

2001-02-28 Thread Matt Simmerson
Title: Remote JMS access I have a remote JMS client which publishes to a subscriber. The subscriber is on the same box as orion - no problem. The publisher is remote. Everything in the remote client works if the classpath includes orion.jar. I don't want to copy this around. I have put the

EJB values into xml attributes (a little off topic, I know)

2001-02-28 Thread Randahl Fink Isaksen
PROBLEM I have a question regarding taking properties from an EJB and generating XML output. To explain, here is an example of my problem: poem title = "%= myPoem.getTitle()" %= myPoem.getContents() % /poem Because title is an XML attribute I think special characters like '' needs to be

RE: Orion as a Win2000 service ?

2001-02-28 Thread Toth [EMAIL PROTECTED], Adam \(E-mail\)
In the archive I've found the following: From:Larry Velez [EMAIL PROTECTED] Subject: Orion as a Win2000 service I am running Orion as a service using the following RunSvcExe script: Note that jvmi.exe (http://www.kcmultimedia.com/jvmi/) is necessary because of a bug (or feature) in Win32

message javax.transaction.RollbackException

2001-02-28 Thread Stanislas Truffaut
Hi, How to get the original Exception that have generate a rollback in a Statefull SessionBean "bean-managed transaction" ? I've a SessionBean that do: try { UserTransaction tx = ...; tx.begin(); ... set on an Entity BMP that generate SQLException

RE: I switch from X to Orion because:

2001-02-28 Thread Thomas Pridham
I switched because: 1. Bluestone's Total-e-Server will cost you over $100,000.00. And that is an iteration based license.After so many app server iterations (oh yeah, they don't tell you what an iteration is...), it's time to buy more iterations (HP now owns this company). 2. Tomcat does

orion.jar needed for JNDI-lookup??

2001-02-28 Thread Stefan Wendel
Hi everybody, we are running a Swing-application accessing via HTTP/RMI to an EJB-server. To do the JNDI-lookup class "com.evermind.server.ApplicationClientInitialContextFactory" is used as describes in the orion-doc. The problem: this class is located in orion.jar (2.sthg MB), which is

RE: Good tutorial

2001-02-28 Thread Kemp Randy-W18971
Time to clarify my remarks. I agree with all you said, and I met for J2EE deployment purposes. Thanks for pointing out that we have apples and oranges here. -Original Message- From: Ernst de Haan [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 27, 2001 6:25 PM To: Orion-Interest

RE: Orion as a Win2000 service ?

2001-02-28 Thread Toth [EMAIL PROTECTED], Adam \(E-mail\)
I have to reply to my own question, since I got a quick response from the author of JVMI. The solution is to put orion.jar to classpath and invoke the main class: c:\jdk1.3\jre\bin\hotspot\jvmi.exe -cp orion.jar com.evermind.server.ApplicationServer It's seems to be working. Sorry if it was

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

2001-02-28 Thread Ernst de Haan
Hi Stefan, we are running a Swing-application accessing via HTTP/RMI to an EJB-server. To do the JNDI-lookup class "com.evermind.server.ApplicationClientInitialContextFactory" is used as describes in the orion-doc. Do you *need* to downcast to ApplicationClientInitialContextFactory, or can

Database schema type mappings

2001-02-28 Thread Randahl Fink Isaksen
If you look at the database schema in "orion/config/database-schemas/hypersonic.xml" it looks as if it is mapping between the primitive java type "int" and the corresponding database type "int": type-mapping type="int" name="int" /. In my EJBs my primary keys and other attributes are of type

Re: Classpath

2001-02-28 Thread Luis Javier Beltran
Title: RE: Classpath Thanks a lot! Luis Javier Hi, It seems to me that if you start orion like "java -jar orion.jar" there is a problem with setting the classpath. I start orion like this : set SERVER_PATH=.;%JDBC_PATH%;%OTHER_PATHS% java -classpath "%SERVER_PATH%"

Re: EJB values into xml attributes (a little off topic, I know)

2001-02-28 Thread orionEJB
You can use title as element not as attribut in your XML document. Then you can to use CDATA. Everything inside a CDATA section is ignored by the parser. poem title ![CDATA[ everything you want.. ]] /title /poem BaV RFI PROBLEM RFI I have a question regarding taking properties

Re: Form based authentication problem

2001-02-28 Thread Jonathan James
FYII came up with something that makes it work. I edited the MainServlet.java file and added a doPost method that just calls the doGet method already implemented.This makes perfect sense except that it worked as it was on the Sun Reference Implemetation, JBoss/Tomcat, Weblogic5.1, and

RE: Orion as a Win2000 service ?

2001-02-28 Thread Thomas Pridham
In our production environment (win2000), we are using JNT to run Orion as a service: http://www.eworksmart.com/jnt/ Works great. One bug is when you issue a stop command, the stop dialog hangs halfway through, but the service is stopped. Can't beat the price, free!!! -Original

RE: CMP 2.0

2001-02-28 Thread Tim Drury
Title: RE: CMP 2.0 I've been out for a few days, so it this has been answered, sorry for the repost. This sounds like you didn't set the transactional behavior in ejb-jar.xml as required. There is no default behavior in the spec so it is up to the container to decide what the default

RE: I switch from X to Orion because:

2001-02-28 Thread Kemp Randy-W18971
Just a comment onTomcat. I agree that Orion is a great product, and Tomcat has a funky protocol arrangement with Apache, but that will get better. Right now, Tomcat is integrated with Jboss, and there is talk of putting Apache into the equation. Openejb is also stated to be integrated with

RE: simple JSP bug with switch

2001-02-28 Thread Margulies, Adam
Title: RE: simple JSP bug with switch OK, this seems reasonable. My worry was in transitioning from other engines one of my first experiences was coming up against something simple that wouldn't compile properly in Orion. My first thought was uh oh, how many more inconsistencies am I going to

RE: Multiple CPUs

2001-02-28 Thread cybermaster
Is there an Orion option something like the -multiVM startup option in j2ee RI ? --peter

RE: Form based authentication problem

2001-02-28 Thread cybermaster
Post works for me in my test code what error do you get? --peter -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Jonathan James Sent: Tuesday, February 27, 2001 9:50 AM To: Orion-Interest Subject: Form based authentication problem I'm

RE: problem in accessing ejb from a bean in web-inf/classes direc tory .

2001-02-28 Thread Andre Vanha
These should be in the WEB-INF directory. If you have your application packaged as WAR file it should have a folder called WEB-INF. Your web.xml file should be there. If you're running your code using orion's default web app, you'll find the file under orion/default-web-app/WEB-INF. In your

RE: JAXP

2001-02-28 Thread Andre Vanha
The other day, somebody posted a well written document on Java2 class loaders. I wish I had the url to the document, but I can't find it. The gist of the document was this: All class loaders within a jvm form a hierarchy with the boot class loader being at the root. No matter which class

Re: simple JSP bug with switch

2001-02-28 Thread Margulies, Adam
Title: Re: simple JSP bug with switch OK, this seems reasonable. My worry was in transitioning from other engines one of my first experiences was coming up against something simple that wouldn't compile properly in Orion. My first thought was uh oh, how many more inconsistencies am I going to

In Orion, are tag handler instances reused or reinstantiated?

2001-02-28 Thread Blacha, Bart
We are trying to figure out if tag handler objects are re-used, or instantiated-and-destroyed at every request. This is obviously important for performance reasons. There is conflicting information in JSP spec and on JGuru (see references below). So maybe it's an implementation-specific issue.

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

2001-02-28 Thread Stefan Wendel
Hi Ernst, there is no superclass since InitialContextFactory is an interface which is implemented by ApplicationClientInitialContextFactory directly (so every vendor provides his own InitialContextFactoryClass...) It should work like this: when the class is needed it should be loaded by the

mail.jar POP3

2001-02-28 Thread Andre Vanha
Hello, I'm trying to add POP3 functionality to my application on orion. Unfortunately, the mail.jar that ships with orion does not include the POP3 provider. Does anyone know how I can enable the POP3 provider from Sun without replacing, or otherwise having to modify the existing mail.jar?

recreate tables for a cmp

2001-02-28 Thread John Hogan
All, I have a cmp that has been deployed and has created tables for itself. Now, I'd like to migrate to a different schema/db. Changing the schema connect string info in data-sources.xml to point at a different db, and restarting orion does not by itself trigger recreation of the entitybean

RE: Database schema type mappings

2001-02-28 Thread Michael A Third
Randahl, We use the primitive long for all of our primary keys for a couple of reasons: * primary keys can't be null so there isn't a need for Long (or Integer) * long's are always 4 bytes no matter what the CPU (32bit vs 64bit), which is currently not a problem but could be when Itanium

RE: Servlet Cache - How do I purge it

2001-02-28 Thread Juan Lorandi (Chile)
$orion\application-deployments\YOUREAR\YOURWAR\persistance kill every file, the orion will recompile HTH, JP -Original Message- From: Paul G. Markovich [mailto:[EMAIL PROTECTED]] Sent: Sunday, February 25, 2001 11:07 PM To: Orion-Interest Subject: Servlet Cache - How do I purge

Re: Classpath

2001-02-28 Thread Christian Sell
Hi, It seems to me that if you start orion like "java -jar orion.jar" there is a problem with setting the classpath. the problem is that the Java documentation explicitly says that if the jar invocation mechanism is used, the classpath is taken from the manifest file inside the jar, and all

Re: I switch from X to Orion because:

2001-02-28 Thread Christian Sell
2. Tomcat does not support EJB, even if it did, getting Tomcat Apache working together is sometimes a hair-pulling experience. now what exactly was your problem there? I just installed tomcat under apache on my new Linux box, and had no problems at all - just followed the instructions. And

signoff EJB-INTEREST

2001-02-28 Thread Lu, Michael
signoff EJB-INTEREST

RE: I switch from X to Orion because:

2001-02-28 Thread Victor A. Salaman
Tomcat does not support EJB... the original author of the message meant Tomcat JBoss... And that integration is pure hell... Of course, you can download the already integrated version, but you'd be getting an old JBoss and an old Tomcat... The main problem with Tomcat and JBoss is also their

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

2001-02-28 Thread Ernst de Haan
Ok, there is no superclass since InitialContextFactory is an interface which is implemented by ApplicationClientInitialContextFactory directly (so every vendor provides his own InitialContextFactoryClass...) Can you show that part of your code? Perhaps you can do smthng like this: //

Servlet Filters

2001-02-28 Thread Mike Bosch
Hi, We're currently trying to move our web site from running IIS to hopefully Orion and we've come across something in the servlet container that we're hoping someone has seen or dealt with themselves before. We want to use a servlet filter to intercept *all* requests that come into the web

Connecting to LDAP from Orion

2001-02-28 Thread Franklin Kingma
Hi all, Today I tried to connect to a LDAP server so I tried some things for a while, but no luck... Has anyone done this before? Do you know of some docs/tuts from which I can learn how to do this? thanks! franklin

Orion with tomcat!!!

2001-02-28 Thread JangHo Ki
Hello. I know it has been mentioned in serveral times. However, I could not make Orion as EJB server work with Apache Tomcat. A servlet is placed to access ejb at tomcat's WEB-INF/classes directory, along with application-client.xml under META-INF directory. The servlet looks as follows:

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

login security include file

2001-02-28 Thread Vaskin Kissoyan
I'm trying to do a response.sendRedirect() from an include file jsp:include and wanted to avoid doing a directive.include (preparser), I keep getting "Response has already been committed, be sure not to write to the OutputStream or to trigger a commit due to any other action before

RE: I switch from X to Orion because:

2001-02-28 Thread Arved Sandstrom
Just a few comments...not angry comments. :-) As a committer on an Apache project, let me just say that decisions to support JDK 1.1, on a per-project basis, are not about supporting "dead things". We have, in fact, people who _must_ use JDK 1.1 (probably more than you might think). As another

Orion with tomcat!!!

2001-02-28 Thread JangHo Ki
Hello. I know it has been mentioned in serveral times. However, I could not make Orion as EJB server work with Apache Tomcat. A servlet is placed to access ejb at tomcat's WEB-INF/classes directory, along with application-client.xml under META-INF directory. The servlet looks as follows:

RE: Servlet Filters

2001-02-28 Thread Trond Nilsen
We want to use a servlet filter to intercept *all* requests that come into the web server. Is this possible? It seems to work for all files when I put the URL filter as "/" or "/*". But we're also looking to be notified when a directory resource is requested. An example of this might be a

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

2001-02-28 Thread Greg Matthews
thanks for the response. i'm more of a java programmer than a web site administrator so i'm a bit in the dark here. does that mean that i need two network cards in my machine if i want to use 2 appname-web-site.xml files? you suggest changing the host attribute from [ALL], what should i

Clustering and Multicasting

2001-02-28 Thread Jesse Schoch
I have installed a 3 node orion cluster(2 on windows2k and 1 on linux) and have it working just dandy, the replication seems to work and so does the loadbalancer but... I also have a bsdi box, and recently upgraded to the 4.2 version which has a JDK and JVM on which orion runs fine, but when I

RE: I switch from X to Orion because:

2001-02-28 Thread Victor A. Salaman
-Original Message- From: Arved Sandstrom [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 28, 2001 5:42 PM To: Orion-Interest Subject: RE: I switch from X to Orion because: Just a few comments...not angry comments. :-) As a committer on an Apache project, let me just say

RE: Accessing Orion-EJB-Server on one machine from Orion-web-serv er on another?

2001-02-28 Thread Paul Knepper
What should the path setting look like? I have an my-app.ear in the applications directory. In that ear I have a my-ejb.jar etc... I tried just using path="my-ejb.jar" it didn't work. I tried path="my-app/my-ejb.jar" it didn't work. In my server.xml on the remote machine my ear app is setup

Re: Connecting to LDAP from Orion

2001-02-28 Thread Jesse Schoch
i've set it up, there are examples at java.sun.com for how to use jndi make sure you have your dn correct, it will save you lots of time - Original Message - From: "Franklin Kingma" [EMAIL PROTECTED] To: "Orion-Interest" [EMAIL PROTECTED] Sent: Wednesday, February 28, 2001 3:38 PM

RE: I switch from X to Orion because:

2001-02-28 Thread Michael J. Cannon
And let's not forget how J2EE 1.3beta3 is packaged...TomCat 3.2.1!!! -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Victor A. Salaman Sent: Wednesday, February 28, 2001 2:20 PM To: Orion-Interest Subject: RE: I switch from X to Orion because:

Invalid manifest format I/O Exception?

2001-02-28 Thread Globetrot Communications
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 directory. The manifest file is: ___ Manifest-Version: 1.0 Created-By: Ant 1.2

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: I switch from X to Orion because:

2001-02-28 Thread Mike Cannon-Brookes
On another note (am I imagining things?) or isn't JDK2 _REQUIRED_ for J2EE ? (Apache-folk: note the 2 in J2EE) That tells me that Tomcat can never effectively be part of a true J2EE server. Other than that I agree with all that Victor has said. Apache products suffer from - severe bloat, -

Re: mail.jar POP3

2001-02-28 Thread Peter Kua
get the latest mail.jar from sun The POP3 service provider is now bundled in JavaMail 1.2. replace the mail.jar in orion with the one you downloaded. i've tried it and it works! peter - Original Message - From: "Andre Vanha" [EMAIL PROTECTED] To: "Orion-Interest" [EMAIL PROTECTED] Sent:

Re: Orion with tomcat!!!

2001-02-28 Thread Alex 'Kazuma' Garbagnati
I know it has been mentioned in serveral times. However, I could not make Orion as EJB server work with Apache Tomcat. A servlet is placed to access ejb at tomcat's WEB-INF/classes directory, along with application-client.xml under META-INF directory. That's strange. I've built two different

Struts (was: I switch from X to Orion because: )

2001-02-28 Thread Jeff Schnitzer
This subject is especially timely for me because I just finished evaluating both WebWork and Struts. I decided to go with WebWork. It wasn't so much that I was drawn to WebWork's technological coolness - there are some neat ideas there, but I think most could be adapted into Struts with a

RE: Database schema type mappings

2001-02-28 Thread Jeff Schnitzer
You're thinking C++. In Java: A long is 8 bytes, always. An int is 4 bytes, always. The byte-orders are fixed independent of the hardware, too. Speaking of byte size, here's something I found amusing (and annoying): long millisInMonth = 1000 * 60 * 60 * 24 * 30; Date

RE: CMP 2.0

2001-02-28 Thread Jeff Schnitzer
? I have all my transactional behavior defined as NotSupported and I use EJB 2.0 container managed relationships without issue. I don't currently need transactions for what I'm doing. Randahl, have you examined the contents of the database tables and the orion-ejb-jar.xml closely? Jeff

RE: Database schema type mappings

2001-02-28 Thread Jeff Schnitzer
From: Randahl Fink Isaksen [mailto:[EMAIL PROTECTED]] 1. Why is Integers automatically converted to int by Orion - and is this a standard EJB convention? Yes. All the class representations of the primitive types should work that way. 2. Would it be legal to have a primary key of the

referring to a jar from an ejb-jar file/directory?

2001-02-28 Thread Gary Shea
I have an ejb application running under orion. I want to restructure the code so that some common code is put into a jar. The problem is that I can't figure out a way, short of putting the jar in the orion/lib directory, to make the contents of the jar available to the ejb side of the

RE: referring to a jar from an ejb-jar file/directory?

2001-02-28 Thread Mike Cannon-Brookes
Running it out of a directory I'm not sure the MANIFEST Class-Path: will work. I know if you use a JAR, it will work that way. It's the way the OSCore library works, http://www.opensymphony.com/oscore -mike -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On