DeadLock in UserTransaction

2000-07-13 Thread Hans Barnard
Hi I have discovered a deadlock problem with Orion 1.1.16 which I suspect is a bug: I do the following (in the servlet tier): 1. Begin a user transaction (getting the userTransaction from java:comp/UserTransaction). 2. Then create a new entity bean 3. Then execute a finder method which should

WAR Files

2000-07-13 Thread Robert Keith (UK)
Hi guys, Does anyone know of a decent site that details what should be described in the web.xml file, I can't find anything on Sun's site that is of any use, and how to go about creating a WAR file. cheers Bob

RE: Real Debuggin On Orion? How

2000-07-13 Thread Rob Lapensee
Put my vote in for IBM Visual Age for Java support. All you would need to do is get Orion to run within IBM Visual Age. I have tried this, but it doesnt work. It works quite well with Tomcat, and I can debug servlets very nicely (www.ibm.com/vadd has details on how to do this). But I

JSP bug in state saving

2000-07-13 Thread hanasaki
I have written two JSP pages. The first does a JSP:include of the second in one of its table cells. Page 1 shows an ID with myBeanX.getID() Each of the pages uses MyBeanX with the same variable name and a scope of session. The included page, page 2, is actually a login page that does a

Bug of Tag library

2000-07-13 Thread Jen Hsien Huang
When I try to create a Tag with TEI, like this x:mytag id="list" ... % String list = .. % /x:mytag This tag will use TEI declare a vairable in scripting with AT_END scope. but Orion will alter a translation error says that you duplicate declare "list", It's very strang, the AT_END

Re: trying to set up Cocoon2 - seeking fellow investigators

2000-07-13 Thread Yann Doussot
On Wed, 5 Jul 2000 [EMAIL PROTECTED] wrote: Hi. I'm all new to this mailing list - so bear with me and coincidence with any FAQs. I saw some messages about setting up Cocoon v1 with Orion in the mail archive, but was wondering if anyone managed to set up Cocoon2 from CVS

RE: JSP bug in state saving

2000-07-13 Thread Tom Wnuk
Using '%@ include...' is a static process. If you're using 'jsp:useBean...' in both that could be causing your problems. Also, why do you include page two into page one and then set the action to call page one again? Why not create another JSP page to process the login and then you can

how orion define servlet context???

2000-07-13 Thread tamer
does orion implements one servletContext for each URI path or does exists only one servlet context for all web applications based on java thanks for reply _ Tamer Americo - Conselho Federal de Medicina - CFM [EMAIL

useage of context-param in web.xml

2000-07-13 Thread Jen Hsien Huang
what is "context-param" in web.xml? how to use it ? can anybody give me a code snip for example. Regards., Jen Hsien Huang

How to shutdown orion server

2000-07-13 Thread Satish Musale
Hello Everybody, We have been trying to shutdown the orion app. server with the following command unsucessfully. Any help is much appreciated. java -jar admin.jar ormi://localhost:23791 admin 123 -shutdown It gives out following error,

Re: Real Debuggin On Orion? How

2000-07-13 Thread Steven Punte
Rob: Thanks for the reply. This is very interesting. So WebSphere has the ability to allow a particular thread, and their dependences, to be debugged without putting the entire server into debug mode. Is this a correct perception of you statement, or is the debugging mode taking

Re: useage of context-param in web.xml

2000-07-13 Thread Eric Richardson
Hi Jen, --From the dtd !-- The context-param element contains the declaration of a web application's servlet context initialization parameters. -- !ELEMENT context-param (param-name, param-value, description?) --this are parameters that apply to the application scope it looks like to me !--

data-sources.xml changes in 1.1.24

2000-07-13 Thread KirkYarina
The latest autoupdate makes some interesting changes in data-sources.xml, removing "Default data-source" - data-source name="Default data-source" class="com.evermind.sql.ConnectionDataSource" location="jdbc/DefaultDS"

Re: Real Debuggin On Orion? How

2000-07-13 Thread Steven Punte
Rob: Thanks for the reply. From your description it sounds like the operation and control of tomcat is taken over by the IDE. No one else would be able to use this server while you are in this debug mode. This same strategy should/must be doable for Orion or any other java based

RE: Real Debuggin On Orion? How

2000-07-13 Thread Darren Gibbons
Steven, AFAIK, there does not exist the ability to do what you're looking for with any application server/IDE combo. I think you are going to be stuck running the entire application server in debug mode to step through the code. While I haven't tried it with Orion, I've debugged servlets

RE: JSP bug in state saving

2000-07-13 Thread Tom Wnuk
That's not what I meant. During the compile of the jsp page include files are merged into their parent file becoming one piece of static code. The jsp:usebean.. will reference the instance of the object that is defined by the id for that users session. I'm not sure what will happen or if it's

Multiple User Debugging Env? Doesnt' Exist?

2000-07-13 Thread Steven Punte
Dear Darren: Thank for you reply. I'm coming to the same conclusion, and I would like to ask the Orion community at large, how does everyone do debugging? 1) Do you set up individual web servers for each developer, and thus use a normal debugging convention? 2) Is there any

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

2000-07-13 Thread Dave Smith
In your default-web-site.xml, or whichever config file you load you web site in, change the load-on-statup value e.g. web-app application="app1" load-on-startup="true" max-inactivity-time="1" name="app1-web" root="/app1" / The web app will be loaded when orion is started, and your

Re: WAR Files: ME TOO

2000-07-13 Thread Steven Punte
ME TOO: I'm looking for the "idiot guide to building war files" STeve Punte e-Business Software Architect Technologent Inc [EMAIL PROTECTED] - Original Message - From: Robert Keith (UK) [EMAIL PROTECTED] To: Orion-Interest [EMAIL PROTECTED] Sent: Thursday, July 13, 2000 2:13 AM

Web-app reload still not working..

2000-07-13 Thread Kevin Duffey
Hi, To whom may know what is going on, I am still having trouble getting the auto-code reload feature working. I posted before that the HtmlBean was giving a class cast exception, and Karl wrote back showing me some things that may be why. I implemented them and I am still having the

RE: Multiple User Debugging Env? Doesnt' Exist?

2000-07-13 Thread Tom Wnuk
I would agree with Darren, each developer should have their own instance of Orion Server running on their own desktop. I'm assuming their machines are big enough and if you're using any of the full featured IDE's like VisualAge, VisualCafe, or JBuilder, than they probably can handle an

Error in ejbCreate() ...

2000-07-13 Thread Stefano Andreani
My EJB (ServExecEJB) is a Stateless Session Bean. After the execution of ServExecEJB.ejbCreate() the following exception is thrown: com.evermind.server.rmi.OrionRemoteException: Error in ejbCreate(): Only beans with user-managed transactions can invoke getUserTransaction() at

RE: Creation Of WAR Files?

2000-07-13 Thread Kevin Duffey
I believe Orion has a GUI tool that creates a WAR for you, but that is beyond me. When I am developing, I don't WAR up the dir. I keep it expanded. You point to the WAR directory structure in default-web-site.xml in the /config folder. Just read up on that and you should be set to have a WAR file

Fw: Creation Of WAR Files?

2000-07-13 Thread Steven Punte
Kevin: Thanks for the reply. My interest in a WAR file is for placing an application in a production environment. It's very nice to simply ship it over, and keep track of it, as a single file. Thanks for you description below. It helps. Would/should JSP