RE: tag library problem with attributes

2000-10-12 Thread Magnus Rydin
Title: RE: tag library problem with attributes Kit, should that be %=library.getBooks()% (notice the equals sign missing in your code) WR -Original Message- From: Kit Cragin [mailto:[EMAIL PROTECTED]] Sent: den 12 oktober 2000 07:52 To: Orion-Interest Subject: tag library

RE: How to select an other datasource then the default one?

2000-10-12 Thread Frank Eggink
Ralph and others, My datasources.xml looks like: ?xml version="1.0"? !DOCTYPE data-sources PUBLIC "Orion data-sources" "http://www.orionserver.com/dtds/data-sources.dtd" data-sources data-source name="Default data-source"

RE: HARDWARE FOR J2EE apps

2000-10-12 Thread Robert Krueger
I would reconsider implementing such low-level functionality. the deeper you dig into it, the more little things you will discover that have the potential to break your neck. It's probably not that hard to this stuff up and running. the problem is to get it really stable. we're currently

RE: HARDWARE FOR J2EE apps

2000-10-12 Thread Frank Eggink
I was wondering whether it would be possible to let the orion server(s) switch datasource as a sort of failover procedure. I haven't digged myself into clustering and failover, but here's the idea. Assuming you have made sure the server are running with failover and you have bought yourself a

RE: Interbase Details [Was HARDWARE FOR J2EE apps]

2000-10-12 Thread Robert Krueger
At 16:43 12.10.00 , you wrote: I'm not sure why noone has mentioned Sybase yet? Sybase 11.0.3.3 on Linux is free for all uses, and supports replication, backup servers etc etc etc. Replication using 11.0.3.3? Do you mean with the additional Replication Server (commercial) or is there another

RE: allow/deny host access

2000-10-12 Thread Goel, Deepak
Hello, I believe so. Look at the Orion documentation for web-app settings: http://www.orionserver.com/docs/orion-web.xml.html --Deepak -Original Message- From: Mike Atkin [mailto:[EMAIL PROTECTED]] Sent: Tuesday, October 10, 2000 4:03 AM To: Orion-Interest Subject: allow/deny host

Re: XSLT processors

2000-10-12 Thread Christian Sell
To my knowledge, Xerces is an XML parser, and Xalan does the XSLT stuff. Hope you got that right in your book :-). I used Xerces to write a custom tag for a JSP book I co-wrote that's coming out in a month or so. The tag looks like this on a JSP, for example: synd:rdf

RE: Restricting access by IP

2000-10-12 Thread Goel, Deepak
Hello, Look at the Orion documentation: http://www.orionserver.com/docs/orion-web.xml.html --Deepak -Original Message- From: Aleksi Kallio [mailto:[EMAIL PROTECTED]] Sent: Monday, October 09, 2000 3:00 AM To: Orion-Interest Subject: Restricting access by IP How to restrict access to

RE: Saving JSP responses

2000-10-12 Thread Goel, Deepak
Hello, Why do you want to forward to the jsp page. If you just want to capture the response from the jsp page, you can create a URL object and do a GET or POST and capture the output. One thing I'm not sure about is session management - whether a new session will be created or the current

vm stability on linux

2000-10-12 Thread Robert Krueger
I know this is getting a little OT but I believe it might be important to some of you. We've just upgraded to the latest glibc upudates (both redhat and suse have one) and seen a remarkable improvement in stability running orion on SMP machines, especially on redhat. robert (-) Robert

EJB 2.0 CMP question

2000-10-12 Thread Joni
Hi! I asked this question a few days ago but didn't get any answer yet. Can I have container managed relationships between dependent objects? And if so, is the creation protocol which is specified in the chapter 9.4.4.1 implemented in Orion 1.3.8? Please answer so that I can stop my

RE: Interbase Details [Was HARDWARE FOR J2EE apps]

2000-10-12 Thread Mike Cannon-Brookes
Sybase JDBC drivers are called "JConnect". Current version is 5.2 (for JDBC2) and 4.2 (JDBC1) I had a few problems with them ages ago and bought a commercial driver - never tried again, but they have evolved I think. Mike -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL

Re: HARDWARE FOR J2EE apps

2000-10-12 Thread wim veninga
Hi Kevin, Do you create the database in IBConsole ? Because the ibconsole has an bug when creating databases. If so, you probably have to get the newer version of IBConsole : URL : http://www.interbase.com/open/downloads/ib_download.html goto the miscellaneous section (at the bottumn of the

Invalidating an Entity bean

2000-10-12 Thread Peter Delahunty
Hi gurus How do I do this cleanly. I have and Entity that has attributes A,B,C and D. These attributes are all read from database tables. A and B are read from Table 1 C and D are read from Table 2 So I have Entity Bean 1, this is loaded by the app server (perhaps by a findByPrimaryKey)

NEWBIE QUESTION: How do I shut this thing down

2000-10-12 Thread Robert Keith
Hi Guys, I have trawled through the docs to try and find a way to shut orion down cleanly, however I can't find the default username and password in order to shut it down. Can you guys let me know what it is? cheers Rob

Re: Interbase Details [Was HARDWARE FOR J2EE apps]

2000-10-12 Thread Christian Sell
it's a shame Software AG failed so miserably making Adabas D a well-supported product. they were the first commercial database vendor to port to linux and the software has all the features you need (including clustering support) at an unbeatable price. somehow nobody outside germany seems to use

RE: I cannot use ejbmaker

2000-10-12 Thread Martijn van Berkum
Hi, I found out about the same bug and entered a new bug report in bugzilla yesterday, its number is #106. Hope they fix it soon. Bye, Martijn -- _ Martijn van Berkum GX creative online development

Charsets, i18n and confusion

2000-10-12 Thread Mike Cannon-Brookes
Guys, I really need some help here - anything you can all do to help is fantastic. I'm trying to build a site in Big 5 characters, but sometimes they come up and sometimes they're just garbled. To complicate matters, sometimes people are submitting the form with Big5 characters. Here's the

calling ProductServlet

2000-10-12 Thread Kuno Baeriswyl
Hey, I'm testing the Product example with EJB's. How I must call the ProductServlet? I tried to put it in the classes directory, but it doesn't work! Some one could help me? Thanks kuno -- -- http://zap.to/kuno -

Library path.

2000-10-12 Thread Miles Daffin
Hi People, The /config/application.xml definesa general library path for theServer. library path="../lib" / Is it possible to: 1) Add to this. If so what is the syntax? (';' as a path separator within the same quotes?) 2) I would like to have custom lib paths for each app. Can this be

Re: Interbase Details [Was HARDWARE FOR J2EE apps]

2000-10-12 Thread Sven van 't Veer
Mike Cannon-Brookes wrote: Sybase JDBC drivers are called "JConnect". Current version is 5.2 (for JDBC2) and 4.2 (JDBC1) I had a few problems with them ages ago and bought a commercial driver - never tried again, but they have evolved I think. And JDBC drivers for Sybase? Last time

RE: XSLT processors

2000-10-12 Thread Scott Stirling
Oh, you caught that! I thought it might slip by after I sent it and realized it myself. Yes, I did get it right in the book. More pluses/minuses on Xerces and Xalan: Xalan Java is the XSLT processor, which was 843 KB last time I checked. It depends on Xerces by default, which was/is around

RE: Library path.

2000-10-12 Thread Mike Cannon-Brookes
Add more library tags for each path, one per tag. No custom lib paths for each app as far as I know, just throw it in an EJB module, that's visible to all parts of the app. (and you can reload those classes) Mike -Original Message-From: [EMAIL PROTECTED] [mailto:[EMAIL

Sources for change unix user

2000-10-12 Thread George Terziev
Hi, i now that can change the user who start the orion under Unix, but a haven`t the sources for libnative... Could you send me the sources or explain me how do that. Thanks George __ Do You Yahoo!? Get Yahoo! Mail - Free email you can access

RE: XSLT processors

2000-10-12 Thread Kemp Randy-W18971
Hello everyone. If anyone has some standard HTML pages set up on Orion, without the corresponding servlets, EJBs, etc., I would love to see the XML configuration files that were set up. I had to append this message, since I am not sure of the group address. -Original

RE: XSLT processors

2000-10-12 Thread KirkYarina
Take a look at the XSLT Programmer's Reference: http://www.bookpool.com/.x/micoqah72r/ss/1?qs=xslt At 12:56 PM 10/11/00 -0700, you wrote: I would be interested in knowing how to even use an XSLT engine! I know I can get JSP to output XML with a header, but how do I actually pass the XML to

Re: NEWBIE QUESTION: How do I shut this thing down

2000-10-12 Thread Sven van 't Veer
Robert Keith wrote: Hi Guys, I have trawled through the docs to try and find a way to shut orion down cleanly, however I can't find the default username and password in order to shut it down. Can you guys let me know what it is? cheers Rob I guess it's the one you created with:

NEWBIE QUESTION:Configuring a web application, that is not contained in a WAR file

2000-10-12 Thread Robert Keith
Hi Guys, I have a quick question about deploying a Web application to Orion.I have a directory that contains all the required classes, html, Java script etc.I have also written the web.xml file describing the servlets that are available in the application. There are no JSP pages or anything like

Re: NEWBIE QUESTION: How do I shut this thing down

2000-10-12 Thread Miles Daffin
See the 'orion/Readme.txt' (should be renamed to README_FIRST.txt - I missed it for days). Follow the instructions. General ACL stuff is set in /config/principals.xml. * To shutdown:java -jar admin.jar ormi://localhost/ adminID adminPass -shutdown * To restart:java -jar admin.jar

Re: Interbase Details [Was HARDWARE FOR J2EE apps]

2000-10-12 Thread Robert Krueger
At 13:58 12.10.00 , you wrote: it's a shame Software AG failed so miserably making Adabas D a well-supported product. they were the first commercial database vendor to port to linux and the software has all the features you need (including clustering support) at an unbeatable price. somehow

Re: Charsets, i18n and confusion

2000-10-12 Thread Richard Chuo
Hello Mike, DB -> EJB -> getter method -> web site What encodings should I use where? If the text is Big5 encoded ASCII (is that right? text typed from a Big5 keyboard into the form) do I need to manually convert it to unicode somehow before putting it in the entity bean? Did you changed the

Re: Interbase Details [Was HARDWARE FOR J2EE apps]

2000-10-12 Thread Robert Krueger
At 13:58 12.10.00 , you wrote: it's a shame Software AG failed so miserably making Adabas D a well-supported product. they were the first commercial database vendor to port to linux and the software has all the features you need (including clustering support) at an unbeatable price. somehow

Re: NEWBIE QUESTION: How do I shut this thing down

2000-10-12 Thread Chris Woods
On Thu, Oct 12, 2000 at 12:17:06PM +0100, Robert Keith wrote: Hi Guys, I have trawled through the docs to try and find a way to shut orion down cleanly, however I can't find the default username and password in order to shut it down. Can you guys let me know what it is? java -jar admin.jar

Re: NEWBIE QUESTION:Configuring a web application, that is not contained in a WAR file

2000-10-12 Thread Matt Brunner
the web app structure should look something like this(which is really just an unpacked WAR) web-app/ *.html, *.jsp, ... WEB-INF/ web.xml classes/

RE: HARDWARE FOR J2EE apps

2000-10-12 Thread Steve Mabbutt
Wim, We've used IB extensively for the past few years - it's an excellent low-maintenance choice (DBA-free) for small to medium applications, but doesn't scale well to large numbers of users or heavy loads. Depending on the OS platform, there is a hard limit of 250 simultaneous connections -

Re: Invalidating an Entity bean

2000-10-12 Thread Nick Newman
Hi Peter, I'm not claiming guru-hood, but as far as I know you CAN'T do that cleanly. My thoughts on your best options are: 1) Tell Orion that the entity beans do not have exclusive write-access to the database by setting exclusive-write-access="false" in the orion-ejb-jar.xml (which is

RE: HARDWARE FOR J2EE apps

2000-10-12 Thread Lorin Kobashigawa
As far as DB redundancy, I have heard that it is possible to have two boxes using a shared RAID that holds the data. The first box is the primary database, and if that one is down, the second one takes over. The RAID itself taking care of the disk level redundancy, and the two boxes handling

RE: tag library problem with attributes

2000-10-12 Thread Kit Cragin
Title: RE: tag library problem with attributes Thanks! Amazing how you can stare at code for hours and then someone comes along and notices the problem immediately! - Kit -Original Message-From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Magnus RydinSent:

SSL question

2000-10-12 Thread Kit
Hi all I have a problem using the command below. keytool -keystore keystore -keyalg "RSA" -import -trustcacerts -file my.host.com.cer I get this error: keytool error: Failed to establish chain from reply But, this command worked fine keytool -import -trustcacerts -file my.host.com.cer

Re: NEWBIE QUESTION:Configuring a web application, that is not contained in a WAR file

2000-10-12 Thread Miles Daffin
Can you give me a brief overview of how to get Orion to serve this application. 1) Have you go the thing to serve the default website and its default application? 2) If 1 look at the supplied docs - the How-To's section. 3) Then look at: http://www.znerd.demon.nl/orion-primer/ Summary of

Re: NEWBIE QUESTION:Configuring a web application, that is not contained in a WAR file

2000-10-12 Thread Miles Daffin
Can you give me a brief overview of how to get Orion to serve this application. 1) Have you go the thing to serve the default website and its default application? 2) If 1 look at the supplied docs - the How-To's section. 3) Then look at: http://www.znerd.demon.nl/orion-primer/ Summary of

Problems with EJB and JNDI-context

2000-10-12 Thread Nils Frohberg
Hi, I am facing a problem with my EJBs that i cannot solve. I try to access a EJB via a JSP page: %-- Setting up an error page --% %@ page errorPage="/errorpage.jsp" % %-- Taglibs --% %@ taglib uri="ejbtags" prefix="ejb" % ejb:useHome id="user" type="de.tako.userHome"

Re: SSL question

2000-10-12 Thread Sach Jobb
the first line is correct. it's telling you that this certificate does not match the private key (which you made with -genkey first, right?) in your keystore. in the second one you didn't specify where your keystore is. this this and see if you have both the private key and the certificate in

RE: ANSWER: How to use pooled connections in Orion?

2000-10-12 Thread Goel, Deepak
Hi, The way you access the datasource is dependent on where will you access the datasource from. I'm currently accessing the datasource from a servlet which is pretty straightforward: InitialContext ctx = new InitialContext(); DataSource ds = (DataSource)ctx.lookup("jdbc/SQLServerDS"); The

RE: Invalidating an Entity bean

2000-10-12 Thread Peter Delahunty
the situation is this. this is the current data model I have and entity bean called "Content" this repsents 1 row in a table called "content". The content enitity bean can have N number of images (corresponds to n number of rows in the images table) and N number of text blocks (corresponds to

Deploying a ear file, not a war file

2000-10-12 Thread Martijn van Berkum
Hi, Is it possible to create a .ear file which contains the ejb-jar file, but not the web-jar file. Orion should then retrieve it's web related files from a subdirectory. This way I can deploy the ejb's using a jar file, but test them using .jsp files, which I don't need to deploy when changing

RE: How to select an other datasource then the default one?

2000-10-12 Thread Goel, Deepak
Hello, When you deploy your application, Orion creates a subdirectory with the name of the app under application-deployments. You should see another subdirectory with the name of your ejb jar file. So for example if you have an app named myApp and myApp.ear contains myEJB.jar, then you should

RE: Invalidating an Entity bean

2000-10-12 Thread Nick Newman
Sorry, but as I said, there is (as far as I know) no clean (ie. portable) way to tell an entity bean to refresh itself. The specs even specifically say that an entity bean does NOT have to worry about the database being changed "behind its back" (although you should peraps check the exact

Re: NEWBIE QUESTION: How do I shut this thing down

2000-10-12 Thread Hitesh Jasani
Robert, Check the principals.xml file in the config directory. In it you should find an entry for the admin user and his password -- see below. users user username="admin" password="123" deactivated="false" descriptionThe default

No Suspension of client transactions with Bean Managed Transaction

2000-10-12 Thread Daniel G. Koulomzin
Friends, I have an entity bean which calls a stateless session bean's method from within its ejbCreate method. I need to ensure the highest level of transaction isolation (serializable) for the database read performed in the session bean method. Because a connection's isolation level must be

JMS QueueReceiver.receiveNoWait() blocks!

2000-10-12 Thread Simon Harris
The following code blocks until a message appears on a queue: queueReceiver.receiveNoWait(); We are using orionserver 1.3.8. Cheers, Simon.

RE: Charsets, i18n and confusion

2000-10-12 Thread Mike Cannon-Brookes
Richard, Thanks for this - would you mind just verifying the procedure? I'm sure it will be useful to others in the future for the archives. 1. My web form arrives to the user encoded in Big5 (using default-charset="Big5" in the orion-web.xml file). 2. The user fills in lots of Big5 characters

RE: Invalidating an Entity bean

2000-10-12 Thread Lawrence Fry
Have you tried putting a "required" in the transaction for the entity bean? Also, if the session bean is not using the entity bean to make the change in the table, you can't use any of the j2ee transaction stuff. I would only change the table 2 through the entity bean. You can do that in the