Oracle data-source connect

2000-11-02 Thread Martin Dolog
Hello, I am new w/ Orion and I have the following problem: I can't connect however it seems to be connected but when I want to call some method from Connection class (like con.getMetaData or con.createStatement) I just get exception: java.sql.SQLException: Io exception: The Network Adapter

Re: Initial JMSTest++ results, sort of

2000-11-02 Thread Jason Rimmer
During all the JMSTest++ tests, both successful and otherwise, Orion didn't crash once. JMSTest++'s JMS compliance tests are necessarily detailed and broad and I find it impressive that while Orion may not have been able to behave appropriately during the tests it never once blinked. So

Re: Supporting classes not getting picked up

2000-11-02 Thread Christian Sell
hmm, classloader-science (not rocket-science, as Rober Krueger told me lately :-)). which classes cannot be loaded? And who loads them? -Original Message- From: Drew Kidder [EMAIL PROTECTED] To: Orion-Interest [EMAIL PROTECTED] Date: Donnerstag, 2. November 2000 07:56 Subject:

Re: more question for xml,xsl in orion

2000-11-02 Thread Christian Sell
I have a XML with data and XSL with the layout information AND JSP Java code in it. How can I tell orion to: 1. Put XML and XSL together and output JSP. 2. Then compile the JSP output to html. I can get XML and XSL to merge together but the JSP compiler will not compiler the JSP output. For

Re: EJB Clustering in Orion

2000-11-02 Thread Klaus Thiele
Julian Khoo wrote: Does anyone have any experience clustering Orion EJB servers successfully in a production (or even development) environment? I've tried clustering a web application and it generally seems OK. However, in order to eliminate single points of failure in deployment, I

RE: xml,xsl in orion

2000-11-02 Thread Gopalani, Manoj
Hi Jan, I downloaded the latest version of Orion and under orion\default-web-app\examples\xsl you should find the example. But, should not the orion server do the conversion and send html to the browser, because, that would make more sense and make the process browser independent. I am very

RE: Servlet to EJB Principals/Credentials problem! Impossible to solve?!

2000-11-02 Thread Arved Sandstrom
Hi, Matt There's not that much "seems" to it, nor black magic. :-) I can't tell why EJBs in one scenario see "guest" and in the other they see the proper user, since I don't know how you're logging in and what the test program is. In short, though, there are only so many ways to identify a

Some strange behavior w/wo exclusive-write-access

2000-11-02 Thread slynce
Hello Orion Users, i have some strange behavior in Orion 1.3.8 , when add in orion-ejb-jar.xml entity-deployment exclusive-write-access="false" . Normally findMETHOD return one instance or Enumeration/Collection, and when findMETHOD doesn`t find instance/s it throw FinderException, but If i set

Re: Oracle data-source connect

2000-11-02 Thread Martin Dolog
Now I have exactly: Linux2.2.16 jdk1.2.2 j2sdk1.2.1 Orion1.3.8 Oracle8.1.6.1 I tried drivers for Oracle8.1.6.x java2, and Oracle8.1.7. java2, both java thin; But I found another interesting afair ... When I want to

Re: Supporting classes not getting picked up

2000-11-02 Thread Drew Kidder
The class com.ibm.cfmwk.builtin.Provider cannot be loaded. The com.tivoli.xtela.core.license.LicenseGenerator works just fine, but when I try to actually generate a license, the message "(Cannot find com.ibm.cmfwk.builtin.Provider)" appears on stderr, and Orion crashes. I'm not entirely sure

Re: Oracle data-source connect

2000-11-02 Thread Kris Keener
Martin, I have been using the following entry in data-sources.xml with some success. data-source class="oracle.jdbc.pool.OracleDataSource" name="Oracle" location="jdbc/devDS" ejb-location="jdbc/devDS" xa-location="jdbc/devXA"

RE: Orion w/ postgresql

2000-11-02 Thread Tim Drury
Yes, I got CMP working with both EJB1.1 and EJB2.0 entity beans and dependent objects. I currently have Entity beans nested about 3 deep and each has several dependent objects. -tim -Original Message- From: Seung Bang [mailto:[EMAIL PROTECTED]] Sent: Wednesday, November 01, 2000

RE: Orion w/ postgresql

2000-11-02 Thread Tim Drury
If you guys are talking about the error, SQL error: ERROR: parser: parse error at or near ")" just ignore it. everything works despite that error. I get it too. -tim -Original Message- From: Mikko Kurki-Suonio [mailto:[EMAIL PROTECTED]] Sent: Thursday, November 02, 2000 1:27 AM

Re: Oracle data-source connect

2000-11-02 Thread Roger Mosher
Martin. Perhaps your oracle driver port should be 1521 instead of 1512? That seems to be the default. I think. -- %%% Roger Mosher eMail: [EMAIL PROTECTED] Center of Geographic Sciences phone: (902)825-5230 50

Orion Application Classpath

2000-11-02 Thread Chris Livermore
Hi I am trying to write a jsp page which lists the current CLASSPATH known to orion. Obviously, if i use System.getProperty("java.class.path"), i only get "orion.jar" (or whatever I have in my shell environment when i start orion). Presumably there is a way of asking Orion to

Re: Oracle data-source connect

2000-11-02 Thread Seung Bang
Martin: I would try this first: 1. Change your resource-ref section like this: res-ref-namejdbc/OracleEJBDS/res-ref-name 2. Change your 'final private String dbName = .' variable like this: private final String dbName = "java:comp/env/jdbc/OracleEJBDS"; Seung,

RE: more question for xml,xsl in orion

2000-11-02 Thread Duffey, Kevin
OK...I didn't get to finish because some stupid key I hit sent my email out..sorry..I'll finish in this one.. I am about to dive in to XML, XSL and all that good stuff soon. My understanding is that you would want the JSP page to return XML, then apply XSL via an XSLT engine to output HTML. To

How about a digest version

2000-11-02 Thread Kemp Randy-W18971
How about offering a daily digest version of this list, where the questions and answers are grouped in one daily email? Many lists offer that feature: Jboss (www.jboss.org), Python, Opera (www.opera.com), etc. It would make it easier for some of us who want to follow the Orion discussions

getServletContext().getRealPath() bug?

2000-11-02 Thread Jason Rowland
Can someone tell me if this is correct behavior or if this is a bug? In the init method of my servlet, I have the following line of code: System.out.println(config.getServletContext().getRealPath("test.xml")); The result I get is this: c:\projects\leadsdb\deploy\webtest.xml The root of the

RE: more question for xml,xsl in orion

2000-11-02 Thread Juan Lorandi (Chile)
You may want to have a Filter (a special servlet) to acomplish the XSLT... In the jsp, in the @page tag, add a Content-Type="text/xml" or whatever your filter requires... you may also place inside the xml a xsl tag which refernces the xsl file you want applied (may be dinamically generated,

Re: Very Strange Problem

2000-11-02 Thread Karl Avedal
Hello Juan, Since we haven't seen this behaviour ourselves when load testing, it's hard for us to reproduce it. To be able to give a good guess on what is wrong and if it's in Orion or not we need a test-case. Please submit the suspected bug in bugzilla and attach a test-case so that we can try

RE: getServletContext().getRealPath() bug?

2000-11-02 Thread Mark Delanoy
Yes we see this too and have since I think 1.3.8. It compiles but does have a runtime exception, e.g. can't find the method. So we're doing hacks now using relative paths to figure out where we are. Basically ever since the experimental 2.3 servlet and jsp stuff it seems to have disappeared.

Re: getServletContext().getRealPath() bug?

2000-11-02 Thread Christian Sell
I dont see a direct contradiction with the API docs. The example that is given there prepends the file name with a "/", which also makes more sense (relative to what should "test.xml" be interpreted?). The implementation of obviously simply prepends the deployment path of the context.

Re: Supporting classes not getting picked up

2000-11-02 Thread Christian Sell
I recently had a similar problem with the JavaMail APIs and a custom pop3 provider which would not load wherever I moved the classes (mine were jarred, but that should not make the difference). It turned out that in order to get loaded these classes had to be in orions "master classpath". I ended

Failed to initialize chaining servlet for contenttype text/xml (xsl)

2000-11-02 Thread Lawrence Sewell
I am able to view the file examples/xsl/data.xml via the servlet-chaining definition in config/global-web-application.xml file that performs a XSLT using examples/xsl/data.xsl - no problems, no errors, no log file entries. All other xml files in this directory (I also duplicated this file to

Limitations of Orion's JNDI implementation?

2000-11-02 Thread Vucinic, Dejan
Greetings, Unless I'm seriously misunderstanding some part of JMS or JNDI, it appears that Orion's JNDI implementation prevents one from using Orion's JMS server across a cluster of Orion EJB containers. Suppose I have two Orion servers, A and B, each running its own set of EJ beans, and I want

RE: getServletContext().getRealPath() bug?

2000-11-02 Thread Matt Krevs
this isnt the behaviour I get in Orion 1.4.0 I get c:\projects\leadsdb\deploy\web\test.xml when I call this.getServletContext().getRealPath("test.xml"); or when I call this.getServletCOnfig().getServletContext().getRealPath("test.xml"); I think you may have something setup incorrectly in

RE: Orion w/ postgresql

2000-11-02 Thread Mike Cannon-Brookes
Indeed - completely ignorable, it's an error in Datasource.getMetaData() I believe. It's fixed in the CVS version if you build the latest driver. Mike -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Tim Drury Sent: Friday, November 03, 2000 3:10 AM

RE: Orion as a Service under NT (Log out problem)

2000-11-02 Thread Larry Velez
Title: RE: Orion as a Service under NT (Log out problem) Orioners, As some of you may know there is a problem with JRE/JDK 1.3 that causes it to shut down if the current user logs out while Java is running as a service on NT. I found a small wrapper that will prevent the shutdown call

Placement of jars for JSP

2000-11-02 Thread Aaron Scott-Boddendijk
I've done the JSP tutorials for making a taglib. Easy... Worked first time... Modified it to accept a parameter to query a database (ORACLE) to verify that the data-source... relatively easy - some path hiccups locating libraries... all sorted. but... I'd like to avoid the rebuilding and

Re: Oracle data-source connect

2000-11-02 Thread Aaron Scott-Boddendijk
url="jdbc:oracle:thin:scott/tiger@localhost:1512:pc29" The port is usually 1521 isn't it, not 1512 -- Aaron Scott-Boddendijk INTAZ Limited +64 7 838 3371 Voice +64 7 838 3372 Fax

RE: Placement of jars for JSP

2000-11-02 Thread Mike Cannon-Brookes
You can place the JAR anywhere - orion will automatically detect it has changed when you recompile / rejar, and it will load the new driver. Just change the location with the taglib-location attribute in web.xml. Mike -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL

Re[2]: xml,xsl in orion

2000-11-02 Thread Dylan Parker
Thursday, November 02, 2000, 4:52:16 AM, you wrote: Hi Jan, I downloaded the latest version of Orion and under orion\default-web-app\examples\xsl you should find the example. But, should not the orion server do the conversion and send html to the browser, because, that would make more

RE: Orion as a Service under NT (Log out problem)

2000-11-02 Thread Duffey, Kevin
Title: Orion as a Service under NT (Log out problem) I am wondering if you finished your email? Anyways..I use JNT and it seems to work except that when I STOP the Win2K Service of JNT/Orion, it never stops "officially"..I have to manually hit the CLOSE button, then restart the service. I

Re: Placement of jars for JSP

2000-11-02 Thread Aaron Scott-Boddendijk
You can place the JAR anywhere - orion will automatically detect it has changed when you recompile / rejar, and it will load the new driver. Just change the location with the taglib-location attribute in web.xml. Ok that's working - can the taglib-location be a folder rather than a jar to

RE: Placement of jars for JSP

2000-11-02 Thread Mike Cannon-Brookes
I don't see why not, but if you use a build tool (eg Ant) it's probably just as easy to build a JAR? Mike -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Aaron Scott-Boddendijk Sent: Friday, November 03, 2000 2:03 PM To: Orion-Interest Subject:

orion-*.xml

2000-11-02 Thread Gerald Gutierrez
The documentation describes these orion-*.xml files as being Orion-specific descriptors, but does not say where one can put these files inside the EAR/JAR/WAR files. I'm guessing that they go along side the standard descriptors because the filenames are their analogues (e.g. ejb-jar.xml to

Re: Placement of jars for JSP

2000-11-02 Thread Christian Sell
I have been doing it that way for quite a while. Heres the taglib declaration from my web.xml: taglib taglib-uriwww.itsit.de/webcomponents/taglibs/wcf01.tld/taglib-uri taglib-location/META-INF/taglib.tld/taglib-location /taglib -Original Message- From: Aaron Scott-Boddendijk

Re: choosing database for EJB use?

2000-11-02 Thread Sven van 't Veer
James Ho wrote: Hi all... Can anyone pls tell me, is there any searching criteria for RDBMS for use with EJB/Orion and why? Is transactions support necessarily for CMPs? No transaction support is not necessary. However if you use a RDBMS without transactions, your EJB application will