Re: BMP vs CMP with Orion

2000-11-03 Thread Cory Adams
At 11:44 PM 11/3/00 +0100, Robert Krueger wrote: >At 11:23 03.11.00 , you wrote: >>I have looked through the 2.0 spec and find the chapters regarding CMP to >>be daunting. It appears as though the complexity of writing my own SQL in >>BMP has to be balanced against learning an entire new way of m

RE: Beginner: Step by step tutorial?

2000-11-03 Thread Duffey, Kevin
May I suggest something... Being that J2EE is already available in most app servers, and the next version is just about to have its specs closed upon, why not move full fledge into a J2EE type of development, where you use JSP pages (instead of Servlets returning HTML in the code (via response)),

NullPointerException with validateXML on

2000-11-03 Thread Dave Ford
When I turn on -validateXML, I get a NullPointerException at Orion startup. If I remove my datasources from data-sources.xml, the error goes away. Any suggestions? Here is the stack trace: java.lang.NullPointerException at com.evermind.server.deployment.EnterpriseArchive.ajv(JAX)

Re: BMP vs CMP with Orion

2000-11-03 Thread Robert Krueger
At 11:23 03.11.00 , you wrote: >I have looked through the 2.0 spec and find the chapters regarding CMP to >be daunting. It appears as though the complexity of writing my own SQL in >BMP has to be balanced against learning an entire new way of managin >persistence within the XML deployment descrip

Transaction propagation question

2000-11-03 Thread Aziz Sharif
I have a question regarding transaction propagation. I took the orion primer example and modified it so that the servlet calls Hello and then the Hello Bean calls A HashCoder bean. Both Hello and HashCoder beans are stateless session beans and perform SQL. The Hello does a delete and the HashCoder

RE: Debugging of beans

2000-11-03 Thread Rob Lapensee
Boris,   I have successfully got netbeans to set a break point and stop a running ejb in progress under orion, and then go on to single step and show variable contents.   It working by using something called JPDA. You will need JPDA installed and netbeans will need to be started with

Re[4]: xml,xsl in orion

2000-11-03 Thread Dylan Parker
Friday, November 03, 2000, 10:21:39 AM, you wrote: > Ok..that sounds great. Now, how about an XSL example? :) Take a look at http://www.xmlinfo.com/uses/ at the bottom.. a list of sites that use XML behind the scenes and then some sort of transformation to produce HTML (possibly using XSLT.. but

RE: 128-bit SSL

2000-11-03 Thread Lorin Kobashigawa-Bates
That might be your problem, Verisign doesn't have a 128bit Javasoft key. When we asked for a 128bit Javasoft key, we got a lot of confusing responses, eventually discovering that tho they don't have one, they are perfectly happy to send you the 40 bit one, and tell you it's 128bit. then when it

RE: 128-bit SSL

2000-11-03 Thread Sach Jobb
I think the max you can do with JavaSoft is 40bit. I would try using the Netscape 128bit one. Make sure you generate the original key pair using the US "Do-Not-Export-Or-We-Will-Kill-You" version of the JSSE. We used RSA too. sach On Fri, 3 Nov 2000, Raymond Pancura wrote: > We are using the U

BMP vs CMP with Orion

2000-11-03 Thread Cory Adams
I have looked through the 2.0 spec and find the chapters regarding CMP to be daunting. It appears as though the complexity of writing my own SQL in BMP has to be balanced against learning an entire new way of managin persistence within the XML deployment descriptors which seems to be no less or p

Re: Name of application

2000-11-03 Thread Christian Sell
what do you mean by "name of the current web application"? You can get at the context path via HttpServletRequest.getContextPath(), which is the part of the URL which distinguishes the app in the context of a domain/server: public java.lang.String getContextPath() Returns the portion of the reque

RE: Beginner: Step by step tutorial?

2000-11-03 Thread Kemp Randy-W18971
I found an excellent resource recently at http://www.execpc.com/~gopalan/java/ejb.html. I recommend it to everyone. -Original Message- From: Winnie Leung [mailto:[EMAIL PROTECTED]] Sent: Friday, November 03, 2000 11:31 AM To: Orion-Interest Subject: Beginner: Step by step tutorial?

Re: Beginner: Step by step tutorial?

2000-11-03 Thread Cory Adams
You would always use JDBC. You do have a choice of which driver to use though. If you want to use the OCI native drivers you can specify those in the JDBC datasource. Download the Oracle JDBC drivers from Oracle's site and you can choose between using the Thin or OCI drivers. There are some

RE: 128-bit SSL

2000-11-03 Thread Raymond Pancura
We are using the US release of the JSSE version 1.0.2. The cert was provided by verisign for a keysize of 1024 bits. The keyalg we used to generate the key was "RSA". The provider we choose when we made the cert request was JavaSoft (it was the closes on the list). I have just had verisign rei

Debugging of beans

2000-11-03 Thread Boris Gertsberg
I read documentation on debugging using NetBeans but still can't figure out how to apply all that to EJBs. As far as I understand, Orion doesn't run my bean classes but run generated containers which are compiled and sources are not kept anywhere(or may be there is a switch for that. develop

RE: Beginner: Step by step tutorial?

2000-11-03 Thread J.T. Wenting
http://www.novocode.com/doc/servlet-essentials/ gives a good intro into servlets (though I think the O'Reilly book is better). As to not using JDBC, I don't think so (unless you write your own... which would be reinventing JDBC). JDBC is good, why not use it? Jeroen T Wenting [EMAIL PROTECTED] IC

Re: Orion & JBuilder 4 Enterprise

2000-11-03 Thread Cory Adams
Joshua, Did you get a hold of an eval copy? If so how could I? Also did you make any progress with JB4 and Orion? Thanks, Cory At 07:05 PM 10/31/00 +0100, you wrote: > >I've just started testing JBuilder 4 Enterprise Edition. One of the nice >things about it is the integration with the (incl

RE: Re[2]: xml,xsl in orion

2000-11-03 Thread Duffey, Kevin
Ok..that sounds great. Now, how about an XSL example? :) Does every page need to have its own XSL, or can I still build JSP pages the way I do now, which is, every JSP page includes a HEADER.INC file, and a FOOTER.INC. In the header include, I have lots of scriplet code that displays a "consistent

Re: 128-bit SSL

2000-11-03 Thread Lorin Kobashigawa-Bates
Which JSSE are you using? If it's the one packaged with Orion, you have ot go and get the US one from Javasoft. Which 128bit key are you using? We were successful using the Netscape 128bit key, but it was kind of tricky, we ended up having to re-run the key several times because of hostname mix

RE: xml,xsl in orion

2000-11-03 Thread Jan Tye
Manoj, You can convert xml/xsl to html with products from Apache, DataChannel and others. This would make the process browser independant. On the other hand, the use of xml/xsl/xql enables a more functional user interface than using html. These standards will be more widely supported in the fut

Re[4]: xml,xsl in orion

2000-11-03 Thread Dylan Parker
Thursday, November 02, 2000, 7:00:25 PM, you wrote: > If you don't mind I would like to ask you a question or two.. That's what it's all about! =) > How exactly is the XSL, XML output of a JSP (using text/xml) being passed to > the XSLT engine (servlet I assume), and then how is your code retur

Beginner: Step by step tutorial?

2000-11-03 Thread Winnie Leung
HI, I am a total beginner to Orion (and somewhat of a beginner to Java). I would be really grateful if some one could point me to a really beginner's step-by-step tutorial on how to write a servlet, to do standard web type stuff like (a) post form variables, and (b) access data from the database

RE: Wrapper Classes

2000-11-03 Thread John D'Ausilio
this may be related to a problem I've been discussing with Magnus .. Basically the default mode for client RMI calls have been changed from serialized to multithreaded, as serialized prevents certain kind of callbacks (ie those occurring while executing the original call, not in another thread).

Resetting of ServletResponse before error page?

2000-11-03 Thread Markus Holmberg
Hi.. Shouldn't the servlet container reset the response object before handing over control to an error page (JSP)? In a servlet: request.getRequestDispatcher("include.jsp").include(request, response); if (!ok) { throw new ServletException("not ok"); } But when this exception is thrown

Problem Migrating my ejb, Please Help me !!!

2000-11-03 Thread michel_climber
Greetings ! I have been migrating my ejb from Voyager to Orion, in Orion and I'am using a simple directory structure without jar my classes, and I have gotten an mistake that I can't understand. The error is: IIdBeanHome_StatefulSessionHomeWrapper5.java:127:Exception java.rmi.RemoteException mus

RE: Wrapper Classes

2000-11-03 Thread Russ White
You've got to give us more to go on than this. > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED]]On Behalf Of Robert > Hargreaves > Sent: Thursday, November 02, 2000 6:30 AM > To: Orion-Interest > Subject: Wrapper Classes > > > Dear All, > > We use a report wr

Alias!

2000-11-03 Thread Steven Ingram
Dear List... I have recently discovered that I am going to be working with the Orion app web server. I have never used this product before and I was wondering if someone might be able to answer a question for me. How does one set up aliases in Orion? I have a product that I am using

RE: Name of application

2000-11-03 Thread Mike Cannon-Brookes
Simple answer - you can't ;) Mike > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED]]On Behalf Of David Ekholm > Sent: Friday, November 03, 2000 10:19 PM > To: Orion-Interest > Subject: Name of application > > > Simple question: How do I retrieve the name of the c

Wrapper Classes

2000-11-03 Thread Robert Hargreaves
Dear All, We use a report writing tool (www.enterprisesoft.com) that accesses data from directly beans from its own session bean. This worked fine with Orion for ages. Now we've moved from Orion 1.0 to Orion 1.3.8 we have a MAJOR problem with the report writer. Basically under Orion 1.0, Orion

Re: Re[2]: xml,xsl in orion

2000-11-03 Thread Rodrigo B. de Oliveira
Instead of opening a HTTP connection to get the XML content from the JSP, wouldn't be possible to execute the JSP directly from the servlet doing something similar to what jsp:include does? Maybe If you hand your own HttpServletResponse implementation out to the RequestDispatcher.forward method yo

128-bit SSL

2000-11-03 Thread Raymond Pancura
Has anyone been successful in configuring Orion to use 128-bit SSL (1024-bit public key in cert)? I don't have a problem with the test certs, but they only allow 40-bit (512-bit key in cert). Whenever I try to start Orion, I get the following message: Licensed to e-plicity.com Or

RE: orion-*.xml

2000-11-03 Thread Rick Bos
The other orion*.xml files seem to go in the same directory as their analogues, but the orion-ejb-jar.xml goes in an orion directory : ear/ejb/META-INF/ejb-jar.xml ear/ejb/orion/orion-ejb-jar.xml > -Original Message- > From: Gerald Gutierrez [SMTP:[EMAIL PROTECTED]] > Sent: November

RE: Re[2]: xml,xsl in orion

2000-11-03 Thread Russ White
Kevin, Here is a simpler way to do this: 1) request comes to controller servlet. 2) controller makes url connection and get content from xml producing jsp. 3) controller then gets xsl from any other location (file, jsp, or db) 4) controller hands xml, and xsl to xalan directly (no servlet here)

Re: Session beans don't get removed

2000-11-03 Thread Fabio Silva
Jim Archer wrote: > Fabio, thats not necesserally important. Many servers keep session beans > lieing around to avoide the performance penality of creating them when they > are needed. They are frequently moved from quickly client to client inside > the container. > > I don't know how Orion handl

Name of application

2000-11-03 Thread David Ekholm
Simple question: How do I retrieve the name of the current web application from a servlet? /David

RE: orion-*.xml

2000-11-03 Thread Christophe Hartwig
Hi, At the beginning of every orion-*.xml file description in the docs, there is a paragraph which explains where to put the file. It's not cristal clear, but has worked for us. Bye, Christophe > -Original Message- > From: Gerald Gutierrez [mailto:[EMAIL PROTECTED]] > Sent: Friday, Nove

Re: Oracle data-source & connect

2000-11-03 Thread Martin Dolog
THANK YOU (ALL) VERY MUCH; IT WORKS NOW; Aaron Scott-Boddendijk wrote: > > > > url="jdbc:oracle:thin:scott/tiger@localhost:1512:pc29" > > The port is usually 1521 isn't it, not 1512 GOOD POINT :\ > > -- > Aaron Scott-Boddendijk > INTAZ Limited > +64 7 838 3371 Voice > +6