RE: Does any one has a solution for the "domain was null" message???
The problem, is that I AM connecting to ANOTHER server from a client. It's just happends that the client is an Orion. Using ApplicationInitialContextFactory attempts to read META-INF/application.xml, but I need to specify , and other such entries which you cannot be put into application.xml. -AP_ -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Earl Marwil Sent: Friday, March 30, 2001 10:21 AM To: Orion-Interest Subject: Re: Does any one has a solution for the "domain was null" message??? There may be a clue to this question in the following error message that is generated when trying the com.evermind.server.ApplicationInitialContextFactory from an application client: "javax.naming.NamingException: com.evermind.server.ApplicationInitialContextFactory should only be used inside Orion server environments. For client com.evermind.server.ApplicationClientInitialContextFactory or com.evermind.server.rmi.RMIInitialContextFactory should be used" I suggest you try the ApplicationInitialContextFactory instead of the ApplicationClientInitialContextFactory in your situation. Somewhat related, I have been trying to get an application client working. I have succeeded in connecting to the orion rmi server, looking up an ejb, and retrieving data. I would like to authenticate against the EJBUserManager that is configured for our web applications. However, it appears that the rmi authentication defaults to XMLUserManager - i.e., I can only authenticate for users defined in the principals.xml file. This could be related to the orion Bugzilla #374. Can anyone provide some insight into the RMI authentication? Thanks. Regards, Earl At 18:04 3/29/2001 -0800, you wrote: >Could someone help me with this problem. When trying to create a new >InitialContext with factory >com.evermind.server.ApplicationClientInitialContextFactory from inside of >OrionServer always throws a NullPointerException, with message "domain was >null". The same code works fine from external client. > >Has anyone fixed this problem? Has anyone seen this problem? Is anyone >trying to deploy JSP and EJB parts on different Orion servers, or are all >people comfortable running their models in front of the firewalls? > >Any help would be appreciated > >Thanks for your help. >-AP_ Earl Marwil SCIENTECH, Inc. 1690 International Way Idaho Falls, ID 83402 208.525.3717
init'ing a session bean
I can't get the following session bean to work in Orion 1.4.5. The error is at the bottom of this page. Any help much appreciated. ConfigBuildBean - Session Bean ConfigBuildHome - EJBHome ConfigBuild - EJBObject -- ejb-jar.xml C.A.I.S. Application Used in the configuration of new builds. Build Configuration Session Bean ConfigBuildHome com.neuroquest.cais.ejb.config.ConfigBuildBean com.neuroquest.cais.ejb.config.ConfigBuildHome com.neuroquest.cais.ejb.config.ConfigBuild Stateless Container Users users Session Bean Implementations -- public class NewAction extends Action { private ConfigBuildHome home; public ActionForward perform(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) { // turn form instance into custom form bean. NewForm newForm = (NewForm) form; //String viewName = newForm.getView(); String initCtxFactory = getInitParameter(Context.INITIAL_CONTEXT_FACTORY); String providerURL = getInitParameter(Context.PROVIDER_URL); try { Properties env = System.getProperties(); env.put(Context.INITIAL_CONTEXT_FACTORY, initCtxFactory); env.put(Context.PROVIDER_URL, providerURL); Context ctx = new InitialContext(env); home = (ConfigBuildHome)ctx.lookup("ConfigBuildHome"); ConfigBuild build = home.create(); build.saveConfig(); } catch (Exception e) { log(e); e.printStackTrace(); } ... - The Error -- cassia(root):/u/public/orion# java -jar orion.jar Auto-unpacking /u/build/release/cais.ear... done. Auto-unpacking /u/build/release/cais/cais-web.war... done. Auto-deploying cais (Assembly had been updated)... Auto-deploying cais-ejb.jar (ejb-jar.xml had been touched since the previous deployment)... done. Auto-deploying C.A.I.S. (Assembly had been updated)... Orion/1.4.5 initialized java.lang.ClassCastException: ConfigBuildHome_StatelessSessionHomeWrapper1 at com.neuroquest.cais.actions.NewAction.perform(NewAction.java, Compiled Code) at org.apache.struts.action.ActionServlet.processActionPerform(ActionServlet.ja va, Compiled Code) at org.apache.struts.action.ActionServlet.process(ActionServlet.java, Compiled Code) at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java, Compiled Code) at javax.servlet.http.HttpServlet.service(HttpServlet.java, Compiled Code) at javax.servlet.http.HttpServlet.service(HttpServlet.java, Compiled Code) at javax.servlet.http.HttpServlet.service(HttpServlet.java, Compiled Code) at com.evermind.server.http.d3.sw(JAX, Compiled Code) at com.evermind.server.http.d3.su(JAX, Compiled Code) at com.evermind.server.http.ef.s1(JAX, Compiled Code) at com.evermind.server.http.ef.do(JAX, Compiled Code) at com.evermind.util.f.run(JAX, Compiled Code)
RE: [JBoss-user] JBoss verses Orion
Oh sorry I should have said. Jboss 2.1 binary (down loaded March 22) Orion is 1.3.8 -Original Message- From: Dan Christopherson To: 'jBoss' Cc: 'Orion-Interest' Sent: 3/30/01 3:21 PM Subject: Re: [JBoss-user] JBoss verses Orion What version of JBoss? If 2.1 (beta) the latest binary or a build from source? If source, what date? Earlier this year there were some performance problems stomped, but I haven't done any testing for performance. On Fri, 30 Mar 2001, Fink, Paul wrote: > > I ported our Orion application to JBoss. I love JBoss for > usability, documentation and support. Unfortunately our application is very > performance dependent the JBoss version ran very slow. After playing with > cache setting, etc. It seemed like the communications was the main bottle > neck. > To test this I wrote a simple session bean with one get method that returns > a Long. > > The client looped 10,000 times calling the getter. The Orion version was 6 > times faster! > Other tests we ran had Orion running 4x faster. > > It seems that JBoss certainly is performance limited. > > I'm running on a 900 MHz PIII under Linux with Sun's JDK 1.3 > > > Paul Fink > > ___ > JBoss-user mailing list > [EMAIL PROTECTED] > http://lists.sourceforge.net/lists/listinfo/jboss-user > -- Dan Christopherson (danch) nVisia Technical Architect (www.nvisia.com) Opinions expressed are mine and do not neccessarily reflect any position or opinion of nVISIA. --- If you're a capitalist and you have the best goods and they're free, you don't have to proselytize, you just have to wait. -Eben Moglen ___ JBoss-user mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/jboss-user
RE: [JBoss-user] JBoss verses Orion
I'm not completely sure if this is the reason but there is this "one VM/classloader or multiple VMs/classloaders" distinction. I believe the important point is that Orion is an EJB *and* Servlet container whereas JBoss is only an EJB container. So if you use tomcat for example to run your Servlets all the calls to JBoss based EJBs will we marshalled by value by default whereas in Orion they will be transferred by reference. This makes a huge difference especially if the method you call for performance testing does essetially nothing. There is, however, a way to configure the JBoss/tomcat (or JBoss/Jetty) combination so that this boundary is optimized away. With JBoss comes a sample application that you can call in two ways: either optimized or non optimized and the performance difference is aprox. 4 times or so. I think that this could be the difference you are seeing in your tests. You'll have to ask the JBoss experts to find out about how to configure JBoss so that it uses this optimization. The other thing that I've heard is that tomcat is rather slow in compaison to Jetty. And I know that the Orion JSP/Servlet engine is pretty fast so you should maybe try the JBoss/Jetty combination for faster results. Regards, Alexander Jerusalem At 00:44 31.03.01, Fink, Paul wrote: > Oh sorry I should have said. > >Jboss 2.1 binary (down loaded March 22) > >Orion is 1.3.8 > >-Original Message- >From: Dan Christopherson >To: 'jBoss' >Cc: 'Orion-Interest' >Sent: 3/30/01 3:21 PM >Subject: Re: [JBoss-user] JBoss verses Orion > >What version of JBoss? If 2.1 (beta) the latest binary or a build from >source? If source, what date? Earlier this year there were some >performance problems stomped, but I haven't done any testing for >performance. > > >On Fri, 30 Mar 2001, Fink, Paul wrote: > > > > > I ported our Orion application to JBoss. I love JBoss for > > usability, documentation and support. Unfortunately our application is >very > > performance dependent the JBoss version ran very slow. After playing >with > > cache setting, etc. It seemed like the communications was the main >bottle > > neck. > > To test this I wrote a simple session bean with one get method that >returns > > a Long. > > > > The client looped 10,000 times calling the getter. The Orion version >was 6 > > times faster! > > Other tests we ran had Orion running 4x faster. > > > > It seems that JBoss certainly is performance limited. > > > > I'm running on a 900 MHz PIII under Linux with Sun's JDK 1.3 > > > > > > Paul Fink > > > > ___ > > JBoss-user mailing list > > [EMAIL PROTECTED] > > http://lists.sourceforge.net/lists/listinfo/jboss-user > > > >-- >Dan Christopherson (danch) >nVisia Technical Architect (www.nvisia.com) > >Opinions expressed are mine and do not neccessarily reflect any >position or opinion of nVISIA. > > >--- >If you're a capitalist and you have the best goods and they're >free, you don't have to proselytize, you just have to wait. >-Eben Moglen > > >___ >JBoss-user mailing list >[EMAIL PROTECTED] >http://lists.sourceforge.net/lists/listinfo/jboss-user > >___ >JBoss-user mailing list >[EMAIL PROTECTED] >http://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] JBoss verses Orion
What version of JBoss? If 2.1 (beta) the latest binary or a build from source? If source, what date? Earlier this year there were some performance problems stomped, but I haven't done any testing for performance. On Fri, 30 Mar 2001, Fink, Paul wrote: > > I ported our Orion application to JBoss. I love JBoss for > usability, documentation and support. Unfortunately our application is very > performance dependent the JBoss version ran very slow. After playing with > cache setting, etc. It seemed like the communications was the main bottle > neck. > To test this I wrote a simple session bean with one get method that returns > a Long. > > The client looped 10,000 times calling the getter. The Orion version was 6 > times faster! > Other tests we ran had Orion running 4x faster. > > It seems that JBoss certainly is performance limited. > > I'm running on a 900 MHz PIII under Linux with Sun's JDK 1.3 > > > Paul Fink > > ___ > JBoss-user mailing list > [EMAIL PROTECTED] > http://lists.sourceforge.net/lists/listinfo/jboss-user > -- Dan Christopherson (danch) nVisia Technical Architect (www.nvisia.com) Opinions expressed are mine and do not neccessarily reflect any position or opinion of nVISIA. --- If you're a capitalist and you have the best goods and they're free, you don't have to proselytize, you just have to wait. -Eben Moglen
JBoss verses Orion
I ported our Orion application to JBoss. I love JBoss for usability, documentation and support. Unfortunately our application is very performance dependent the JBoss version ran very slow. After playing with cache setting, etc. It seemed like the communications was the main bottle neck. To test this I wrote a simple session bean with one get method that returns a Long. The client looped 10,000 times calling the getter. The Orion version was 6 times faster! Other tests we ran had Orion running 4x faster. It seems that JBoss certainly is performance limited. I'm running on a 900 MHz PIII under Linux with Sun's JDK 1.3 Paul Fink
Re: usebean tag
>This is the code: > >class="it.unical.amministrazione.np.DipartimentoQuery" /> > > >In my jsp page this code would take the values from a previous form and >take them in my bean, but I lost the Integer value idUniversita (it was in >a select tag). So I had to take it by a >request.getParameer("idUniversita")... Is this an Orion bug, is this a >Nicola's bug? Too strange! >Thanks in advance... Nicola, When you use the tag with that syntax, you are inserting that bean in the page scope. Once the page is completed, that scope will be cleaned up and your bean will be lost, so, if in a previous page you have set the idUniversita member, it will be lost. Try inserting that bean in the session scope, for example, so it will be accessible to the next page and you will not use that value. Best Regards, Kazuma Cos'e' il genio. E' fantasia intuizione, colpo d'occhio e velocita' d'esecuzione. (Amici Miei) --- Alessandro A. 'Kazuma' Garbagnati http://www.kazuma.net/ ICQ UIN: 1600386 Mountain View, CA, 94043 - USA
Re: Does any one has a solution for the "domain was null" message???
There may be a clue to this question in the following error message that is generated when trying the com.evermind.server.ApplicationInitialContextFactory from an application client: "javax.naming.NamingException: com.evermind.server.ApplicationInitialContextFactory should only be used inside Orion server environments. For client com.evermind.server.ApplicationClientInitialContextFactory or com.evermind.server.rmi.RMIInitialContextFactory should be used" I suggest you try the ApplicationInitialContextFactory instead of the ApplicationClientInitialContextFactory in your situation. Somewhat related, I have been trying to get an application client working. I have succeeded in connecting to the orion rmi server, looking up an ejb, and retrieving data. I would like to authenticate against the EJBUserManager that is configured for our web applications. However, it appears that the rmi authentication defaults to XMLUserManager - i.e., I can only authenticate for users defined in the principals.xml file. This could be related to the orion Bugzilla #374. Can anyone provide some insight into the RMI authentication? Thanks. Regards, Earl At 18:04 3/29/2001 -0800, you wrote: >Could someone help me with this problem. When trying to create a new >InitialContext with factory >com.evermind.server.ApplicationClientInitialContextFactory from inside of >OrionServer always throws a NullPointerException, with message "domain was >null". The same code works fine from external client. > >Has anyone fixed this problem? Has anyone seen this problem? Is anyone >trying to deploy JSP and EJB parts on different Orion servers, or are all >people comfortable running their models in front of the firewalls? > >Any help would be appreciated > >Thanks for your help. >-AP_ Earl Marwil SCIENTECH, Inc. 1690 International Way Idaho Falls, ID 83402 208.525.3717
Re: Simple web app development
I swear I looked before I asked! Really! :) I must have missed previous postings on this subject in all the other traffic. Thanks for not flaming me. It worked just like you said it would. Thanks, Bryant - Original Message - From: Magnus Rydin To: Orion-Interest Sent: Thursday, March 29, 2001 11:09 PM Subject: SV: Simple web app development Its not so hard. All you have to do is read one of the many postings on this subject throughout this list ;) If you dont want to build an ear for your web-application, you can add it to orion/config/application.xml with the following line: Then you just deploy your web-app to the default site by editing orion/config/default-web-site.xml and add the following line: WR -Ursprungligt meddelande-Från: Bryant Bunderson [mailto:[EMAIL PROTECTED]]Skickat: den 29 mars 2001 17:56Till: Orion-InterestÄmne: Simple web app development I am developing several small Servlet / JSP Web applications and testing them under different servers. I don't have a clue how to get Orion to recognize my application unless I package it all up into an EAR file and put it into the applications directory. What I want to do is to point Orion to my work directory and have it run the app from there. I do that now with other servers and it works just fine. For the sake of this message, I have created the following structure on my Windows 2000 box. C:\work\mytest C:\work\mytest\index.html C:\work\mytest\web-inf C:\work\mytest\web-inf\web.xml The index.html file says 'Hello, world!' and the web.xml file has the following in it: Test Application To run the app from Tomcat I add the following line to conf/server.xml: To run the app from Resin I add the following line to conf/resin.conf: To run the app from Weblogic I add the following line to weblogic.properties: weblogic.httpd.webApp.mytest=c:/work/mytest I do not have a clue how to point Orion to this simple app and have it run. I have tried on and off over several months with no success. Why is this so hard to do? Bryant
Servlet blues
Hi everyone, I have written a servlet that dynamically generates an image using Orion. Everything works fine under light load. However, under heavy load, when multiple users are using it simultaneously, it fails, presenting erroneous data. Does every request instantiate a new servlet class or is the same one shared? Is the doGet method synchronized? Is this behaviour specific to Orion? In a related question, sometimes, under heavy load i get the following exception: java.io.IOException: reading encoded JPEG stream at sun.awt.image.codec.JPEGImageEncoderImpl.writeJPEGStream(Native Method) Has anyone seen this problem before? Thanks a lot for your help. Huibert
Re: findByXXX() with an ORDER BY parameter for Container-managed bean?
I'd guess, though I haven't tried it, that you could declare a finder with two arguments- your object and a String. Something like: findByGroupNameSorted(GroupName gn, String dir) where dir would be "asc" or "desc" (either constants or a special mini-bean{tm}) Then, in your orion-ejb-jar.xml, do this: Rian - Original Message - From: Meo Van Le <[EMAIL PROTECTED]> To: Orion-Interest <[EMAIL PROTECTED]> Cc: Magnus Rydin (E-mail) <[EMAIL PROTECTED]> Sent: Friday, March 30, 2001 6:35 AM Subject: findByXXX() with an ORDER BY parameter for Container-managed bean? > Dear all, > Could you tell me how to pass an ORDER BY parameter ( ASC or DESC ) > for a finder-method of Container-Managed bean? > > For example: > I have an Entity Bean was deployed as a Container-Managed > bean. The following lines were extracted from my orion-ejb-jar.xml: > > table="Rws_Group" data-source="jdbc/RWS_EJB_DS"> > > persistence-name="rws_group_id" /> > > persistence-name="rws_group_name" /> > > > > > psv.rws.ejbs.RwsGroup > > findByGroupNameAsc > > > java.lang.String > > > > > > > psv.rws.ejbs.RwsGroup > > findByGroupNameDesc > > > java.lang.String > > > > > > I have to write 2 finder methods for an normal finder method with > ascending order and descending order: findByGroupNameAsc and > findByGroupNameDesc. > > Are there any way to combine them become a finder method? > > Thanks in advance! > -- -- > -- > * Le Van Meo > * Senior Developer > * Tel: 8 251 250 > * Mobil: 091 64 26 36 > * [EMAIL PROTECTED] > -- -- > > >
RE: SV: load-on-startup is not working
Try to use load-on-sartup="true" for your web-app node in default-website.xml. Kesav Kumar Software Engineer Voquette, Inc. 650 356 3740 mailto:[EMAIL PROTECTED] http://www.voquette.com Voquette...Delivering Sound Information -Original Message- From: Daniel Lopez [mailto:[EMAIL PROTECTED]] Sent: Friday, March 30, 2001 4:29 AM To: Orion-Interest Subject: Re: SV: load-on-startup is not working Hi Patrick, My problem is not that my servlet doesn't work. The servlet works but it is initialised when I perform the first request. It has to open database connections, parse a couple of xml files... at init time so I'd like to have it pre-loaded so the first request doesn't take too long. Orion doesn't have to compile my servlet as the servlet is already compiled and packed in a war file. Thanks anyway, Dan > Patrik Andersson wrote: > > Check your error log for compile time errors. is development="true" in > orion-web.xml so that Orion even tries to compile the servlet? > > regards, > Patrik Andersson > > -Ursprungligt meddelande- > Från: Daniel Lopez [mailto:[EMAIL PROTECTED]] > Skickat: den 30 mars 2001 10:54 > Till: Orion-Interest > Ämne: load-on-startup is not working > > Hi, > > I don't seem to find how to get the load-on-startup attribute to work. > > This is the web.xml snippet where I use it: > ... > > GuiaController > org.leaf.LEAFManager > 1 > > ... > I've also tried with , but to no avail. This has > been > working for me with Resin and other containers but it doesn't work > with > Orion. > What I am doing wrong? > Notes: > .- I'm pretty sure web.xml os being read as the application works fine > > after the first request, and if I add a typo to the web.xml file, I > get > an error message. The strange thing is that I don't get the error > message through the logs or the standard output, but when I try to > access for the first time. > Any hints? > TIA, > Dan
Re: Hot deployment not so hot
I'd suggest something a little less radical first... go into the orion-ejb-jar.xml file in your deployment directory and make sure that your updates were reflected there. In particular, make sure that Orion not only added what you did, but that it removed what you did. Orion seems to, thankfully, be pretty conservative about changing the deployed descriptors. If you don't have anything in there that you care about (custom mappings, finders, whatever...), then you could just nuke that file, touch the orion-application.xml to redeploy, and you should be golden. Rian - Original Message - From: [EMAIL PROTECTED] To: Orion-Interest Sent: Friday, March 30, 2001 6:46 AM Subject: Re: Hot deployment not so hot When we had similar problems we would remove the application from the application directory, the ear and the files from the applications-deployment directory. Make sure you stop the server before doing this. Jonathan BrickerLilly Research LabsJava ATG Dan North <[EMAIL PROTECTED]> Sent by: [EMAIL PROTECTED] 03/30/2001 06:13 AM Please respond to Orion-Interest To: Orion-Interest <[EMAIL PROTECTED]> cc: Subject: Hot deployment not so hotHi all.I've been having a number of problems with hot deployment ever since I started using orion, and I wondered if anyone could shed any light?Typically it happens when I change an interface rather than just internal bean logic or code: orion says it is redeploying whatever-xyz.jar, but will complain that:- A cmp-field is missing (that I have removed from both the bean and the ejb-jar.xml)- A method doesn't exist (that I have just added to both the bean and the remote i/f)- etc.All the messages I get seem to come down to a conflict between some cached version of the bean and the new version. If I shut down and restart orion, all the problems go away and it deploys the new version fine.This hasn't been a problem during development, but I'm concerned that I might be doing something wrong, and obviously once the system goes live I can't just stop and restart the server when I deploy changes, so what's the Right Way to redeploy a session or entity bean into a running server and tell orion to forget everything it knew about the previous version?(I'm running 1.4.7 on Sun's jdk1.3 on Windows 2000 if it makes any difference.)Thanks,Dan/tastapod--Dan NorthVP Development - Cadrion Software Ltd - +44 (0)20 7440 9550CONFIDENTIALITYThis e-mail and any attachments are confidentialand may also be privileged. If you are not the named recipient,please notify the sender immediately and do not disclose thecontents to another person, use it for any purpose, or storeor copy the information in any medium
Re: Hot deployment not so hot
Unfortunately, this is exactly my problem - I will soon be in a situation where "stop the server" will not be an option :o) I'm looking for a way to force orion to completely discard any knowledge it has of a particular bean and redeploy from scratch. Thanks, Dan/tastapod At 09:46 30/03/2001 -0500, you wrote: >When we had similar problems we would remove the application from the >application directory, the ear and the files from the >applications-deployment directory. Make sure you stop the server before >doing this. > >Jonathan Bricker >Lilly Research Labs >Java ATG > > >Dan North <[EMAIL PROTECTED]> >Sent by: [EMAIL PROTECTED] > >03/30/2001 06:13 AM >Please respond to Orion-Interest > > To:Orion-Interest <[EMAIL PROTECTED]> > cc: > Subject:Hot deployment not so hot > >Hi all. > >I've been having a number of problems with hot deployment ever since I >started using orion, and I wondered if anyone could shed any light? > >Typically it happens when I change an interface rather than just internal >bean logic or code: orion says it is redeploying whatever-xyz.jar, but will >complain that: > >- A cmp-field is missing (that I have removed from both the bean and the >ejb-jar.xml) >- A method doesn't exist (that I have just added to both the bean and the >remote i/f) >- etc. > >All the messages I get seem to come down to a conflict between some cached >version of the bean and the new version. If I shut down and restart orion, >all the problems go away and it deploys the new version fine. > >This hasn't been a problem during development, but I'm concerned that I >might be doing something wrong, and obviously once the system goes live I >can't just stop and restart the server when I deploy changes, so what's the >Right Way to redeploy a session or entity bean into a running server and >tell orion to forget everything it knew about the previous version? > >(I'm running 1.4.7 on Sun's jdk1.3 on Windows 2000 if it makes any >difference.) > >Thanks, >Dan/tastapod > >-- >Dan North >VP Development - Cadrion Software Ltd - +44 (0)20 7440 9550 > >CONFIDENTIALITY >This e-mail and any attachments are confidential >and may also be privileged. If you are not the named recipient, >please notify the sender immediately and do not disclose the >contents to another person, use it for any purpose, or store >or copy the information in any medium > > > -- Dan North VP Development - Cadrion Software Ltd - +44 (0)20 7440 9550 CONFIDENTIALITY This e-mail and any attachments are confidential and may also be privileged. If you are not the named recipient, please notify the sender immediately and do not disclose the contents to another person, use it for any purpose, or store or copy the information in any medium
Understanding the login for ATM
Hi, I'm having difficulties understanding the login of the ATM. In the index.jsp the 'accountManager' get declared using a 'jsp:useBean' tag. Where does the accountManager is instantiated? I it must be somewhere between the login and the first use in the index.jsp page. FE Frank Eggink Swift Applications [EMAIL PROTECTED] +31 6 28847325 (voice) +31 33 4532464 (fax)
RE: findByXXX() with an ORDER BY parameter for Container-managed bean ?
I have to disagree. We've been using ORDER BY statements in finder method queries since day 1 and they work fine. As an example we have a findAll for an Employee entity bean configured as: Employee findAll and when we run the following we get a list of surnames in alphabetical order. EmployeeHome empHome = (EmployeeHome)initCtx.lookup("Employee"); ArrayList al = (ArrayList)empHome.findAll(); Iterator iter = al.iterator(); while(iter.hasNext()){ Employee emp = (Employee)iter.next(); System.out.println(emp.getSurname()); } If we take the "ORDER BY $surname ASC" statement out, the list ain't in alphabetical order. Hope this helps. Robert Hargreaves. > -Original Message- > From: Markus Holmberg [mailto:[EMAIL PROTECTED]] > Sent: 30 March 2001 16:47 > To: Orion-Interest > Cc: Magnus Rydin (E-mail) > Subject: Re: findByXXX() with an ORDER BY parameter for > Container-managed bean ? > > > Having ORDER BY in finder method queries is futile. Iterators of > java.util.Collection are not required to return objects in any kind of > order. >
RE: SV: load-on-startup is not working
Thanks Johan! I hadn't specified load-on-startup="true" in default-web-site.xml. After I put that in everything starts up fine. -jason
Error pages defined in web.xml not found / activated
Hi, I'm having a problem. I have defined error pages in my web.xml I've defined: 404 /errors/error404.jsp Now I expect to see the error page when I request a non existing page like http://localhost/my-app/non-existing-page.html, which does not happen. I'm obviously overlooking something, but what?? [When I define the error page in a jsp page with <%@ errorpage=/errors/error404.jsp %> it does work. So it can find the page, which gives me the impression I've setup something wrong. What?? FE Frank Eggink Swift Applications [EMAIL PROTECTED] +31 6 28847325 (voice) +31 33 4532464 (fax)
Re: findByXXX() with an ORDER BY parameter for Container-managed bean ?
Having ORDER BY in finder method queries is futile. Iterators of java.util.Collection are not required to return objects in any kind of order. Regards, Markus Holmberg. On Fri, Mar 30, 2001 at 09:35:20PM +0700, Meo Van Le wrote: > Dear all, > Could you tell me how to pass an ORDER BY parameter ( ASC or DESC ) > for a finder-method of Container-Managed bean? > > For example: > I have an Entity Bean was deployed as a Container-Managed > bean. The following lines were extracted from my orion-ejb-jar.xml: > >table="Rws_Group" data-source="jdbc/RWS_EJB_DS"> > >persistence-name="rws_group_id" /> > >persistence-name="rws_group_name" /> > > > > > psv.rws.ejbs.RwsGroup > > findByGroupNameAsc > > > java.lang.String > > > > > > > psv.rws.ejbs.RwsGroup > > findByGroupNameDesc > > > java.lang.String > > > > > > I have to write 2 finder methods for an normal finder method with > ascending order and descending order: findByGroupNameAsc and > findByGroupNameDesc. > > Are there any way to combine them become a finder method? > > Thanks in advance! > > -- > * Le Van Meo > * Senior Developer > * Tel: 8 251 250 > * Mobil: 091 64 26 36 > * [EMAIL PROTECTED] > > > -- Markus Holmberg | Give me Unix or give me a typewriter. [EMAIL PROTECTED] | http://www.freebsd.org/
Re: SV: load-on-startup is not working
I've got it working perfectly, my servlet caches alot in the database at startup time, before Orion gets initialized... in default-web-site.xml and in web.xml BBStartUp BBStartUp servlets.BBStartUpServlet 1 - Original Message - From: "Jason Smith" <[EMAIL PROTECTED]> To: "Orion-Interest" <[EMAIL PROTECTED]> Sent: Friday, March 30, 2001 6:35 PM Subject: RE: SV: load-on-startup is not working > I ran into this same problem, what I ended up doing is writing a little > utility which is auto-started by Orion. It just goes out and makes a > connection to the servlet forcing the initialization at start up. > > -jason > > > -Original Message- > > From: [EMAIL PROTECTED] > > [mailto:[EMAIL PROTECTED]]On Behalf Of Daniel Lopez > > Sent: Friday, March 30, 2001 4:29 AM > > To: Orion-Interest > > Subject: Re: SV: load-on-startup is not working > > > > > > Hi Patrick, > > > > My problem is not that my servlet doesn't work. The servlet works but it > > is initialised when I perform the first request. It has to open database > > connections, parse a couple of xml files... at init time so I'd like to > > have it pre-loaded so the first request doesn't take too long. Orion > > doesn't have to compile my servlet as the servlet is already compiled > > and packed in a war file. > > Thanks anyway, > > Dan > > > > > Patrik Andersson wrote: > > > > > > Check your error log for compile time errors. is development="true" in > > > orion-web.xml so that Orion even tries to compile the servlet? > > > > > > regards, > > > Patrik Andersson > > > > > > -Ursprungligt meddelande- > > > Från: Daniel Lopez [mailto:[EMAIL PROTECTED]] > > > Skickat: den 30 mars 2001 10:54 > > > Till: Orion-Interest > > > Ämne: load-on-startup is not working > > > > > > Hi, > > > > > > I don't seem to find how to get the load-on-startup attribute to work. > > > > > > This is the web.xml snippet where I use it: > > > ... > > > > > > GuiaController > > > org.leaf.LEAFManager > > > 1 > > > > > > ... > > > I've also tried with , but to no avail. This has > > > been > > > working for me with Resin and other containers but it doesn't work > > > with > > > Orion. > > > What I am doing wrong? > > > Notes: > > > .- I'm pretty sure web.xml os being read as the application works fine > > > > > > after the first request, and if I add a typo to the web.xml file, I > > > get > > > an error message. The strange thing is that I don't get the error > > > message through the logs or the standard output, but when I try to > > > access for the first time. > > > Any hints? > > > TIA, > > > Dan >
usebean tag
This is the code: In my jsp page this code would take the values from a previous form and take them in my bean, but I lost the Integer value idUniversita (it was in a select tag). So I had to take it by a request.getParameer("idUniversita")... Is this an Orion bug, is this a Nicola's bug? Too strange! Thanks in advance...
Re: Hot deployment not so hot
When we had similar problems we would remove the application from the application directory, the ear and the files from the applications-deployment directory. Make sure you stop the server before doing this. Jonathan Bricker Lilly Research Labs Java ATG Dan North <[EMAIL PROTECTED]> Sent by: [EMAIL PROTECTED] 03/30/2001 06:13 AM Please respond to Orion-Interest To: Orion-Interest <[EMAIL PROTECTED]> cc: Subject: Hot deployment not so hot Hi all. I've been having a number of problems with hot deployment ever since I started using orion, and I wondered if anyone could shed any light? Typically it happens when I change an interface rather than just internal bean logic or code: orion says it is redeploying whatever-xyz.jar, but will complain that: - A cmp-field is missing (that I have removed from both the bean and the ejb-jar.xml) - A method doesn't exist (that I have just added to both the bean and the remote i/f) - etc. All the messages I get seem to come down to a conflict between some cached version of the bean and the new version. If I shut down and restart orion, all the problems go away and it deploys the new version fine. This hasn't been a problem during development, but I'm concerned that I might be doing something wrong, and obviously once the system goes live I can't just stop and restart the server when I deploy changes, so what's the Right Way to redeploy a session or entity bean into a running server and tell orion to forget everything it knew about the previous version? (I'm running 1.4.7 on Sun's jdk1.3 on Windows 2000 if it makes any difference.) Thanks, Dan/tastapod -- Dan North VP Development - Cadrion Software Ltd - +44 (0)20 7440 9550 CONFIDENTIALITY This e-mail and any attachments are confidential and may also be privileged. If you are not the named recipient, please notify the sender immediately and do not disclose the contents to another person, use it for any purpose, or store or copy the information in any medium
findByXXX() with an ORDER BY parameter for Container-managed bean?
Dear all, Could you tell me how to pass an ORDER BY parameter ( ASC or DESC ) for a finder-method of Container-Managed bean? For example: I have an Entity Bean was deployed as a Container-Managed bean. The following lines were extracted from my orion-ejb-jar.xml: psv.rws.ejbs.RwsGroup findByGroupNameAsc java.lang.String psv.rws.ejbs.RwsGroup findByGroupNameDesc java.lang.String I have to write 2 finder methods for an normal finder method with ascending order and descending order: findByGroupNameAsc and findByGroupNameDesc. Are there any way to combine them become a finder method? Thanks in advance! -- * Le Van Meo * Senior Developer * Tel: 8 251 250 * Mobil: 091 64 26 36 * [EMAIL PROTECTED]
Re: SV: load-on-startup is not working
Hi Dan, try putting in a load-on-startup tag for the application itself. I have noticed that making a servlet load-on-startup causes it to get invoked on the first request but making the application itself load-on-startup causes the servlet to get invoked on initialization itself. To make the application load-on-startup just put load-on-startup="true" in the web-app node of the application defined in the web-site.xml. Hope this helps Aniket At 05:58 PM 3/30/2001, you wrote: >Hi Patrick, > >My problem is not that my servlet doesn't work. The servlet works but it >is initialised when I perform the first request. It has to open database >connections, parse a couple of xml files... at init time so I'd like to >have it pre-loaded so the first request doesn't take too long. Orion >doesn't have to compile my servlet as the servlet is already compiled >and packed in a war file. >Thanks anyway, >Dan > > > Patrik Andersson wrote: > > > > Check your error log for compile time errors. is development="true" in > > orion-web.xml so that Orion even tries to compile the servlet? > > > > regards, > > Patrik Andersson > > > > -Ursprungligt meddelande- > > Från: Daniel Lopez [mailto:[EMAIL PROTECTED]] > > Skickat: den 30 mars 2001 10:54 > > Till: Orion-Interest > > Ämne: load-on-startup is not working > > > > Hi, > > > > I don't seem to find how to get the load-on-startup attribute to work. > > > > This is the web.xml snippet where I use it: > > ... > > > > GuiaController > > org.leaf.LEAFManager > > 1 > > > > ... > > I've also tried with , but to no avail. This has > > been > > working for me with Resin and other containers but it doesn't work > > with > > Orion. > > What I am doing wrong? > > Notes: > > .- I'm pretty sure web.xml os being read as the application works fine > > > > after the first request, and if I add a typo to the web.xml file, I > > get > > an error message. The strange thing is that I don't get the error > > message through the logs or the standard output, but when I try to > > access for the first time. > > Any hints? > > TIA, > > Dan
Invalid table name - leading underscore
I'm trying to port our application to the SAPDB, and I'm having trouble with leading underscores in the generated table names. The underscores are added when the table name is the same as a disallowed field. This is the output of the automatic table creation: Auto-creating table: create table _UserGroup (id integer not null primary key, name_ varchar(255)) Warning: Error creating table: SAP DBTech SQL: [-3009] Invalid table name But when browsing these archives I came acroos a mesaage from Karl Avedal from last year stating that this was a problem of the past: "This is an issue with Oracle not liking leading underscores in identifiers, if you download the latest orion jar (http://www.orionserver.com/orion/orion.jar) and replace your orion.jar with it, the problem should disappear.With that version, no identifiers with leading underscores will be generated." Am I missing something? Regards /Marcus -- Marcus Ahnve email: [EMAIL PROTECTED] Lecando AB Office: +46-(0)8-634 94 18 Sweden Mobile: +46-(0)70-462 19 18 www.lecando.comICQ#: 4564879
Re: JRun again...
I've forgotten to put " only on the mail, not in the code... But you're right on Orion vs JRun. Thanks - Original Message - From: Patrik Andersson To: Orion-Interest Sent: Friday, March 30, 2001 11:17 AM Subject: SV: JRun again... YOu have forgotten that in the world of xml, you cannot forget ". would probably work. And while you're at it. Don't try to hard using JRun when Orion does everything so much better. regards, Patrik Andersson -Ursprungligt meddelande-Från: Ing. Nicola Folino [mailto:[EMAIL PROTECTED]]Skickat: den 30 mars 2001 10:22Till: Orion-InterestÄmne: JRun again... I tried this code in a jsp page on JRun 3.0: /> where back[0] is a String variable. And I get a parse exception! I found on JSP specification 1.1 that line of code is correct and in fact it runs well on Orion. Does someone knows some other deviations of JRun from j2ee 1.2.1 standard? Thanks. P.S.: JRun accepts also <%=pippo;%> <%=pippo%> but the first is wrong to actual specifications
RE: SV: load-on-startup is not working
I ran into this same problem, what I ended up doing is writing a little utility which is auto-started by Orion. It just goes out and makes a connection to the servlet forcing the initialization at start up. -jason > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED]]On Behalf Of Daniel Lopez > Sent: Friday, March 30, 2001 4:29 AM > To: Orion-Interest > Subject: Re: SV: load-on-startup is not working > > > Hi Patrick, > > My problem is not that my servlet doesn't work. The servlet works but it > is initialised when I perform the first request. It has to open database > connections, parse a couple of xml files... at init time so I'd like to > have it pre-loaded so the first request doesn't take too long. Orion > doesn't have to compile my servlet as the servlet is already compiled > and packed in a war file. > Thanks anyway, > Dan > > > Patrik Andersson wrote: > > > > Check your error log for compile time errors. is development="true" in > > orion-web.xml so that Orion even tries to compile the servlet? > > > > regards, > > Patrik Andersson > > > > -Ursprungligt meddelande- > > Från: Daniel Lopez [mailto:[EMAIL PROTECTED]] > > Skickat: den 30 mars 2001 10:54 > > Till: Orion-Interest > > Ämne: load-on-startup is not working > > > > Hi, > > > > I don't seem to find how to get the load-on-startup attribute to work. > > > > This is the web.xml snippet where I use it: > > ... > > > > GuiaController > > org.leaf.LEAFManager > > 1 > > > > ... > > I've also tried with , but to no avail. This has > > been > > working for me with Resin and other containers but it doesn't work > > with > > Orion. > > What I am doing wrong? > > Notes: > > .- I'm pretty sure web.xml os being read as the application works fine > > > > after the first request, and if I add a typo to the web.xml file, I > > get > > an error message. The strange thing is that I don't get the error > > message through the logs or the standard output, but when I try to > > access for the first time. > > Any hints? > > TIA, > > Dan
Re: SV: load-on-startup is not working
Hi Patrick, My problem is not that my servlet doesn't work. The servlet works but it is initialised when I perform the first request. It has to open database connections, parse a couple of xml files... at init time so I'd like to have it pre-loaded so the first request doesn't take too long. Orion doesn't have to compile my servlet as the servlet is already compiled and packed in a war file. Thanks anyway, Dan > Patrik Andersson wrote: > > Check your error log for compile time errors. is development="true" in > orion-web.xml so that Orion even tries to compile the servlet? > > regards, > Patrik Andersson > > -Ursprungligt meddelande- > Från: Daniel Lopez [mailto:[EMAIL PROTECTED]] > Skickat: den 30 mars 2001 10:54 > Till: Orion-Interest > Ämne: load-on-startup is not working > > Hi, > > I don't seem to find how to get the load-on-startup attribute to work. > > This is the web.xml snippet where I use it: > ... > > GuiaController > org.leaf.LEAFManager > 1 > > ... > I've also tried with , but to no avail. This has > been > working for me with Resin and other containers but it doesn't work > with > Orion. > What I am doing wrong? > Notes: > .- I'm pretty sure web.xml os being read as the application works fine > > after the first request, and if I add a typo to the web.xml file, I > get > an error message. The strange thing is that I don't get the error > message through the logs or the standard output, but when I try to > access for the first time. > Any hints? > TIA, > Dan
Re: Concurrent modification
HI All, Since the support site is down, I'll try it this way: When creating a new instance of an EJB I get the following error: javax.ejb.CreateException: Error creating EntityBean: Wrong database file version at UserHome_EntityHomeWrapper2.create(UserHome_EntityHomeWrapper2.java, Compiled Code) Does anyone know what this error means? I'm using orion 1.4.7, with the HyperSonic database. thanx, Okke
Re: JMS Temporary Topics, onMessage
Title: JMS Temporary Topics, onMessage hi, i am using orion1.4.5 on windows 2000, and have also noticed getJMSReplyTo() returning a null object, but also i can't create a subscriber to a temporary topic, i get the javax.jms.InvalidDestinationException: Invalid topic, i've submitted this as bug #371. are you able to create a subscriber to the temporary topic??? colin.. - Original Message - From: Matt Simmerson To: Orion-Interest Sent: Friday, March 30, 2001 9:58 AM Subject: JMS Temporary Topics, onMessage Hi I need to set the reply destination topic of a message. I created a temporary topic (Topic tmp = session.createTemporaryTopic()) which did indeed create a topic. I then created the message and then setJMSReplyTo(tmp), all fine. When the message was received, the getJMSReplyTo() returns a null object. Has anyone com across this before, know how to fix it etc. Also, has anyone else found that onMessage() does not get called automatically when you set an object up as a message listener? Cheers Matt Matt Simmerson IT Consultant smart421 - Smart solutions for the 21st century http://www.smart421.com Wap Site: wap.smart421.com Tel: 01473 408720 Fax: 01473 408753 Mob: 07759 258083 email: [EMAIL PROTECTED] Information contained in this e-mail and any attachments is confidential and intended for the use of the addressee only. Dissemination, distribution, copying or use of this communication without prior permission of the addressee is strictly prohibited. If you have received this transmission in error, please advise the originator by reply e-mail and delete it. Thank you.
RE: java.lang.NoSuchMethodError: javax.naming.Context: method getNameInNamespace()
just a guess! I would try to redeploy the server but before, erase all previous deployments files -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Oscar S. Garcia Sent: vendredi, 30. mars 2001 11:01 To: Orion-Interest Subject: java.lang.NoSuchMethodError: javax.naming.Context: method getNameInNamespace() Question: What could be the problem with the error like this? Error: Auto-deploying travelagent (Assembly had been updated)... java.lang.NoSuchMethodError: javax.naming.Context: method getNameInNamespace()Ljava/lang/String; not found at com.evermind.naming.archive.jr.toString(JAX) at java.lang.String.valueOf(Compiled Code) at java.lang.StringBuffer.append(StringBuffer.java:365) at com.evermind.server.ServerComponent.ay(JAX) at com.evermind.server.ejb.EJBPackageDeployment.aev(JAX) at com.evermind.server.ejb.EJBContainer.bz(Compiled Code) at com.evermind.server.Application.bz(Compiled Code) at com.evermind.server.Application.gf(JAX) at com.evermind.server.ApplicationServer.rv(JAX) at com.evermind.server.ApplicationServer.aqb(Compiled Code) at com.evermind.server.ApplicationServer.gf(JAX) at com.evermind.server.hg.run(JAX) at com.evermind.util.f.run(Compiled Code) Oscar S. Garcia Senior Analyst/Programmer ITS International Inc. Tel: 913-0707 to 10
Hot deployment not so hot
Hi all. I've been having a number of problems with hot deployment ever since I started using orion, and I wondered if anyone could shed any light? Typically it happens when I change an interface rather than just internal bean logic or code: orion says it is redeploying whatever-xyz.jar, but will complain that: - A cmp-field is missing (that I have removed from both the bean and the ejb-jar.xml) - A method doesn't exist (that I have just added to both the bean and the remote i/f) - etc. All the messages I get seem to come down to a conflict between some cached version of the bean and the new version. If I shut down and restart orion, all the problems go away and it deploys the new version fine. This hasn't been a problem during development, but I'm concerned that I might be doing something wrong, and obviously once the system goes live I can't just stop and restart the server when I deploy changes, so what's the Right Way to redeploy a session or entity bean into a running server and tell orion to forget everything it knew about the previous version? (I'm running 1.4.7 on Sun's jdk1.3 on Windows 2000 if it makes any difference.) Thanks, Dan/tastapod -- Dan North VP Development - Cadrion Software Ltd - +44 (0)20 7440 9550 CONFIDENTIALITY This e-mail and any attachments are confidential and may also be privileged. If you are not the named recipient, please notify the sender immediately and do not disclose the contents to another person, use it for any purpose, or store or copy the information in any medium
Multiple login forms per one web-app
Hello all, Is it possible to tell a web-app that I would like to use one login form to secure on directory, and another login form for another directory? I.e. I would like to have one login form per one tag. How do I implement that? Thanks in advance. Big thanks also to everyone who replied to my previous messages. Sergei.
SV: Concurrent modification
Does your /initsequence.jsp page hold state? I.e: does it contain: <%! Object state = new Object(); %> or does it modify something that you have in your HttpSession ? regards, Patrik Andersson -Ursprungligt meddelande-Från: Ing. Nicola Folino [mailto:[EMAIL PROTECTED]]Skickat: den 30 mars 2001 10:36Till: Orion-InterestÄmne: Concurrent modification I have a web application with some jsp pages. If I click twice on a link to another jsp page, I get the exception: java.util.ConcurrentModificationException at java.util.HashMap$HashIterator.next(Unknown Source) at java.util.Collections$6.nextElement(Unknown Source) at __jspPage21_initsequence_jsp._jspService(__jspPage21_initsequence_jsp.java:38) at com.orionserver.http.OrionHttpJspPage.service(JAX) at com.evermind.server.http.HttpApplication.xj(JAX) at com.evermind.server.http.JSPServlet.service(JAX) at com.evermind.server.http.d3.sw(JAX) at com.evermind.server.http.d3.su(JAX) at com.evermind.server.http.ef.s1(JAX) at com.evermind.server.http.ef.do(JAX) at com.evermind.util.f.run(JAX)Keep in mind that go to the other link through an intermediate page which uses the directive . The same application runs perfectly on JRun, but I saw that Allaire J2EE Server moves from standard, so I'd like to develope on Orion... Thanks
SV: JRun again...
YOu have forgotten that in the world of xml, you cannot forget ". would probably work. And while you're at it. Don't try to hard using JRun when Orion does everything so much better. regards, Patrik Andersson -Ursprungligt meddelande-Från: Ing. Nicola Folino [mailto:[EMAIL PROTECTED]]Skickat: den 30 mars 2001 10:22Till: Orion-InterestÄmne: JRun again... I tried this code in a jsp page on JRun 3.0: /> where back[0] is a String variable. And I get a parse exception! I found on JSP specification 1.1 that line of code is correct and in fact it runs well on Orion. Does someone knows some other deviations of JRun from j2ee 1.2.1 standard? Thanks. P.S.: JRun accepts also <%=pippo;%> <%=pippo%> but the first is wrong to actual specifications
SV: load-on-startup is not working
Title: SV: load-on-startup is not working Check your error log for compile time errors. is development="true" in orion-web.xml so that Orion even tries to compile the servlet? regards, Patrik Andersson -Ursprungligt meddelande- Från: Daniel Lopez [mailto:[EMAIL PROTECTED]] Skickat: den 30 mars 2001 10:54 Till: Orion-Interest Ämne: load-on-startup is not working Hi, I don't seem to find how to get the load-on-startup attribute to work. This is the web.xml snippet where I use it: ... GuiaController org.leaf.LEAFManager 1 ... I've also tried with , but to no avail. This has been working for me with Resin and other containers but it doesn't work with Orion. What I am doing wrong? Notes: .- I'm pretty sure web.xml os being read as the application works fine after the first request, and if I add a typo to the web.xml file, I get an error message. The strange thing is that I don't get the error message through the logs or the standard output, but when I try to access for the first time. Any hints? TIA, Dan --- Daniel Lopez Janariz ([EMAIL PROTECTED]) Web Services Computer Center Balearic Islands University ---
java.lang.NoSuchMethodError: javax.naming.Context: method getNameInNamespace()
Question: What could be the problem with the error like this? Error: Auto-deploying travelagent (Assembly had been updated)... java.lang.NoSuchMethodError: javax.naming.Context: method getNameInNamespace()Ljava/lang/String; not found at com.evermind.naming.archive.jr.toString(JAX) at java.lang.String.valueOf(Compiled Code) at java.lang.StringBuffer.append(StringBuffer.java:365) at com.evermind.server.ServerComponent.ay(JAX) at com.evermind.server.ejb.EJBPackageDeployment.aev(JAX) at com.evermind.server.ejb.EJBContainer.bz(Compiled Code) at com.evermind.server.Application.bz(Compiled Code) at com.evermind.server.Application.gf(JAX) at com.evermind.server.ApplicationServer.rv(JAX) at com.evermind.server.ApplicationServer.aqb(Compiled Code) at com.evermind.server.ApplicationServer.gf(JAX) at com.evermind.server.hg.run(JAX) at com.evermind.util.f.run(Compiled Code) Oscar S. Garcia Senior Analyst/Programmer ITS International Inc. Tel: 913-0707 to 10
SV: JRun again...
Why dont you take this to the JRun interest list? WR -Ursprungligt meddelande-Från: Ing. Nicola Folino [mailto:[EMAIL PROTECTED]]Skickat: den 30 mars 2001 00:22Till: Orion-InterestÄmne: JRun again... I tried this code in a jsp page on JRun 3.0: /> where back[0] is a String variable. And I get a parse exception! I found on JSP specification 1.1 that line of code is correct and in fact it runs well on Orion. Does someone knows some other deviations of JRun from j2ee 1.2.1 standard? Thanks. P.S.: JRun accepts also <%=pippo;%> <%=pippo%> but the first is wrong to actual specifications
JMS Temporary Topics, onMessage
Title: JMS Temporary Topics, onMessage Hi I need to set the reply destination topic of a message. I created a temporary topic (Topic tmp = session.createTemporaryTopic()) which did indeed create a topic. I then created the message and then setJMSReplyTo(tmp), all fine. When the message was received, the getJMSReplyTo() returns a null object. Has anyone com across this before, know how to fix it etc. Also, has anyone else found that onMessage() does not get called automatically when you set an object up as a message listener? Cheers Matt Matt Simmerson IT Consultant smart421 - Smart solutions for the 21st century http://www.smart421.com Wap Site: wap.smart421.com Tel: 01473 408720 Fax: 01473 408753 Mob: 07759 258083 email: [EMAIL PROTECTED] Information contained in this e-mail and any attachments is confidential and intended for the use of the addressee only. Dissemination, distribution, copying or use of this communication without prior permission of the addressee is strictly prohibited. If you have received this transmission in error, please advise the originator by reply e-mail and delete it. Thank you.
load-on-startup is not working
Hi, I don't seem to find how to get the load-on-startup attribute to work. This is the web.xml snippet where I use it: ... GuiaController org.leaf.LEAFManager 1 ... I've also tried with , but to no avail. This has been working for me with Resin and other containers but it doesn't work with Orion. What I am doing wrong? Notes: .- I'm pretty sure web.xml os being read as the application works fine after the first request, and if I add a typo to the web.xml file, I get an error message. The strange thing is that I don't get the error message through the logs or the standard output, but when I try to access for the first time. Any hints? TIA, Dan --- Daniel Lopez Janariz ([EMAIL PROTECTED]) Web Services Computer Center Balearic Islands University ---
Concurrent modification
I have a web application with some jsp pages. If I click twice on a link to another jsp page, I get the exception: java.util.ConcurrentModificationException at java.util.HashMap$HashIterator.next(Unknown Source) at java.util.Collections$6.nextElement(Unknown Source) at __jspPage21_initsequence_jsp._jspService(__jspPage21_initsequence_jsp.java:38) at com.orionserver.http.OrionHttpJspPage.service(JAX) at com.evermind.server.http.HttpApplication.xj(JAX) at com.evermind.server.http.JSPServlet.service(JAX) at com.evermind.server.http.d3.sw(JAX) at com.evermind.server.http.d3.su(JAX) at com.evermind.server.http.ef.s1(JAX) at com.evermind.server.http.ef.do(JAX) at com.evermind.util.f.run(JAX)Keep in mind that go to the other link through an intermediate page which uses the directive . The same application runs perfectly on JRun, but I saw that Allaire J2EE Server moves from standard, so I'd like to develope on Orion... Thanks
JRun again...
I tried this code in a jsp page on JRun 3.0: /> where back[0] is a String variable. And I get a parse exception! I found on JSP specification 1.1 that line of code is correct and in fact it runs well on Orion. Does someone knows some other deviations of JRun from j2ee 1.2.1 standard? Thanks. P.S.: JRun accepts also <%=pippo;%> <%=pippo%> but the first is wrong to actual specifications