RE: App that runs on OrionServer but throws ajava.lang.VerifyError on weblogic 6.0

2001-02-01 Thread Kemp Randy-W18971
Since it is a BEA Weblogic problem, and weblogic has paid support, have you contacted the Weblogic support line? Does web logic have a mailing list similar to Orion and have you contacted them? Have you tried running the application on an open source product like Jboss/Tomcat (www.jboss.org)?

orion-ejb-jar.xml is not being copied when changed, why?

2001-02-01 Thread Ozzie Gurkan
I have the orion-ejb-jar.xml file in the /orion directory of my EJB-jar file. If orion has not ever deployed this EJB-jar before, it works great. I get the message "Copying default deployment file orion-ejb-jar.xml from archive" and it works great. However, the next time I want to add a new bean

RE: JSP TagLibs and UTF8 Encoding

2001-02-01 Thread Ted Rice
Title: SV: JSP TagLibs and UTF8 Encoding I already have the following entry in my /orion/config/global-web-application.xml file: orion-web-app jsp-cache-directory="./persistence" servlet-webdir="/servlet" development="true" default-charset="UTF-8" In fact, in the resulting XXX.jsp.java file

RE: JSP TagLibs and UTF8 Encoding

2001-02-01 Thread Ted Rice
Without knowing the details about your code: If you are using a standard XSL processor from your tag you should check that the output method setting of your XSL is correct. This is the output method I use to produce HTML, and you could modify it to produce the encoding you want:

SV: When using autonumber for the primarykey...

2001-02-01 Thread Klaus . Myrseth
That is right... The Counter.jar EJB marks a pool of ids it can deliver, just as the databases identity column does it to keep performance. If you need perfectly sequel numbers you have to implement your own EJB to do so. But then you will get a performance hit on 5-10 inserts a second or so.

RE: Servlet loading twice if init() not finished?

2001-02-01 Thread Konstantin Polyzois
There should be only one servlet instance per VM according to Servlet spec 2.2 chapter 3.2. Unless of course the servlet is implementing "SingleThreadModel". /korre -Original Message- From: Tim Endres To: Orion-Interest Sent: 2001-02-01 02:23 Subject: Re: Servlet loading twice if

problems deploying to Oracle

2001-02-01 Thread Juan Gargiulo
Hi, I have around 15 CMP EJBs that deploy great using MSSQL but now I want to deploy using Oracle and I found a problem with a not very clear error. Some of the tables for my EJBs are being created in my Oracle DB. But if the EJB's description is extended in the orion-ejb-jar.xml file, then the

Re: Student use and licenses

2001-02-01 Thread Burr Sutter
Thanks. Is JBoss fairly stable? Any one trying out Enhydra Enterprise? At the moment, Orion is winning as the low-cost app. server to get one of my customers started on the J2EE path. And if there are any J2EE developers/mentors/architects in Atlanta, GA, I might need some help. Burr [EMAIL

RE: When using autonumber for the primarykey...

2001-02-01 Thread Gerald Gutierrez
You can always just use direct JDBC calls, or database-specific auto incrementing fields or other sequence number constructs. At 06:01 PM 1/31/2001 +, you wrote: I'm using the counter.jar which is fine, but does it have any impact on performance ? Ok, the EJB spec doesn't support id

Servlet loading twice if init() not finished?

2001-02-01 Thread Marco Isella
Hi, i have a servlet as a front component in my webapp; the servlet has also the task of loading objects from a db during his inizialization. Loading the objects takes some time i have encountered a situation wich i didn't expected wich i'm not sure if i'm doing something wrong or it is orion.

Explicit cast needed by Persistence Manager??

2001-02-01 Thread Globetrot Communications
Hi, In my application, A MemberProfileEJB has two non-EJB dependent classes, WebProfile and Membership dependent objects. The MemberProfileEJB has abstract createWebProfile and createMembership methods. One of the business methods of MemberProfileEJB, setMembership() looks as shown below. But

RE : JSP TagLibs and UTF8 Encoding - Further Info

2001-02-01 Thread Ted Rice
--- Ted Rice APAMA Ltd, 17 Millers Yard, Mill Lane Cambridge CB2 1RQ, United Kingdom Email: [EMAIL PROTECTED] Mobile: +44 (0)7899 876489 Phone: +44 (0)1223 257973 [Histon Office] Fax:+44 (0)1223 51885 A little further information on my encoding problem with the JSP Tags and XML

Out Of Memory Problem / Passivation Error

2001-02-01 Thread Jaco van Rooijen
Hi We urgently need a solution to the following problem: We get java.lang.OutOfMemoryErrors with our application. We increased the amount of allocated memory to the heap, with the result that the application just took a bit longer to run out of memory. We then ran a test program that creates a

Form Login bouncing me to welcome page!

2001-02-01 Thread Gerald Gutierrez
I've searched the mailing list, but there doesn't seem to be information on this. I'm a little desparate now. I'm using a form-based login for my web application. When a user hits Login.jsp, s/he must log in. I have the LoginForm.jsp and LoginError.jsp files in / of my context root. This

orion-web.xml

2001-02-01 Thread Phan Anh Tran
Hi all, I used the following orion-web.xml to point orion to my class files, but it does not seem to work - Orion cannot find my classes. I put the orion-web.xml under my WEB-INF directory, is that the right place? Thanks. Anh ?xml version="1.0"? !DOCTYPE orion-web-app PUBLIC

Questions about running an EJB client

2001-02-01 Thread Eric Hodges
I'm trying to set up an EJB (my first time) on Orion. I have the .EAR file running, I just need to get the client to test it. When I try to run the client, it fails on the constructor for InitialContext(). Here's the error: java.lang.SecurityException: Not allowed to look up

RE: App that runs on OrionServer but throws ajava.lang.VerifyError on weblogic 6.0

2001-02-01 Thread Michael J. Cannon
I am not a Web Logic guy (WebSphere and Tomcat), but I believe that, like IBM, BEA 'optimizes' their platform by writing much of the EJB functionality in C++ and compiling to 'native threads.' This looks like a class from Orion that is there to 'talk' to the EJB and could be deleted...check the

RE: JSP TagLibs and UTF8 Encoding

2001-02-01 Thread Randahl Fink Isaksen
Without knowing the details about your code: If you are using a standard XSL processor from your tag you should check that the output method setting of your XSL is correct. This is the output method I use to produce HTML, and you could modify it to produce the encoding you want:

RE: Form Login bouncing me to welcome page!

2001-02-01 Thread Chris Bartling
I'm working with form-based authentication in iPlanet AS 6.0, but much of this is the same regardless of the app server. We've been constraining security on a directory (url-pattern is "/secured/*"). Then you place your Login.jsp in the secured area. Make sure the login form and the login

Re: Servlet loading twice if init() not finished?

2001-02-01 Thread Tim Endres
I believe that is perfectly normal behavior. Init() is called whenever a servlet instance is created, and they may be created at any time and in any number (unless you specify a limit in your servlet engine, or you use the single threaded model for your servlet, which I do not recommend for

Re: Orion returns X EJB when you lookup for Y EJB !!!

2001-02-01 Thread Solanki Manish
Hi tim, Go to http://jakarta.apache.org/ant/index.html and download ANT. Compile the project with ANT (It's having good documentation. It's not like Orion!) Ant will create .ear, .war and .jar files and also will create folder like src, rel Just follow the Ant and then Orion is working

Re: same Error deserializing EJB-session on petstore, anyone help me.

2001-02-01 Thread Alexey_Ryndin/Storactive
I don't know why your orion try to passivate petstore modelUpdateManager. (BTW I don't know what is petstore.) And solutions, I believe, are the same: either use ejbPassivate and ejbActivate to manage non-serializable resources or define them as transient fields. Alexey Ryndin

RE: Student use and licenses

2001-02-01 Thread Kemp Randy-W18971
I think that Jboss, Jonas, and Orion are fairly stable, but are big companies willing to run a store using them? You really need to play with the products and stress test them in a simulated environment. As far as my ranking, I put Orion first and Jboss/Tomcat a close second. I am still

Re: Form Login bouncing me to welcome page!

2001-02-01 Thread Matt Bauer
Is your welcome jsp a protected resource? That should fix it. Matt Gerald Gutierrez wrote: I've searched the mailing list, but there doesn't seem to be information on this. I'm a little desparate now. I'm using a form-based login for my web application. When a user hits Login.jsp, s/he

Re: same Error deserializing EJB-session on petstore, anyone help me.

2001-02-01 Thread Matt Bauer
Just glancing at your problem, I think the error is in the petstore app. ModelManager and some other classes for the shoppingclientcontroller do not implement serializable and hence an error. Matt Li You wrote: Hi All, Dear Alexey Ryndin, I find same Error deserializing EJB-session

Questions about running an EJB client

2001-02-01 Thread Eric Hodges
I'm trying to set up an EJB (my first time) on Orion. I have the .EAR file running, I just need to get the client to test it. When I try to run the client, it fails on the constructor for InitialContext(). Here's the error: java.lang.SecurityException: Not allowed to look up

Re:Re: Error deserializing EJB-session, anyone tell me why?

2001-02-01 Thread Li You
-- Original Message -- From: "Li You" [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] Date: Wed, 31 Jan 2001 20:20:38 -0700 Hi All, Dear Alexey Ryndin, Thanks for you help, I do it that you say, the errors was gone. but some new errors showing

Session replication in an orion cluster

2001-02-01 Thread Marcel Schutte
Hi, There is something that I can't find a clear answer for in the jsp1.2 and servlet2.3 specs. I have an application with a jsp:useBean id="findTicketArgs" scope="session" class="nl.gx.support.ticket.FindTicketArgs" / that I want to run in a clustered environment with fail-over. From jsp1.2

same Error deserializing EJB-session on petstore, anyone help me.

2001-02-01 Thread Li You
Hi All, Dear Alexey Ryndin, I find same Error deserializing EJB-session in petstore on Orion,I don't know where i miss ? where petstore miss ? where

SV: JSP TagLibs and UTF8 Encoding

2001-02-01 Thread Magnus Rydin
Title: SV: JSP TagLibs and UTF8 Encoding What default encoding do you use for your webapp? Could it be solved by just setting the default-charset to UTF-8 in your orion-web.xml ? -Ursprungligt meddelande- Från: Ted Rice [mailto:[EMAIL PROTECTED]] Skickat: den 31 januari 2001

Re: Problem with latest Oracle JDBC.zip..anyone having similar problems?

2001-02-01 Thread Alexey_Ryndin/Storactive
I don't know about 1.4.5, but I use 1.4.0 with Oracle 8.1.7 for more then couple of month and there is no such error. Alexey Ryndin

RE: Re: Error deserializing EJB-session, anyone tell me why?

2001-02-01 Thread Michael Mok
Hi I would suggest that you make the dbconnection variable transient. Would it be better to close the database connection prior to deserializing and then have the bean establish the connection again later. private transient Connection dbConnection = null; private transient ResultSet rs

Orion and Interbase 6

2001-02-01 Thread Arno Grbac
Here it goes: database-schema, FILE: interbase.xml database-schema name="Interbase" not-null="not null" null="default null" primary-key="primary key" max-table-name-lenght="30" type-mapping type="java.lang.String" name="VARCHAR(255)" / type-mapping type="int" name="INTEGER" / type-mapping

Re:Re: Error deserializing EJB-session, anyone tell me why?

2001-02-01 Thread Alexey_Ryndin/Storactive
I have no time to inspect your code in depth, but as far as I can judge from the exception stack trace you not release connection in your bean, and orion decide to passivate it. Overwrite ejbPassivate to release all resources your ejb use and ejbActivate to get them back. Alexey Ryndin.

RE: Removing Stateful Session Beans

2001-02-01 Thread Russ White
The samples here are partial, and assume a good understanding of EJB and Servlets/JSP. :) 1) Despite what some older ejb texts say you should never ever store a reference to an EJBs remote interface in a session variable(See EJB2.0 Spec. Sections 5 6). Instead you should store a handle to the

RE: Servlet loading twice if init() not finished?

2001-02-01 Thread Marcel Schutte
Hi, I've looked at the servlet 2.2 spec, which by the way is very readable unlike for instance the ejb spec. It states in paragraph 3.2 that 'there must be only one instance of a servlet class per servlet definition in a container'. This is the case in Marco's example. In 3.3.2 it says that

RE: When using autonumber for the primarykey...

2001-02-01 Thread Jeff Schnitzer
From looking at the source, counter.jar only writes to the database for every ten keys generated. With pessimistic concurrency, loads do not occur for each use. Here's the relevant code from CounterEJB.java: public String ejbCreate(String name) throws CreateException {

RE: orion-web.xml

2001-02-01 Thread Angus Mark
orion -web.xml must go in the same place as web.xml - ie: in the web-inf directory As for the classpath - I don't think you need to add the file:/// bit of the path - just use the directory path ie: D:/myprojects/paomgmt/classes"/ and see what it does. Hope that helps

RE: Evermind or Ironflare?

2001-02-01 Thread joe . ottinger
Title: RE: Evermind or Ironflare? Evermind is changing (or has changed) their company name to Ironflare AB. Same company. Same people. Same coders. Same product. New name. -Original Message- From: Sean Pau [mailto:[EMAIL PROTECTED]] Sent: Thursday, February 01, 2001 8:21 AM To:

RE: Questions about running an EJB client

2001-02-01 Thread Juan Lorandi (Chile)
in orion-application.xml (you can find it in $orion\application-deployments\YOURAPP\) there should be a namespace tag; below is mine's form an app: namespace-access read-access namespace-resource root="" security-role-mapping

RE: Form Login bouncing me to welcome page!

2001-02-01 Thread Angus Mark
So, when the user is going to http://host:port/yourapp/Login.jsp they get redirected to LoginForm.jsp. They then authenticate and should see the resource they requested (ie: http://host:port/yourapp/Login.jsp) - is this what you mean by the welcome page ?? Hope that

Trying to use Cocoon 1.8.2

2001-02-01 Thread Seyed P. Razavi-Nematollahi
Title: Trying to use Cocoon 1.8.2 Hi, I'm trying to run the samples from the Cocoon distribution after installing Cocoon as per the instructions in http://www.orionsupport.com/articles/cocoon.html but I get the following error: Publishing Engine could not be initialized.

Oracle database and connection pooling

2001-02-01 Thread Danut Prisacaru
Hi, I am new to EJBs so I apologize if my question sounds silly. I am trying to configure Orion to use Oracle 8 and pooled connections. This is how my data-source looks like: data-source class="com.evermind.sql.ConnectionDataSource" ejb-location="jdbc/MyApollo"

Evermind or Ironflare?

2001-02-01 Thread Sean Pau
hi I always thought OrionServer is by Evermind. But their FAQ listed the company as Ironflare. Who owns OrionServer? Thanks _ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com

Re: Security...

2001-02-01 Thread Christian Sell
Hi, My question also relates to security. How can we map OS level usergroups to J2EE security roles? In the XML descriptors, we can only map roles to methods, EJBs, etc. But how to map real users to roles? (Please let me know your answers for both Windows and Solaris platforms!) Thanks,

AW: Out Of Memory Problem / Passivation Error

2001-02-01 Thread Jens Stutte
They said, that there is a limit in the new 1.4.6 version, but unfortunately it's not avaliable yet, it seems. We are struggeling heavily with the same Problem here. Regards, Jens Stutte -Ursprüngliche Nachricht- Von: Jaco van Rooijen [mailto:[EMAIL PROTECTED]] Gesendet am:

Re: Questions about running an EJB client

2001-02-01 Thread Lauren Commons
never stick ANYTHING in your ear --- Eric Hodges [EMAIL PROTECTED] wrote: Where did this file come from? I didn't put it in my EJB jar or my EAR file. It doesn't look like yours (there's no name attribute on the security-role-mapping tag), so once I edit it how will I stick it back in

Removing Stateful Session Beans

2001-02-01 Thread Dean Hutchins
Hello, I am using Orion 1.3.8. I have created a stateful session bean reference in a JSP and saved the reference in the session. My problem is that the session bean doesn't timeout and I can't determine a method for removing the bean. I have tried to create a class implementing the

Re: Form Login bouncing me to welcome page!

2001-02-01 Thread Gerald Gutierrez
I agree that is the correct sequence, but that is not what I get. Assume I have a welcome file defined called welcome.jsp. The sequence of events is: - User requests secured page /Login.jsp - User is redirected to LoginForm.jsp - User enters correct credentials - User is logged in - User is

RE: Questions about running an EJB client

2001-02-01 Thread Juan Lorandi (Chile)
Read the j2ee spec again. orion-x.xml files are deployment info; deployment info is server dependant (in contrast to bean developer info assembly info); deployment info may override complete for j2eeri, files are named j2eeri-.xml basically, there's one of these per every .xml in the

Re: Oracle database and connection pooling

2001-02-01 Thread jbirchfield
Try this: DataSource dataSource = (DataSource)context.lookup("jdbc/OraclePooledDS"); Connection con = dataSource.getConnection(); orion will return a pooled connection to you. James Birchfield Ironmax a better way to buy, sell and rent construction equipment 5 Corporate Center 9960 Corporate

RE: Oracle database and connection pooling

2001-02-01 Thread Madrid, Christopher P (US - Austin)
Title: RE: Oracle database and connection pooling Try using com.evermind.sql.DriverManagerDataSource as your datasource class and set your max-connections. Look it up using your ejb-location and setting it to the standard DataSource interface. Orion will pool the connection automatically.

RE : JSP TagLibs and UTF8 Encoding - Further Info

2001-02-01 Thread Ted Rice
A little further information on my encoding problem with the JSP Tags and XML translation. When I remove the JSP BodyTag wrapper around the JSP code producing XML, the XML is shown in the browser and all the UTF8 characters are displayed properly. Meaning that in the processing of the JSP the

JSP Syntax

2001-02-01 Thread Randahl Fink Isaksen
I have two very similar lines of code - one of them causes a weird syntax interpretation on Orion. According to my reference books the two expressions should produce the same result. Does anyone know why these expressions work differently on Orion? Correct on Orion: p/sub%= t.getString() %/p

Re: JSP Syntax

2001-02-01 Thread Nick Newman
That seems odd. Could you please tell us what the two versions produce. That might help. Nick At 04:53 PM 2/1/01 +0100, you wrote: I have two very similar lines of code - one of them causes a weird syntax interpretation on Orion. According to my reference books the two expressions should

RE: RE : JSP TagLibs and UTF8 Encoding - Further Info

2001-02-01 Thread Juan Lorandi (Chile)
aren't cp1252 and UTF-8 actually the same? -Original Message- From: Ted Rice [mailto:[EMAIL PROTECTED]] Sent: Jueves, 01 de Febrero de 2001 8:23 To: Orion-Interest Subject: RE : JSP TagLibs and UTF8 Encoding - Further Info --- Ted Rice APAMA Ltd, 17 Millers Yard, Mill

Orion Default Header

2001-02-01 Thread Peter T. Brown
I am trying to set a cookie using both: response.addCookie or response.setHeader Neither works in IE, but does work in Lynx. The header that is returned is: HTTP/1.1 200 OK Date: Fri, 02 Feb 2001 03:03:40 GMT Server: Orion/1.3.8 Content-Length: 23 Set-Cookie: sometext=aasdlfkjasd; Path=

Error deserializing EJB-session, Errors was gone!

2001-02-01 Thread Li You
Dear All, The deserializing EJB-session Errors was gone! Thank you Alexey Ryndin! Thank you Michael Mok ! Thank you Matt Bauer! Thanks all of your helps! In my programs I only updata the define of "protected ApplicationControlDAO dao " to "protected

Error deserializing EJB-session, Errors was gone!

2001-02-01 Thread Li You
Dear All, The deserializing EJB-session Errors was gone! Thank you Alexey Ryndin! Thank you Michael Mok ! Thank you Matt Bauer! Thanks all of your helps! In my programs I only updata the define of "protected ApplicationControlDAO dao " to "protected

RMI over SSL: is it possible with orion?

2001-02-01 Thread Jens Stutte
Hello, we'd like to know, if it is possible to have a secure connection between an EJB remote interface (client) and the ejb server, that is, if it's possible to use ssl as transport layer for the RMI connection or if there is any other way to achieve this. By now, a short _fast_ answer like

Re: Form Login bouncing me to welcome page!

2001-02-01 Thread Nick Newman
The sequence of events is: - The user requests a secured page (/Login.jsp, in your case). - The server intercepts the request and redirects to the form-based login page (LoginForm.jsp) - If the user logs in successfully, the server allows the original request to proceed (ie. Login.jsp is

SV: Evermind or Ironflare?

2001-02-01 Thread Klaus . Myrseth
Ironflare is the reason why its been silent here for a couple of months :) Orion team has made a new company with the name Ironflare... They was a part of Evermind before.. Now they have more possabilities to expand and so on. Klaus -Opprinnelig melding- Fra: Sean Pau [mailto:[EMAIL

RE: Form Login bouncing me to welcome page!

2001-02-01 Thread Espen Kolstad
Your web-resource-collection is a bit wrong (I think). Try this instead: web-resource-collection web-resource-nameLoginTrigger/web-resource-name descriptionLoginTrigger/description url-pattern/path/to/protected/resources/url-pattern

embedded servlet tag

2001-02-01 Thread Peter T. Brown
Title: RE: Oracle database and connection pooling Does anyone know if there is plan to support the server-side include syntax for servlets? For example HTML such as this in a JSP page: SERVLET NAME=ApMaker PARAM NAME=pageTitle VALUE=asdf /SERVLET Peter T. Brown

cascade-delete support

2001-02-01 Thread Christian Billen
Hi there, I run Orion 1.4.5 and was playing with the EJB 2.0 features. Is cascade-delete/ on the many side of the relationship supposed to work yet or is it still on the todo list? Thanks, Christian

Re: same Error deserializing EJB-session on petstore, anyone help me.

2001-02-01 Thread Ray Harrison
I have experienced the same problems with the petstore app on Sybase/EA Server and Orion/Variety of databases. Its somewhere in the app itself...but the app itself always needed fixing prior to running it anyway - depending on the app server and the database. It doesn't do much right out of