Re: explicit table-names in CMP

2001-10-05 Thread Dave Smith
Toni Menzel wrote: dear all, We want to define an explicit table name for CMP's in OrionAppServer. By default, CMP tables have the names of the full qualified classname (entitybean). E.g. if the ejb-entity-class is net.quintessence.core.Leg then the table's name is: net_quintessence_core_leg.

Re: Using jakarta-struts with orion1.4.5

2001-03-06 Thread Dave Smith
Have you put struts.jar in your WEB-INF/lib directory (correct) or in the orion/lib directory (incorrect)? Also struts needs to be patched to work with Orion (ActionServlet.java as I remember, its in the archives). Mark Kettner wrote: I'm trying to use jakarta-struts with orion1.4.5. I've

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

2000-09-07 Thread Dave Smith
uld be greatly appreciated. Thank you all for your time... -Matt Tilchen [EMAIL PROTECTED] Supposedly you can do this in the orion-ejb-jar.xml file. I've only been able to map my class variables to my field names there. To specify the table name, I set the ejb-name> in the dd to the table n

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: Calling Servlet from another servlet error using orion

2000-09-06 Thread Dave Smith
let") .forward(request, response); -- Dave Smith Software Development Manager e-Net Software Limited Bath United Kingdom [EMAIL PROTECTED] begin:vcard n:Smith;Dave tel;cell:+44 797 0008867 tel;work:+44 1225 445610 x-mozilla-html:TRUE url:http://www.enetgroup.co.uk org:e-Net Soft

Re: deploying orion-web.xml

2000-09-04 Thread Dave Smith
It lives in the (web-app-root/)WEB-INF/orion-web.xml as described in the doc, not the Orion directory. Klaus Thiele wrote: Hello, i know how to deploy an "orion-ejb-jar.xml" - and it works fine. is it also possible to deploy an "orion-web.xml"? i'd like to set "development and

Re: Orion Log file analyser

2000-09-01 Thread Dave Smith
I have used Analog (free!) http://www.statslab.cam.ac.uk/~sret1/analog/ It requires you to set your log file format to access-log path="../log/yoursite-web-access.log" format="$ip - $user [$time] quot;$requestquot; $status $size quot;$refererquot; quot;$agentquot;" split="day" suffix="ddMMyy"

Re: RMI from EJB, permissions in EJB

2000-08-31 Thread Dave Smith
I'm not sure you can. I think this kind of behaviour (i.e. opening sockets to remote registries) is explicitly forbidden in section 18.1.2 of the EJB 1.1 spec. Friedrich Dodt wrote: How do I get my Session Bean to issue an RMI call successfully? I am trying to contact a simple RMI method

Re: Debugging servlets

2000-08-23 Thread Dave Smith
It is very similar to debugging EJBs as described on www.orionsupport.com, but you need to have the directory under which the servlets are deployed in your classpath. Stanislav Bernatsky wrote: Could anyone explain me how to debug servlets in Kawa+Orion? When I debug ejb's its all works fine.

Re: Help: Mapping roles to users.

2000-08-17 Thread Dave Smith
This has been a long running problem that I never received an answer to, despite much discussion on this list. wim veninga wrote: Hi all, I have created an set of Enterprise beans and in the assembly descriptor I have defined a set of roles that have some permissions to run methods ( in

Re: webapp design: how to handle connection pooling

2000-08-10 Thread Dave Smith
Connections obtained through a datasource ar closed to indicate that they are available for re-use. The actual underlying connection to the database is not closed. Joe Peer wrote: Hi everybody, thank you for your responses! i forgot to say that i am already using orion's connection pooling

Re: JSP on Win98

2000-08-10 Thread Dave Smith
If Jikes is in your system path then the patch to Jikes is not needed in server.xml (otherwise it is of course). If you say to use Jikes, the the inline compiler is not used (and everything goes a lot quicker). JSP compilation and EJB deployment is about 10-15 times faster with Jikes. "Su, Yi"

RE: Getting remote objects

2000-07-27 Thread Dave Smith
you down the same route. In short, you do not need to narrow object when you put them into the JNDI context. Dave Smith Senior Team Leader Aristocrat Technologies Australia Pty Ltd mailto:[EMAIL PROTECTED] -Original Message- From: Jens Stutte [mailto:[EMAIL PROTECTED]] Sent: Thursday, 27

Principles sanity check. The saga continues

2000-07-26 Thread Dave Smith
ame method-name*/method-name /method /method-permission . . . Where am I going wrong. Dave Smith Senior Team Leader Aristocrat Technologies Australia Pty Ltd mailto:[EMAIL PROTECTED] -Original Message- From: Nick Newman [

RE: Getting remote objects

2000-07-26 Thread Dave Smith
("HomeName"); but the advent of RMI-IIOP made this extra narrowing step necessary. You may find that EJB servers that do not use RMI over IIOP will work with the old (brief) method, but protect yourself by using the narrowing step for all remote objects as well. Dave Smith Senior Team Leader Ari

RE: Getting remote objects

2000-07-26 Thread Dave Smith
You would get ClassCastExceptions (I think). Orion does not use RMI over IIOP so the old method will work, but will not necessarily be portable to all app servers (including the J2EE). Dave Smith Senior Team Leader Aristocrat Technologies Australia Pty Ltd mailto:[EMAIL PROTECTED

RE: JDBC Connection problem

2000-07-26 Thread Dave Smith
location="jdbc/DefaultPooledDS" xa-location="jdbc/xa/DefaultXADS" ejb-location="jdbc/DefaultEJBDS" url="jdbc:mysql://localhost/test" connection-driver="org.gjt.mm.mysql.Driver" us

Principles sanity check. Please help - I'm going mad!

2000-07-25 Thread Dave Smith
group name="users" / group name="administrators" / /security-role-mapping principals path="d:\orion\config\principals.xml" / where guests,users and administrators are groups in principles.xml. Is this the correct thing to do. Dave Smith Senior Team Leader Aristocrat Technologies Australia Pty Ltd mailto:[EMAIL PROTECTED]

RE: How to programatically start orion ejb container

2000-07-23 Thread Dave Smith
-userThreads should not be used with the -D option (it is not a definition) but should be added to the args array before calling the main method. Dave Smith Senior Team Leader Aristocrat Technologies Australia Pty Ltd mailto:[EMAIL PROTECTED] -Original Message- From: Vidur Dhanda

RE: debugging orion EJB's with Netbeans

2000-07-20 Thread Dave Smith
EJBs and Servlets (and the interactions between them) are very easy to debug with Kawa if you are Windoze based. See www.orionsupport.com in the Orion FAQ section. Kawa is a lot lighter on the resources then Forte as well. Dave Smith Senior Team Leader Aristocrat Technologies Australia Pty Ltd

RE: ..problem installing orion 1.0.3b on win95

2000-07-19 Thread Dave Smith
This is just a guess: Do you have another XML Parser in your system CLASSPATH. Try set CLASSPATH= java -jar orion.jar I used Orion on 95 for ages. Be warned though that it runs pretty slowly. An identical machine running NT Workstation runs it approximately 4-5 times faster. Dave Smith

RE: sendRedirect with Netscape

2000-07-19 Thread Dave Smith
have cookies disabled in Netscape? If so are you using URL rewriting? Dave Smith Senior Team Leader Aristocrat Technologies Australia Pty Ltd mailto:[EMAIL PROTECTED] -Original Message- From: Nijhawan, Sumit [mailto:[EMAIL PROTECTED]] Sent: Thursday, 20 July 2000 2:50 To: Orion-Interest

RE: config tool

2000-07-18 Thread Dave Smith
Oops, fast fingers, slow brain. 1.1.20+ is what I meant. Dave Smith Senior Team Leader Aristocrat Technologies Australia Pty Ltd mailto:[EMAIL PROTECTED] -Original Message- From: David Sierra Fernandez [mailto:[EMAIL PROTECTED]] Sent: Tuesday, 18 July 2000 16:41 To: Dave Smith Cc

RE: admin.jar only 441 bytes

2000-07-18 Thread Dave Smith
Correct. It only contains a Manifest that says to use a class from Orion.jar Dave Smith Senior Team Leader Aristocrat Technologies Australia Pty Ltd mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] -Original Message- From: Terence Kwan [mailto:[EMAIL PROTECTED]] Sent

RE: admin.jar only 441 bytes

2000-07-18 Thread Dave Smith
Do I guess from your prompt that you are still using Orion rc1? If so, get a later version (1.0.3b is the latest stable version). I am not sure if rc1 has all the bits in it. I only started in earnest with rc4. Dave Smith Senior Team Leader Aristocrat Technologies Australia Pty Ltd mailto

RE: background operation

2000-07-18 Thread Dave Smith
I am able to just run it as a background process then log out: orion.sh: java -jar orion.jar then ./orion.sh Dave Smith Senior Team Leader Aristocrat Technologies Australia Pty Ltd mailto:[EMAIL PROTECTED] -Original Message- From: Brady Moritz [mailto:[EMAIL PROTECTED]] Sent

RE: initial context help

2000-07-18 Thread Dave Smith
principals.xml used is the one created in the application-deployments tree unless you modify your orion-application.xml to point to the one in the config directory. Dave Smith Senior Team Leader Aristocrat Technologies Australia Pty Ltd mailto:[EMAIL PROTECTED] -Original Message- From: Enr

RE:

2000-07-17 Thread Dave Smith
myApp-ejb META-INF ejb-jar.xml orion orion-ejb-jar.xml Dave Smith Senior Team Leader Aristocrat Technologies Australia Pty Ltd mailto:[EMAIL PROTECTED] -Original Message- From: Juan Pablo Lorandi [mai

RE: config tool

2000-07-17 Thread Dave Smith
If you have a late version (2.1.20+) java -cp %CLASSPATH%;orion.jar com.evermind.gui.server.ServiceConsole It is still a bit rough but looks very promising. Dave Smith Senior Team Leader Aristocrat Technologies Australia Pty Ltd mailto:[EMAIL PROTECTED] -Original Message- From

RE: useage of context-param in web.xml

2000-07-16 Thread Dave Smith
The context parameters are not in the servlet config, they are in the context. The following syntax is correct: getServletContext().getInitParameter("Webmaster") Dave Smith Senior Team Leader Aristocrat Technologies Australia Pty Ltd mailto:[EMAIL PROTECTED] -Original Message

RE: error starting :RMI Server, http server

2000-07-16 Thread Dave Smith
Have you cleanly shut the server down after the last time you ran it? I am using an almost identical setup to you and I find that when I shut Orion down using admin.jar there are a lot of java processes left running that must be killed separately. Dave Smith Senior Team Leader Aristocrat

RE: how to get a web application to startup automatically?

2000-07-13 Thread Dave Smith
ill be loaded when orion is started, and your load-on-startup servlet will start. Dave Smith Senior Team Leader Aristocrat Technologies Australia Pty Ltd mailto:[EMAIL PROTECTED] -Original Message- From: Ari Halberstadt [mailto:[EMAIL PROTECTED]] Sent: Friday, July 14, 2000 3:51 AM To: Or

Simple EJB principles question

2000-07-12 Thread Dave Smith
these are simple questions, but I am more a servlet/JSP person than EJB. Thanks Dave Smith Senior Team Leader Aristocrat Technologies Australia Pty Ltd mailto:[EMAIL PROTECTED]

Orion 1.1.12 to 1.1.16 big problems

2000-07-10 Thread Dave Smith
iceConsole looks like it will be nice though! Dave Smith Senior Team Leader Aristocrat Technologies Australia Pty Ltd mailto:[EMAIL PROTECTED]

JSP errors in 1.1.8

2000-07-03 Thread Dave Smith
was found for method "writeBytes(javax.servlet.jsp.JspWriter, byte[], int, null)". Dave Smith Senior Team Leader Aristocrat Technologies Australia Pty Ltd mailto:[EMAIL PROTECTED]

RE: orion-ejb-jar.xml

2000-07-03 Thread Dave Smith
myclasses etc. The file will be copied from this directory, and will form the basis for the deployed version once the deployer has updated times, wrappers etc. This copying only happens if the deployed orion-ejb-jar is deleted, it does not seem to do a timestamp comparison. Dave Smith Senior Team

JMS

2000-06-22 Thread Dave Smith
I am trying to use JMS withing Orion 1.0.3 and I need to know where in the JND namespace I can find the TopicConnectionFactory? I can find my topic OK, but cannot create a connection to it without the factory. Thanks Dave Smith Senior Team Leader Aristocrat Technologies Australia Pty Ltd