document-root no longer working
I installed Orion 0.9.4 today and couldn't get it working with a different document-root. Since I'm often installing new versions of Orion and also testing my stuff with other servers, I don't like to have my *.html, *.jsp, etc. files under the Orion directory tree. I'm trying to set my document root for the default web app to "c:\web" but I get the following error: C:\orion94>java -jar orion.jarError starting HttpServer: Error initializing site file:/C:/orion94/config/default-web-site.xml: Error loading web-app 'defaultWebApp' at C:\orion94\default-web-app: document-root can only be used when using standalone configs, Servlet 2.2packaged apps have a preset rootOrion/0.9.4 initialized. I modified default-web-app/web-inf/orion-web.xml with the following snippet (adding only the document-root line which worked under 0.9.2) : deployment-version="0.9.4" jsp-cache-directory="./persistence" temporary-directory="./temp" servlet-webdir="/servlet/" document-root="c:\web" > Any help would be greatly appreciated. Thanks! Brien Voorhees
incorrect mime types
I'm seeing weird mime-type behavior with OrionServer (9.2) and XML/XSL. If I access http://localhost/quote.xml" (which has "quote.xsl" applied to it) from my browser it returns a mime type of text/html the first time I access it. If I reload it, however, the mimetype changes to text/xml. If I shutdown Orion and restart it repeats this behavior (html first time, xml subsequently). I can send you my xml and xsl file if that would help diagnose this problem. Brien Voorhees
weird caching behavior with xml/xsl
I'm experimenting with XML/XSL and OrionServer and experiencing weird caching behavior. I have "quote.xml" which references "quote.xsl". I can access quote.xml from a browser and Orion gives me the transformed version, as expected. If I make a change to quote.xml or quote.xsl, however, it isn't reflected unless I shutdown Orion and restart it. Any ideas? Thank you, Brien Voorhees
Possible bug in the orion deployment process?
Hi, I am using 0.94 and trying to deploy an EJB with jms resource reference. However, Orion is failing to deploy it and shows the following error message: Auto-deploying D:\test_app\ejb-module... done Error initializing home of type SendOrder in package D:\test_app\ejb-module: Error creating context: jms/QueueConnectionFactory not found I do not have anything named jms/QueueConnectionFactory anywhere... It seems like orion is omitting the javax from the javax.jms.QueueConnectionFactory resource type and this is why I get this error message. Did anyone else have this type of errors? Thanks in advance, Gal Shachor
RE: [TagLib] I have made a taglib that have some tags making things a whole lot easier for me but....
Hi, I had the same problem before and the final answer that I have gotten after posting to different groups was that it cannot be done. Supposedly, the specs for JSP1.1 does not allow for this. The page is converted to java servlet and compiled and hence it cannot produce any code that will be recompiled again. If there is anyone who came up with a solution to this shortcoming, please share it with us. My original intention is to have jsp code in a database read by a jsp page. Pierre -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of [EMAIL PROTECTED] Sent: March 2, 2000 8:21 AM To: Orion-Interest Subject: [TagLib] I have made a taglib that have some tags making things a whole lot easier for me but I use some jsp tags in the processed output, and is there any way i can process this after the taglib has walked through it an example of a page written by my library: Some page things in here <%= somevar %> My page wil generate amongst other things the errorpage tag <%@ page errorPage="/somwhere/errorpage.jsp" %>. Is it possible to make the jsp processor to extract my oputput from the taglib??? Med vennlig hilsen Klaus Myrseth System Konsulent - Info-expert AS Telenor Mobil AS - Planavdelingen
Multipart/form processing
On Apache Jserv I successfully used the package com.oreilly.servlet to handle Multipart/Form posting/processing. These classes are not functioning on Orion. When submitting a form from IE5, I receive the response: "Corrupt form data: no leading boundary". Doing the same thing from N4.5 I don't receive an error, but no information is passed to the servlet/jsp - no text or binary data. I read something on java.sun.com (http://forum.java.sun.com/forum?14@@.d2b) that said something about the server not forwarding the request correctly to the servlet. Now, that example was referring to another server (OAS 4.0.8.1), but I was wondering if something similar might be occurring with Orion? Has anybody else used the orielly package successfully on Orion? Can anybody recommend an alternative for parsing multipart-forms? ie: handling file uploads? Thanks in advance, Jeremy Pierson
RE: orion 9.9.1b and news-app
I have the same problem but I cannot find the answer for it. I cannot even send email to: [EMAIL PROTECTED] Can you let me know the answer if you find out the solution. Thank you very much TK -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Philippe Renon Sent: Wednesday, March 01, 2000 9:09 PM To: Orion-Interest Subject: orion 9.9.1b and news-app Hi, I managed to setup the news-app demo but ran into the following problems when accessing http://local/hostnews (the border displays fine) 500 Internal Server Error java.lang.SecurityException: guest is not allowed to call this method, check your security settings. at SessionHomeWrapper11.create(SessionHomeWrapper11.java:13) at __jspPage0._jspService(__jspPage0.java:45) at com.evermind.server.http.EvermindHttpJspPage.service(JAX) at com.evermind.server.http.HttpApplication.oc(JAX) at com.evermind.server.http.JSPServlet.service(JAX) at cv.kt(JAX) at cv.forward(JAX) at c4.mu(JAX, Compiled Code) at c.run(JAX, Compiled Code) Thanks for any help, Philippe. Philippe Renon décalog - 5, rue Bachaumont - 75002 PARIS Voice : +33 (0) 1 40 28 44 64 Fax : +33 (0) 1 40 28 24 54 E-mail : mailto:[EMAIL PROTECTED]
Re: Disabling everthing but EJB
The only thing that I can think of is hostname lookups - doesnt your dialup handler have a way of monitoring what prompts the dialup? As for the DTDs they are local resources (ie loaded locally from the jar, not from the URL, even if you use validation) so that shouldnt be the problem. Check if you use hostnames anywhere (as opposed to IPs) and if that leads to the dialup. /Magnus Stenman, the Orion team - Original Message - From: "Robert Hargreaves" <[EMAIL PROTECTED]> To: "Orion-Interest" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Thursday, March 02, 2000 11:49 AM Subject: RE: Disabling everthing but EJB > I've managed to download and reference locally every dtd in the xml files. > The only one I can't do anything with is in orion-ejb-jar.xml in my > \orion\ dir. > Every time I change the reference of the dtd in this xml, the Orion > deployment process overwrites it with the original > http://www.orionserver.com/dtds/orion-ejb-jar.dtd reference. Not sure what > else I can do now. > > Regards, > > Robert Hargreaves > > -Original Message- > From: Mike Fontenot [mailto:[EMAIL PROTECTED]] > Sent: 01 March 2000 16:38 > To: Robert Hargreaves > Subject: RE: Disabling everthing but EJB > > > The xml files themselves have a reference to the Sun website where the DTD > for the xml document actually lives, and to the OrionServer specific config > files. Take a look at EACH header in all of the orion xml documents. For > example, Server.xml has this line: > > "http://www.orionserver.com/dtds/application-server.dtd"> > > > -Original Message- > > From: [EMAIL PROTECTED] > > [mailto:[EMAIL PROTECTED]]On Behalf Of Robert > > Hargreaves > > Sent: Wednesday, March 01, 2000 8:41 AM > > To: Orion-Interest > > Subject: RE: Disabling everthing but EJB > > > > > > Rich, > > > > I suspected as much. We're using NT SBServer and Nt workstations. I've > > turned off the Winsock Proxy service on the Proxy server console > > the problem > > has gone away. Trouble is we can't use our FTP software now. > > > > After talking to out sys admin people, they said Orion probably > > has a ref in > > its config files to an external IP address and therfore our NT server was > > dialling out to resolve a name (a DNS lookup). > > Trouble is finding this external ref in the config xml files. Any > > suggestions? > >
[TagLib] I have made a taglib that have some tags making things a whole lot easier for me but....
I use some jsp tags in the processed output, and is there any way i can process this after the taglib has walked through it an example of a page written by my library: Some page things in here <%= somevar %> My page wil generate amongst other things the errorpage tag <%@ page errorPage="/somwhere/errorpage.jsp" %>. Is it possible to make the jsp processor to extract my oputput from the taglib??? Med vennlig hilsen Klaus Myrseth System Konsulent - Info-expert AS Telenor Mobil AS - Planavdelingen
Re: Disabling everthing but EJB
Hello Robert, The DTD's should not be consulted unless starting orion with xml.validate=true so this shouldn't be your problem. However I'm not sure what dns you are getting resolved, but I can look into it... Regards, Karl Avedal > I've managed to download and reference locally every dtd in the xml files. > The only one I can't do anything with is in orion-ejb-jar.xml in my > \orion\ dir. > Every time I change the reference of the dtd in this xml, the Orion > deployment process overwrites it with the original > http://www.orionserver.com/dtds/orion-ejb-jar.dtd reference. Not sure what > else I can do now. > > Regards, > > Robert Hargreaves > > -Original Message- > From: Mike Fontenot [mailto:[EMAIL PROTECTED]] > Sent: 01 March 2000 16:38 > To: Robert Hargreaves > Subject: RE: Disabling everthing but EJB > > The xml files themselves have a reference to the Sun website where the DTD > for the xml document actually lives, and to the OrionServer specific config > files. Take a look at EACH header in all of the orion xml documents. For > example, Server.xml has this line: > > "http://www.orionserver.com/dtds/application-server.dtd"> > > > -Original Message- > > From: [EMAIL PROTECTED] > > [mailto:[EMAIL PROTECTED]]On Behalf Of Robert > > Hargreaves > > Sent: Wednesday, March 01, 2000 8:41 AM > > To: Orion-Interest > > Subject: RE: Disabling everthing but EJB > > > > > > Rich, > > > > I suspected as much. We're using NT SBServer and Nt workstations. I've > > turned off the Winsock Proxy service on the Proxy server console > > the problem > > has gone away. Trouble is we can't use our FTP software now. > > > > After talking to out sys admin people, they said Orion probably > > has a ref in > > its config files to an external IP address and therfore our NT server was > > dialling out to resolve a name (a DNS lookup). > > Trouble is finding this external ref in the config xml files. Any > > suggestions? > >
UserManager class not found
Ok, I've implemented my own UserManager that extends AbstractUserManager, and I've created an appropriate class implementing the User interface. The class is called PWUserManager, in the pw.security package. It is placed within a jar called pw_security.jar (in pw/security directory within the jar) and moved to orion/lib. In my orion-application.xml I have: In server.xml I have: All seems fine, except when I start orion I get: Error instantiating application 'propertyworld' at file:/usr/srvr/server_root/www.propertyworld.co.uk/: UserManager class 'pw.security.PWUserManager' not found Using 0.9.4. This has been baffling me for hours now. I've tried putting the classes in many directories in jar and un-jarred form. Can anyone shed some light on this, or at least tell me if they can use their own UserManager? Thanks. -Joe Walnes
RE: Disabling everthing but EJB
I've managed to download and reference locally every dtd in the xml files. The only one I can't do anything with is in orion-ejb-jar.xml in my \orion\ dir. Every time I change the reference of the dtd in this xml, the Orion deployment process overwrites it with the original http://www.orionserver.com/dtds/orion-ejb-jar.dtd reference. Not sure what else I can do now. Regards, Robert Hargreaves -Original Message- From: Mike Fontenot [mailto:[EMAIL PROTECTED]] Sent: 01 March 2000 16:38 To: Robert Hargreaves Subject: RE: Disabling everthing but EJB The xml files themselves have a reference to the Sun website where the DTD for the xml document actually lives, and to the OrionServer specific config files. Take a look at EACH header in all of the orion xml documents. For example, Server.xml has this line: http://www.orionserver.com/dtds/application-server.dtd"> > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED]]On Behalf Of Robert > Hargreaves > Sent: Wednesday, March 01, 2000 8:41 AM > To: Orion-Interest > Subject: RE: Disabling everthing but EJB > > > Rich, > > I suspected as much. We're using NT SBServer and Nt workstations. I've > turned off the Winsock Proxy service on the Proxy server console > the problem > has gone away. Trouble is we can't use our FTP software now. > > After talking to out sys admin people, they said Orion probably > has a ref in > its config files to an external IP address and therfore our NT server was > dialling out to resolve a name (a DNS lookup). > Trouble is finding this external ref in the config xml files. Any > suggestions? >
0.9.4 news app doesn't work with Oracle 8.0.5
The news app that worked fine on Orion 0.9.1 with Oracle 8.0.5 doesn't work with the new version 0.9.4. I get the following error: Database error: ORA-00911: invalid character ; I suppose is something related with CMP, a simple application I wrote that use only Session Beans works fine. Best Regards Luciano Montebove Finsiel [EMAIL PROTECTED]