orion-interest@orionserver.com

2000-07-13 Thread Edwin
Hi!all^.^ I have problems to use oiron when I test orion demo .There are always errors about ERROR:  parser: parse error at or near ")" likes below. And I have questions about EJB deployment,I can not find out how to use EJB only on orion document. If I have *.jar about EJB,I just wanna depl

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/shoul

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

RE: useage of context-param in web.xml

2000-07-13 Thread Jen Hsien Huang
I have try to use it in this way , but it donest work Webmaster [EMAIL PROTECTED] out.println("param:"+getServletConfig().getServletContext().getAttribute("Webmaster")); -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent

Creation Of WAR Files?

2000-07-13 Thread Steven Punte
Dear Orion-Interest Group: Can I simply create a war file by: 1)Properly creating an WEB-INF directory. 2)Properly creating a WEB-INF/web.xml file. 3)Properly supplying WEB-INF/classes/<*>.class files. 4)Executing "jar cvf myNewWarFile.war WEB-INF" And

RE: WAR Files: ME TOO

2000-07-13 Thread Mike Cannon-Brookes
A WAR file is just a jar that has one special directory /WEB-INF that has to contain a web.xml file. As long as your web.xml file validates according to the DTD, it's a valid WAR. Basically you can has as much or as little in the web.xml file as you want. (see http://www.orionserver.com/docs/web.x

RE: WAR Files: ME TOO

2000-07-13 Thread Dave Smith
I would suggest the JSP spec and servlet spec incuded with the Orion docs. The description in the servlet spec pdf (servlet2_2-spec.pdf section 9.5 and 9.6) describes what is to go in web.xml from a servlet point of view, and the JSP spec covers how jsps are handled in a similar manner. Dave Smit

RE: WAR Files: ME TOO

2000-07-13 Thread Conrad Chan
Take a look at the java servlet specification available in javasoft site. This is the URL I download my copy from http://www.javasoft.com/products/servlet/download.html. Read Section 9 it should give you a basic idea of what web application is. Hope this help Conrad -Original Message---

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 com.evermind

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 insta

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 pro

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

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. The web app will 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

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 conve

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 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 even legal to

RE: JSP bug in state saving

2000-07-13 Thread hanasaki
Even though it is a static process, the bean is an instance of a "new'ed" object running in the VM. It is just the html that is in the jsp that is static. On Thu, 13 Jul 2000, Tom Wnuk wrote: > Using '<%@ include...' is a static process. If you're using > ' you include page two into page one a

LDAP based Auth

2000-07-13 Thread hanasaki
Is there a way to use LDAP or a RDMB for orion instead of principals.xml? You guessed it.. SingleSignOn!

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 servle

JDBC...

2000-07-13 Thread Chris Miller
Hi, I have created a test Entity CMP bean, and can get a servlet talking to it, using a SQL Server database no problem at all. I don't have a resource-ref-mapping set up in the ejb-jar.xml file for this bean, however I only have one datasource set up so I assume Orion just defaults it to using th

how to get a web application to startup automatically?

2000-07-13 Thread Ari Halberstadt
I've got a web application that needs to spawn a background thread as soon as it is started up (the background thread is used to schedule things at specific times). Adding a load-on-startup value to the web.xml file does not load the corresponding servlet until a URL from the enclosing web appli

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    

RE: Real Debuggin On Orion? How

2000-07-13 Thread Rob Lapensee
Perhaps I should clarify…   Strictly speaking of servlets, not JSP’s. Tomcat can be ‘imported’ into IBM Visual Age for Java. Once this is done, a small java program can be written to start up tomcat from within the IBM Visual Age for Java IDE. If a break point is set on any servlet co

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" - and replacing it with changing the name and all the locations. Does anyone know the reason for this? Of course, it broke my BMP test beans, until I re-added the app

Re: useage of context-param in web.xml

2000-07-13 Thread Eric Richardson
Hi Jen, --From the dtd --this are parameters that apply to the application scope it looks like to me in your app grab the values from the application scope. Let us know if it works for you. eric :-) Jen Hsien Huang wrote: > what is "context-param" in web.xml? > how to use it ? c

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 deb

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, Error:com.evermind.reflect.UndeclaredExceptionTypeExcept

Re: .JSP and Support Classes - Support Classes not reloading.

2000-07-13 Thread Ciaran McNulty
You should be able to make the application redeploy by touching the web.xml file. -Ciaran > I have created a simple JSP that imports one of my own classes to validate > users, get users rights, etc... When I make changes to this "external" > class, it is not updated. For instance: > > public cla

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

.JSP and Support Classes - Support Classes not reloading.

2000-07-13 Thread Jeremy Cowgar
I have created a simple JSP that imports one of my own classes to validate users, get users rights, etc... When I make changes to this "external" class, it is not updated. For instance: public class UserVerify { public String sName = "Jeremy"; } I compile it, run my .JSP accessing the sN

bug with long cookie values in 1.1.9

2000-07-13 Thread Ari Halberstadt
Hi, When one of our engineers tried to access Orion server v1.1.9 we got an error about a string index out of range when Orion was trying to access the request session. It turned out that the engineer's browser was sending a cookie that was 2663 bytes long. (This cookie was set by a different a

MVC

2000-07-13 Thread Savotchkin Egor
Hi all!   I want to move my site to the J2EE server. I want to use similar mechanism as was used in Java Pet Store.  Most of my site is static html pages so to follow MVC pattern I need to get all requests by Main.jsp, select the next page and forward the request to it. The problem is if I m

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 PR

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 PR

RE: JSP bug in state saving

2000-07-13 Thread Tom Wnuk
Using '<%@ include...' is a static process.  If you're using '   Why not create another JSP page to process the login and then you can always do a redirect to whatever page you'd like.   I'm not sure what your code looks like so it's just a guess.  You're probably not using the '   Tom

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 > (http://xml.

Bug of Tag library

2000-07-13 Thread Jen Hsien Huang
When I try to create a Tag with TEI, like this <% String list = .. %> 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 scope should allow you to do thi

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

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 doesn’t 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

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