Re: Loadbalancer.jar HOWTO?

2000-09-06 Thread Karl Avedal
Hello, I'm currently preparing this. The whole clustering document was delayed to include the new load balancer but it will be available shortly. Regards, Karl Avedal Jason von Nieda wrote: I would also love to know at least SOMETHING about this. It sounds like somethingI could really use

Re: Japanese display

2000-09-06 Thread Karl Avedal
Hello Jonathan, Can you send us a kanji-JSP that we can try with? Also, what version are you using? There have been a few i18n fixes recently. Regards, Karl Avedal Jonathan Scott wrote: When I save a .jsp file in x-sjis format for Japanese kanji, and then access it through Orion, it comes

ejb Entity Bean Manage

2000-09-06 Thread cuenot jerome
hello, could someone send me an ejb Entity Bean Manage jar file, because i can't find an example in documentation. thanks for your help. Jerome. begin:vcard n:Cuenot;Jerome tel;fax:+33 (0)4.72.86.02.00 tel;work:+33 (0)4.72.86.02.07 x-mozilla-html:FALSE url:http://www.stellarx.com

Calling Servlet from another servlet error using orion

2000-09-06 Thread rosely kumoi
I got a null pointer exception when I try to get another servlet reference from other servlet using this command: BookDBServlet database = (BookDBServlet) getServletConfig().getServletContext().getServlet("bookstore.BookDBServlet"); BookDetails bd = database.getBookDetails(bookId); //null

Re: XSL example

2000-09-06 Thread jbirchfield
We are having an issue with XSL transformations. Here is the following .jsp we are using: ?xml version="1.0" ? % int type =

Re: Calling Servlet from another servlet error using orion

2000-09-06 Thread Dave Smith
The getServlet method is deprecated.The Tomcat version always returns null, and I suspect the Orion version does as well. Why do you want to do this anyway? If you have logic that needs to be reusable then why not place it in an external class? begin:vcard n:Smith;Dave tel;cell:+44 797

Re: JBuilder 4

2000-09-06 Thread Sven van 't Veer
Cory Adams wrote: JBuilder 4.0 just came out and the Enterprise edition will let you develop fully J2EE compliant apps. Does anybody have any experience using this version of JBuilder 4 and Orion? Well, since it's 'just out' it will be hard to find anyone with experience. However, since

Re: Calling Servlet from another servlet error using orion

2000-09-06 Thread Lars Heller
getServletConfig().getServletContext() .getServlet("bookstore.BookDBServlet"); The method ServletContext.getServlet(String) is deprecated since version 2.1. In the spec it is stated, that servlet engines should always return null. Instead (for forwarding to this servlet), use the

RE: Loadbalancer.jar HOWTO?

2000-09-06 Thread Jen Hsien Huang
OK, I have find out how to do this You have to edit a loadbalance.xml, like -= load-balancer host="[ALL]" port="80" selection-type="random" use-ip="false" use-session-id="true" island backend-server host="localhost" port="8080"/ /island island backend-server

WebServer very slow

2000-09-06 Thread Dale Bronk
I have a mixture of static pages and JSP's and this happens with both, even on pages that have very small or no graphics at all... I can browse to one of my pages (say contact.html) and the complete page displays fine, but the browser (both IE and NS) is still working. I can see the browser

Strange error with Netscape

2000-09-06 Thread jbirchfield
In netscape, I am sometimes getting this error when posting to a page. Any ideas? No problems in IE. HTTP/1.1 413 Request Entity Too Large Date: Wed, 06 Sep 2000 13:17:26 GMT Server: Orion/1.3.1 Connection: Close Content-Type: text/html 413 Request Entity Too Large James Birchfield Ironmax

RE: JBuilder 4

2000-09-06 Thread J.T. Wenting
It has been announced, not released. I expect the official release at the upcoming BorCon Europe in London on the 24th. Borland usually has an announcement before the official unveiling, and does the latter at a BorCon somewhere (London happens to be the next one). Jeroen T. Wenting [EMAIL

Strange problem in netscape...

2000-09-06 Thread jbirchfield
Should have included more information: Orion 1.3.1 Jdk 1.3 The error occurs only in netscape, but the actuall page works, and all HTML is out put to the screen(with the error at the bottom) James Birchfield Ironmax a better way to buy, sell and rent construction equipment 5 Corporate

Re: JBuilder 4

2000-09-06 Thread Chris Miller
I'd tend to agree with Sven. My experiences with JBuilder 3.5 and Orion have been very positive, so I can't see why there would be any regressions with 4.0. But give people a chance to get hold of the thing and try it first! :-) - Original Message - From: "Sven van 't Veer" [EMAIL

Re: Calling Servlet from another servlet error using orion

2000-09-06 Thread Cory Adams
When you use the forward methodology below how will the receiving Servlet handle the request forwarded from another servlet? Is it handled by the doGet or doPost or can it be forwarded to a specific method within the BookDBServlet Servlet? Thanks, Cory At 01:49 PM 9/6/00 +0200, Lars Heller

Re: NameNotFoundException - JMS

2000-09-06 Thread Cathleen Dull
Thanks a lot - I'll make these changes. Cathy Arved Sandstrom wrote: Hi, The queue-connection-factory tag, _if_ you decide to use it (it defaults to localhost and port 9127), does not have a location attribute. Just the queue tag does. Also, your res-ref-name for your

entity persistence table

2000-09-06 Thread cuenot jerome
Hi, how can i use a specific table for the persistence of an EJB Entity Bean Manage. Jerome. begin:vcard n:Cuenot;Jerome tel;fax:+33 (0)4.37.41.82.01 tel;work:+33 (0)4.37.41.82.63 x-mozilla-html:FALSE url:http://www.stellarx.com org:StellarX;R D adr:;;56 Avenue du 11 Novembre 1918;Lyon

Re: Strange error with Netscape

2000-09-06 Thread Klaus Thiele
Hello, HTTP/1.1 413 Request Entity Too Large Date: Wed, 06 Sep 2000 13:17:26 GMT Server: Orion/1.3.1 Connection: Close Content-Type: text/html 413 Request Entity Too Large me too, also with IE. and _tons_ of... Auto-deploying ejb-jar.jar (New server version detected)... Found 6 semantic

RE: Strange error with Netscape

2000-09-06 Thread Werff, M.R. van der
James, I'm getting the same error. Also with IE version 4.0. It seems to happen after updates to entity beans. Tried to give more memory to Orion using java -Xm etc. To no avail. We upgraded today to version 1.3.1 and replaced hSQL with Oracle at the same time. So I was not sure whether the

ejb question

2000-09-06 Thread Derek Akers
I am trying to access an ejb (stateful session) from a jsp using: Context initialContext = new InitialContext();CartHome cartHome = (CartHome)javax.rmi.PortableRemoteObject.narrow(initialContext.lookup("java:comp/env/ejb/cart"),CartHome.class); where the bean is cart.CartBean the home

Re: Calling Servlet from another servlet error using orion

2000-09-06 Thread Dave Smith
It is handled by the get or post depending on whether it is a get or post request - i.e. it goes to the same place it originally went in the first servlet. Cory Adams wrote: When you use the forward methodology below how will the receiving Servlet handle the request forwarded from another

Re: JBuilder 4

2000-09-06 Thread Cory Adams
Which version did you use of JBuilder 3.5? Was it standard, pro or enterprise? Did it offer the ability to build EAR and WAR files? Thanks, Cory At 02:29 PM 9/6/00 +0100, Chris Miller wrote: I'd tend to agree with Sven. My experiences with JBuilder 3.5 and Orion have been very positive, so I

naming context problem

2000-09-06 Thread Tim Drury
I have a servlet that finds/creates a session bean. The session bean instantiates a non-bean java object. That java object tries to find an EJB, but fails with the usual: javax.naming.NameNotFoundException: java:comp/env/ejb/TestDocument1 Why? Aren't the servlet, java object, and EJB all

Database connection Pooling in Orion

2000-09-06 Thread Vimal Kansal
Hi, Can somebody explain to me how does Database connection pooling stuff work in Orion. I don't see any parameters in datasources.xml file where I can specify things like min connections, max connections etc. Vimal __ Do You Yahoo!? Yahoo! Mail

RE: ejb question

2000-09-06 Thread Rick Bos
I would put this class at: \cart\cart-ejb\cart\CartHome.class The WEB-INF\classes directory is for servlet classes. -Original Message- From: Derek Akers [SMTP:[EMAIL PROTECTED]] Sent: September 6, 2000 10:38 AM To: Orion-Interest Subject: ejb question I am

Re: naming context problem

2000-09-06 Thread Nick Newman
The non-bean should "inherit" the naming context of the EJB session bean from which it was called. Are you sure that you have specified the appropriate ejb-ref for the TestDocument1 entity bean in the xml for that session bean? Nick At 12:50 PM 9/6/00 -0400, you wrote: I have a servlet that

RE: Database connection Pooling in Orion

2000-09-06 Thread Rick Bos
There is a max-connections attribute to the data-source in: http://www.orionserver.com/dtds/data-sources.dtd -Original Message- From: Vimal Kansal [SMTP:[EMAIL PROTECTED]] Sent: September 6, 2000 12:50 PM To: Orion-Interest Subject: Database connection Pooling in Orion

Counter.jar

2000-09-06 Thread BSmith
I'm trying to use the counter.jar provided with the orion release. Following the instructions for deploying it with my app with one change (I also had to add "ejb-ref-typeEntity/ejb-ref-type" to web.xml), when I launch my app, I get a NaeNotFoundException when I call

Role Mapping

2000-09-06 Thread Arun Srinivasa
Hi I setup a role and mapped it to the methods in the bean that it is allowed to access using the deployment descriptor (ejb-jar.xml). I added the role in to the application.xml file. I added the role in to the groups section of the principals.xml file, and mapped a user to that group in the

RE: clustering/load balancing

2000-09-06 Thread Kevin Duffey
Yes. Its very easy. Look in the /docs folder for clustering info, but basically you do this. IN /config/server.xml, add the line cluster id="X" / where X is a unique number on EACH server of the cluster. Thus, each server has Orion running on it, X will be different on each of these

Re: ejb question

2000-09-06 Thread Cathleen Dull
Derek; Try using "java:comp/env/ejb/cart.CartBean" in the lookup. Cathy Derek Akers wrote: I am trying to access an ejb (stateful session) from a jsp using: Context initialContext = new InitialContext(); CartHome cartHome =

Re: ejb question

2000-09-06 Thread Cathleen Dull
Oops, I mean "java:comp/env/ejb/Cart". Cathleen Dull wrote: Derek; Try using "java:comp/env/ejb/cart.CartBean" in the lookup. Cathy Derek Akers wrote: I am trying to access an ejb (stateful session) from a jsp using: Context initialContext = new InitialContext();

RE: Database connection Pooling in Orion

2000-09-06 Thread Vimal Kansal
That answers only a part of question. Where do I specify the minimum number of connections in the pool. Typically the way a connection pool works is like this At the startup(i.e when the application server is started), a few number of connections are established(specified by some kind of

Re: clustering/load balancing

2000-09-06 Thread Mike Sick
Kevin, I thought it was in interesting question as well. Team Orion, how bout it? Mike snip/ The one thing I haven't been able to test yet is if I shut down one clustered server, then restart it, if the session data gets replicated to it again automatically. It should, but I have yet

Cluster and security contexts.

2000-09-06 Thread Pedro Garcia Lopez
Hi, I want to stablish a security domain or federation between two Orion servers. In this scenario one user can authenticate against server A and the connect to server B and be recognized without requiring another authentication step. Can be done with clustering ? I have successfully tried the

Postgres Datasource

2000-09-06 Thread michel_climber
Greetings How could I configure a datasource for postgres ? Thank Michel ___ Say Bye to Slow Internet! http://www.home.com/xinbox/signup.html

RE: clustering/load balancing

2000-09-06 Thread Kevin Duffey
Heh..yeah. I have clustered two servers. When I hit one IP to one of the servers, the session objects show up in both. However, I did shut down on server, then restart it, and the session data no longer shows up on that server. Even though I am not using a load-balancer, I would assume that

Application clients and user management

2000-09-06 Thread Arved Sandstrom
Hi, all I have several app clients that have worked just fine (from a security standpoint) as long as I just used principals.xml. Having transitioned over to the user manager API's, in particular DataSourceUserManager, I've been more concerned with working out the details of having users log in

Mapping CMP Entity bean fields to an existing database table

2000-09-06 Thread Tilchen, Matt
Title: Mapping CMP Entity bean fields to an existing database table Hello all, I have deployed a few CMP entity beans to orion and have noticed how it autocreates tables by default. I understand that you can turn this feature off, but I would actually like to specify fields in tables that

Re: Mapping CMP Entity bean fields to an existing database table

2000-09-06 Thread Vincent Serpico
"Tilchen, Matt" wrote: Hello all, I have deployed a few CMP entity beans to orion and have noticed how it autocreates tables by default. I understand that you can turn this feature off, but I would actually like to specify fields in tables that already exist in my database for Orion to use for

Re: Strange error with Netscape

2000-09-06 Thread Mike Clark
For what it's worth, I've seen this happen when the URL location parameter of HttpResponse.sendRedirect() is null. Mike [EMAIL PROTECTED] wrote: In netscape, I am sometimes getting this error when posting to a page. Any ideas? No problems in IE. HTTP/1.1 413 Request Entity Too Large

Re: Counter.jar

2000-09-06 Thread Mike Clark
I'm not familiar with this application, but based on your diagnosis, it appears that the JNDI naming context used by your application is different than that used by the (successful) servlet. I'd start by looking at the initialization of the JNDI context to verify that the naming properties are

RE: Strange error with Netscape

2000-09-06 Thread Hani Suleiman
Title: RE: Strange error with Netscape I just got a bug report from our QA folks with this exact same problem. details: '13 Request Entity Too Large Date... GMT Server: Orion/1.3.1 Connection: Close Content - Type:text/html' Then in big bold letters: '413 Request Entity Too Large'