Re: Problem on Netscape Browser - Document Contained No Data
try an html meta tab spcifying noCache -Original Message- From: "Marc Rabil" <[EMAIL PROTECTED]> Date: Thu, 14 Feb 2002 14:50:56 -0500 To: Orion-Interest <[EMAIL PROTECTED]> Subject: Problem on Netscape Browser - Document Contained No Data > I have an application that uses a custom user manager and form-based > authentication on Orion 1.3.8. Things work great with Internet Explorer, > but with Netscape 4.7, the browser pops up a "Document Contained No Data" > error when attempting to login - as if its not getting anything back from > the server. If I turn security off and request the same URL, I get right > in. > > Anybody have any idea what is causing this? Thanks in advance, > > Marc > > > -- ___ Get your premium email from http://www.ireland.com/email
Mysql table create errors with ejbsamples
All, I've gone through the process of configuring Orion and the ejbsamples to run with a mysql database. Things seem to be nearly correct. Orion connects to the database ok, but dies trying to create tables. The problem seems to be related to syntax or type mismatches between hypersonic db and mysql. Some of the postings on this list seem to suggest that these mismatches can be addressed by defining type mappings in mysql.xml. I've tried this without success. I've included the error message, data-sources.xml and the mysql.xml I'm using. If anyone's been through the exercies and can provide any useful pointers, it would be much appreciated. TIA. John Hogan ERROR TEXT: === [root@dalcassion orion]# java -classpath /opt/orion/application-deployments/serverclasses/mm.mysql-2.0.8 -jar orion.jar Auto-deploying ejbsamples (New server version detected)... Auto-deploying usermanager (No previous deployment found)... Auto-creating table: create table com_evermind_ejb_EJBUser (username SET(255) not null primary key, password SET(255) null, description SET(255) null, locale SET(5) null, certificateIssuerDN SET(255) null, certificateSerial SET(100) null) Warning: Error creating table: Syntax error or access violation: You have an error in your SQL syntax near '255) not null primary key, password SET(255) null, description SET(255) null, lo' at line 1 Auto-creating table: create table com_evermind_ejb_EJBUser_groups (username SET(255) not null, value SET(255) not null, primary key (username, value)) Warning: Error creating table: Syntax error or access violation: You have an error in your SQL syntax near '255) not null, value SET(255) not null, primary key (username, value))' at line 1 done. Auto-deploying product (No previous deployment found)... Auto-creating table: create table MyProduct (id BIGINT not null primary key, name SET(255) null, description SET(255) null, price FLOAT null) Warning: Error creating table: Syntax error or access violation: You have an error in your SQL syntax near '255) null, description SET(255) null, price FLOAT null)' at line 1 done. Auto-deploying cart (No previous deployment found)... done. Orion/1.4.8 initialized = data-sources.xml = http://www.orionserver.com/dtds/data-sources.dtd";> = database-schemas/mysql.xml = http://www.orionserver.com/dtds/database-schemas.dtd";> -- ___ Get your email from http://www.ireland.com
Mysql table create errors with ejbsamples
All, I've gone through the process of configuring Orion and the ejbsamples to run with a mysql database. Things seem to be nearly correct. Orion connects to the database ok, but dies trying to create tables. The problem seems to be related to syntax or type mismatches between hypersonic db and mysql. Some of the postings on this list seem to suggest that these mismatches can be addressed by defining type mappings in mysql.xml. I've tried this without success. I've included the error message, data-sources.xml and the mysql.xml I'm using. If anyone's been through the exercies and can provide any useful pointers, it would be much appreciated. TIA. John Hogan ERROR TEXT: === [root@dalcassion orion]# java -classpath /opt/orion/application-deployments/serverclasses/mm.mysql-2.0.8 -jar orion.jar Auto-deploying ejbsamples (New server version detected)... Auto-deploying usermanager (No previous deployment found)... Auto-creating table: create table com_evermind_ejb_EJBUser (username SET(255) not null primary key, password SET(255) null, description SET(255) null, locale SET(5) null, certificateIssuerDN SET(255) null, certificateSerial SET(100) null) Warning: Error creating table: Syntax error or access violation: You have an error in your SQL syntax near '255) not null primary key, password SET(255) null, description SET(255) null, lo' at line 1 Auto-creating table: create table com_evermind_ejb_EJBUser_groups (username SET(255) not null, value SET(255) not null, primary key (username, value)) Warning: Error creating table: Syntax error or access violation: You have an error in your SQL syntax near '255) not null, value SET(255) not null, primary key (username, value))' at line 1 done. Auto-deploying product (No previous deployment found)... Auto-creating table: create table MyProduct (id BIGINT not null primary key, name SET(255) null, description SET(255) null, price FLOAT null) Warning: Error creating table: Syntax error or access violation: You have an error in your SQL syntax near '255) null, description SET(255) null, price FLOAT null)' at line 1 done. Auto-deploying cart (No previous deployment found)... done. Orion/1.4.8 initialized = data-sources.xml = http://www.orionserver.com/dtds/data-sources.dtd";> = database-schemas/mysql.xml = http://www.orionserver.com/dtds/database-schemas.dtd";> -- ___ Get your email from http://www.ireland.com
Re: Unsubscribe
esad -Original Message- From: Alexandru Balut <[EMAIL PROTECTED]> Date: Tue, 18 Dec 2001 16:00:38 +0200 To: Orion-Interest <[EMAIL PROTECTED]> Subject: Re: Unsubscribe > > They can build an application server and they can't maintain a mailing list? > :-) > > There is something strange here.. > > On Monday 17 December 2001 22:07, Dan Hoyal wrote: > > Please remove me as well. I've also tried several times. > > > > Thank you, > > Dan > > -Original Message- > > From: [EMAIL PROTECTED] > > [mailto:[EMAIL PROTECTED]]On Behalf Of Matthew Pullen > > Sent: Monday, December 17, 2001 7:11 AM > > To: Orion-Interest > > Subject: Unsubsribe > > > > > >Even i tried to unsubscribe at the specifed address.It did not > > work.Please remove my name from the list. > > > > Thank you, > > > > Matthew > > > Content-Type: text/html; charset="iso-8859-1"; name="Attachment: 1" > Content-Transfer-Encoding: quoted-printable > Content-Description: > > > -- ___ Get your email from http://www.ireland.com
unsuscribe
unsuscribe _ Get your free E-mail at http://www.ireland.com
Re: RE: Oracle deal gag... but on a different note.
Their j2ee implementations seemed like a bunch of open source glued together. Throw in the oddDuck idea of running ejb's inside the db server and it's no wonder they threw it away. Perhaps because they couldn't give it away. _ Get your free E-mail at http://www.ireland.com
Re: Re: I require step by step install instructions for Pet Store 1.1.2 on Orion please?
when all else fails, read the directions _ Get your free E-mail at http://www.ireland.com
Re: Sharing session between all the modules of an application
I believe you get a separate ServletContext per war. JohnH _ Get your free E-mail at http://www.ireland.com
Re: JMS or just function ??
A benefit is that your app can send messages and can forget about them. It doesn't need to wait for anything to complete. This means you don't have to keep your user waiting, who may be on the other end of something like an http request. Users don't like to wait. It's not appropriate for everything, but in certain circumstances it is the only way to go. _ Get your free E-mail at http://www.ireland.com
Re: Re: RE: Simple Java Doubts
Santosh, Is the original disclaimer a secret plot to own all content on the orion list? Somehow doesn't seem appropriate. *** Disclaimer : The information contained and transmitted in this e-mail is confidential information, and is intended only for the named recipient to which it is addressed. The content of this e-mail may not have been sent with the authority of the company. If the reader of this message is not the named recipient or a person responsible for delivering it to the named recipient, you are notified that the review, dissemination, distribution, transmission, printing or copying, forwarding, or any other use of this message or any part of it, including any attachments, is strictly prohibited. If you have received this communication in error, please delete the e-mail and destroy all record of this communication. Thank you for your assistance. ** Begin Original Message From: "John Hogan" <[EMAIL PROTECTED]> Sent: Wed, 9 May 2001 08:03:18 -0400 To: Orion-Interest <[EMAIL PROTECTED]> Subject: Re: RE: Simple Java Doubts On response 2, if the remote client is actually a web server, the scheme will work nicely. No polling would be necessary, an http request would only be issued on event. John Hogan _ Get your free E-mail at http://www.ireland.com End Original Message _ Get your free E-mail at http://www.ireland.com
Re: RE: Simple Java Doubts
On response 2, if the remote client is actually a web server, the scheme will work nicely. No polling would be necessary, an http request would only be issued on event. John Hogan _ Get your free E-mail at http://www.ireland.com
Re: Re: Paged search results
check out this link for application wide sharing. http://java.sun.com/docs/books/tutorial/servlets/communication/attribu tes.html _ Get your free E-mail at http://www.ireland.com
Configuring Orion's DataSourceUserManager
All, Just a few questions on the orionsupport article dealing with DataSourceUserManager (http://www.orionsupport.com/articles/datasourceusermanager.html). TIA John Hogan 1) This article starts off with the statement "A user is an entity". Does this mean you need to have already created a user entitybean? 2) If a preexisting user entitybean is not necessary, does the xml described behave like a CMP entitybean and auto-create a users and user_groups tables? 3) When discussing the application.xml file, does this refer to /orion/config/application.xml, or an application specific version of this file? _ Get your free E-mail at http://www.ireland.com
CMP, advanced OR mapping?
All, If an entity bean has more than one dependent object, do all corresponding tables have to be linked by the parent tables primary key? For instance, I have a ContractEJB that has a primarykey of contractId. The ContractEJB also has an Agency object and agency code that is an id into an agency table. Can multiple keys like this be mapped in orion-ejb-jar.xml? TIA. John Hogan _ Get your free E-mail at http://www.ireland.com
Sending Serializable obj from ejb to servlet
All, I'm attempting to send a serializable object from an entity bean to a servlet, and am seeing the error below. Seems like it may be a deployment thing, perhaps with helper class PaidTransaction. If someone could point me at a summary for deployment requirements for helper classes needed by a servlet, that would be much appreciated. TIA. John Hogan javax.ejb.EJBException at PaidTransaction_ORList4.getObjects (PaidTransaction_ORList4.java:75) at com.evermind.server.ejb.ORList.size(JAX) at java.util.ArrayList.(Unknown Source) at com.evermind.server.ejb.ORList.getReplacement(JAX) at com.evermind.server.ejb.gv.ajn(JAX) at com.evermind.server.ejb.gv.replaceObject(JAX) at java.io.ObjectOutputStream.writeObject(Unknown Source) at java.io.ObjectOutputStream.outputClassFields(Unknown Source) at java.io.ObjectOutputStream.defaultWriteObject(Unknown Source) at java.io.ObjectOutputStream.outputObject(Unknown Source) at java.io.ObjectOutputStream.writeObject(Unknown Source) at com.evermind.server.ejb.EJBUtils.cloneObject(JAX) at PolicyWrapper_EntityBeanWrapper1.getPolicyProxy (PolicyWrapper_EntityBeanWrapper1.java:278) at com.sc.web.paid.RecentPolicyActivityServlet.doGet (RecentPolicyActivityServlet.java:57) at javax.servlet.http.HttpServlet.service (HttpServlet.java:190) at javax.servlet.http.HttpServlet.service (HttpServlet.java:302) at javax.servlet.http.HttpServlet.service (HttpServlet.java:329) at com.evermind.server.http.d4.s3(JAX) at com.evermind.server.http.d4.s1(JAX) at com.evermind.server.http.eg.s9(JAX) at com.evermind.server.http.eg.dr(JAX) at com.evermind.util.f.run(JAX) _ Get your free E-mail at http://www.ireland.com
recreate tables for a cmp
All, I have a cmp that has been deployed and has created tables for itself. Now, I'd like to migrate to a different schema/db. Changing the schema connect string info in data-sources.xml to point at a different db, and restarting orion does not by itself trigger recreation of the entitybean tables. Any use of the bean causes the following error: javax.ejb.CreateException: Error creating EntityBean: ORA-00942: table or view does not exist It seems that if you change some of the info in orion-ejb-jar.xml (a cmp-field-mapping-name), the tables will be recreated the next time orion is started. I was wondering if anyone knows of a easier way to signal orion to recreate db tables for an cmp bean? TIA. John Hogan _ Get your free E-mail at http://www.ireland.com
Re: re: configuring jdbc with oracle...
As a sanity check, you may want to make sure you can get the Product example running with Oracle first (http://www.orionserver.com/docs/ejbexamples/index.html). There's some good by the numbers instructions for editing the xml files ... Also, make sure your oracle classes12.zip is in orion\lib dir. Here's what a valid datasource def looks like: _ Get your free E-mail at http://www.ireland.com
Re: Re: configuring jdbc with oracle...
are you seeing any errors on Orion startup? _ Get your free E-mail at http://www.ireland.com
Re: product demo with oracle
pilot error, never mind. It's working fine now. Thanks _ Get your free E-mail at http://www.ireland.com
product demo with oracle
All, I'm working the product demo and have apparently encountered a bit of difficulty with deployment. I'm using the steps defined for product demo (http://www.orionserver.com/docs/ejbexamples/) and am seeing two things that aren't right (below). Also, I've set up a new Oracle datasource and created a new table for this ejb. The scenario in the demo doesn't cover adding a new data source and there also seems to be some changes needed to the xml in the application-deployments directory. Can someone fill me in. TIA. JohnH 1) The Orion console reports a Hypersonic sql error at startup even though the Hypersonic is not referenced in data-sources.xml. ERROR TEXT Auto-deploying product (New server version detected)... Error compiling file:/C: /orion/demo/ejb/product/: No DataSource found at jdbc/HypersonicDS Orion/1.4.7 initialized 2) I get another error when envoking ProductClient relating to the home interface. ERROR TEXT C:\orion\demo\ejb\product>java - classpath .;..\..\..\orion.jar; ..\..\..\ejb.jar; ..\..\..\jndi.jar ProductClient Communication error: Error reading application-client descriptor: No EJBHome found at MyProduct as specified by ejb-ref MyProduct _ Get your free E-mail at http://www.ireland.com
Re: RE: Orion Server compared to Oracle AS
Hello Randy, I'm especially interested in Oracle's ejb deployment. Their documentation (vague) seems to suggest that the ejb's are actually deployed to the jvm that runs inside Oracle's db server. This seems to defeat one of the primary benefits of ejb (n tiered scalability). Also, it would seemingly raise your db license fees if you have to beef up your db machine to handle this extra function. Have you got into this issue yet? Thank you. John Hogan _ Get your free E-mail at http://www.ireland.com
Orion Server compared to Oracle AS
Has anyone done/know of a comarison of these two products? I know Oracle sits on Apache and JServ, and that bench marks on the Orion site show that Orion has some clear advantages vs Apache. I'm hoping someone has some first experiences they can share. TIA. JohnH _ Get your free E-mail at http://www.ireland.com
Re: Form-based authentication not working right
Are you only specifing a partial path, relying on a default page name (index.jsp, default.jsp)? If so, in your redirect code, be specific and specify the entire path, including the file name. You should also be able to turn off directory browsing. I don't know how to do this with Orion though. JohnH _ Get your free E-mail at http://www.ireland.com
Re: Re: message-driven beans from a topic
If the observable (sender) has knowledge of who the observers/listeners are, you can use the MessageDrivenBean as a notification service. The observable delegates notification to the MessageDrivenBean, and includes recipients as part of the message. There will be just one instance of the MessageDrivenBean. _ Get your free E-mail at http://www.ireland.com
Re: Getting back to the previous jsp
It would be something like <%=request.getHeader("http_referer")%> This will build a link to the previous page _ Get your free E-mail at http://www.ireland.com
Re: Redirection
this is very common and you need to investigate the java servlet api. Pay special attention to the HttpServletRequest and HttpServletResponse classes. _ Get your free E-mail at http://www.ireland.com
Re: What's going on with Orion?
Christmas/New Years _ Get your free E-mail at http://www.ireland.com
Re: An apology for Christian Sell
You were right the first time Michael. _ Get your free E-mail at http://www.ireland.com
Re: Anyone help me of Javamail ?
try out the samples that come with the javamail install from Sun _ Get your free E-mail at http://www.ireland.com
Re: RE: Help me please in post method
Have you switched your servlet to perform doPost instead of doGet? John Hogan _ Get your free E-mail at http://www.ireland.com
ejb/jdbc sample
can anyone provide a few pointers on getting the ejb.product sample going. I'm having a bit of difficulty with the db password. It looks like the default is sa with no password (below). TIA. John Hogan D:\orion\demo\ejb\product>java - classpath ..\..\..\orion.jar;..\..\..\ejb.jar;.. \..\..\jndi.jar;. ProductClient Exception in thread "main" java.lang.SecurityException: Invalid username/passwor d for ejbsamples (admin) at com.evermind.server.rmi.bb.gg(JAX) at com.evermind.server.rmi.bb.gg(JAX) at com.evermind.server.rmi.bb.f_(JAX) at com.evermind.server.rmi.RMIServer.f_(JAX) at com.evermind.server.rmi.RMIContext.lookup(JAX) at com.evermind.server.Application.ap7(JAX) at com.evermind.server.ApplicationClientInitialContextFactory.getInitial Context(JAX) at javax.naming.spi.NamingManager.getInitialContext (NamingManager.java:6 68) at javax.naming.InitialContext.getDefaultInitCtx (InitialContext.java:246 ) at javax.naming.InitialContext.init(InitialContext.java:222) at javax.naming.InitialContext.(InitialContext.java:178) at ProductClient.main(ProductClient.java:18) D:\orion\demo\ejb\product> _ Get your free E-mail at http://www.ireland.com
unscribe
unscribe [EMAIL PROTECTED] _ Get your free E-mail at http://www.ireland.com