Interests sake
Hi all, For interests sake, what OS is everyone on the list running orion on? Windows 2000? WinNT Linux? I would of thought that most people would be using Linux but I think from postings on this list that I might be mistaken -- Adam Cassar Technical Development Manager ___ NetRegistry http://www.netregistry.au.com Tel: +61 2 9641 8609 | Fax: +61 2 9699 6088 PO Box 270 Broadway NSW 2007 Australia
Deploy tool for EJB ?
Dear all, Is there any deploy tool for EJB ( in orion ) such that I can deploy a particular EJB. Thanks in advance. - sbchand
Re: Please Help on jms -urgent
I want to write a simple java application and able to access the JMS messages which are in orion server. I enabled the jms server in orion and I wrote a web app(jsp) which puts messages in the message server. Now I want to write a seperate java application through which I want to retrieve the messages. Any suggestions how to do this. Thanks in advance Kesav - Original Message - From: Komal Kandi (Contractor) [EMAIL PROTECTED] To: Orion-Interest [EMAIL PROTECTED] Sent: Wednesday, May 02, 2001 5:00 PM Subject: RE: Please Help on jms -urgent Hi Keshav, cuold pls tell ur requirement clearly if it posible i will try. regards, komal -Original Message- From: Kesav Kumar [mailto:[EMAIL PROTECTED]] Sent: Wednesday, May 02, 2001 4:35 PM To: Orion-Interest Subject: Please Help on jms -urgent Hi Can any one please help me in retrieving messages stored in the orion server from out side orion. I am using orion 1.4.7 jdk1.3 on WinNT. I tried the sample application I am always getting NullPointerException. Its a little urgent for me. Thanks in advance. Kesav Kumar Software Engineer Voquette, Inc. 650 356 3740 mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] http://www.voquette.com http://www.voquette.com Voquette...Delivering Sound Information
Re: Please Help on jms -urgent
Title: Please Help on jms -urgent I want to run my application locally on the same machine. Once I succeed in doing that I will think of running my java application on different machine. In jms.xml I tried by giving the machine name instead of the localhost stillI don't have any luck. kesav - Original Message - From: Jason Smith To: Orion-Interest Sent: Wednesday, May 02, 2001 5:57 PM Subject: RE: Please Help on jms -urgent Make sure you have edited your jms.xml file to specify your particular server, otherwise it will default to 127.0.0.1. -Original Message-From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Kesav KumarSent: Wednesday, May 02, 2001 6:35 PMTo: Orion-InterestSubject: Please Help on jms -urgent Hi Can any one please help me in retrieving messages stored in the orion server from out side orion. I am using orion 1.4.7 jdk1.3 on WinNT. I tried the sample application I am always getting NullPointerException. Its a little urgent for me. Thanks in advance. Kesav Kumar Software Engineer Voquette, Inc. 650 356 3740 mailto:[EMAIL PROTECTED] http://www.voquette.com Voquette...Delivering Sound Information
RE: Backward compatibility
Humm... I just autoupdate from 1.4.7 (application was OK before) to 1.4.8. Orion doesn't start, here is the only trace I see: javax.xml.parsers.FactoryConfigurationError: com.sun.xml.parser.DocumentBuilderF actoryImpl at javax.xml.parsers.DocumentBuilderFactory.newInstance(DocumentBuilderF actory.java:80) at com.evermind._yw.getJavaxDocument(Unknown Source) at com.evermind.xml.XMLUtils.getDocument(Unknown Source) at com.evermind.xml.XMLConfig._iw(Unknown Source) at com.evermind.xml.XMLConfig._iw(Unknown Source) at com.evermind._kh.run(Unknown Source) at java.lang.Thread.run(Thread.java:484) at com.evermind._jw.run(Unknown Source) It even do not tried to deploy something... Sounds like an XML trouble, you are rigth! Any idears to fix this ??? Thanks, Philippe PAGET. -Message d'origine- De : Mike Cannon-Brookes [mailto:[EMAIL PROTECTED]] Envoyé : jeudi 3 mai 2001 05:26 À : Orion-Interest Objet : RE: Backward compatibility In what way? I'm having no problems. The only possible problem area is XML (but only if you've coded your software to use Xerces directly - which is bad ;)) -mike Mike Cannon-Brookes - Technology Director, Asia Pacific internet.com Corporation - The Internet Industry Portal Ph: (612) 9290 1088 - Mob: 0416 106090 - The Media Network @ http://australia.internet.com - Meet A Guru @ http://www.breakfastforums.com.au - Subscribe Online @ http://www.enewsletters.com.au -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Adam Cassar Sent: Thursday, May 03, 2001 12:37 PM To: Orion-Interest Subject: Backward compatibility Orion 1.4.8 not backward compatbile with at least 1.4.7? Anyone else experience this problem? -- Adam Cassar Technical Development Manager ___ NetRegistry http://www.netregistry.au.com Tel: +61 2 9641 8609 | Fax: +61 2 9699 6088 PO Box 270 Broadway NSW 2007 Australia
RE: Interests sake
Linux ...Caldera Openlinx 2.3 Linux ... Red Hat 7.1 some development on win 98 (because it fits on my lap). -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Adam Cassar Sent: Wednesday, May 02, 2001 10:53 PM To: Orion-Interest Subject: Interests sake Hi all, For interests sake, what OS is everyone on the list running orion on? Windows 2000? WinNT Linux? I would of thought that most people would be using Linux but I think from postings on this list that I might be mistaken -- Adam Cassar Technical Development Manager ___ NetRegistry http://www.netregistry.au.com Tel: +61 2 9641 8609 | Fax: +61 2 9699 6088 PO Box 270 Broadway NSW 2007 Australia
RE: Interests sake
Linux ...Caldera Openlinx 2.3 Linux ... Red Hat 7.1 some development on win 98 (because it fits on my lap). -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Adam Cassar Sent: Wednesday, May 02, 2001 10:53 PM To: Orion-Interest Subject: Interests sake Hi all, For interests sake, what OS is everyone on the list running orion on? Windows 2000? WinNT Linux? I would of thought that most people would be using Linux but I think from postings on this list that I might be mistaken -- Adam Cassar Technical Development Manager ___ NetRegistry http://www.netregistry.au.com Tel: +61 2 9641 8609 | Fax: +61 2 9699 6088 PO Box 270 Broadway NSW 2007 Australia
RE: Stateless Session Beans
I believe that the servletContext which can meet the bill for you. Have a servlet initialize on loading the application, you can control that in the web.xml. Whenever the slsb is initialized, pass the servelet context, and get your application class with a servletContext.getAttribute(myClass). You can also get a env reference, and let the slsb get the reference (if its a simple object you want). -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of SCOTT FARQUHAR Sent: Wednesday, May 02, 2001 10:48 PM To: Orion-Interest Subject: Stateless Session Beans I'm hoping that someone can help me with this. Can you have a stateless session bean that actually has class variables? Ie I want to have a variable that is loaded once per application, and then accessed by all the whole application. I know that SLSB are pooled and created and destroyed at will - but will they be created with the variable containing a value? Any thoughts are much appreciated. Scott
Re: broken default web app - not found
That is because your application.xml is not found. Should be C:\orion\applications\pussycat\META-INF\application.xml - Original Message - From: joey sark [EMAIL PROTECTED] To: Orion-Interest [EMAIL PROTECTED] Sent: Thursday, May 03, 2001 7:21 AM Subject: Re: broken default web app - not found That did bring back the default Orion Web App, and as the default site/app my other app is dead now: Error instantiating application at file:/C:/orion/applications/pussycat/: Unable to find/read assembly info for C:\orion\applications\pussycat (META-INF/application.xml) Error initializing site Pussycat Web Study: No application named 'pussycat' found in the server Orion/1.4.5 initialized I guess the real trouble is that I'm not sure of the distinct meanings between server web site web appliction default web site default web appliction global... i have not found these defined on the orion site. j. Tim Endres [EMAIL PROTECTED] wrote: In my server.xml file, I have the following line: global-application name=default path=application.xml / Looks to me like you've replaced the default web-app with your own 'pussycat'. You application should be defined by a separate app line, such as: application name=pussycat path=/path/to/app/dir auto-start=true / Note how the path is a path, not an xml file. It could also be your EAR file if you have deployed that way. tim. I managed to deploy a website/app but in so doing, broke the default website with all the nice jsp examples. I would like to use that default app to test and learn about jsp and plug modified versions into my app. now i get this error from orion: Error initializing site Default Orion WebSite: No application named 'default' found in the server how do i unbreak the default web app and keep it working alongside my app - and KISS? thanks in advance. Joey, newbie in distress relevent config files: orion/config/server.xml: ... global-application name=pussycat path=application.xml / !-- global-application name=default path=application.xml / can't do this-- global-web-app-config path=global-web-application.xml / web-site path=./pussycat-web-site.xml / web-site path=./default-web-site.xml / ... orion/config/application.xml: ... orion-application web-module id=pussycat path=../applications/pussycat / web-module id=defaultWebApp path=../applications/default-web-app / ... orion/config/default-web-site.xml: ... web-site host=[all] port=80 display-name=Default Orion WebSite default-web-app application=default name=defaultWebApp / /web-site orion/config/pussycat-web-site.xml: ... web-site host=[all] port=80 display-name=Pussycat Web Study virtual-hosts=localhost default-web-app application=pussycat name=pussycat / !-- default-web-app application=pussycat name=defaultWebApp / can't do this-- ... /web-site server.xml: ... application-server application-directory=../applications deployment-directory=../application-deployments ... global-application name=pussycat path=application.xml / !-- global-application name=default path=application.xml / can't do this-- global-web-app-config path=global-web-application.xml / web-site path=./pussycat-web-site.xml / web-site path=./default-web-site.xml / ... end Get free email and a permanent address at http://www.netaddress.com/?N=1 end Get free email and a permanent address at http://www.netaddress.com/?N=1
How to avoid serialization of sessions on the server?
On the application-deploytment\yourapp\ there is a orionweb.xml file that is used by Orion to define data about how the server will work. There is an option that define on which folder the server will serialize the session. This way if a the server does down then when it is restarted it is able to load the sessions it had running. Is there a way to avoid this behavior. I mean, I think this is slowing down the overall performance and it is a feature that I do not need. Then I would like to remove this feature. Is this possible? I am working with orion 1.4.5 .
Re: Interests sake
Development on win2k and production on Solaris. Johan - Original Message - From: Adam Cassar [EMAIL PROTECTED] To: Orion-Interest [EMAIL PROTECTED] Sent: Thursday, May 03, 2001 7:53 AM Subject: Interests sake Hi all, For interests sake, what OS is everyone on the list running orion on? Windows 2000? WinNT Linux? I would of thought that most people would be using Linux but I think from postings on this list that I might be mistaken -- Adam Cassar Technical Development Manager ___ NetRegistry http://www.netregistry.au.com Tel: +61 2 9641 8609 | Fax: +61 2 9699 6088 PO Box 270 Broadway NSW 2007 Australia
Re: Interests sake
We are using Windows 2000, Linux and Solaris. It works fine on all the platforms Adam Cassar wrote: Hi all, For interests sake, what OS is everyone on the list running orion on? Windows 2000? WinNT Linux? I would of thought that most people would be using Linux but I think from postings on this list that I might be mistaken -- Adam Cassar Technical Development Manager ___ NetRegistry http://www.netregistry.au.com Tel: +61 2 9641 8609 | Fax: +61 2 9699 6088 PO Box 270 Broadway NSW 2007 Australia
RE: Interests sake
Personally Linux, but you can add an interesting option: Solaris 8.0 for x86. My gut feeling and some circumstantial evidence (a.o. the infamous test in which MS outperformed Linux 2.2 on a 'big' SMP box) gives me the impression Solaris could out perform Linux in the TCP/IP arena. I have seen no performance tests to support this theory. I would be interested though. As a bonus you get more sysadm support tools (network installation etc). [Note: the test I'm referring to is a head to head comparison of MS giants a Linux 2.2 kernel, showing that Linux lost in due to their TCP/IP implementation. The 2.4 kernel has to my knowledge a improved TCP/IP stack.] FE On Thursday, May 03, 2001 7:53 AM, Adam Cassar [SMTP:[EMAIL PROTECTED]] wrote: Hi all, For interests sake, what OS is everyone on the list running orion on? Windows 2000? WinNT Linux? I would of thought that most people would be using Linux but I think from postings on this list that I might be mistaken -- Adam Cassar Technical Development Manager ___ NetRegistry http://www.netregistry.au.com Tel: +61 2 9641 8609 | Fax: +61 2 9699 6088 PO Box 270 Broadway NSW 2007 Australia
RE: Interests sake
In production, Orion 1.4.8 on Red Hat 6.2 (recently moved from a server that was on 6.0) Development - Red Hat 7.0 and Win2k - both 1.4.8 -mike -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of elephantwalker Sent: Thursday, May 03, 2001 5:16 PM To: Orion-Interest Subject: RE: Interests sake Linux ...Caldera Openlinx 2.3 Linux ... Red Hat 7.1 some development on win 98 (because it fits on my lap). -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Adam Cassar Sent: Wednesday, May 02, 2001 10:53 PM To: Orion-Interest Subject: Interests sake Hi all, For interests sake, what OS is everyone on the list running orion on? Windows 2000? WinNT Linux? I would of thought that most people would be using Linux but I think from postings on this list that I might be mistaken -- Adam Cassar Technical Development Manager ___ NetRegistry http://www.netregistry.au.com Tel: +61 2 9641 8609 | Fax: +61 2 9699 6088 PO Box 270 Broadway NSW 2007 Australia
Orion and Foundry
Is it possible to utilize Orion's HttpSession replication when using a Foundry ServerIron for load balancing? I am attempting to use Orion's load balancer without a hardware solution (for now at least). Currently i am using two servers each acting as a dedicated load balancer for two cluster islands of three servers each. I am getting out of memory exceptions from the load balancer (which is running redhat 6.2 with 256 MB ram) Can anyone shed some light on this as well as optimum hardware configurations for an orion load balancer. Thanks Brian Galdino
RE: Stateless Session Beans
Scotty, What is the need for this? Any stateless session variable can have a normal variable that's initialised in the ejbActivate() and ejbCreate() methods. static variables are fugly in a distributed environment because they're only per JVM - remember this ! -mike -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of SCOTT FARQUHAR Sent: Thursday, May 03, 2001 3:48 PM To: Orion-Interest Subject: Stateless Session Beans I'm hoping that someone can help me with this. Can you have a stateless session bean that actually has class variables? Ie I want to have a variable that is loaded once per application, and then accessed by all the whole application. I know that SLSB are pooled and created and destroyed at will - but will they be created with the variable containing a value? Any thoughts are much appreciated. Scott
RE: Interests sake
Adam, We're using Windows NT 4 and Linux RedHat 6.2. Jarek -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Adam Cassar Sent: 03 May 2001 06:53 To: Orion-Interest Subject: Interests sake Hi all, For interests sake, what OS is everyone on the list running orion on? Windows 2000? WinNT Linux? I would of thought that most people would be using Linux but I think from postings on this list that I might be mistaken -- Adam Cassar Technical Development Manager ___ NetRegistry http://www.netregistry.au.com Tel: +61 2 9641 8609 | Fax: +61 2 9699 6088 PO Box 270 Broadway NSW 2007 Australia
RE: Interests sake
We run Linux SuSe and Solaris on a Netra. I find that the jsp compilation is slower on the Sun box but the link to Oracle is faster. Hope that helps. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Adam Cassar Sent: Thursday, May 03, 2001 06:53 To: Orion-Interest Subject: Interests sake Hi all, For interests sake, what OS is everyone on the list running orion on? Windows 2000? WinNT Linux? I would of thought that most people would be using Linux but I think from postings on this list that I might be mistaken -- Adam Cassar Technical Development Manager ___ NetRegistry http://www.netregistry.au.com Tel: +61 2 9641 8609 | Fax: +61 2 9699 6088 PO Box 270 Broadway NSW 2007 Australia
RE: Interests sake
WIN NT for development, and Solaris for live applications. Cheers, Simon This email and any attachments are confidential and are intended only for the addressee. If you are not the intended recipient of this email and have received it in error, please notify the sender immediately by reply email and then delete it from your system. -Original Message- From: Adam Cassar [mailto:[EMAIL PROTECTED]] Sent: 03 May 2001 06:53 To: Orion-Interest Subject: Interests sake Hi all, For interests sake, what OS is everyone on the list running orion on? Windows 2000? WinNT Linux? I would of thought that most people would be using Linux but I think from postings on this list that I might be mistaken -- Adam Cassar Technical Development Manager ___ NetRegistry http://www.netregistry.au.com Tel: +61 2 9641 8609 | Fax: +61 2 9699 6088 PO Box 270 Broadway NSW 2007 Australia
Re: Calling my EJB from tomcat webserver
Hi, Thanx for your tip ... By talking about ejb-link stuff ... I got the idea of using lookupLink() and that was the solution ...!!! see u Jean-Guillaume - Original Message - From: Earl Marwil To: Orion-Interest Sent: Wednesday, May 02, 2001 7:08 PM Subject: Re: Calling my EJB from tomcat webserver I haven't tried running the web component out of a servlet container other than Orion yet. The experiments I have run suggest that Orion maintains a RMI-Context containing the namespaces for ejb, jdbc, jms, First I would try naming your ejb something like ejb/whip/find/memberfinder and reference it the same way in your web component. If this works, then you might try using the ejb-link tag on the web side to map a web component name like ejb/my_find to your ejb in question. I would be interested in knowing how this works out.Regards,EarlAt 17:36 5/2/2001 +0200, you wrote: Hi everybody,I am trying to disconnect my webserver from my ejb server. Up to now, I have only worked with Orion as web + ejb server.I decided 2 days ago to experiment the separation of both servers.In order to carry out this experiment, I first tried to access my ejb (still sitting on the orion Ejb server) from an simple client application.This works fine.I have just to set these following properties :-Djava.naming.provider.url="ormi://localhost/demo" -Djava.naming.factory.initial="com.evermind.server.ApplicationClientInitialContextFactory" -Djava.naming.security.principal="superadmin" -Djava.naming.security.credentials="superadmin"where demo corresponds to demo.ear ...So, I tried to do the same from a jsp client sitting on Tomcat. I launched my tomcat webserver with the same previous system properties.In my jsp (the code is similar to the one I put in my simple client application), I am creating as usual my initial context and I am doing my lookupto get my ejb home ...Context iContext = new InitialContext(env);Object object = iContext.lookup( "java:comp/env/whip/ejb/find/memberfinder" ); where I do this, I get the following exception :javax.naming.NamingException: java:comp/env namespace is only available from within a J2EE component It seems to be a fair error because in the J2EE spec, it is written that the beans mapped to the java:comp/env cannot be accessed from outsidea container.So how can I accessed them from my client application ...!?!?If I change the code like this:Context iContext = new InitialContext(env);Object object = iContext.lookup( "whip/ejb/find/memberfinder" ); I get the following error :javax.naming.NameNotFoundException: whip/ejb/find/memberfinder not found So my question is obvious : HOW COULD I GET ACCESS TO MY BEANS ??? With which jndi names ???Has anyone a clue about this problem.Thanx a lot for your advises.Best Regards Jean-Guillaume LALANNE Earl Marwil SCIENTECH, Inc. 1690 International Way Idaho Falls, ID 83402208.525.3717
Re: Interests sake
At 15:53 03.05.2001 , you wrote: Hi all, For interests sake, what OS is everyone on the list running orion on? Windows 2000? WinNT Linux? dev and prod on Linux. Except for the well-known occasional linux JVM quirks it runs OK. (-) Robert Krüger (-) SIGNAL 7 Gesellschaft für Informationstechnologie mbH (-) Brüder-Knauß-Str. 79 - 64285 Darmstadt, (-) Tel: 06151 665401, Fax: 06151 665373 (-) [EMAIL PROTECTED], www.signal7.de
www.orionsupport.com / JMS
Is it down or is my dns screwed up? Non-authoritative answer:Name: orionsupport.comAddress: 64.31.131.243 I'm looking for a jms-tutorial ( for orion ), NE1 know where to find one? Johan
Re: property files or similar
Hi, You can continue to use properties file, and here's an alternative to hardcoding the file system path in your app. First create a jar within which your properties file exists. For example, if your property file is called props.ini you could put it with the path com/foo/props.ini within some jar, say comfoo.jar. Place comfoo.jar in {ORIONHOME}/lib folder. You can bypass problems with classpath settings by placing your jar file here. Then, in your application where you use the properties file, get the classloader and you can get the properties file as a resource. The following code might be useful. /* - */ Properties props = new Properties(); ClassLoader clsLdr = object.getClass().getClassLoader(); InputStream instr = clsLdr.getResourceAsStream(com/foo/props.ini); props.load(instr); /* - */ HTH, -Srikanth - Srikanth B. Wipro Technologies, Bangalore, India. Email - [EMAIL PROTECTED] http://www.wipro.com/ - Applying Thought - Original Message - From: Holden Glova [EMAIL PROTECTED] To: Orion-Interest [EMAIL PROTECTED] Sent: Thursday, May 03, 2001 6:11 AM Subject: property files or similar Hello, Aside from hardcoding a path to the properties file we are using, is there anywhere you specify these types of resources to orion instead of hardcoded in a class? What would be the alternative to using something like a property file, given that a property file is *very* easy to use? Many thanks in advance for your inputs. -- Holden Glova, [EMAIL PROTECTED] Software Engineer Alchemy Group Limited Level 6 Royal Sun Alliance Bldg PO Box 2386 Christchurch New Zealand Phone: +64 3 962-0396 Fax: +64 3 962-0388
session sharing still bad
After I changed default-web-app... shared=true between 2 web-sites, the session data I place use setAttribute and getAttribute still don't sync up. That means the session data is not shared. I messed around with orion-web.xml also, playing with session tracking tag, not much luck. Any help would be greatly appreciated.
RE: Interests sake
*Polite* suggestion ... Everyone mail Adam directly with OS flavour, he collates, and posts results to the list (which would be very interesting, I do agree). Saves a lot of traffic through all our mailboxes. Tony. -Original Message- From: Simon Knott [mailto:[EMAIL PROTECTED]] Sent: 03 May 2001 10:29 To: Orion-Interest Subject: RE: Interests sake WIN NT for development, and Solaris for live applications. Cheers, Simon This email and any attachments are confidential and are intended only for the addressee. If you are not the intended recipient of this email and have received it in error, please notify the sender immediately by reply email and then delete it from your system. -Original Message- From: Adam Cassar [mailto:[EMAIL PROTECTED]] Sent: 03 May 2001 06:53 To: Orion-Interest Subject: Interests sake Hi all, For interests sake, what OS is everyone on the list running orion on? Windows 2000? WinNT Linux? I would of thought that most people would be using Linux but I think from postings on this list that I might be mistaken -- Adam Cassar Technical Development Manager ___ NetRegistry http://www.netregistry.au.com Tel: +61 2 9641 8609 | Fax: +61 2 9699 6088 PO Box 270 Broadway NSW 2007 Australia
RE: Interests sake
We're using Windows 2000 over here. Ron -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Adam Cassar Sent: Thursday, May 03, 2001 7:53 AM To: Orion-Interest Subject: Interests sake Hi all, For interests sake, what OS is everyone on the list running orion on? Windows 2000? WinNT Linux? I would of thought that most people would be using Linux but I think from postings on this list that I might be mistaken -- Adam Cassar Technical Development Manager ___ NetRegistry http://www.netregistry.au.com Tel: +61 2 9641 8609 | Fax: +61 2 9699 6088 PO Box 270 Broadway NSW 2007 Australia
Re: session sharing still bad
Which files did you modify. This is what I did to get it to work: In my server.xml web-site shared=true path=default-web-site.xml web-site shared=true path=default-secure-web-site.xml Not leaving out the default-web-app shared=true etc for both 'web-sites defined above' On 03 May 2001 03:07:12 -0700, Fleming Shi wrote: After I changed default-web-app... shared=true between 2 web-sites, the session data I place use setAttribute and getAttribute still don't sync up. That means the session data is not shared. I messed around with orion-web.xml also, playing with session tracking tag, not much luck. Any help would be greatly appreciated.
RE: Interests sake
Dev:Linux Prod:Solaris -Original Message- From: Robert Krueger [mailto:[EMAIL PROTECTED]] Sent: Thursday, May 03, 2001 2:43 PM To: Orion-Interest Subject: Re: Interests sake At 15:53 03.05.2001 , you wrote: Hi all, For interests sake, what OS is everyone on the list running orion on? Windows 2000? WinNT Linux? dev and prod on Linux. Except for the well-known occasional linux JVM quirks it runs OK. (-) Robert Krüger (-) SIGNAL 7 Gesellschaft für Informationstechnologie mbH (-) Brüder-Knauß-Str. 79 - 64285 Darmstadt, (-) Tel: 06151 665401, Fax: 06151 665373 (-) [EMAIL PROTECTED], www.signal7.de
RE: www.orionsupport.com / JMS
There should be a tutorial on orionsupport. It seems tobe down, but do a search on google and look at the cached pages there. If it's message driven beans you want to learn there's a good article on JDJ: http://www.sys-con.com/java/archives/0601/westra/index.html It's for WLS 6 but works forOrion. HTH, Fredrik Fredrik Bromée Valtech Tel: +46 (0) 18 67 79 12 Mobile: +46 (0) 70 391 2000 Fax : +46 (0) 18 67 79 01 Östra Ågatan 31 SE-753 22 Uppsala SWEDEN www.valtech.se -Original Message-From: Johan Fredriksson [mailto:[EMAIL PROTECTED]]Sent: den 3 maj 2001 11:42To: Orion-InterestSubject: www.orionsupport.com / JMS Is it down or is my dns screwed up? Non-authoritative answer:Name: orionsupport.comAddress: 64.31.131.243 I'm looking for a jms-tutorial ( for orion ), NE1 know where to find one? Johan
RE: Backward compatibility
Well, my first post (I finally coerced the mailing list to let me subscribe): get the latest version of jaxp.jar from java.sun.com. I had this problem when upgrading 1.4.5 to 1.4.8. I didn't get the problem when upgrade a clean copy of 1.4.5 to 1.4.8 though. Good luck! -Pat At 09:18 AM 5/3/2001 +0200, PHiL wrote: Humm... I just autoupdate from 1.4.7 (application was OK before) to 1.4.8. Orion doesn't start, here is the only trace I see: javax.xml.parsers.FactoryConfigurationError: com.sun.xml.parser.DocumentBuilderF actoryImpl at javax.xml.parsers.DocumentBuilderFactory.newInstance(DocumentBuilderF actory.java:80) at com.evermind._yw.getJavaxDocument(Unknown Source) at com.evermind.xml.XMLUtils.getDocument(Unknown Source) at com.evermind.xml.XMLConfig._iw(Unknown Source) at com.evermind.xml.XMLConfig._iw(Unknown Source) at com.evermind._kh.run(Unknown Source) at java.lang.Thread.run(Thread.java:484) at com.evermind._jw.run(Unknown Source) It even do not tried to deploy something... Sounds like an XML trouble, you are rigth! Any idears to fix this ??? Thanks, Philippe PAGET. -Message d'origine- De : Mike Cannon-Brookes [mailto:[EMAIL PROTECTED]] Envoyé : jeudi 3 mai 2001 05:26 À : Orion-Interest Objet : RE: Backward compatibility In what way? I'm having no problems. The only possible problem area is XML (but only if you've coded your software to use Xerces directly - which is bad ;)) -mike Mike Cannon-Brookes - Technology Director, Asia Pacific internet.com Corporation - The Internet Industry Portal Ph: (612) 9290 1088 - Mob: 0416 106090 - The Media Network @ http://australia.internet.com - Meet A Guru @ http://www.breakfastforums.com.au - Subscribe Online @ http://www.enewsletters.com.au -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Adam Cassar Sent: Thursday, May 03, 2001 12:37 PM To: Orion-Interest Subject: Backward compatibility Orion 1.4.8 not backward compatbile with at least 1.4.7? Anyone else experience this problem? -- Adam Cassar Technical Development Manager ___ NetRegistry http://www.netregistry.au.com Tel: +61 2 9641 8609 | Fax: +61 2 9699 6088 PO Box 270 Broadway NSW 2007 Australia
Re: Interests sake
Development on Windows (95/NT) and production on SunOS and Digital Unix, but we have even tested it on OpenVMS :). Cheers, D. Johan Fredriksson wrote: Development on win2k and production on Solaris. Johan - Original Message - From: Adam Cassar [EMAIL PROTECTED] To: Orion-Interest [EMAIL PROTECTED] Sent: Thursday, May 03, 2001 7:53 AM Subject: Interests sake Hi all, For interests sake, what OS is everyone on the list running orion on? Windows 2000? WinNT Linux? I would of thought that most people would be using Linux but I think from postings on this list that I might be mistaken -- Adam Cassar Technical Development Manager ___ NetRegistry http://www.netregistry.au.com Tel: +61 2 9641 8609 | Fax: +61 2 9699 6088 PO Box 270 Broadway NSW 2007 Australia
Some problems implementing EJB 2.0 type OR
Hi, I'm trying to change the way my application does OR on my entity beans. I have encountered a problem. Using Orion 1.4.8. I have an EJB which has a vector field, listIDs, which contains Integer ID references to child EJBs. In my EJB code I have used the following syntax: public static final Class listIDs_type=java.lang.Integer.class; This seems to work on deployment, as there is a new table created called ..Catalogue_elementList on the next deployment. However when I try to execute some code I get a : ClassCastException: Assigning instance of class java.util.ArrayList to field com.evermind.server.ejb.ORVector#list Any ideas? Cheers, James
Newbie Question.
Hi, I'm new to the group, and orion, so I hope that you'll put up with what may be stupid simple questions for a bit. I've installed Orion, and am trying to port a very simple proof of concept app to it, just to get it running.( the total app is 2 jsps, one servlet, and one tag). I followed directions, to the best that I can, followed threads here, picking up hints and tips that have helped. The BEST that I can get is a 403(forbidden) error on http://127.0.0.1/ ( and I was HAPPY when I got that instead of 404's :). ) Can anyone point me on the right direction from here? ( FAQ, docs, hey stupiddo THIS!! ...) Thanks Greg
SV: can't find classes - help
Title: SV: can't find classes - help Try: orion-directory/applications/the-application/the-web-app/WEB-INF/classes/com/acme/skunk/Apa.class Apa would be instantiated using: Class.forName(com.acme.skunk.Apa);
Re: www.orionsupport.com / JMS
Your nslookup output is normal. All this means is that your name server has, properly, cached the lookup - and since the cached copy comes from an NS that's not authoritative for the domain it's flaged as non-authoritative. This is completely normal; nothing to worry about. Go snag a copy O'Reilly's DNS and Bind and look at the nslookup chapter; page 268 in the third edition. The web site could be up or down; all you can tell from nslookup is that their name service is working correctly. BTW, orionsupport.com's owner (not IronFlare...) has said several times that the web site is his development machine, and goes down occasionally when he needs it for other purposes. Here's an example - I used a machine that hasn't looked up orionsupport.com recently, and did two nsllookups. The first lookup came from orionsupport.com's name server, the second from our name server's cache. Try it yourself on some random domain, like pigsareflying.com . $ nslookup www.orionsupport.com Server: localhost Address: 127.0.0.1 Name:www.orionsupport.com Address: 64.31.131.243 $ nslookup www.orionsupport.com Server: localhost Address: 127.0.0.1 Non-authoritative answer: Name:www.orionsupport.com Address: 64.31.131.243 Kirk Yarina At 11:41 AM 5/3/01 +0200, you wrote: Is it down or is my dns screwed up? Non-authoritative answer: Name:orionsupport.com Address: 64.31.131.243 I'm looking for a jms-tutorial ( for orion ), NE1 know where to find one? Johan
RE: www.orionsupport.com / JMS
try this http://www.theculprit.com; for the mirror of www.orionsupport.com http://www.orionsupport.com Chris -Original Message- From: Johan Fredriksson [mailto:[EMAIL PROTECTED]] Sent: May 3, 2001 3:42 AM To: Orion-Interest Subject: www.orionsupport.com / JMS Is it down or is my dns screwed up? Non-authoritative answer: Name:orionsupport.com Address: 64.31.131.243 I'm looking for a jms-tutorial ( for orion ), NE1 know where to find one? Johan
Re: broken default web app - not found
Thanks Johan, Scott, and Tim I did try to reconcile and follow all of your advice; I did learn something, but basically it's all gummed up now. what's missing here for me is: a fundamental understanding of the relationships between server, website, web app, web module, --and-- global application, default web app ,what files these should be defined in, and where these file go. for expample, is the default web app just another app, or is it a special thing that must be there untampered-with. It's all pretty bewildering to a newbie, and nowhere on orion site do i see a straightforward explanation/primer of the above. AFTER I grasp this, i'm less likely to ask dumb config questions or make things worse. thanks to anyone who can point me in the right direction. j Johan Fredriksson [EMAIL PROTECTED] wrote: That is because your application.xml is not found. Should be C:\orion\applications\pussycat\META-INF\application.xml - Original Message - From: joey sark [EMAIL PROTECTED] To: Orion-Interest [EMAIL PROTECTED] Sent: Thursday, May 03, 2001 7:21 AM Subject: Re: broken default web app - not found That did bring back the default Orion Web App, and as the default site/app my other app is dead now: Error instantiating application at file:/C:/orion/applications/pussycat/: Unable to find/read assembly info for C:\orion\applications\pussycat (META-INF/application.xml) Error initializing site Pussycat Web Study: No application named 'pussycat' found in the server Orion/1.4.5 initialized I guess the real trouble is that I'm not sure of the distinct meanings between server web site web appliction default web site default web appliction global... i have not found these defined on the orion site. j. Tim Endres [EMAIL PROTECTED] wrote: In my server.xml file, I have the following line: global-application name=default path=application.xml / Looks to me like you've replaced the default web-app with your own 'pussycat'. You application should be defined by a separate app line, such as: application name=pussycat path=/path/to/app/dir auto-start=true / Note how the path is a path, not an xml file. It could also be your EAR file if you have deployed that way. tim. I managed to deploy a website/app but in so doing, broke the default website with all the nice jsp examples. I would like to use that default app to test and learn about jsp and plug modified versions into my app. now i get this error from orion: Error initializing site Default Orion WebSite: No application named 'default' found in the server how do i unbreak the default web app and keep it working alongside my app - and KISS? thanks in advance. Joey, newbie in distress relevent config files: orion/config/server.xml: ... global-application name=pussycat path=application.xml / !-- global-application name=default path=application.xml / can't do this-- global-web-app-config path=global-web-application.xml / web-site path=./pussycat-web-site.xml / web-site path=./default-web-site.xml / ... orion/config/application.xml: ... orion-application web-module id=pussycat path=../applications/pussycat / web-module id=defaultWebApp path=../applications/default-web-app / ... orion/config/default-web-site.xml: ... web-site host=[all] port=80 display-name=Default Orion WebSite default-web-app application=default name=defaultWebApp / /web-site orion/config/pussycat-web-site.xml: ... web-site host=[all] port=80 display-name=Pussycat Web Study virtual-hosts=localhost default-web-app application=pussycat name=pussycat / !-- default-web-app application=pussycat name=defaultWebApp / can't do this-- ... /web-site server.xml: ... application-server application-directory=../applications deployment-directory=../application-deployments ... global-application name=pussycat path=application.xml / !-- global-application name=default path=application.xml / can't do this-- global-web-app-config path=global-web-application.xml / web-site path=./pussycat-web-site.xml / web-site path=./default-web-site.xml / ... end Get free email and a permanent address at http://www.netaddress.com/?N=1 end Get free email and a permanent address at http://www.netaddress.com/?N=1 end Get free email and a permanent address at http://www.netaddress.com/?N=1
Suspend/Resume?
BEA's WebLogic allows you to suspend the weblogic server and later resume its operations. Suspending the server suspends server response to HTTP requests (this could be useful when one server is running as a *hot* backup - keep the backup server in a suspended state till you want it to start processing requests). Is something similar possible for Orion? Or does Orion only support startup/shutdown/restart for the server? Thanks. CR. _ Get your FREE download of MSN Explorer at http://explorer.msn.com
Re: broken default web app - not found
Thanks Johan, Scott, and Tim I did try to reconcile and follow all of your advice; I did learn something, but basically it's all gummed up now. what's missing here for me is: a fundamental understanding of the relationships between server, website, web app, web module, --and-- global application, default web app ,what files these should be defined in, and where these file go. for expample, is the default web app just another app, or is it a special thing that must be there untampered-with. It's all pretty bewildering to a newbie, and nowhere on orion site do i see a straightforward explanation/primer of the above. AFTER I grasp this, i'm less likely to ask dumb config questions or make things worse. thanks to anyone who can point me in the right direction. j Johan Fredriksson [EMAIL PROTECTED] wrote: That is because your application.xml is not found. Should be C:\orion\applications\pussycat\META-INF\application.xml - Original Message - From: joey sark [EMAIL PROTECTED] To: Orion-Interest [EMAIL PROTECTED] Sent: Thursday, May 03, 2001 7:21 AM Subject: Re: broken default web app - not found That did bring back the default Orion Web App, and as the default site/app my other app is dead now: Error instantiating application at file:/C:/orion/applications/pussycat/: Unable to find/read assembly info for C:\orion\applications\pussycat (META-INF/application.xml) Error initializing site Pussycat Web Study: No application named 'pussycat' found in the server Orion/1.4.5 initialized I guess the real trouble is that I'm not sure of the distinct meanings between server web site web appliction default web site default web appliction global... i have not found these defined on the orion site. j. Tim Endres [EMAIL PROTECTED] wrote: In my server.xml file, I have the following line: global-application name=default path=application.xml / Looks to me like you've replaced the default web-app with your own 'pussycat'. You application should be defined by a separate app line, such as: application name=pussycat path=/path/to/app/dir auto-start=true / Note how the path is a path, not an xml file. It could also be your EAR file if you have deployed that way. tim. I managed to deploy a website/app but in so doing, broke the default website with all the nice jsp examples. I would like to use that default app to test and learn about jsp and plug modified versions into my app. now i get this error from orion: Error initializing site Default Orion WebSite: No application named 'default' found in the server how do i unbreak the default web app and keep it working alongside my app - and KISS? thanks in advance. Joey, newbie in distress relevent config files: orion/config/server.xml: ... global-application name=pussycat path=application.xml / !-- global-application name=default path=application.xml / can't do this-- global-web-app-config path=global-web-application.xml / web-site path=./pussycat-web-site.xml / web-site path=./default-web-site.xml / ... orion/config/application.xml: ... orion-application web-module id=pussycat path=../applications/pussycat / web-module id=defaultWebApp path=../applications/default-web-app / ... orion/config/default-web-site.xml: ... web-site host=[all] port=80 display-name=Default Orion WebSite default-web-app application=default name=defaultWebApp / /web-site orion/config/pussycat-web-site.xml: ... web-site host=[all] port=80 display-name=Pussycat Web Study virtual-hosts=localhost default-web-app application=pussycat name=pussycat / !-- default-web-app application=pussycat name=defaultWebApp / can't do this-- ... /web-site server.xml: ... application-server application-directory=../applications deployment-directory=../application-deployments ... global-application name=pussycat path=application.xml / !-- global-application name=default path=application.xml / can't do this-- global-web-app-config path=global-web-application.xml / web-site path=./pussycat-web-site.xml / web-site path=./default-web-site.xml / ... end Get free email and a permanent address at http://www.netaddress.com/?N=1 end Get free email and a permanent address at http://www.netaddress.com/?N=1 end Get free email and a permanent address at http://www.netaddress.com/?N=1
Re: broken default web app - not found
Sounds to me like you have no META-INF/* for your application at the path C:/orion/applications/pussycat, which you specified for your app? Where is your META-INF setup? That did bring back the default Orion Web App, and as the default site/app my other app is dead now: Error instantiating application at file:/C:/orion/applications/pussycat/: Unable to find/read assembly info for C:\orion\applications\pussycat (META-INF/application.xml) Error initializing site Pussycat Web Study: No application named 'pussycat' found in the server Orion/1.4.5 initialized I guess the real trouble is that I'm not sure of the distinct meanings between server web site web appliction default web site default web appliction global... i have not found these defined on the orion site. j. Tim Endres [EMAIL PROTECTED] wrote: In my server.xml file, I have the following line: global-application name=default path=application.xml / Looks to me like you've replaced the default web-app with your own 'pussycat'. You application should be defined by a separate app line, such as: application name=pussycat path=/path/to/app/dir auto-start=true / Note how the path is a path, not an xml file. It could also be your EAR file if you have deployed that way. tim. I managed to deploy a website/app but in so doing, broke the default website with all the nice jsp examples. I would like to use that default app to test and learn about jsp and plug modified versions into my app. now i get this error from orion: Error initializing site Default Orion WebSite: No application named 'default' found in the server how do i unbreak the default web app and keep it working alongside my app - and KISS? thanks in advance. Joey, newbie in distress relevent config files: orion/config/server.xml: ... global-application name=pussycat path=application.xml / !-- global-application name=default path=application.xml / can't do this-- global-web-app-config path=global-web-application.xml / web-site path=./pussycat-web-site.xml / web-site path=./default-web-site.xml / ... orion/config/application.xml: ... orion-application web-module id=pussycat path=../applications/pussycat / web-module id=defaultWebApppath=../applications/default-web-app / ... orion/config/default-web-site.xml: ... web-site host=[all] port=80 display-name=Default Orion WebSite default-web-app application=default name=defaultWebApp / /web-site orion/config/pussycat-web-site.xml: ... web-site host=[all] port=80 display-name=Pussycat Web Study virtual-hosts=localhost default-web-app application=pussycat name=pussycat / !-- default-web-app application=pussycat name=defaultWebApp / can't do this-- ... /web-site server.xml: ... application-server application-directory=../applications deployment-directory=../application-deployments ... global-application name=pussycat path=application.xml / !-- global-application name=default path=application.xml / can't do this-- global-web-app-config path=global-web-application.xml / web-site path=./pussycat-web-site.xml / web-site path=./default-web-site.xml / ...
Is Server down? Any one has a document on OR mapping..
Hi I am trying to go to orionsupport but I think server is down, Please send if anyone has a document or html file on OR mapping. Thanks Subrah __ Do You Yahoo!? Yahoo! Auctions - buy the things you want at great prices http://auctions.yahoo.com/
Re: Newbie Question.
One possible cause is that directory browsing is disabled by default. Are you pointing to the jsp in your request on just the directory that contains it? If the latter, you may set a welcome file in the web.xml configuration file. Another possibility on Linux systems is that the file persmissions are not correct. To enable directory browsing, set the attribute directory-browsing=allow for the tag orion-web-app in the orion-web.xml file. Regards, Earl At 10:06 5/3/2001 -0400, you wrote: Hi, I'm new to the group, and orion, so I hope that you'll put up with what may be stupid simple questions for a bit. I've installed Orion, and am trying to port a very simple proof of concept app to it, just to get it running.( the total app is 2 jsps, one servlet, and one tag). I followed directions, to the best that I can, followed threads here, picking up hints and tips that have helped. The BEST that I can get is a 403(forbidden) error on http://127.0.0.1/ ( and I was HAPPY when I got that instead of 404's :). ) Can anyone point me on the right direction from here? ( FAQ, docs, hey stupiddo THIS!! ...) Thanks Greg Earl Marwil SCIENTECH, Inc. 1690 International Way Idaho Falls, ID 83402 208.525.3717
SV: Kawa 5.0 Ent SP1 and Orion, deployment problem
Title: SV: Kawa 5.0 Ent SP1 and Orion, deployment problem Hi, where can I find the module containing: com.allaire.ejb.deployment.orion.OrionDeployer and how do I gettit to work? -Ursprungligt meddelande- Från: Kalle Anka [mailto:[EMAIL PROTECTED]] Skickat: den 2 maj 2001 18:46 Till: Orion-Interest Ämne: Q:Kawa 5.0 Ent SP1 and Orion, deployment problem Hi all, I am trying to use Kawa 5.0 ENT SP1 with Orion and I can't deploy to Orion. I klnow that Orion is started and working fine but when I try to deploy from Kawa I'll get the following message: C:/java/jdk1.2.2/bin/java.exe com.allaire.ejb.deployment.orion.OrionDeployer C:/orion C:/projects/helloworld/HelloApp.ear java.net.SocketException: connect (code=10060) at com.sun.xml.parser.Parser.fatal(Parser.java:2817) at com.sun.xml.parser.Parser.externalParameterEntity(Parser.java:2506) at com.sun.xml.parser.Parser.maybeDoctypeDecl(Parser.java:1137) at com.sun.xml.parser.Parser.parseInternal(Parser.java:481) at com.sun.xml.parser.Parser.parse(Parser.java:284) at com.sun.xml.parser.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:95) at javax.xml.parsers.DocumentBuilder.parse(DocumentBuilder.java:126) at com.allaire.ejb.deployment.orion.OrionDeployer.main(OrionDeployer.java, Compiled Code) Process Exit... My guess is that this is depending on that Kawa can't find the Orion server (installed locally) or a security issue ? Thanks, Kalle _ Get your FREE download of MSN Explorer at http://explorer.msn.com
Re: orion 1.4.5 upgrade
1.4.5 in stricter on serializaion. I believe 1.4.0 allowed you to serialize objects that did not implement the serializable interface. - Original Message - From: Rex McFarlin To: Orion-Interest Sent: Wednesday, May 02, 2001 2:59 PM Subject: orion 1.4.5 upgrade We are trying to upgrade from version 1.4.0 and we keep getting the following error: Exception occurred during Index Initialization Error (de-)serializing object: com.evermind.server.http.HttpApplication; nested exception is: java.io.NotSerializableException: com.evermind.server.http.HttpApplicationjava.rmi.RemoteException: Error (de-)serializing object: com.evermind.server.http.HttpApplication; nested exception is: java.io.NotSerializableException: com.evermind.server.http.HttpApplicationjava.io.NotSerializableException: com.evermind.server.http.HttpApplication at java.io.ObjectOutputStream.outputObject(ObjectOutputStream.java:1148) at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:366) at com.evermind.server.ejb.EJBUtils.cloneObject(JAX) at PublishHelper_StatelessSessionBeanWrapper30.initPublish(PublishHelper_StatelessSessionBeanWrapper30.java:947) at net.exem.ui.ECRInit.initPublish(ECRInit.java:75) at net.exem.ui.ECRInit.init(ECRInit.java:33) at com.evermind.server.http.HttpApplication.w1(JAX) at com.evermind.server.http.HttpApplication.wj(JAX) at com.evermind.server.http.HttpApplication.wu(JAX) at com.evermind.server.http.HttpApplication.v4(JAX) at com.evermind.server.http.HttpApplication.init(JAX) at com.evermind.server.Application.ur(JAX) at com.evermind.server.http.el.ur(JAX) at com.evermind.server.http.ek.uz(JAX) at com.evermind.server.http.ek.gf(JAX) at com.evermind.server.http.el.u2(JAX) at com.evermind.server.http.el.gf(JAX) at com.evermind.server.ApplicationServer.aqe(JAX) at com.evermind.server.ApplicationServer.gf(JAX) at com.evermind.server.hg.run(JAX) at java.lang.Thread.run(Thread.java:484) at com.evermind.util.f.run(JAX)Orion/1.4.5 initialized *** We haven't done anything different with our classes and archictecture. The only change we make is uprading to 1.4.5, and we get this message. Thanks, Rex McFarlin [EMAIL PROTECTED]
Re: Interests sake
Hi, I'm running on Solaris 2.8. //Kalle From: Adam Cassar [EMAIL PROTECTED] Reply-To: Orion-Interest [EMAIL PROTECTED] To: Orion-Interest [EMAIL PROTECTED] Subject: Interests sake Date: 03 May 2001 15:53:28 +1000 Hi all, For interests sake, what OS is everyone on the list running orion on? Windows 2000? WinNT Linux? I would of thought that most people would be using Linux but I think from postings on this list that I might be mistaken -- Adam Cassar Technical Development Manager ___ NetRegistry http://www.netregistry.au.com Tel: +61 2 9641 8609 | Fax: +61 2 9699 6088 PO Box 270 Broadway NSW 2007 Australia _ Get your FREE download of MSN Explorer at http://explorer.msn.com
RE: Interests sake
Please, if you are going to make a polling of the mailing list, set up a poll somewhere and send the url to the list. This way the list isn't filled with I'm doing this and such. There are plenty of free polling services that will allow you to set up a poll and host the results for you. This is just my opinion and hope that I don't offend anyone. Would some of the senior guys chime in on this? Carl -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Kalle Anka Sent: Thursday, May 03, 2001 1:07 PM To: Orion-Interest Subject: Re: Interests sake Hi, I'm running on Solaris 2.8. //Kalle From: Adam Cassar [EMAIL PROTECTED] Reply-To: Orion-Interest [EMAIL PROTECTED] To: Orion-Interest [EMAIL PROTECTED] Subject: Interests sake Date: 03 May 2001 15:53:28 +1000 Hi all, For interests sake, what OS is everyone on the list running orion on? Windows 2000? WinNT Linux? I would of thought that most people would be using Linux but I think from postings on this list that I might be mistaken -- Adam Cassar Technical Development Manager ___ NetRegistry http://www.netregistry.au.com Tel: +61 2 9641 8609 | Fax: +61 2 9699 6088 PO Box 270 Broadway NSW 2007 Australia _ Get your FREE download of MSN Explorer at http://explorer.msn.com
Orion servers talking among themselves
Is it possible to make Orion server talk to a different Orion server residing on physically separated machines. I would appreciate any links to a white paper or examples... Sincerely, Nenad
RE: Orion as a Win2000 service ?
What command line did u use to run it? -Original Message- From: Thomas Pridham [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 28, 2001 11:50 AM To: Orion-Interest Subject: RE: Orion as a Win2000 service ? In our production environment (win2000), we are using JNT to run Orion as a service: http://www.eworksmart.com/jnt/ Works great. One bug is when you issue a stop command, the stop dialog hangs halfway through, but the service is stopped. Can't beat the price, free!!! -Original Message- From: Toth [@HOTMAIL], Adam (E-mail) [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 28, 2001 8:19 AM To: Orion-Interest Subject: RE: Orion as a Win2000 service ? In the archive I've found the following: From:Larry Velez [EMAIL PROTECTED] Subject: Orion as a Win2000 service I am running Orion as a service using the following RunSvcExe script: Note that jvmi.exe (http://www.kcmultimedia.com/jvmi/) is necessary because of a bug (or feature) in Win32 Java that does not allow you to log out of the machine while Orion is running. This defeats the whole purpose of running Orion as a service. ### # This script runs OrionServer as a service # JAVA_HOME=d:\jre\1.3 ORION_HOME=d:\orion # set up java run-time stuff exe=$JAVA_HOME$\bin\hotspot\jvmi.exe # RunExeSvc variables debug=false# if true, RunExeSvc will show internal status home=$ORION_HOME$ # the starting dir of the service # Running as an http server. cmdline=$exe$ (YOUR ORION COMMAND LINE HERE) ## My question is that how can it work? It seems that JVMI does not support .JAR files(?). I've created a .Cmd file (not sure about those scripts, but should do the same): REM ### REM # This script runs OrionServer as a service REM # SET JAVA_HOME=c:\jdk1.3 SET ORION_HOME=c:\orion REM # set up java run-time stuff SET exe=%JAVA_HOME%\jre\bin\hotspot\jvmi.exe REM # RunExeSvc variables SET debug=true# if true, RunExeSvc will show internal status SET home=%ORION_HOME% # the starting dir of the service REM # Running as an http server. REM cmdline=$exe$ (YOUR ORION COMMAND LINE HERE) %exe% -jar orion.jar But it does not work: C:\orionREM ### C:\orionREM # This script runs OrionServer as a service C:\orionREM # C:\orionSET JAVA_HOME=c:\jdk1.3 C:\orionSET ORION_HOME=c:\orion C:\orionREM # set up java run-time stuff C:\orionSET exe=c:\jdk1.3\jre\bin\hotspot\jvmi.exe C:\orionREM # RunExeSvc variables C:\orionSET debug=true# if true, RunExeSvc will show internal status C:\orionSET home=c:\orion # the starting dir of the service C:\orionREM # Running as an http server. C:\orionREM cmdline=$exe$ (YOUR ORION COMMAND LINE HERE) C:\orionc:\jdk1.3\jre\bin\hotspot\jvmi.exe -jar orion.jar jvmi.exe 1.1 - (C)2000 by Bill Giel/KCMDG Java 1.3 VM Invoker (which traps LOGOFF events) ** * Evaluation Version - for licensing information * * contact [EMAIL PROTECTED] * ** Cannot find main class. Any ideas? (Maybe the problem is trivial...) Thank you in advance, Adam
Howto on MessageDriven Beans
Title: Howto on MessageDriven Beans Do any one have howto for MessageDrivenBeans. A sample app or some kind of notes on how to deploy them. Thanks in advance. Kesav Kumar Software Engineer Voquette, Inc. 650 356 3740 mailto:[EMAIL PROTECTED] http://www.voquette.com Voquette...Delivering Sound Information
Re: Newbie Question.
you might also want to check out the primers at http://www.jollem.com for extra tips, but i agree that it does seem that directory browsing is turned off if you're getting a 403 instead of 404's. - Original Message - From: Greg Mowery To: Orion-Interest Sent: Thursday, May 03, 2001 7:06 AM Subject: Newbie Question. Hi, I'm new to the group, and orion, so I hope that you'll put up with what may be stupid simple questions for a bit. I've installed Orion, and am trying to port a very simple proof of concept app to it, just to get it running.( the total app is 2 jsps, one servlet, and one tag). I followed directions, to the best that I can, followed threads here, picking up hints and tips that have helped. The BEST that I can get is a 403(forbidden) error on http://127.0.0.1/ ( and I was HAPPY when I got that instead of 404's :). ) Can anyone point me on the right direction from here? ( FAQ, docs, hey stupiddo THIS!! ...) Thanks Greg
RE: Interests sake
For production, Win2K/Orion 1.4.7/PostgreSQL. For development, Win2K/Orion 1.4.8/hsql. I'll probably move the production box to 1.4.8 soon since it seems to work well enough with my code. I have test systems running Linux/PostgreSQL too. The only problem with Win2K is that it's a pain to get everything set up as a service. RunExeSvc doesn't work with Win2K, and I haven't yet spent the time needed to get any of the various JNI service adapters working. So I'm still starting my sytem by hand from a terminal services window (which means the app server, an rmi server, and tnameserv). Yes, I'm playing fast and loose with my site availability... but in the year or so I've had the machine, it has never crashed or involuntarily rebooted :-) With Linux it's much easier to configure Java apps as daemons, but I can't render my dynamic images with any reasonable quality - XWindows renders fonts like a three-year-old with a half-eaten crayon :-) Jeff Schnitzer http://www.similarity.com http://www.infohazard.org/junitee -Original Message- From: Adam Cassar [mailto:[EMAIL PROTECTED]] Sent: Wednesday, May 02, 2001 10:53 PM To: Orion-Interest Subject: Interests sake Hi all, For interests sake, what OS is everyone on the list running orion on? Windows 2000? WinNT Linux? I would of thought that most people would be using Linux but I think from postings on this list that I might be mistaken -- Adam Cassar Technical Development Manager ___ NetRegistry http://www.netregistry.au.com Tel: +61 2 9641 8609 | Fax: +61 2 9699 6088 PO Box 270 Broadway NSW 2007 Australia
Re: Newbie Question.
Thanks!! About an hour after I sent this, I discovered the web.xml file was pointing at index.html, NOT index.jsp as I had thought(newbie mistake, was editing the wrong web.xml file...duh!). Anyway, all is working now, and I'm happily stepping through my code in VC and Orion.. Greg - Original Message - From: Earl Marwil To: Orion-Interest Sent: Thursday, May 03, 2001 12:27 PM Subject: Re: Newbie Question. One possible cause is that directory browsing is disabled by default. Are you pointing to the jsp in your request on just the directory that contains it? If the latter, you may set a welcome file in the web.xml configuration file. Another possibility on Linux systems is that the file persmissions are not correct.To enable directory browsing, set the attribute directory-browsing="allow" for the tag orion-web-app in the orion-web.xml file.Regards,EarlAt 10:06 5/3/2001 -0400, you wrote: Hi,I'm new to the group, and orion, so I hope that you'll put up with what may be stupid simple questions for a bit.I've installed Orion, and am trying to port a very simple proof of concept app to it, just to get it running.( the total app is 2 jsps, one servlet, and one tag). I followed directions, to the best that I can, followed threads here, picking up hints and tips that have helped. The BEST that I can get is a 403(forbidden) error on http://127.0.0.1/ ( and I was HAPPY when I got that instead of 404's :). ) Can anyone point me on the right direction from here? ( FAQ, docs, hey stupiddo THIS!! ...)ThanksGreg Earl Marwil SCIENTECH, Inc. 1690 International Way Idaho Falls, ID 83402208.525.3717
recursive bug
Group, I just found this little *feature* in Orion (1.4.8). If you put in an error page in you web.xml: error-page error-code404/error-code location/main/404.html/location /error-page where main is the entry point to a Type 2 controller servlet, the request.getPathInfo() from the servlet will return the OLD path prior to the error, versus the new path (old path = /badurl, new path=/404.html). Its a little bothersome, since the servlet is my Type 2 controller, and needs to process all requests for resources, including the error page. I get a recursion error from Orion. Is this per the spec? Regards, the Elephantwalker
RE: Orion as a Win2000 service ?
Here is the command we issued to register Orion as a service: D:\JNT /InstallAsService: Orion /SDORION_HOME -jar d:\ORION_HOME\orion.jar -userThreads If you don't use threads, leave off the last switchgood luck! Regards, Tom Pridham -Original Message- From: Nusairat, Joseph F. [mailto:[EMAIL PROTECTED]] Sent: Thursday, May 03, 2001 3:07 PM To: Orion-Interest Subject: RE: Orion as a Win2000 service ? What command line did u use to run it? -Original Message- From: Thomas Pridham [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 28, 2001 11:50 AM To: Orion-Interest Subject: RE: Orion as a Win2000 service ? In our production environment (win2000), we are using JNT to run Orion as a service: http://www.eworksmart.com/jnt/ Works great. One bug is when you issue a stop command, the stop dialog hangs halfway through, but the service is stopped. Can't beat the price, free!!! -Original Message- From: Toth [@HOTMAIL], Adam (E-mail) [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 28, 2001 8:19 AM To: Orion-Interest Subject: RE: Orion as a Win2000 service ? In the archive I've found the following: From:Larry Velez [EMAIL PROTECTED] Subject: Orion as a Win2000 service I am running Orion as a service using the following RunSvcExe script: Note that jvmi.exe (http://www.kcmultimedia.com/jvmi/) is necessary because of a bug (or feature) in Win32 Java that does not allow you to log out of the machine while Orion is running. This defeats the whole purpose of running Orion as a service. ### # This script runs OrionServer as a service # JAVA_HOME=d:\jre\1.3 ORION_HOME=d:\orion # set up java run-time stuff exe=$JAVA_HOME$\bin\hotspot\jvmi.exe # RunExeSvc variables debug=false# if true, RunExeSvc will show internal status home=$ORION_HOME$ # the starting dir of the service # Running as an http server. cmdline=$exe$ (YOUR ORION COMMAND LINE HERE) ## My question is that how can it work? It seems that JVMI does not support .JAR files(?). I've created a .Cmd file (not sure about those scripts, but should do the same): REM ### REM # This script runs OrionServer as a service REM # SET JAVA_HOME=c:\jdk1.3 SET ORION_HOME=c:\orion REM # set up java run-time stuff SET exe=%JAVA_HOME%\jre\bin\hotspot\jvmi.exe REM # RunExeSvc variables SET debug=true# if true, RunExeSvc will show internal status SET home=%ORION_HOME% # the starting dir of the service REM # Running as an http server. REM cmdline=$exe$ (YOUR ORION COMMAND LINE HERE) %exe% -jar orion.jar But it does not work: C:\orionREM ### C:\orionREM # This script runs OrionServer as a service C:\orionREM # C:\orionSET JAVA_HOME=c:\jdk1.3 C:\orionSET ORION_HOME=c:\orion C:\orionREM # set up java run-time stuff C:\orionSET exe=c:\jdk1.3\jre\bin\hotspot\jvmi.exe C:\orionREM # RunExeSvc variables C:\orionSET debug=true# if true, RunExeSvc will show internal status C:\orionSET home=c:\orion # the starting dir of the service C:\orionREM # Running as an http server. C:\orionREM cmdline=$exe$ (YOUR ORION COMMAND LINE HERE) C:\orionc:\jdk1.3\jre\bin\hotspot\jvmi.exe -jar orion.jar jvmi.exe 1.1 - (C)2000 by Bill Giel/KCMDG Java 1.3 VM Invoker (which traps LOGOFF events) ** * Evaluation Version - for licensing information * * contact [EMAIL PROTECTED] * ** Cannot find main class. Any ideas? (Maybe the problem is trivial...) Thank you in advance, Adam
Database Connectivity Problems
Ok I am completely baffled by this. We are running orion 1.4.4 and I am having severe problems connecting to my Oracle database. Actually modifying the connection to my database. I have 2 Oracle Databases running on different servers. One is our production server and the other is a standby server. I attempted to test orion on my staging server against the standby database and I get a Network Adapter error. When I point it to the Oracle database that It first ran against it works fine, change the IP address in the data-sources.xml file to the standby it dies. (All I am changing is the last 2 numbers). If I change the IP address to the fully qualified hostname of the production database it dies with the same error. In the Oracle logs I can see the connections, but Orion still gives a The Network Adapter could not establish the connection. If I try the same thing on the development boxes it works perfectly fine, I change between the databases at will. I have tried deleting the application-deployments directory, the persistence directory, the entire application directory and redeploying from scratch, searching through the complete directory tree for any reference to the OLD DB or it's IP address. I have search bugzilla, and the mailling list archives and still I am completely baffled. Does anyone have any ideas why it would not allow me to change the database it is going against. (I swear all I am changing is a 47 to an 88, the databases are identical otherwise.) Thanks Kep
RE: Database Connectivity Problems
sounds like an ipchains problem(if its linux) or a net8 problem. You could have a rule set up on the standby box which prevents getting messages from net8 but allows sending messages to net8. Try running a sql*plus client from the same box that orion runs on, and see if you can connect to the oracle box. If not, you know its a port problem or a net8 config problem, and not an issue with orion. also...do the normal things like, can you ping the standby oracle box. we run orion against different boxes with oracle all of the timeno problems. regards, the elephantwalker -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of [EMAIL PROTECTED] Sent: Thursday, May 03, 2001 2:35 PM To: Orion-Interest Subject: Database Connectivity Problems Ok I am completely baffled by this. We are running orion 1.4.4 and I am having severe problems connecting to my Oracle database. Actually modifying the connection to my database. I have 2 Oracle Databases running on different servers. One is our production server and the other is a standby server. I attempted to test orion on my staging server against the standby database and I get a Network Adapter error. When I point it to the Oracle database that It first ran against it works fine, change the IP address in the data-sources.xml file to the standby it dies. (All I am changing is the last 2 numbers). If I change the IP address to the fully qualified hostname of the production database it dies with the same error. In the Oracle logs I can see the connections, but Orion still gives a The Network Adapter could not establish the connection. If I try the same thing on the development boxes it works perfectly fine, I change between the databases at will. I have tried deleting the application-deployments directory, the persistence directory, the entire application directory and redeploying from scratch, searching through the complete directory tree for any reference to the OLD DB or it's IP address. I have search bugzilla, and the mailling list archives and still I am completely baffled. Does anyone have any ideas why it would not allow me to change the database it is going against. (I swear all I am changing is a 47 to an 88, the databases are identical otherwise.) Thanks Kep
RE: Database Connectivity Problems
This message comes from the JDBC Driver NOT from orion... We get that error when there is something wrong with the DB (i.e. down, etc) . Also the JDBC driver your are using should match the Orcale db version you are using. Thanks, Claudio -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of [EMAIL PROTECTED] Sent: Thursday, May 03, 2001 2:35 PM To: Orion-Interest Subject: Database Connectivity Problems Ok I am completely baffled by this. We are running orion 1.4.4 and I am having severe problems connecting to my Oracle database. Actually modifying the connection to my database. I have 2 Oracle Databases running on different servers. One is our production server and the other is a standby server. I attempted to test orion on my staging server against the standby database and I get a Network Adapter error. When I point it to the Oracle database that It first ran against it works fine, change the IP address in the data-sources.xml file to the standby it dies. (All I am changing is the last 2 numbers). If I change the IP address to the fully qualified hostname of the production database it dies with the same error. In the Oracle logs I can see the connections, but Orion still gives a The Network Adapter could not establish the connection. If I try the same thing on the development boxes it works perfectly fine, I change between the databases at will. I have tried deleting the application-deployments directory, the persistence directory, the entire application directory and redeploying from scratch, searching through the complete directory tree for any reference to the OLD DB or it's IP address. I have search bugzilla, and the mailling list archives and still I am completely baffled. Does anyone have any ideas why it would not allow me to change the database it is going against. (I swear all I am changing is a 47 to an 88, the databases are identical otherwise.) Thanks Kep
RE: Interests sake
For production, Win2K/Orion 1.4.7/PostgreSQL. For development, Win2K/Orion 1.4.8/hsql. I'll probably move the production box to 1.4.8 soon since it seems to work well enough with my code. I have test systems running Linux/PostgreSQL too. Production: Linux - Apache - Resin - Orion 1.4.5 - PostgreSQL Development:Win2K - Tomcat - Orion 1.4.5 - PostgreSQL With Linux it's much easier to configure Java apps as daemons, but I can't render my dynamic images with any reasonable quality - XWindows renders fonts like a three-year-old with a half-eaten crayon :-) You should try pja. It does not require any XWindow server running and I use the same fonts available on win... Best regards, Kazuma --- Those who do not understand Unix are condemned to reinvent it, poorly. Alex Garbagnati, [EMAIL PROTECTED]
RE: Interests sake
-Original Message- From: Adam Cassar [EMAIL PROTECTED] Reply-To: Orion-Interest [EMAIL PROTECTED] To: Orion-Interest [EMAIL PROTECTED] Subject: Interests sake Date: 03 May 2001 15:53:28 +1000 Hi all, For interests sake, what OS is everyone on the list running orion on? Windows 2000? WinNT Linux? MPE/iX 6.5 and IMAGE/SQL
Re: broken default web app - not found
originally from the install the default-web-app had no META-INF/ directory nor a META-INF/application.xml but there is one in config/ then when i replaced default with my app, i kept the same config. during a trial of someone's advice, i did add applictions/pussycat/Web-inf (windows refuses to let me all-cap it) but I did not see that it made any difference. j Tim Endres [EMAIL PROTECTED] wrote: Sounds to me like you have no META-INF/* for your application at the path C:/orion/applications/pussycat, which you specified for your app? Where is your META-INF setup? That did bring back the default Orion Web App, and as the default site/app my other app is dead now: Error instantiating application at file:/C:/orion/applications/pussycat/: Unable to find/read assembly info for C:\orion\applications\pussycat (META-INF/application.xml) Error initializing site Pussycat Web Study: No application named 'pussycat' found in the server Orion/1.4.5 initialized I guess the real trouble is that I'm not sure of the distinct meanings between server web site web appliction default web site default web appliction global... i have not found these defined on the orion site. j. Tim Endres [EMAIL PROTECTED] wrote: In my server.xml file, I have the following line: global-application name=default path=application.xml / Looks to me like you've replaced the default web-app with your own 'pussycat'. You application should be defined by a separate app line, such as: application name=pussycat path=/path/to/app/dir auto-start=true / Note how the path is a path, not an xml file. It could also be your EAR file if you have deployed that way. tim. I managed to deploy a website/app but in so doing, broke the default website with all the nice jsp examples. I would like to use that default app to test and learn about jsp and plug modified versions into my app. now i get this error from orion: Error initializing site Default Orion WebSite: No application named 'default' found in the server how do i unbreak the default web app and keep it working alongside my app - and KISS? thanks in advance. Joey, newbie in distress relevent config files: orion/config/server.xml: ... global-application name=pussycat path=application.xml / !--global-application name=default path=application.xml / can't do this-- global-web-app-config path=global-web-application.xml / web-site path=./pussycat-web-site.xml / web-site path=./default-web-site.xml / ... orion/config/application.xml: ... orion-application web-module id=pussycat path=../applications/pussycat / web-module id=defaultWebApp path=../applications/default-web-app / ... orion/config/default-web-site.xml: ... web-site host=[all] port=80 display-name=Default Orion WebSite default-web-app application=default name=defaultWebApp / /web-site orion/config/pussycat-web-site.xml: ... web-site host=[all] port=80 display-name=Pussycat Web Study virtual-hosts=localhost default-web-app application=pussycat name=pussycat / !-- default-web-app application=pussycat name=defaultWebApp / can't do this-- ... /web-site server.xml: ... application-server application-directory=../applications deployment-directory=../application-deployments ... global-application name=pussycat path=application.xml / !--global-application name=default path=application.xml / can't do this-- global-web-app-config path=global-web-application.xml / web-site path=./pussycat-web-site.xml / web-site path=./default-web-site.xml / ... end Get free email and a permanent address at http://www.netaddress.com/?N=1
Re: [Re: broken default web app - not found]
I copied config/applictation.xml to applications/pussycat/META-INF/ and changed web-module id=defaultWebApp path=../default-web-app / to: web-module id=pussycat path=../pussycat / which yields: Error instantiating application at file:/O:/applications/pussycat/: Unknown assembly tag in file:/O:/applications/pussycat/: web-module Tim Endres [EMAIL PROTECTED] wrote: Sounds to me like you have no META-INF/* for your application at the path C:/orion/applications/pussycat, which you specified for your app? Where is your META-INF setup? That did bring back the default Orion Web App, and as the default site/app my other app is dead now: Error instantiating application at file:/C:/orion/applications/pussycat/: Unable to find/read assembly info for C:\orion\applications\pussycat (META-INF/application.xml) Error initializing site Pussycat Web Study: No application named 'pussycat' found in the server Orion/1.4.5 initialized I guess the real trouble is that I'm not sure of the distinct meanings between server web site web appliction default web site default web appliction global... i have not found these defined on the orion site. j. Tim Endres [EMAIL PROTECTED] wrote: In my server.xml file, I have the following line: global-application name=default path=application.xml / Looks to me like you've replaced the default web-app with your own 'pussycat'. You application should be defined by a separate app line, such as: application name=pussycat path=/path/to/app/dir auto-start=true / Note how the path is a path, not an xml file. It could also be your EAR file if you have deployed that way. tim. I managed to deploy a website/app but in so doing, broke the default website with all the nice jsp examples. I would like to use that default app to test and learn about jsp and plug modified versions into my app. now i get this error from orion: Error initializing site Default Orion WebSite: No application named 'default' found in the server how do i unbreak the default web app and keep it working alongside my app - and KISS? thanks in advance. Joey, newbie in distress relevent config files: orion/config/server.xml: ... global-application name=pussycat path=application.xml / !--global-application name=default path=application.xml / can't do this-- global-web-app-config path=global-web-application.xml / web-site path=./pussycat-web-site.xml / web-site path=./default-web-site.xml / ... orion/config/application.xml: ... orion-application web-module id=pussycat path=../applications/pussycat / web-module id=defaultWebApp path=../applications/default-web-app / ... orion/config/default-web-site.xml: ... web-site host=[all] port=80 display-name=Default Orion WebSite default-web-app application=default name=defaultWebApp / /web-site orion/config/pussycat-web-site.xml: ... web-site host=[all] port=80 display-name=Pussycat Web Study virtual-hosts=localhost default-web-app application=pussycat name=pussycat / !-- default-web-app application=pussycat name=defaultWebApp / can't do this-- ... /web-site server.xml: ... application-server application-directory=../applications deployment-directory=../application-deployments ... global-application name=pussycat path=application.xml / !--global-application name=default path=application.xml / can't do this-- global-web-app-config path=global-web-application.xml / web-site path=./pussycat-web-site.xml / web-site path=./default-web-site.xml / ... end Get free email and a permanent address at http://www.netaddress.com/?N=1
Re: broken default web app - not found
I copied config/applictation.xml to applications/pussycat/META-INF/ and changed web-module id=defaultWebApp path=../default-web-app / to: web-module id=pussycat path=../pussycat / which yields: Error instantiating application at file:/O:/applications/pussycat/: Unknown assembly tag in file:/O:/applications/pussycat/: web-module Tim Endres [EMAIL PROTECTED] wrote: Sounds to me like you have no META-INF/* for your application at the path C:/orion/applications/pussycat, which you specified for your app? Where is your META-INF setup? That did bring back the default Orion Web App, and as the default site/app my other app is dead now: Error instantiating application at file:/C:/orion/applications/pussycat/: Unable to find/read assembly info for C:\orion\applications\pussycat (META-INF/application.xml) Error initializing site Pussycat Web Study: No application named 'pussycat' found in the server Orion/1.4.5 initialized I guess the real trouble is that I'm not sure of the distinct meanings between server web site web appliction default web site default web appliction global... i have not found these defined on the orion site. j. Tim Endres [EMAIL PROTECTED] wrote: In my server.xml file, I have the following line: global-application name=default path=application.xml / Looks to me like you've replaced the default web-app with your own 'pussycat'. You application should be defined by a separate app line, such as: application name=pussycat path=/path/to/app/dir auto-start=true / Note how the path is a path, not an xml file. It could also be your EAR file if you have deployed that way. tim. I managed to deploy a website/app but in so doing, broke the default website with all the nice jsp examples. I would like to use that default app to test and learn about jsp and plug modified versions into my app. now i get this error from orion: Error initializing site Default Orion WebSite: No application named 'default' found in the server how do i unbreak the default web app and keep it working alongside my app - and KISS? thanks in advance. Joey, newbie in distress relevent config files: orion/config/server.xml: ... global-application name=pussycat path=application.xml / !--global-application name=default path=application.xml / can't do this-- global-web-app-config path=global-web-application.xml / web-site path=./pussycat-web-site.xml / web-site path=./default-web-site.xml / ... orion/config/application.xml: ... orion-application web-module id=pussycat path=../applications/pussycat / web-module id=defaultWebApp path=../applications/default-web-app / ... orion/config/default-web-site.xml: ... web-site host=[all] port=80 display-name=Default Orion WebSite default-web-app application=default name=defaultWebApp / /web-site orion/config/pussycat-web-site.xml: ... web-site host=[all] port=80 display-name=Pussycat Web Study virtual-hosts=localhost default-web-app application=pussycat name=pussycat / !-- default-web-app application=pussycat name=defaultWebApp / can't do this-- ... /web-site server.xml: ... application-server application-directory=../applications deployment-directory=../application-deployments ... global-application name=pussycat path=application.xml / !--global-application name=default path=application.xml / can't do this-- global-web-app-config path=global-web-application.xml / web-site path=./pussycat-web-site.xml / web-site path=./default-web-site.xml / ... end Get free email and a permanent address at http://www.netaddress.com/?N=1
Re: broken default web app - not found
I copied config/applictation.xml to applications/pussycat/META-INF/ and changed web-module id=defaultWebApp path=../default-web-app / to: web-module id=pussycat path=../pussycat / which yields: Error instantiating application at file:/O:/applications/pussycat/: Unknown assembly tag in file:/O:/applications/pussycat/: web-module Tim Endres [EMAIL PROTECTED] wrote: Sounds to me like you have no META-INF/* for your application at the path C:/orion/applications/pussycat, which you specified for your app? Where is your META-INF setup? That did bring back the default Orion Web App, and as the default site/app my other app is dead now: Error instantiating application at file:/C:/orion/applications/pussycat/: Unable to find/read assembly info for C:\orion\applications\pussycat (META-INF/application.xml) Error initializing site Pussycat Web Study: No application named 'pussycat' found in the server Orion/1.4.5 initialized I guess the real trouble is that I'm not sure of the distinct meanings between server web site web appliction default web site default web appliction global... i have not found these defined on the orion site. j. Tim Endres [EMAIL PROTECTED] wrote: In my server.xml file, I have the following line: global-application name=default path=application.xml / Looks to me like you've replaced the default web-app with your own 'pussycat'. You application should be defined by a separate app line, such as: application name=pussycat path=/path/to/app/dir auto-start=true / Note how the path is a path, not an xml file. It could also be your EAR file if you have deployed that way. tim. I managed to deploy a website/app but in so doing, broke the default website with all the nice jsp examples. I would like to use that default app to test and learn about jsp and plug modified versions into my app. now i get this error from orion: Error initializing site Default Orion WebSite: No application named 'default' found in the server how do i unbreak the default web app and keep it working alongside my app - and KISS? thanks in advance. Joey, newbie in distress relevent config files: orion/config/server.xml: ... global-application name=pussycat path=application.xml / !--global-application name=default path=application.xml / can't do this-- global-web-app-config path=global-web-application.xml / web-site path=./pussycat-web-site.xml / web-site path=./default-web-site.xml / ... orion/config/application.xml: ... orion-application web-module id=pussycat path=../applications/pussycat / web-module id=defaultWebApp path=../applications/default-web-app / ... orion/config/default-web-site.xml: ... web-site host=[all] port=80 display-name=Default Orion WebSite default-web-app application=default name=defaultWebApp / /web-site orion/config/pussycat-web-site.xml: ... web-site host=[all] port=80 display-name=Pussycat Web Study virtual-hosts=localhost default-web-app application=pussycat name=pussycat / !-- default-web-app application=pussycat name=defaultWebApp / can't do this-- ... /web-site server.xml: ... application-server application-directory=../applications deployment-directory=../application-deployments ... global-application name=pussycat path=application.xml / !--global-application name=default path=application.xml / can't do this-- global-web-app-config path=global-web-application.xml / web-site path=./pussycat-web-site.xml / web-site path=./default-web-site.xml / ... end Get free email and a permanent address at http://www.netaddress.com/?N=1
How many number of JVMs can be created on Orion?
Hi, I just like to know, how many number of JVMs can be created on Orion server? I know it is mostly based on machine configuration, Are there any statistics on this? and I would also like to know, how many JVMs can be created for EJBContainer too? Thanks Subrah __ Do You Yahoo!? Yahoo! Auctions - buy the things you want at great prices http://auctions.yahoo.com/
Form-based authentication: original request URI...?
Hi, I managed to get forms-based authentication working (Orion 1.4.5/Win2K), but I have a question. Here is what happens: 1) user tries to access protected resource "protected.jsp" 2) Orion redirects user to the login page "login.jsp" instead 3) user enters *incorrect* userid/password and submits the form 4) Orion shows the error page "error.jsp", as it should So far, so good, but on the error page I'd like to say something like "click here to retry," with a link to the *original* page that triggered the authentication in the first place (in this case "protected.jsp"). Note that if I put a link to "login.jsp" on the error page, the user will be stuck in a loop as successful authentication will just redisplay the login page itself. The question is: is there a way (either inside the login page or in the error page) of somehow determining what the original request URI was that triggered the authentication to begin with? I already tried request.getRequestURI() inside "login.jsp," but it evaluates to "login.jsp," not "protected.jsp" as I'd like. Clearly Orion stores the original request URI somewhere (otherwise it wouldn't know where to go after a successful login), but how can I get at this information??? Any help would be greatly appreciated! Attila Attila Bodis Development Manager, Mobile Hosting 800 Bridge Pkwy #2068 Redwood Shores, CA 94065 (650) 506-4767 (w) (650) 346-6156 (m) [EMAIL PROTECTED] Visit the OracleMobile Online Studio at http://studio.oraclemobile.com. BEGIN:VCARD VERSION:2.1 N:Bodis;Attila FN:Attila Bodis NICKNAME:Attila ORG:OracleMobile;OracleMobile Online Studio TITLE:Development Lead TEL;WORK;VOICE:(650) 506-4767 TEL;CELL;VOICE:(650) 346-6156 ADR;WORK;ENCODING=QUOTED-PRINTABLE:;10bpM205;500 Oracle Pkwy=0D=0AMailstop 10bp2;Redwood Shores;CA;94065 LABEL;WORK;ENCODING=QUOTED-PRINTABLE:10bpM205=0D=0A500 Oracle Pkwy=0D=0AMailstop 10bp2=0D=0ARedwood Shores, CA 94= 065 X-WAB-GENDER:2 URL: URL:http://studio.oraclemobile.com EMAIL;PREF;INTERNET:[EMAIL PROTECTED] REV:20010504T002441Z END:VCARD
I solved my problem accessing EJB's.
Hey i have figured out how to access a EJB from a client, not packaged in a .ear. If i tryed to access the bean by calling context.lookup(java:comp/env/ejb/SomeBean); , you get a exception stating the client must be a J2EE component. The way around was to look at the file E:\orion\application-deployments\AppName\hello-world-ejb.jar\orion-ejb-jar.x ml, a get the value of location within session-deployment. That give the JNDI location of the bean, so now you can call it from a client with context.lookup(whatever_location_is); It was so simple, but took me ages to get working! You still need to have a application-client.xml file in the META-INF, but you don't need to package and deploy the client to access EJB's. Also you call System.setProperty() for each of the propertys in the JNDI.properties file, if you don't want to use a seperate file.
RE: Interests sake
We're running Solaris/Linux and Win2K, and I know of a couple of people running it on Mac OSX! R At 07:03 PM 5/3/01 -0400, you wrote: -Original Message- From: Adam Cassar [EMAIL PROTECTED] Reply-To: Orion-Interest [EMAIL PROTECTED] To: Orion-Interest [EMAIL PROTECTED] Subject: Interests sake Date: 03 May 2001 15:53:28 +1000 Hi all, For interests sake, what OS is everyone on the list running orion on? Windows 2000? WinNT Linux? MPE/iX 6.5 and IMAGE/SQL
RE: Interests sake
Title: RE: Interests sake Does Orion support digital unix ? Thanks! -Original Message- From: Angshuman Dasgupta [mailto:[EMAIL PROTECTED]] Sent: Thursday, May 03, 2001 8:28 PM To: Orion-Interest Subject: RE: Interests sake Dev:Linux Prod:Solaris -Original Message- From: Robert Krueger [mailto:[EMAIL PROTECTED]] Sent: Thursday, May 03, 2001 2:43 PM To: Orion-Interest Subject: Re: Interests sake At 15:53 03.05.2001 , you wrote: Hi all, For interests sake, what OS is everyone on the list running orion on? Windows 2000? WinNT Linux? dev and prod on Linux. Except for the well-known occasional linux JVM quirks it runs OK. (-) Robert Krüger (-) SIGNAL 7 Gesellschaft für Informationstechnologie mbH (-) Brüder-Knauß-Str. 79 - 64285 Darmstadt, (-) Tel: 06151 665401, Fax: 06151 665373 (-) [EMAIL PROTECTED], www.signal7.de
Re: SV: Kawa 5.0 Ent SP1 and Orion, deployment problem
Hi, you can find it on http://www.allaire.com/products/kawa/index.cfm. It is the service pack 1. Thanks, Kalle From: Patrik Andersson [EMAIL PROTECTED] Reply-To: Orion-Interest [EMAIL PROTECTED] To: Orion-Interest [EMAIL PROTECTED] Subject: SV: Kawa 5.0 Ent SP1 and Orion, deployment problem Date: Thu, 3 May 2001 18:37:45 +0200 Hi, where can I find the module containing: com.allaire.ejb.deployment.orion.OrionDeployer and how do I gettit to work? -Ursprungligt meddelande- Från: Kalle Anka [mailto:[EMAIL PROTECTED]] Skickat: den 2 maj 2001 18:46 Till: Orion-Interest Ämne: Q:Kawa 5.0 Ent SP1 and Orion, deployment problem Hi all, I am trying to use Kawa 5.0 ENT SP1 with Orion and I can't deploy to Orion. I klnow that Orion is started and working fine but when I try to deploy from Kawa I'll get the following message: C:/java/jdk1.2.2/bin/java.exe com.allaire.ejb.deployment.orion.OrionDeployer C:/orion C:/projects/helloworld/HelloApp.ear java.net.SocketException: connect (code060) at com.sun.xml.parser.Parser.fatal(Parser.java:2817) at com.sun.xml.parser.Parser.externalParameterEntity(Parser.java:2506)at com.sun.xml.parser.Parser.maybeDoctypeDecl(Parser.java:1137) at com.sun.xml.parser.Parser.parseInternal(Parser.java:481) at com.sun.xml.parser.Parser.parse(Parser.java:284) at com.sun.xml.parser.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:95) at javax.xml.parsers.DocumentBuilder.parse(DocumentBuilder.java:126) at com.allaire.ejb.deployment.orion.OrionDeployer.main(OrionDeployer.java, Compiled Code) Process Exit... My guess is that this is depending on that Kawa can't find the Orion server (installed locally) or a security issue ? Thanks, Kalle _ Get your FREE download of MSN Explorer at http://explorer.msn.com _ Get your FREE download of MSN Explorer at http://explorer.msn.com
RE: Interests sake
Does Orion support digital unix ? Thanks! I believe the answer to the question: Does Orion support XYZ operating system? Is answered by: Yes, if you have an adequate JVM. tim.
RE: Form-based authentication: original request URI...?
Hi Attila, FORM based authentication is somewhat limited with respect to the use-cases it supports. On your error page include something like: a href="javascript:history.go(-1);Try" again/a This works fine for me. Cheers --peter 650-561-9273 -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Attila Bodis Sent: Thursday, May 03, 2001 6:25 PM To: Orion-Interest Subject: Form-based authentication: original request URI...? Hi, I managed to get forms-based authentication working (Orion 1.4.5/Win2K), but I have a question. Here is what happens: 1) user tries to access protected resource protected.jsp 2) Orion redirects user to the login page login.jsp instead 3) user enters *incorrect* userid/password and submits the form 4) Orion shows the error page error.jsp, as it should So far, so good, but on the error page I'd like to say something like click here to retry, with a link to the *original* page that triggered the authentication in the first place (in this case protected.jsp). Note that if I put a link to login.jsp on the error page, the user will be stuck in a loop as successful authentication will just redisplay the login page itself. The question is: is there a way (either inside the login page or in the error page) of somehow determining what the original request URI was that triggered the authentication to begin with? I already tried request.getRequestURI() inside login.jsp, but it evaluates to login.jsp, not protected.jsp as I'd like. Clearly Orion stores the original request URI somewhere (otherwise it wouldn't know where to go after a successful login), but how can I get at this information??? Any help would be greatly appreciated! Attila Attila Bodis Development Manager, Mobile Hosting 800 Bridge Pkwy #2068 Redwood Shores, CA 94065 (650) 506-4767 (w) (650) 346-6156 (m) [EMAIL PROTECTED] Visit the OracleMobile Online Studio at http://studio.oraclemobile.com.
RE: Interests sake
From: Alex 'Kazuma' Garbagnati [mailto:[EMAIL PROTECTED]] With Linux it's much easier to configure Java apps as daemons, but I can't render my dynamic images with any reasonable quality - XWindows renders fonts like a three-year-old with a half-eaten crayon :-) You should try pja. It does not require any XWindow server running and I use the same fonts available on win... I tried it. Didn't produce fonts much (if at all) better than XWindows. Also tried the xvfb, which was by far the worst option. One thing you can say about MS Windows is that it does an excellent job of rendering text :-) What Linux needs is a ground-up replacement for XWindows, IMHO. Jeff
Re: property files or similar
elephantwalker wrote: You can set the env properties for the application in the deployment descripter xml file. This allows you to pass parameters to the application...for example, your properties path. OR more recklessly, you could pass the information you are pulling out of your properties in your env, and bury the properties thingy once and for all. regards, the elephantwalker Thanks to both elephantwalker and Sirkanth Bellalacheruvu for their suggestions, we have decided to go with the env settings in the web.xml. Thanks again for the knowledge. -- Holden Glova, [EMAIL PROTECTED] Software Engineer Alchemy Group Limited Level 6 Royal Sun Alliance Bldg PO Box 2386 Christchurch New Zealand Phone: +64 3 962-0396 Fax: +64 3 962-0388
Understanding XML files
I'm still learning about this, but here's my attempt at a primer to understand how the xml files fit together. Please feel free to correct any omissions or inaccuracies. ~ Default-web-site.xml / web-site.xml +++ This represents a website. Because you may be serving multiple web sites on one box (either for multiple IP's, or multiple domains - ie. orionsupport.com and opensymphony.com could be on the same box), you configure a web-site.xml for each of them. Inside this file you configure a default-web-app multiple web-apps. The parameters to these tags are as follows: default-web-app application=default name=defaultWebApp / web-app application=EJBDemo name=ejbdemo-web root=/ejbdemo / web-app application=taglib-test name=sitemesh-example root=/sitemesh / application:the application as defined in server.xml (tag in server.xml is application, and the parameter is name). ie. from above I have an application named EJBDemo in server.xml name: the web application's name as defined in that particular application. ie. Inside my application.xml for EJBDemo, there is a web-application named ejbdemo-web. root: where you web-app is rooted on the tree. From the above localhost/ejbdemo/ would correspond with the web-app ejbdemo-web in application EJBDemo. Server.xml ++ There is only one of these per server, so it is the root point for all the other files. Of particular note are the lines: web-site path=./default-web-site.xml / application name=EJBDemo path=c:\scott\javadev\ejbdemo\build\ejbdemo.ear / These lines show me what websites and what applications I have running. You would only need multiple web-site's if you are serving multiple domains. On the other hand, you may have many applications. If you have many web-applications you will need to add them into your websites as listed above. Application.xml +++ If you are creating a full-blown application, you are best to create a separate one of these for each application. Inside here you define modules. These can be web modules, ejb modules, or java modules. If they are web modules, you will want to add them to a website in order to view them. Creating a quick and dirty jsp ++ However - many people have asked about quickly deploying a jsp in a default way. In this case you are probably best to modify the file application.xml that resides in /config/ with the other xml files. Simply add a web module to this file, and then add that particular web module to your default-web-site.xml eg. You want to create a web-app called jsp-test that will be show at localhost/jsp-test/ + Create the directory jsp-test under orion - ie orion/jsp-test + add the following line to orion/config/application.xml web-module id=jsp-test path=../jsp-test / + add the following line to orion/config/default-web-site.xml web-app application=default name=jsp-test root=/jsp-test / + create the directory web-inf under jsp-test - ie orion/jsp-test/web-inf + copy the file web.xml from orion/default-web-app/web-inf/web.xml to +orion/jsp-test/web-inf/web.xml + if you wish to add anything (ie servlets), add them to the file +orion/jsp-test/web-inf/web.xml + start the server. You should be able to view jsp's that are put in orion/jsp-test now at localhost/jsp-test. More information www.orionsupport.com www.orionserver.com/tutorials/ www.jollem.com ~ Scott [EMAIL PROTECTED] 05/04/01 01:02am Thanks Johan, Scott, and Tim I did try to reconcile and follow all of your advice; I did learn something, but basically it's all gummed up now. what's missing here for me is: a fundamental understanding of the relationships between server, website, web app, web module, --and-- global application, default web app ,what files these should be defined in, and where these file go. for expample, is the default web app just another app, or is it a special thing that must be there untampered-with. It's all pretty bewildering to a newbie, and nowhere on orion site do i see a straightforward explanation/primer of the above. AFTER I grasp this, i'm less likely to ask dumb config questions or make things worse. thanks to anyone who can point me in the right direction. j
RE: Interests sake
Jeff, Have you tried the ibm jdk? They have a font package that should fix your problem with fonts in linux. Regards, the elephantwalker -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Jeff Schnitzer Sent: Thursday, May 03, 2001 8:23 PM To: Orion-Interest Subject: RE: Interests sake From: Alex 'Kazuma' Garbagnati [mailto:[EMAIL PROTECTED]] With Linux it's much easier to configure Java apps as daemons, but I can't render my dynamic images with any reasonable quality - XWindows renders fonts like a three-year-old with a half-eaten crayon :-) You should try pja. It does not require any XWindow server running and I use the same fonts available on win... I tried it. Didn't produce fonts much (if at all) better than XWindows. Also tried the xvfb, which was by far the worst option. One thing you can say about MS Windows is that it does an excellent job of rendering text :-) What Linux needs is a ground-up replacement for XWindows, IMHO. Jeff
RE: Understanding XML files
Scott has put a lot of work into this document, so I'll try and do a mental brain dump of all the things left out / wrong. Don't get me wrong - this is an excellent document with a few corrections (see below). If people add their thoughts / experiences to it over the next few days, I'll put up a summary of all the contributions under one doc on OrionSupport. Read on... -mike Subject: Understanding XML files I'm still learning about this, but here's my attempt at a primer to understand how the xml files fit together. Please feel free to correct any omissions or inaccuracies. ~ Default-web-site.xml / web-site.xml These are both just web-site.xml files ( see http://www.orionserver.com/docs/web-site.xml.html ). Default-web-site.xml is just the 'default' website set up when Orion is installed , the contents of it's WAR are at ./default-web-app (read on for more details) +++ This represents a website. Because you may be serving multiple web sites on one box (either for multiple IP's, or multiple domains - ie. orionsupport.com and opensymphony.com could be on the same box), you configure a web-site.xml for each of them. Inside this file you configure a default-web-app multiple web-apps. The parameters to these tags are as follows: default-web-app application=default name=defaultWebApp / web-app application=EJBDemo name=ejbdemo-web root=/ejbdemo / web-app application=taglib-test name=sitemesh-example root=/sitemesh / application: the application as defined in server.xml (tag in server.xml is application, and the parameter is name). ie. from above I have an application named EJBDemo in server.xml name: the web application's name as defined in that particular application. ie. Inside my application.xml for EJBDemo, there is a web-application named ejbdemo-web. root: where you web-app is rooted on the tree. From the above localhost/ejbdemo/ would correspond with the web-app ejbdemo-web in application EJBDemo. Note you cannot have two web-apps with the same root (and you can only have one default-web-app - this is fairly obvious I guess). I don't know what happens if you have directories in one web-app (eg WAR A has /foobar) that overwrite another web-app's root (eg you bind WAR B to /foobar). My guess is the second web app would work and the first wouldn't (I don't think this is documented anywhere, shouldn't be too hard to test though) Server.xml ++ There is only one of these per server, so it is the root point for all the other files. Of particular note are the lines: web-site path=./default-web-site.xml / This is setup by default in the install, so as to make the default web site work. (See above). Feel free to remove this for a production machine. application name=EJBDemo path=c:\scott\javadev\ejbdemo\build\ejbdemo.ear / These lines show me what websites and what applications I have running. You would only need multiple web-site's if you are serving multiple domains. Or multiple IPs. Or SSL and non SSL sites (possibly same IP/domain but two web-site 's) On the other hand, you may have many applications. If you have many web-applications you will need to add them into your websites as listed above. Application.xml +++ This is a bit of a misnomer (I've complained to the orion guys about this file, it's misnamed). It's actually not an application.xml file in the J2EE sense (the descriptor for an EAR), it's an orion-application.xml file (the app-server specific deployment descriptor for an EAR) - see the tags inside it to confirm if you want. If you are creating a full-blown application, you are best to create a separate one of these for each application. Inside here you define modules. These can be web modules, ejb modules, or java modules. When creating your own applications, you need to create your own application.xml. Orion will create the orion-application.xml file for you and you can tweak it from there. If they are web modules, you will want to add them to a website in order to view them. True. If you want to deploy a simple WAR file under Orion (using the default, factory configuration settings) you add it as a web-module to this file (./config/application.xml) and then add a web-site to ./default-web-site.xml and you're set. (This is what Scott say's verbosely below ;)) Creating a quick and dirty JSP ++ (this is actually a quick and dirty web app) However - many people have asked about quickly deploying a jsp in a default way. In this case you are probably best to modify the file application.xml that resides in /config/ with the other xml files. Simply add a web module to this file, and then add that particular web module to your default-web-site.xml eg. You want to create a web-app called jsp-test that will be show at localhost/jsp-test/ + Create
Re: Understanding XML files
YE Scott, this is just what I needed! THANX!!! SCOTT FARQUHAR [EMAIL PROTECTED] wrote: I'm still learning about this, but here's my attempt at a primer to understand how the xml files fit together. Please feel free to correct any omissions or inaccuracies. ~ Default-web-site.xml / web-site.xml +++ This represents a website. Because you may be serving multiple web sites on one box (either for multiple IP's, or multiple domains - ie. orionsupport.com and opensymphony.com could be on the same box), you configure a web-site.xml for each of them. Inside this file you configure a default-web-app multiple web-apps. The parameters to these tags are as follows: default-web-app application=default name=defaultWebApp / web-app application=EJBDemo name=ejbdemo-web root=/ejbdemo / web-app application=taglib-test name=sitemesh-example root=/sitemesh / application: the application as defined in server.xml (tag in server.xml is application, and the parameter is name). ie. from above I have an application named EJBDemo in server.xml name: the web application's name as defined in that particular application. ie. Inside my application.xml for EJBDemo, there is a web-application named ejbdemo-web. root: where you web-app is rooted on the tree. From the above localhost/ejbdemo/ would correspond with the web-app ejbdemo-web in application EJBDemo. Server.xml ++ There is only one of these per server, so it is the root point for all the other files. Of particular note are the lines: web-site path=./default-web-site.xml / application name=EJBDemo path=c:\scott\javadev\ejbdemo\build\ejbdemo.ear / These lines show me what websites and what applications I have running. You would only need multiple web-site's if you are serving multiple domains. On the other hand, you may have many applications. If you have many web-applications you will need to add them into your websites as listed above. Application.xml +++ If you are creating a full-blown application, you are best to create a separate one of these for each application. Inside here you define modules. These can be web modules, ejb modules, or java modules. If they are web modules, you will want to add them to a website in order to view them. Creating a quick and dirty jsp ++ However - many people have asked about quickly deploying a jsp in a default way. In this case you are probably best to modify the file application.xml that resides in /config/ with the other xml files. Simply add a web module to this file, and then add that particular web module to your default-web-site.xml eg. You want to create a web-app called jsp-test that will be show at localhost/jsp-test/ + Create the directory jsp-test under orion - ie orion/jsp-test + add the following line to orion/config/application.xml web-module id=jsp-test path=../jsp-test / + add the following line to orion/config/default-web-site.xml web-app application=default name=jsp-test root=/jsp-test / + create the directory web-inf under jsp-test - ie orion/jsp-test/web-inf + copy the file web.xml from orion/default-web-app/web-inf/web.xml to orion/jsp-test/web-inf/web.xml + if you wish to add anything (ie servlets), add them to the file orion/jsp-test/web-inf/web.xml + start the server. You should be able to view jsp's that are put in orion/jsp-test now at localhost/jsp-test. More information www.orionsupport.com www.orionserver.com/tutorials/ www.jollem.com ~ Scott [EMAIL PROTECTED] 05/04/01 01:02am Thanks Johan, Scott, and Tim I did try to reconcile and follow all of your advice; I did learn something, but basically it's all gummed up now. what's missing here for me is: a fundamental understanding of the relationships between server, website, web app, web module, --and-- global application, default web app ,what files these should be defined in, and where these file go. for expample, is the default web app just another app, or is it a special thing that must be there untampered-with. It's all pretty bewildering to a newbie, and nowhere on orion site do i see a straightforward explanation/primer of the above. AFTER I grasp this, i'm less likely to ask dumb config questions or make things worse. thanks to anyone who can point me in the right direction. j end Get free email and a permanent address at http://www.netaddress.com/?N=1
Orion Bug or not?
I have a test.jsp file that is calling a class DocumentDelegate: % // 2304 is a test document DocumentDelegate dd = new DocumentDelegate(2304); dd.doAction(1, null, plightbo); // this action is supposed to throw an exception // because the action, 1, is not allowed right now % DocumentDelegate.doAction() in turn calls a session bean: DocumentMgr.doAction(long docId, int action, Hashtable params, String userId) { try { Workflow workfow = new TACWorkflow(); workflow.action(docId, action, userId, params); } catch (Exception e) { throw new EJBException(e.getMessage()); } } In turn, the code in workflow.action() is doing: throw new EJBException(This workflow step can't be called right now); -- Now that I got that out of the way... when I hit test.jsp on the browser, the exception shows up on the browser and I can see the transaction.log show up in the console. But... if I hit the page again with the browser, nothing happens at all. No transaction logs, no System.out.println() statements, nothing. I have to click stop on the browser. When I click reload, now TWO transactions (and System.out.println()) statements show up (this one and the last one). What is going on here? I changed workflow.action() to just return; instead of throwing an EJBException, then the transactions take place as they should and the print statements show up as they should. I tried chaning EJBException to other exceptions, and the same problem occurs. Why would a thrown Exception cause this behavior? To recap: test.jsp calls class DocumentDelegate, which calls DocumentMgr session bean, which in turn loads up a class TACWorkflow and calls a method there. -Pat PS: this happens in 1.4.5 and 1.4.8
RE: Interests sake
I totally agree on your last statement about the need of having some XWindows more windows like, but I do not agree on the problem with pja. Maybe I was using simple semi-artistic fonts, bur the result was at the same level that the same application run on windows. Anyway, it's just a matter of opinion and I do not think this is the right place. I'm sorry for the OT. Best regards, Alex 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